Class EDOHolderSelectionModel
Object
|
+--GrvObject
|
+--MVCObserver
|
+--MVCModel
|
+--MVCScalarModel
|
+--MVCSelectionModel
|
+--EDOHolderSelectionModel
-
Direct Known Subclasses:
-
AuctionSelectionModel, ItemSelectionModel, BidderSelectionModel
- 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:
Defined in grvEDO.js
| 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 MVCModel |
dumpSubscribers, toString, dirty, clean, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, addObserver, delObserver, notifyObservers
|
EDOHolderSelectionModel
EDOHolderSelectionModel()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
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
Documentation generated by
JSDoc on Thu Jan 6 12:46:39 2011