org.gwtopenmaps.openlayers.client.control
Class Control

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
              extended by org.gwtopenmaps.openlayers.client.control.Control
Direct Known Subclasses:
ArgParser, Attribution, DragFeature, DragPan, DrawFeature, GetFeature, LayerSwitcher, Measure, ModifyFeature, MouseDefaults, MousePosition, MouseToolbar, Navigation, OverviewMap, Panel, PanZoom, PanZoomBar, Scale, ScaleLine, SelectFeature, WMSGetFeatureInfo, ZoomBox, ZoomIn, ZoomOut

public class Control
extends OpenLayersEObjectWrapper

Author:
Erdem Gunay

Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
protected Control(JSObject element)
           
 
Method Summary
 boolean activate()
           
 void addControlActivateListener(ControlActivateListener listener)
           
 void addControlDeactivateListener(ControlDeactivateListener listener)
           
 boolean deactivate()
           
 Map getMap()
          get the map to which this control is attached
static Control narrowToControl(JSObject object)
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
getListeners, narrowToOpenLayersEObjectWrapper, removeListener
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Control

protected Control(JSObject element)
Method Detail

narrowToControl

public static Control narrowToControl(JSObject object)

activate

public boolean activate()

deactivate

public boolean deactivate()

addControlActivateListener

public void addControlActivateListener(ControlActivateListener listener)

addControlDeactivateListener

public void addControlDeactivateListener(ControlDeactivateListener listener)

getMap

public Map getMap()
get the map to which this control is attached

Returns:
the map


Copyright © 2010 sourceforge. All Rights Reserved.