Class MMWidget

Object
   |
   +--MMWidget
Direct Known Subclasses:
MMMenuWidget, MMCustomWidget, MMPanZoomWidget, MMOverviewWidget, MMLocationWidget, MMMapTypeWidget, MMMessageWidget

class 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

MMWidget( <MMBox> position )

Method Detail

_getElementsByTagNameClass

Object _getElementsByTagNameClass(o, n, c)

_hasCssClass

Object _hasCssClass(o, css_class)

addEventHandlers

void addEventHandlers()

draw

void draw( <MMViewer> viewer )

getCalculatedDrawContainer

HTMLElement getCalculatedDrawContainer()

getContainer

HTMLElement getContainer( )

processHTML

void processHTML()

remove

void remove()

setContainer

void setContainer( <HTMLElement> container )

setPosition

void setPosition( <HTMLElement> html, <MMBox> position )


Documentation generated by JSDoc on Tue Feb 26 16:25:19 2008