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 EDOButtonController

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

class EDOButtonController
extends MVCFormButtonController

This class is a button controller for EDO "edit" buttons which shouldn't be enabled while app is in "read only" mode.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvEDO.js

Constructor Summary
`EDOButtonController ()`

Method Summary
`boolean` | `isEnabled()` Return whether this button should be enabled.
`void` | `konstructor( <String> label, <String> desc, evtHandler, <EDOSelectedModel> enableModel, <boolean> roFlag, <String> optName, <boolean> optIsEdit )`

Methods inherited from class MVCFormButtonController
`canonical, buildHTMLstr`

Methods inherited from class MVCButtonController
`getAltText, 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

### EDOButtonController

    EDOButtonController()

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

- konstructor()

Method Detail

### isEnabled

    boolean isEnabled()

Return whether this button should be enabled. If in readonly mode then never enable. If an entity is selected then enable UNLESS this is the edit button and we are already editing.

### konstructor

    void konstructor( <String> label, <String> desc, evtHandler, <EDOSelectedModel> enableModel, <boolean> roFlag, <String> optName, <boolean> optIsEdit )

Parameters:

`label` - label of the button

`desc` - tooltip description for this button

`enableModel` - "is enabled" data model

`roFlag` - read-only mode flag

`optName` - optional name of this instance

`optIsEdit` - editor flag says dont enable if already editing

`evtHandlerName` - name of event handler function

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