Class MMLocalInfoWidget

Object
   |
   +--MMWidget
         |
         +--MMLocalInfoWidget

class MMLocalInfoWidget
extends MMWidget

Defined in MultimapAPI


Constructor Summary
MMLocalInfoWidget ( <String> data_sources, <String> header, <MMBox> position, <String> className )
            Local Info Widget - performs a search using the MMSearch API within the current viewer and displays a count of results with the ability to display the results in the viewer.
 
Method Summary
 void addDataSource( <String> data_source, <Object> options )
           Adds a data source to be used.
 integer getMaxResults( )
           Gets the maximum number of results that we will display on a map.
 boolean isSelected( <String> data_source )
           Query the "selected" value of a data source.
 void refreshData()
           Instructs the viewer to reload counts, can be used if new data sources have been added.
 void setAllSelected( <boolean> bool )
           Sets the "selected" value of all data sources to the value passed in.
 void setMaxResults( <integer> max_results )
           Sets the maximum number of results that we will display on a map.
 void setSelected( <String> data_source, <boolean> bool )
           Used to programmatically turn on or off a data set.
 void start()
           Starts the local info widget so that it will go looking for results.
 void stop()
           Stops the local info tool so that it will no longer update.
 Object toggleMinimized( <boolean> bool )
           Toggles the minimized state of the widget.
 
Methods inherited from class MMWidget
processHTML, addEventHandlers, setContainer, getContainer, getCalculatedDrawContainer, setPosition, _hasCssClass, _getElementsByTagNameClass
 

Constructor Detail

MMLocalInfoWidget

MMLocalInfoWidget( <String> data_sources, <String> header, <MMBox> position, <String> className )

Method Detail

addDataSource

void addDataSource( <String> data_source, <Object> options )

getMaxResults

integer getMaxResults( )

isSelected

boolean isSelected( <String> data_source )

refreshData

void refreshData()

setAllSelected

void setAllSelected( <boolean> bool )

setMaxResults

void setMaxResults( <integer> max_results )

setSelected

void setSelected( <String> data_source, <boolean> bool )

start

void start()

stop

void stop()

toggleMinimized

Object toggleMinimized( <boolean> bool )


Documentation generated by JSDoc on Tue Jun 30 13:55:23 2009