Class EditButtonController
Object
|
+--GrvObject
|
+--MVCView
|
+--MVCController
|
+--MVCButtonController
|
+--MVCImgButtonController
|
+--EditButtonController
- class
EditButtonController
- extends MVCImgButtonController
This class is an MVCImgButtonController for "edit" buttons
which shouldnt be enabled while app is in "read only" mode.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
Defined in rats.js
|
Method Summary |
boolean
|
isEnabled()
Return whether this button should be enabled.
|
void
|
konstructor( <String> imgFN, <String> desc, evtHandler, enableModel, <String> optName, <boolean> optIsEdit )
|
| Methods inherited from class MVCView |
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
|
EditButtonController
EditButtonController()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
isEnabled
boolean isEnabled()
Return whether this button should be enabled.
If in readonly mode then never enable.
If a transaction is selected then enable
UNLESS this is the edit button and we are already editing.
konstructor
void konstructor( <String> imgFN, <String> desc, evtHandler, enableModel, <String> optName, <boolean> optIsEdit )
Parameters:
imgFN - filename of the (enabled) button image
desc - tooltip description for this button
optName - optional name of this instance
optIsEdit - editor flag says dont enable if already editing
optEnableModel - optional "is enabled" data model
evtHandlerName - name of event handler function
Documentation generated by
JSDoc on Sun Feb 11 13:31:25 2007