Package docking.dnd
Class DragGestureAdapter
java.lang.Object
docking.dnd.DragGestureAdapter
- All Implemented Interfaces:
DragGestureListener
,EventListener
This class receives notification when the user intitiates a
drag and drop operation; it is responsible for getting the
Transferable
and telling the DragSource
to
start the drag.-
Constructor Summary
ConstructorDescriptionDragGestureAdapter
(Draggable dragComponent) Construct a new DragGestureAdapter -
Method Summary
Modifier and TypeMethodDescriptionvoid
ADragGestureRecognizer
has detected a platform-dependent Drag and Drop action initiating gesture and is notifying this Listener in order for it to initiate the action for the user.
-
Constructor Details
-
DragGestureAdapter
Construct a new DragGestureAdapter- Parameters:
dragComponent
- Component that can support drag operations
-
-
Method Details
-
dragGestureRecognized
ADragGestureRecognizer
has detected a platform-dependent Drag and Drop action initiating gesture and is notifying this Listener in order for it to initiate the action for the user.The
DragGestureRecognizer
hides the platform-specific events that initate a drag and drop operation.- Specified by:
dragGestureRecognized
in interfaceDragGestureListener
- Parameters:
e
- event describing the gesture that has just occurred
-