org.gwtopenmaps.openlayers.client.control
Class DragFeature

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.DragFeature

public class DragFeature
extends Control

This control is used to handle drag and drop of the vector features of a layer. Use the DragFeatureOptions to handle the events.

Author:
Rafael Ceravolo - LOGANN

Nested Class Summary
static interface DragFeature.DragFeatureListener
          Listener for Drag events (Start, Drag and Complete)
 
Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
protected DragFeature(JSObject dragFeatureObj)
          Internal Constructor
  DragFeature(Vector vectorLayer)
          Constructor.
  DragFeature(Vector vectorLayer, DragFeatureOptions options)
          Constructor.
 
Method Summary
 
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
 

Constructor Detail

DragFeature

protected DragFeature(JSObject dragFeatureObj)
Internal Constructor


DragFeature

public DragFeature(Vector vectorLayer)
Constructor.

Parameters:
vectorLayer - The layer that this DragFeature belongs.

DragFeature

public DragFeature(Vector vectorLayer,
                   DragFeatureOptions options)
Constructor.

Parameters:
vectorLayer - The layer that this DragFeature belongs.
The - DragFeature options, used to set the listeners that handles the drag events


Copyright © 2011 sourceforge. All Rights Reserved.