NASA World Wind

gov.nasa.worldwind.event
Class DragSelectEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.nasa.worldwind.event.WWEvent
          extended by gov.nasa.worldwind.event.SelectEvent
              extended by gov.nasa.worldwind.event.DragSelectEvent
All Implemented Interfaces:
Serializable

public class DragSelectEvent
extends SelectEvent

This class is a specialization of SelectEvent and includes the pick point screen position of the most recent drag event prior to the current one.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.worldwind.event.SelectEvent
BOX_ROLLOVER, DRAG, DRAG_END, HOVER, LEFT_CLICK, LEFT_DOUBLE_CLICK, LEFT_PRESS, RIGHT_CLICK, RIGHT_PRESS, ROLLOVER
 
Fields inherited from class gov.nasa.worldwind.event.WWEvent
consumed
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DragSelectEvent(Object source, String eventAction, MouseEvent mouseEvent, PickedObjectList pickedObjects, Point previousPickPoint)
           
 
Method Summary
 Point getPreviousPickPoint()
          Indicates the most screen position of the drag event immediately prior to this one.
 
Methods inherited from class gov.nasa.worldwind.event.SelectEvent
consume, getAllTopObjects, getAllTopPickedObjects, getEventAction, getMouseEvent, getObjects, getPickPoint, getPickRectangle, getTopObject, getTopPickedObject, hasObjects, isBoxSelect, isDrag, isDragEnd, isHover, isLeftClick, isLeftDoubleClick, isLeftPress, isRightClick, isRightPress, isRollover, toString
 
Methods inherited from class gov.nasa.worldwind.event.WWEvent
isConsumed
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DragSelectEvent

public DragSelectEvent(Object source,
                       String eventAction,
                       MouseEvent mouseEvent,
                       PickedObjectList pickedObjects,
                       Point previousPickPoint)
Method Detail

getPreviousPickPoint

public Point getPreviousPickPoint()
Indicates the most screen position of the drag event immediately prior to this one.

Returns:
the screen position of the event just prior to this one.

NASA World Wind