Class TransactionView
Object
|
+--GrvObject
|
+--MVCView
|
+--TransactionView
- class
TransactionView
- extends MVCView
This class produces a view of a Transaction.
Version: 2.5
Author: Bruce Wallace (PolyGlotInc.com)
See:
Defined in rats.js
|
Method Summary |
String
|
buildHTMLstr()
return an HTML string of the basic structure for this view.
|
MVCContext
|
currentContext()
return the current "context" of this view.
|
void
|
konstructor( <Transaction> transaction, <int> balanceIndex, <int> transIndex )
|
void
|
paintHTML()
update/modify attributes of basic existing HTML for THIS view
|
String
|
statID()
return the view ID of our status panel
|
void
|
updateEditMode( <boolean> enableEdit, <String> balID )
set the "can edit" status of the specified balance
|
| Methods inherited from class MVCView |
mustRebuild, mustRepaint, watchModel, setViewID, innerID, getWidgetID, getWidget, getHook, buildHTML, updateContext, contextChanged, disable, enable, setVisible, setSubViewsVisible, isVisible, redraw, draw, rebuildAny, build, buildsubviews, paint, setParentView, clearSubViews, addSubView, getSubView, delSubView, embedView, embedHTML, embedAttr, block, unblock
|
TransactionView
TransactionView()
Version: 2.5
Author: Bruce Wallace (PolyGlotInc.com)
See:
buildHTMLstr
String buildHTMLstr()
return an HTML string of the basic structure for this view.
As a side effect, build/update subview list for this view.
As a side effect, invoke this method on each nested subview.
Returns:
HTML (suitable for assigning to innerHTML)
currentContext
MVCContext currentContext()
return the current "context" of this view.
Default is "no rebuild ever needed" (unless others force us to)
konstructor
void konstructor( <Transaction> transaction, <int> balanceIndex, <int> transIndex )
Parameters:
transaction - transaction we are to observe
balanceIndex - index into balance list for current Account
transIndex - index into transaction list for specified balance
paintHTML
void paintHTML()
update/modify attributes of basic existing HTML for THIS view
statID
String statID()
return the view ID of our status panel
updateEditMode
void updateEditMode( <boolean> enableEdit, <String> balID )
set the "can edit" status of the specified balance
Parameters:
enableEdit - if true enable editor else viewer
balID - object element name specifying desired balance
Documentation generated by
JSDoc on Thu Jan 6 12:46:18 2011