|
The Gravy Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--OObject
|
+--View
|
+--Controller
|
+--ScalarEditController
This abstract class manages an editor of the specified
ScalarModel. This controller edits a single scalar value.
See:
| Constructor Summary | |
ScalarEditController
()
|
|
| Method Summary | |
void
|
forceValue(x)
force this controller to the given value |
Object
|
getCtrlValue( )
return the current value of the controller widget |
String
|
getEvtHandler( )
return a string with full invocation of our event handler |
Object
|
getModelValue( )
return the current value of our data model |
void
|
konstructor( <ScalarModel> sModel, <String> optName, <String> optEvtHndlr )
|
void
|
paintHTML( )
update/modify attributes of basic existing HTML for THIS view |
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 DualController) 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 View |
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, block, unblock
|
| Constructor Detail |
ScalarEditController()
| Method Detail |
void forceValue(x)
Object getCtrlValue( )
String getEvtHandler( )
Object getModelValue( )
void konstructor( <ScalarModel> sModel, <String> optName, <String> optEvtHndlr )
sModel - scalar data model to edit
optName - optional name of this instance
optEvtHndlr - optional name of event handler function
void paintHTML( )
void setCtrlValue(x)
void setDisplay(x)
void setModels(x)
void setModelValue(x)
void updateView( )
|
The Gravy Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||