|
The Gravey 2.0 Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--GrvObject
|
+--MVCView
|
+--MVCController
|
+--MVCScalarEditController
This abstract class manages an editor of the specified
MVCScalarModel. This controller edits a single scalar value.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
| Constructor Summary | |
MVCScalarEditController
()
|
|
| Method Summary | |
void
|
forceValue(x)
force this controller to the given value |
Object
|
getCtrlValue( )
return the current value of the controller widget |
String
|
getEvtHandlerStr()
return a string with full invocation of our event handler |
Object
|
getModelValue( )
return the current value of our data model |
void
|
konstructor( <MVCScalarModel> sModel, <String> optName, <String> optEvtHndlrName, <Function> optPostEdit )
|
void
|
paintHTML( )
update/modify attributes of basic existing HTML for THIS view |
Object
|
postEdit()
return the current (post-edit) value of the controller widget |
void
|
setCtrlValue(x)
set our controller widget to the given value |
void
|
setDisplay(x)
set our display to the given value |
void
|
setModels(x)
set our (and our parents if we are embedded within a MVCDualController) data model to the given value |
void
|
setModelValue(x)
set our data model to the given value |
void
|
updateView( )
update our display to the current value of our data model |
| Methods inherited from class MVCView |
buildHTMLstr, mustRebuild, 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, souper_, isInstanceOf
|
| Constructor Detail |
MVCScalarEditController()
| Method Detail |
void forceValue(x)
Object getCtrlValue( )
String getEvtHandlerStr()
Object getModelValue( )
void konstructor( <MVCScalarModel> sModel, <String> optName, <String> optEvtHndlrName, <Function> optPostEdit )
sModel - scalar data model to edit
optName - optional name of this instance
optEvtHndlrName - optional name of event handler function
optPostEdit - optional post edit value cleanup function
void paintHTML( )
Object postEdit()
void setCtrlValue(x)
void setDisplay(x)
void setModels(x)
void setModelValue(x)
void updateView( )
|
The Gravey 2.0 Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||