org.gwtopenmaps.openlayers.client.control
Class ModifyFeature

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
                  extended by org.gwtopenmaps.openlayers.client.control.ModifyFeature

public class ModifyFeature
extends Control

Author:
Edwin Commandeur - Atlis EJS

Nested Class Summary
static interface ModifyFeature.OnModificationEndListener
           
static interface ModifyFeature.OnModificationListener
           
static interface ModifyFeature.OnModificationStartListener
           
 
Field Summary
static String CLASS_NAME
           
static int DRAG
           
static int RESHAPE
           
static int RESIZE
           
static int ROTATE
           
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
protected ModifyFeature(JSObject modifyFeature)
           
  ModifyFeature(Vector vectorLayer)
           
  ModifyFeature(Vector vectorLayer, ModifyFeatureOptions modifyFeatureOptions)
           
 
Method Summary
 boolean isSelectedFeatureModified()
          Property: modified {Boolean} The currently selected feature has been modified.
 void setMode(int... modes)
          Set the mode of the ModifyFeature.
 
Methods inherited from class org.gwtopenmaps.openlayers.client.control.Control
activate, addControlActivateListener, addControlDeactivateListener, deactivate, disable, enable, getControlId, getLayer, getMap, getZIndex, isActive, narrowToControl, setAutoActivate
 
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
 

Field Detail

RESHAPE

public static final int RESHAPE
See Also:
Constant Field Values

RESIZE

public static final int RESIZE
See Also:
Constant Field Values

ROTATE

public static final int ROTATE
See Also:
Constant Field Values

DRAG

public static final int DRAG
See Also:
Constant Field Values

CLASS_NAME

public static final String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

ModifyFeature

protected ModifyFeature(JSObject modifyFeature)

ModifyFeature

public ModifyFeature(Vector vectorLayer)

ModifyFeature

public ModifyFeature(Vector vectorLayer,
                     ModifyFeatureOptions modifyFeatureOptions)
Method Detail

setMode

public void setMode(int... modes)
Set the mode of the ModifyFeature. Can accept more than one mode at same time.

Parameters:
modes - One or more modes to set to this ModifyFeature

isSelectedFeatureModified

public boolean isSelectedFeatureModified()
Property: modified {Boolean} The currently selected feature has been modified.



Copyright © 2011 sourceforge. All Rights Reserved.