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 TrTypeMenuCmd

    Object
       |
       +--GrvObject
             |
             +--MVCCommand
                   |
                   +--MVCScalarEditCmd
                         |
                         +--TrTypeMenuCmd

class TrTypeMenuCmd
extends MVCScalarEditCmd

This class implements the trans type menu edit command.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in rats.js

Constructor Summary
`TrTypeMenuCmd ()`

Method Summary
`void` | `doit()` set our controller to the new value
`void` | `konstructor( <String> viewID )`
`void` | `prefillTransaction()` prefill balance values when transaction type is changed taking into account that the existing values in this transaction have to be applied back to the unreconciled balances before prefilling again.
`void` | `redo()` "command REDO" logic.
`void` | `undo()` set our controller to the old value
`void` | `updateTransaction( <Transaction> exemplar )` copy values that can change when transaction type is changed

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`

Constructor Detail

### TrTypeMenuCmd

    TrTypeMenuCmd()

Version: 2.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

### prefillTransaction

    void prefillTransaction()

prefill balance values when transaction type is changed taking into account that the existing values in this transaction have to be applied back to the unreconciled balances before prefilling again.

### redo

    void redo()

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

### undo

    void undo()

set our controller to the old value

### updateTransaction

    void updateTransaction( <Transaction> exemplar )

copy values that can change when transaction type is changed

Parameters:

`exemplar` - where to copy attributes from

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 Sun Feb 11 13:31:25 2007