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:
Defined in rats.js
|
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
|
TrTypeMenuCmd
TrTypeMenuCmd()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
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
Documentation generated by
JSDoc on Thu Jan 6 12:46:18 2011