|
Community Map Builder 21 Aug 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--WidgetBase
Defined in WidgetBase.js
Author: Mike Adair
| Field Summary | |
Object |
groupnode
|
Object |
htmlTagId
|
Object |
id
|
Object |
model
|
Object |
node
|
Object |
outputNodeId
|
Object |
widgetNode
|
| Constructor Summary | |
WidgetBase
(widgetNode,model)
Base Class for widgets. |
|
| Method Summary | |
void
|
clearWidget(objRef)
Remove widget from display. |
void
|
initTargetModel(objRef)
Initialize dynamic properties.set the target model |
void
|
postPaint(objRef)
Called after paint(), can be used to initialize things that depend on the the widget output being presetn, eg. |
void
|
prePaint(objRef)
Called before paint(), can be used to set up a widget's paint parameters, or modify model using this.resultDoc(). |
| Field Detail |
Object groupnode
Object htmlTagId
Object id
Object model
Object node
Object outputNodeId
Object widgetNode
| Constructor Detail |
WidgetBase(widgetNode,model)
widgetNode - The widget's XML object node from the configuration document.
model - The model object that this widget belongs to.
widget - Pointer to the widget instance being created
| Method Detail |
void clearWidget(objRef)
objRef - Pointer to this object.
void initTargetModel(objRef)
toolRef - Pointer to this object.
void postPaint(objRef)
objRef - Pointer to this object.
void prePaint(objRef)
objRef - Pointer to this object.
|
Community Map Builder 21 Aug 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||