DropTargetEventpublic class DropTargetEvent extends EventObject 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 . |
Fields Summary |
---|
private static final long | serialVersionUID | protected DropTargetContext | contextThe DropTargetContext associated with this
DropTargetEvent . |
Constructors Summary |
---|
public DropTargetEvent(DropTargetContext dtc)Construct a DropTargetEvent with
a specified DropTargetContext .
super(dtc.getDropTarget());
context = dtc;
|
Methods Summary |
---|
public java.awt.dnd.DropTargetContext | getDropTargetContext()This method returns the DropTargetContext
associated with this DropTargetEvent .
return context;
|
|