The Gravey 2.5 Framework and AIM RIA

Class MVCBoolEditController

Object
   |
   +--GrvObject
         |
         +--MVCView
               |
               +--MVCController
                     |
                     +--MVCScalarEditController
                           |
                           +--MVCBoolEditController

class MVCBoolEditController
extends MVCScalarEditController


This class manages a scalar editor with a set of yes,no,unknown radio buttons attached to the specified Boolean (i.e. can be null) MVCBoolModel.
Version: 2.0

Author: Bruce Wallace (PolyGlotInc.com)
See:

Defined in grvMVC.js


Constructor Summary
MVCBoolEditController ()
           
 
Method Summary
 Object btnID()
          
 String buildHTMLstr()
           return an HTML string of the basic structure for this view.
 Object getButtons()
          
 Object getCtrlValue()
           return the current value of the controller widget
 void konstructor( <MVCBoolModel> xModel, <String> className, <String> optName, <String> optEvtHndlrName )
          
 boolean mustRebuild()
           return true IFF model(s) require the HTML rebuilt for THIS view default implementation: If there is a difference in the current "build context" and the current one then rebuild else not.
 void paintHTML()
           update/modify attributes of basic existing HTML for THIS view
 Object radBtnHTMLstr( name, evtHndlrStr, code, desc, optChecked )
          
 void setCtrlValue(x)
           set our controller widget to the given value
 
Methods inherited from class MVCScalarEditController
postEdit, getEvtHandlerStr, setDisplay, getModelValue, setModelValue, updateView, forceValue, setModels
   
Methods inherited from class MVCView
mustRepaint, currentContext, watchModel, setViewID, innerID, getWidgetID, getWidget, getHook, buildHTML, updateContext, contextChanged, disable, enable, setVisible, setSubViewsVisible, isVisible, redraw, draw, rebuildAny, build, buildsubviews, paint, setParentView, clearSubViews, addSubView, getSubView, delSubView, embedView, embedHTML, embedAttr, block, unblock
   
Methods inherited from class GrvObject
souper
 

Constructor Detail

MVCBoolEditController

MVCBoolEditController()

Method Detail

btnID

Object btnID()

buildHTMLstr

String buildHTMLstr()

getButtons

Object getButtons()

getCtrlValue

Object getCtrlValue()

konstructor

void konstructor( <MVCBoolModel> xModel, <String> className, <String> optName, <String> optEvtHndlrName )

mustRebuild

boolean mustRebuild()

paintHTML

void paintHTML()

radBtnHTMLstr

Object radBtnHTMLstr( name, evtHndlrStr, code, desc, optChecked )

setCtrlValue

void setCtrlValue(x)

The Gravey 2.5 Framework and AIM RIA

Documentation generated by JSDoc on Thu Jan 6 12:46:39 2011