Uses of Package
java.awt.dnd
Packages that use java.awt.dnd
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
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.
-
Classes in java.awt.dnd used by java.awtClassDescriptionThe listener interface for receiving drag gesture events.The
DragGestureRecognizeris an abstract base class for the specification of a platform-dependent listener that can be associated with a particularComponentin order to identify platform-dependent drag initiating gestures.TheDragSourceis the entity responsible for the initiation of the Drag and Drop operation, and may be used in a number of scenarios: 1 default instance per JVM for the lifetime of that JVM.TheDropTargetis associated with aComponentwhen thatComponentwishes to accept drops during Drag and Drop operations. -
Classes in java.awt.dnd used by java.awt.dndClassDescriptionA
DragGestureEventis passed toDragGestureListener's dragGestureRecognized() method when a particularDragGestureRecognizerdetects that a platform dependent drag initiating gesture has occurred on theComponentthat it is tracking.The listener interface for receiving drag gesture events.TheDragGestureRecognizeris an abstract base class for the specification of a platform-dependent listener that can be associated with a particularComponentin order to identify platform-dependent drag initiating gestures.TheDragSourceis the entity responsible for the initiation of the Drag and Drop operation, and may be used in a number of scenarios: 1 default instance per JVM for the lifetime of that JVM.TheDragSourceContextclass is responsible for managing the initiator side of the Drag and Drop protocol.TheDragSourceDragEventis delivered from theDragSourceContextPeer, via theDragSourceContext, to theDragSourceListenerregistered with thatDragSourceContextand with its associatedDragSource.TheDragSourceDropEventis delivered from theDragSourceContextPeer, via theDragSourceContext, to thedragDropEndmethod ofDragSourceListeners registered with thatDragSourceContextand with its associatedDragSource.This class is the base class forDragSourceDragEventandDragSourceDropEvent.TheDragSourceListenerdefines the event interface for originators of Drag and Drop operations to track the state of the user's gesture, and to provide appropriate "drag over" feedback to the user throughout the Drag and Drop operation.A listener interface for receiving mouse motion events during a drag operation.TheDropTargetis associated with aComponentwhen thatComponentwishes to accept drops during Drag and Drop operations.this protected nested class implements autoscrollingADropTargetContextis created whenever the logical cursor associated with a Drag and Drop operation coincides with the visible geometry of aComponentassociated with aDropTarget.TheDropTargetDragEventis delivered to aDropTargetListenervia its dragEnter() and dragOver() methods.TheDropTargetDropEventis delivered via theDropTargetListenerdrop() method.TheDropTargetEventis the base class for both theDropTargetDragEventand theDropTargetDropEvent.TheDropTargetListenerinterface is the callback interface used by theDropTargetclass to provide notification of DnD operations that involve the subjectDropTarget.This exception is thrown by various methods in the java.awt.dnd package.