| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| java.awt.dnd | 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. | 
| Class and Description | 
|---|
| DragGestureEvent A  DragGestureEventis passed
 toDragGestureListener's
 dragGestureRecognized() method
 when a particularDragGestureRecognizerdetects that a
 platform dependent drag initiating gesture has occurred
 on theComponentthat it is tracking. | 
| DragGestureListener The listener interface for receiving drag gesture events. | 
| DragGestureRecognizer 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. | 
| DragSource The  DragSourceis 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. | 
| DropTarget The  DropTargetis associated
 with aComponentwhen thatComponentwishes
 to accept drops during Drag and Drop operations. | 
| InvalidDnDOperationException This exception is thrown by various methods in the java.awt.dnd package. | 
| Class and Description | 
|---|
| DragGestureEvent A  DragGestureEventis passed
 toDragGestureListener's
 dragGestureRecognized() method
 when a particularDragGestureRecognizerdetects that a
 platform dependent drag initiating gesture has occurred
 on theComponentthat it is tracking. | 
| DragGestureListener The listener interface for receiving drag gesture events. | 
| DragGestureRecognizer 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. | 
| DragSource The  DragSourceis 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. | 
| DragSourceContext The  DragSourceContextclass is responsible for managing the
 initiator side of the Drag and Drop protocol. | 
| DragSourceDragEvent The  DragSourceDragEventis
 delivered from theDragSourceContextPeer,
 via theDragSourceContext, to theDragSourceListenerregistered with thatDragSourceContextand with its associatedDragSource. | 
| DragSourceDropEvent The  DragSourceDropEventis delivered
 from theDragSourceContextPeer,
 via theDragSourceContext, to thedragDropEndmethod ofDragSourceListeners registered with thatDragSourceContextand with its associatedDragSource. | 
| DragSourceEvent This class is the base class for
  DragSourceDragEventandDragSourceDropEvent. | 
| DragSourceListener The  DragSourceListenerdefines 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. | 
| DragSourceMotionListener A listener interface for receiving mouse motion events during a drag
 operation. | 
| DropTarget The  DropTargetis associated
 with aComponentwhen thatComponentwishes
 to accept drops during Drag and Drop operations. | 
| DropTarget.DropTargetAutoScroller this protected nested class implements autoscrolling | 
| DropTargetContext A  DropTargetContextis created
 whenever the logical cursor associated
 with a Drag and Drop operation coincides with the visible geometry of
 aComponentassociated with aDropTarget. | 
| DropTargetDragEvent The  DropTargetDragEventis delivered to aDropTargetListenervia its
 dragEnter() and dragOver() methods. | 
| DropTargetDropEvent The  DropTargetDropEventis delivered
 via theDropTargetListenerdrop() method. | 
| DropTargetEvent The  DropTargetEventis the base
 class for both theDropTargetDragEventand theDropTargetDropEvent. | 
| DropTargetListener The  DropTargetListenerinterface
 is the callback interface used by theDropTargetclass to provide
 notification of DnD operations that involve
 the subjectDropTarget. | 
| InvalidDnDOperationException This exception is thrown by various methods in the java.awt.dnd package. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2012, Oracle and/or its affiliates.  All rights reserved.