|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--MMWidget
Defined in MultimapOpenAPI
| Constructor Summary | |
MMWidget
( <MMBox> position )
The base class for all widgets. |
|
| Method Summary | |
Object
|
_getElementsByTagNameClass(o, n, c)
|
Object
|
_hasCssClass(o, css_class)
|
void
|
addEventHandlers()
|
void
|
draw( <MMViewer> viewer )
Sets the mapviewer that this widget is linked to. |
HTMLElement
|
getCalculatedDrawContainer()
Retrieves the container to draw the widget in. |
HTMLElement
|
getContainer( )
Retrieves the current container setting for the widget. |
void
|
processHTML()
|
void
|
remove()
Abstract function, called when the widget needs to be removed from the viewer. |
void
|
setContainer( <HTMLElement> container )
Sets the HTML element that you want to contain the widget. |
void
|
setPosition( <HTMLElement> html, <MMBox> position )
Sets the position of the widget. |
| Constructor Detail |
MMWidget( <MMBox> position )
position - The position within the mapviewer to place the widget at
| Method Detail |
Object _getElementsByTagNameClass(o, n, c)
Object _hasCssClass(o, css_class)
void addEventHandlers()
void draw( <MMViewer> viewer )
viewer - The mapviewer to link the widget to.
HTMLElement getCalculatedDrawContainer()
HTMLElement getContainer( )
void processHTML()
void remove()
void setContainer( <HTMLElement> container )
container - Element that you want to contain the widget.
void setPosition( <HTMLElement> html, <MMBox> position )
html - The widget's HTML DOM node.
position - The position to give the widget.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||