org.jdesktop.wonderland.client.jme.input
Class DropTargetDragEvent3D

java.lang.Object
  extended by org.jdesktop.wonderland.client.input.Event
      extended by org.jdesktop.wonderland.client.jme.input.DropTargetEvent3D
          extended by org.jdesktop.wonderland.client.jme.input.DropTargetDragEvent3D
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DropTargetDragEnterEvent3D

public class DropTargetDragEvent3D
extends DropTargetEvent3D

3D representation of a DropTarget event

Author:
Jonathan Kaplan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdesktop.wonderland.client.input.Event
entity, EVENT_CLASS_ID, isFocussed
 
Constructor Summary
protected DropTargetDragEvent3D()
          Default constructor for cloning
  DropTargetDragEvent3D(java.awt.dnd.DropTargetDragEvent dropEvent)
          Constructor
 
Method Summary
 Event clone(Event event)
          Copy the members of this class into the given event.
 java.awt.datatransfer.DataFlavor[] getDataFlavors()
          Get the data flavors for this event
 java.awt.dnd.DropTargetDragEvent getDropEvent()
          Return the DropTargetDropEvent associated with this event
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor dataFlavor)
          Get data for a particular data flavor
 
Methods inherited from class org.jdesktop.wonderland.client.jme.input.DropTargetEvent3D
getEntity, getNode, getPickDetails, getPickInfo, setPickDetails, setPickInfo
 
Methods inherited from class org.jdesktop.wonderland.client.input.Event
allocateEventClassID, free, getClassID, isFocussed, setEntity, setFocussed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropTargetDragEvent3D

protected DropTargetDragEvent3D()
Default constructor for cloning


DropTargetDragEvent3D

public DropTargetDragEvent3D(java.awt.dnd.DropTargetDragEvent dropEvent)
Constructor

Method Detail

getDropEvent

public java.awt.dnd.DropTargetDragEvent getDropEvent()
Return the DropTargetDropEvent associated with this event

Overrides:
getDropEvent in class DropTargetEvent3D

getDataFlavors

public java.awt.datatransfer.DataFlavor[] getDataFlavors()
Get the data flavors for this event

Specified by:
getDataFlavors in class DropTargetEvent3D

getTransferData

public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor dataFlavor)
Get data for a particular data flavor

Specified by:
getTransferData in class DropTargetEvent3D

clone

public Event clone(Event event)
Description copied from class: Event
Copy the members of this class into the given event.

Overrides:
clone in class DropTargetEvent3D


Open Wonderland - http://openwonderland.org