Uses of Interface
java.awt.dnd.DropTargetListener
Package
Description
Drag and Drop is a direct manipulation gesture found in many Graphical User
Interface systems that provides a mechanism to transfer information between
two entities logically associated with presentation elements in the GUI.
-
Uses of DropTargetListener in java.awt.dnd
Modifier and TypeClassDescriptionclass
TheDropTarget
is associated with aComponent
when thatComponent
wishes to accept drops during Drag and Drop operations.class
An abstract adapter class for receiving drop target events.Modifier and TypeMethodDescriptionvoid
DropTarget.addDropTargetListener
(DropTargetListener dtl) Adds a newDropTargetListener
(UNICAST SOURCE).void
DropTarget.removeDropTargetListener
(DropTargetListener dtl) Removes the currentDropTargetListener
(UNICAST SOURCE).ModifierConstructorDescriptionDropTarget
(Component c, int ops, DropTargetListener dtl) Creates aDropTarget
given theComponent
to associate itself with, anint
representing the default acceptable action(s) to support, and aDropTargetListener
to handle event processing.DropTarget
(Component c, int ops, DropTargetListener dtl, boolean act) Creates aDropTarget
given theComponent
to associate itself with, anint
representing the default acceptable action(s) to support, aDropTargetListener
to handle event processing, and aboolean
indicating if theDropTarget
is currently accepting drops.DropTarget
(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm) Creates a new DropTarget given theComponent
to associate itself with, anint
representing the default acceptable action(s) to support, aDropTargetListener
to handle event processing, aboolean
indicating if theDropTarget
is currently accepting drops, and aFlavorMap
to use (or null for the defaultFlavorMap
).DropTarget
(Component c, DropTargetListener dtl) Creates aDropTarget
given theComponent
to associate itself with, and theDropTargetListener
to handle event processing.