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

## Class AuctionSelectionModel

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

class AuctionSelectionModel
extends EDOHolderSelectionModel

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

- konstructor()

Defined in aimauctions.js

Constructor Summary
`AuctionSelectionModel ()`

Method Summary
`int` | `auctionKey( auctionID )` return the key of the auction with the given auction ID
`int` | `findAuction( auctionID, auctionKey )` Return the list index of the specified Auction or <0 if not found.
`void` | `konstructor( <ListModel> listModel )`
`void` | `selectInitial( <boolean> selectFirst )` Select the "initially selected" EDOHolder

Methods inherited from class EDOHolderSelectionModel
`updateSelection, deleteSelection, createSelection`

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, neverChanged, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, reloaded, addObserver, delObserver, notifyObservers`

Methods inherited from class MVCObserver
`subscribe`

Methods inherited from class GrvObject
`souper`

Constructor Detail

### AuctionSelectionModel

    AuctionSelectionModel()

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

- konstructor()

Method Detail

### auctionKey

    int auctionKey( auctionID )

return the key of the auction with the given auction ID

### findAuction

    int findAuction( auctionID, auctionKey )

Return the list index of the specified Auction or <0 if not found.

### konstructor

    void konstructor( <ListModel> listModel )

Parameters:

`listModel` - AuctionSummary list

### selectInitial

    void selectInitial( <boolean> selectFirst )

Select the "initially selected" EDOHolder

Parameters:

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

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

Documentation generated by JSDoc on Sun Feb 11 13:31:42 2007