FileDocCategorySizeDatePackage
DropTargetEvent.javaAPI DocJava SE 5 API1627Fri Aug 26 14:56:48 BST 2005java.awt.dnd

DropTargetEvent

public 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.
version
1.18, 12/19/03
since
1.2

Fields Summary
private static final long
serialVersionUID
protected DropTargetContext
context
The DropTargetContext associated with this DropTargetEvent.
Constructors Summary
public DropTargetEvent(DropTargetContext dtc)
Construct a DropTargetEvent with a specified DropTargetContext.

param
dtc the DropTargetContext


                      

       
	super(dtc.getDropTarget());

	context  = dtc;
    
Methods Summary
public java.awt.dnd.DropTargetContextgetDropTargetContext()
This method returns the DropTargetContext associated with this DropTargetEvent.

return
the DropTargetContext

	return context;