P
- the class of the object to be acceptedpublic interface AcceptableDropComponent<P>
Modifier and Type | Method and Description |
---|---|
void |
acceptThisObject(P obj,
java.awt.dnd.DropTargetDropEvent evt)
This method deals with the object being accepted from the drop.
|
void acceptThisObject(P obj, java.awt.dnd.DropTargetDropEvent evt)
obj
- an instance of class Pevt
- the DropTargetDropEvent that terminates the DnD