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

## Class EDOImgButtonController

    Object
       |
       +--GrvObject
             |
             +--MVCView
                   |
                   +--MVCController
                         |
                         +--MVCButtonController
                               |
                               +--MVCImgButtonController
                                     |
                                     +--EDOImgButtonController

class EDOImgButtonController
extends MVCImgButtonController

This class is an MVCImgButtonController for EDO "edit" buttons which shouldnt 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
`EDOImgButtonController ()`

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

Methods inherited from class MVCImgButtonController
`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, souper_, isInstanceOf`

Constructor Detail

### EDOImgButtonController

    EDOImgButtonController()

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> imgFN, <String> desc, evtHandler, <EDOSelectedModel> enableModel, <boolean> roFlag, <String> optName, <boolean> optIsEdit )

Parameters:

`imgFN` - filename of the (enabled) button image

`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.0 Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Sun Feb 11 13:28:59 2007