org.gwtopenmaps.openlayers.client.control
Class Control
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.control.Control
- Direct Known Subclasses:
- ArgParser, Attribution, DeleteFeature, DragFeature, DragPan, DrawFeature, GetFeature, Graticule, LayerSwitcher, Measure, ModifyFeature, MouseDefaults, MousePosition, MouseToolbar, Navigation, NavigationHistory, OverviewMap, Panel, PanZoom, PanZoomBar, Scale, ScaleLine, SelectFeature, Snapping, WMSGetFeatureInfo, ZoomBox, ZoomIn, ZoomOut
public class Control
- extends OpenLayersEObjectWrapper
- Author:
- Erdem Gunay
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Control
protected Control(JSObject element)
narrowToControl
public static Control narrowToControl(JSObject object)
setAutoActivate
public void setAutoActivate(boolean autoActivate)
activate
public boolean activate()
deactivate
public boolean deactivate()
addControlActivateListener
public void addControlActivateListener(ControlActivateListener listener)
addControlDeactivateListener
public void addControlDeactivateListener(ControlDeactivateListener listener)
isActive
public boolean isActive()
enable
public void enable()
- Enable the Control
disable
public void disable()
- Disable Control
getControlId
public String getControlId()
- Give the Control ID
- Returns:
- control id
getMap
public Map getMap()
- get the map to which this control is attached
- Returns:
- the map
getZIndex
public String getZIndex()
getLayer
public Vector getLayer()
- Returns:
- Vector on which features are drawn
Copyright © 2011 sourceforge. All Rights Reserved.