Save This Page
Home » openjdk-7 » java » awt » dnd » [javadoc | source]
java.awt.dnd
public class: DropTargetEvent [javadoc | source]
java.lang.Object
   java.util.EventObject
      java.awt.dnd.DropTargetEvent

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    DropTargetDropEvent, DropTargetDragEvent

The DropTargetEvent is the base class for both the DropTargetDragEvent and the DropTargetDropEvent. It encapsulates the current state of the Drag and Drop operations, in particular the current DropTargetContext.
Field Summary
protected  DropTargetContext context    The DropTargetContext associated with this DropTargetEvent.
    serial:
 
Fields inherited from java.util.EventObject:
source
Constructor:
 public DropTargetEvent(DropTargetContext dtc) 
    Construct a DropTargetEvent object with the specified DropTargetContext.

Method from java.awt.dnd.DropTargetEvent Summary:
getDropTargetContext
Methods from java.util.EventObject:
getSource,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.dnd.DropTargetEvent Detail:
 public DropTargetContext getDropTargetContext() 
    This method returns the DropTargetContext associated with this DropTargetEvent.