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
|
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, evtHndlr, code, desc, optChecked )
|
void
|
setCtrlValue(x)
set our controller widget to the given value
|
| 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
|
MVCBoolEditController
MVCBoolEditController()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
btnID
Object btnID()
buildHTMLstr
String buildHTMLstr()
return an HTML string of the basic structure for this view.
As a side effect, build/update subview list for this view.
As a side effect, invoke this method on each nested subview.
Returns:
HTML (suitable for assigning to innerHTML)
getButtons
Object getButtons()
getCtrlValue
Object getCtrlValue()
return the current value of the controller widget
konstructor
void konstructor( <MVCBoolModel> xModel, <String> className, <String> optName, <String> optEvtHndlrName )
Parameters:
xModel - scalar data model to edit
className - the CSS classname to use for formatting
optName - optional name of this instance
optEvtHndlrName - optional name of event handler function
mustRebuild
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.
paintHTML
void paintHTML()
update/modify attributes of basic existing HTML for THIS view
radBtnHTMLstr
Object radBtnHTMLstr( name, evtHndlr, code, desc, optChecked )
setCtrlValue
void setCtrlValue(x)
set our controller widget to the given value
Documentation generated by
JSDoc on Sun Feb 11 13:31:25 2007