|
Community Map Builder 21 Aug 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--WidgetBase | +--AoiBoxDHTML
Deprecated
Defined in AoiBoxDHTML.js
Field Summary | |
Object |
crossSize
|
Object |
lineColor
|
Object |
lineWidth
|
Fields inherited from class WidgetBase |
model, widgetNode, id, outputNodeId, htmlTagId, node, groupnode
|
Constructor Summary | |
AoiBoxDHTML
(widgetNode, model)
Widget to draw an Area Of Interest box of a model. |
Method Summary | |
Object
|
clear(objRef)
Listener to turn the box off |
void
|
drawBox(ul, lr)
Draw a box. |
void
|
drawCross(center)
Draw a cross. |
Object
|
getImageDiv( )
Insert a element into the parentNode html to hold the lines.
|
void
|
loadAoiBox(objRef)
Called when the parent widget is painted to create the aoi box |
void
|
paint(objRef)
draw out the box. |
Object
|
setVis(vis)
Hide or show the box. |
Methods inherited from class WidgetBase |
initTargetModel, prePaint, postPaint, clearWidget
|
Field Detail |
Object crossSize
Object lineColor
Object lineWidth
Constructor Detail |
AoiBoxDHTML(widgetNode, model)
widgetNode
- The node for this object from the Config file.
model
- The model that contains this object.
Method Detail |
Object clear(objRef)
objRef
- reference to this object
void drawBox(ul, lr)
ul
- Upper Left position as an (x,y) array in screen coords.
lr
- Lower Right position as an (x,y) array in screen coords.
void drawCross(center)
center
- The center of the cross as an (x,y) array in screen coordinates.
Object getImageDiv( )
void loadAoiBox(objRef)
objRef
- This object.
void paint(objRef)
objRef
- a pointer to this widget object
Object setVis(vis)
vis
- boolean true for visible; false for hidden
|
Community Map Builder 21 Aug 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |