Uses of Class
java.awt.dnd.DragSource
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.
-
Uses of DragSource in java.awt
Modifier and TypeMethodDescription<T extends DragGestureRecognizer>
TToolkit.createDragGestureRecognizer
(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl) Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified. -
Uses of DragSource in java.awt.dnd
Modifier and TypeFieldDescriptionprotected DragSource
DragGestureRecognizer.dragSource
TheDragSource
associated with thisDragGestureRecognizer
.Modifier and TypeMethodDescriptionstatic DragSource
DragSource.getDefaultDragSource()
Gets theDragSource
object associated with the underlying platform.DragGestureEvent.getDragSource()
Returns theDragSource
.DragGestureRecognizer.getDragSource()
This method returns theDragSource
thisDragGestureRecognizer
will use in order to process the Drag and Drop operation.DragSourceContext.getDragSource()
Returns theDragSource
that instantiated thisDragSourceContext
.ModifierConstructorDescriptionprotected
Construct a newDragGestureRecognizer
given theDragSource
to be used in this Drag and Drop operation.protected
Construct a newDragGestureRecognizer
given theDragSource
to be used in this Drag and Drop operation, and theComponent
thisDragGestureRecognizer
should "observe" for drag initiating gestures.protected
DragGestureRecognizer
(DragSource ds, Component c, int sa) Construct a newDragGestureRecognizer
given theDragSource
to be used in this Drag and Drop operation, theComponent
thisDragGestureRecognizer
should "observe" for drag initiating gestures, and the action(s) supported for this Drag and Drop operation.protected
DragGestureRecognizer
(DragSource ds, Component c, int sa, DragGestureListener dgl) Construct a newDragGestureRecognizer
given theDragSource
to be used in this Drag and Drop operation, theComponent
thisDragGestureRecognizer
should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and theDragGestureListener
to notify once a drag initiating gesture has been detected.protected
Construct a newMouseDragGestureRecognizer
given theDragSource
for theComponent
.protected
Construct a newMouseDragGestureRecognizer
given theDragSource
for theComponent
c, and theComponent
to observe.protected
MouseDragGestureRecognizer
(DragSource ds, Component c, int act) Construct a newMouseDragGestureRecognizer
given theDragSource
for theComponent
c, theComponent
to observe, and the action(s) permitted for this drag operation.protected
MouseDragGestureRecognizer
(DragSource ds, Component c, int act, DragGestureListener dgl) Construct a newMouseDragGestureRecognizer
given theDragSource
for theComponent
c, theComponent
to observe, the action(s) permitted for this drag operation, and theDragGestureListener
to notify when a drag gesture is detected.