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

## Class EDOHolderSelectionModel

    Object
       |
       +--GrvObject
             |
             +--MVCObserver
                   |
                   +--MVCModel
                         |
                         +--MVCScalarModel
                               |
                               +--MVCSelectionModel
                                     |
                                     +--EDOHolderSelectionModel

class EDOHolderSelectionModel
extends MVCSelectionModel

This class encapsulates the data model for "which EDOHolder is currently selected" from list of EDOHolderSelectionItem.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in grvEDO.js

Constructor Summary
`EDOHolderSelectionModel ()`

Method Summary
`void` | `createSelection( <EDOHolderSelectionItem> item )` quietly append the given item into the parent list and select it
`void` | `deleteSelection( <boolean> selectFirst )` quietly delete the selected item from the parent list
`void` | `konstructor( <MVCListModel> listModel, <String> optName )`
`void` | `selectInitial( <boolean> selectFirst )` Select the "initially selected" EDOHolder.
`void` | `updateSelection( <Object> args )` quietly update the specified attributes of the selected item

Methods inherited from class MVCSelectionModel
`getList, getItem, getCount, hasSelection, getSelection, getSelectionStr, getDescription, _selectNothing, selectNothing, _select, select, _unselect, unselect, reselect, update, getIndex, getMemento, setMemento`

Methods inherited from class MVCScalarModel
`_setValue, setValue, getValue, _setValidity, getValidity`

Methods inherited from class MVCModel
`dumpSubscribers, toString, dirty, clean, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, addObserver, delObserver, notifyObservers`

Methods inherited from class MVCObserver
`subscribe`

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

Constructor Detail

### EDOHolderSelectionModel

    EDOHolderSelectionModel()

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

- konstructor()

Method Detail

### createSelection

    void createSelection( <EDOHolderSelectionItem> item )

quietly append the given item into the parent list and select it

Parameters:

`item` - list item to append/select

### deleteSelection

    void deleteSelection( <boolean> selectFirst )

quietly delete the selected item from the parent list

Parameters:

`selectFirst` - if true select first item in list

### konstructor

    void konstructor( <MVCListModel> listModel, <String> optName )

Parameters:

`listModel` - list of main menu items

`optName` - optional name of this instance

### selectInitial

    void selectInitial( <boolean> selectFirst )

Select the "initially selected" EDOHolder. This is intended to be overridden.

Parameters:

`selectFirst` - if selection critera has no match then if selectFirst==true then select the first in list else leave selection alone

### updateSelection

    void updateSelection( <Object> args )

quietly update the specified attributes of the selected item

Parameters:

`args` - arbitrary list of args as needed

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

Documentation generated by JSDoc on Thu Jan 6 12:47:09 2011