Class CmdButtonController
Object
|
+--OObject
|
+--View
|
+--Controller
|
+--ButtonController
|
+--CmdButtonController
- class
CmdButtonController
- extends ButtonController
This class is a ButtonController for "undo/redo" buttons.
See:
Author: Bruce Wallace (PolyGlotInc.com)
Defined in mvc.js
Version: 1.0
|
Method Summary |
String
|
getAltText( <String> enabled )
return the alternate text for this button
|
boolean
|
isEnabled()
Return whether this button should be enabled.
|
void
|
konstructor( <String> imgFN, <boolean> isUndo )
|
| Methods inherited from class View |
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
|
CmdButtonController
CmdButtonController()
See:Author: Bruce Wallace (PolyGlotInc.com)
Version: 1.0
getAltText
String getAltText( <String> enabled )
return the alternate text for this button
Parameters:
enabled - a string with the description of what is about to be undone/redone or null if button should not be enabled
isEnabled
boolean isEnabled()
Return whether this button should be enabled.
If no enable model was defined then we are always enabled.
konstructor
void konstructor( <String> imgFN, <boolean> isUndo )
Parameters:
imgFN - filename of the (enabled) button image
isUndo - true if this is undo button else redo button
Documentation generated by
JSDoc on Fri Mar 17 06:40:21 2006