Home » openjdk-7 » java » awt » dnd »

java.awt.dnd

Sub Packages:

java.awt.dnd.peer   Provides for interfacing with the underlying window system in order to access its platform-dependent drag-and-drop facilities.  

Interfaces:

Autoscroll   During DnD operations it is possible that a user may wish to drop the subject of the operation on a region of a scrollable GUI control that is not currently visible to the user.  code | html
DragGestureListener   The listener interface for receiving drag gesture events.  code | html
DragSourceListener   The DragSourceListener defines 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.  code | html
DragSourceMotionListener   A listener interface for receiving mouse motion events during a drag operation.  code | html
DropTargetListener   The DropTargetListener interface is the callback interface used by the DropTarget class to provide notification of DnD operations that involve the subject DropTarget code | html

Abstract Classes:

DragGestureRecognizer   The DragGestureRecognizer is an abstract base class for the specification of a platform-dependent listener that can be associated with a particular Component in order to identify platform-dependent drag initiating gestures.  code | html
DragSourceAdapter   An abstract adapter class for receiving drag source events.  code | html
DropTargetAdapter   An abstract adapter class for receiving drop target events.  code | html
MouseDragGestureRecognizer   This abstract subclass of DragGestureRecognizer defines a DragGestureRecognizer for mouse-based gestures.  code | html

Classes:

DnDConstants   This class contains constant values representing the type of action(s) to be performed by a Drag and Drop operation.  code | html
DnDEventMulticaster   A class extends AWTEventMulticaster to implement efficient and thread-safe multi-cast event dispatching for the drag-and-drop events defined in the java.awt.dnd package.  code | html
DragGestureEvent   A DragGestureEvent is passed to DragGestureListener's dragGestureRecognized() method when a particular DragGestureRecognizer detects that a platform dependent drag initiating gesture has occurred on the Component that it is tracking.  code | html
DragSource   The DragSource is 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. 
code | html
DragSourceContext   The DragSourceContext class is responsible for managing the initiator side of the Drag and Drop protocol.  code | html
DragSourceDragEvent   The DragSourceDragEvent is delivered from the DragSourceContextPeer, via the DragSourceContext, to the DragSourceListener registered with that DragSourceContext and with its associated DragSource code | html
DragSourceDropEvent   The DragSourceDropEvent is delivered from the DragSourceContextPeer, via the DragSourceContext, to the dragDropEnd method of DragSourceListeners registered with that DragSourceContext and with its associated DragSource code | html
DragSourceEvent   This class is the base class for DragSourceDragEvent and DragSourceDropEvent code | html
DragSourceMulticaster   A wrapper for array of drag source listeners  code | html
DropTarget   The DropTarget is associated with a Component when that Component wishes to accept drops during Drag and Drop operations.  code | html
DropTarget.DropTargetAutoScroller   this protected nested class implements autoscrolling  code | html
DropTargetContext   A DropTargetContext is created whenever the logical cursor associated with a Drag and Drop operation coincides with the visible geometry of a Component associated with a DropTarget code | html
DropTargetContext.TransferableProxy   TransferableProxy is a helper inner class that implements Transferable interface and serves as a proxy for another Transferable object which represents data transfer for a particular drag-n-drop operation.  code | html
DropTargetDragEvent   The DropTargetDragEvent is delivered to a DropTargetListener via its dragEnter() and dragOver() methods.  code | html
DropTargetDropEvent   The DropTargetDropEvent is delivered via the DropTargetListener drop() method.  code | html
DropTargetEvent   The DropTargetEvent is the base class for both the DropTargetDragEvent and the DropTargetDropEvent code | html
InvalidDnDOperationException   This exception is thrown by various methods in the java.awt.dnd package.  code | html
SerializationTester   Tests if an object can truly be serialized by serializing it to a null OutputStream.  code | html