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
ConstructorsConstructorDescriptionDragGestureAdapter(Draggable dragComponent) Construct a new DragGestureAdapter -
Method Summary
Modifier and TypeMethodDescriptionvoidADragGestureRecognizerhas 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
ADragGestureRecognizerhas 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
DragGestureRecognizerhides the platform-specific events that initate a drag and drop operation.- Specified by:
dragGestureRecognizedin interfaceDragGestureListener- Parameters:
e- event describing the gesture that has just occurred
-