Overview | File | Class | Tree | Index | Help
| The Gravey 2.5 Framework and AIM RIA
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class MVCCmdButtonController

    Object
       |
       +--GrvObject
             |
             +--MVCView
                   |
                   +--MVCController
                         |
                         +--MVCButtonController
                               |
                               +--MVCFormButtonController
                                     |
                                     +--MVCCmdButtonController

class MVCCmdButtonController
extends MVCFormButtonController

This class is a Button Controller for "undo/redo" buttons.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvMVC.js

Constructor Summary
`MVCCmdButtonController ()`

Method Summary
`String` | `getAltText( <String> enabled )` return the alternate text for this button
`boolean` | `isEnabled()` Return whether this button should be enabled.
`void` | `konstructor( <boolean> isUndo )`

Methods inherited from class MVCFormButtonController
`canonical, buildHTMLstr`

Methods inherited from class MVCButtonController
`paintHTML`

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`

Methods inherited from class GrvObject
`souper`

Constructor Detail

### MVCCmdButtonController

    MVCCmdButtonController()

Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Method Detail

### 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( <boolean> isUndo )

Parameters:

`isUndo` - true if this is undo button else redo button

Overview | File | Class | Tree | Index | Help
| The Gravey 2.5 Framework and AIM RIA
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Jan 6 12:46:39 2011