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

## Class AccountSelectionModel

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

class AccountSelectionModel
extends MVCSelectionModel

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

- konstructor()

Defined in rats.js

Constructor Summary
`AccountSelectionModel ()`

Method Summary
`int` | `getToDoCount()` return how many accounts are unreconciled
`void` | `konstructor( <ListModel> acctListModel, <String> optName )`
`void` | `updateSelected( isReconciled )` set isReconciled flag of selected Account to given value

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`

Constructor Detail

### AccountSelectionModel

    AccountSelectionModel()

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

- konstructor()

Method Detail

### getToDoCount

    int getToDoCount()

return how many accounts are unreconciled

### konstructor

    void konstructor( <ListModel> acctListModel, <String> optName )

Parameters:

`acctListModel` - Account list

`optName` - optional name of this instance

### updateSelected

    void updateSelected( isReconciled )

set isReconciled flag of selected Account to given value

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

Documentation generated by JSDoc on Thu Jan 6 12:46:18 2011