This is the base class for all widgets. It provides some basic functionality that all widgets should need.
Fusion. | This is the base class for all widgets. |
Functions | |
activate | Activates this widget |
deactivate | Deactivates this widget |
shouldActivateWith | |
setMap | set the map object that this widget is associated with |
getMap | accessor to get the Map object that this widget is associated with |
getMapLayer | accessor to get the implementation-specific Layer object that this widget is associated with |
addControl | utility method to add an {OpenLayers.Control} control to the internal {OpenLayers.Map} object |
setMutEx | sets whether this widget is mutually exclusive on its map |
isMutEx | accessor to determine if the widget should be activated mutually exclusively from other widgets on the map. |
getName | accessor to return the name of the widget. |
getLocation | returns the location of this widget relative to the installation of fusion. |
isEnabled | Gets whether this widget is enabled |
enabled | Enables this widget. |
disable | Disables this widget. |
setMap: function( oMap )
set the map object that this widget is associated with
oMap | {Fusion.Widget.Map} the map |
getMap: function()
accessor to get the Map object that this widget is associated with
{Fusion.Widget.Map} the map
addControl: function( control )
utility method to add an {OpenLayers.Control} control to the internal {OpenLayers.Map} object
control | {OpenLayers.Control} the control to add |
Activates this widget
activate: function()
Deactivates this widget
deactivate: function()
shouldActivateWith: function( widget )
set the map object that this widget is associated with
setMap: function( oMap )
accessor to get the Map object that this widget is associated with
getMap: function()
accessor to get the implementation-specific Layer object that this widget is associated with
getMapLayer: function()
utility method to add an {OpenLayers.Control} control to the internal {OpenLayers.Map} object
addControl: function( control )
sets whether this widget is mutually exclusive on its map
setMutEx: function( bIsMutEx )
accessor to determine if the widget should be activated mutually exclusively from other widgets on the map.
isMutEx: function()
accessor to return the name of the widget.
getName: function()
returns the location of this widget relative to the installation of fusion.
getLocation: function()
Gets whether this widget is enabled
isEnabled: function()
Disables this widget.
disable: function()