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 EDOSuperMenuCmd

    Object
       |
       +--GrvObject
             |
             +--MVCCommand
                   |
                   +--MVCScalarEditCmd
                         |
                         +--EDOSuperMenuCmd

class EDOSuperMenuCmd
extends MVCScalarEditCmd

This abstract class is a base for menu commands that affect other EDO attributes.

The following methods MUST be overridden
- updateEDO()

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

- konstructor()

Defined in grvEDO.js

Constructor Summary
`EDOSuperMenuCmd ()`

Method Summary
`void` | `doit()` set our controller to the new value
`void` | `konstructor( <String> viewID )`
`void` | `prefillEDO()` initialize EDO attributes if needed.
`void` | `redo()` "command REDO" logic.
`void` | `undo()` set our controller to the old value
`void` | `updateEDO( <EDO> exemplar, <boolean> isRedo )` copy values that can change when menu selection is changed
`void` | `updateOtherController( attrID, value )`

Methods inherited from class MVCScalarEditCmd
`getFormattedValue, updateController, details`

Methods inherited from class MVCCommand
`toString, isInvalid, syncDo, syncDoIt, syncUnDo, syncReDo, DOIT, REDO, UNDO`

Methods inherited from class GrvObject
`souper, souper_, isInstanceOf`

Constructor Detail

### EDOSuperMenuCmd

    EDOSuperMenuCmd()

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

- konstructor()

Method Detail

### doit

    void doit()

set our controller to the new value

### konstructor

    void konstructor( <String> viewID )

Parameters:

`viewID` - viewID of menu generating this event

### prefillEDO

    void prefillEDO()

initialize EDO attributes if needed.

### redo

    void redo()

"command REDO" logic. Default is to just call doit()

### undo

    void undo()

set our controller to the old value

### updateEDO

    void updateEDO( <EDO> exemplar, <boolean> isRedo )

copy values that can change when menu selection is changed

Parameters:

`exemplar` - where to copy attributes from

`isRedo` - redo if true else undo

### updateOtherController

    void updateOtherController( attrID, value )

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