| 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.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends DragGestureRecognizer |
Toolkit.createDragGestureRecognizer(Class
Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified.
|
| Modifier and Type | Field and Description |
|---|---|
protected DragSource |
DragGestureRecognizer.dragSource
The
DragSource associated with this
DragGestureRecognizer.
|
| Modifier and Type | Method and Description |
|---|---|
static DragSource |
DragSource.getDefaultDragSource()
Gets the
DragSource object associated with the underlying platform.
|
DragSource |
DragGestureEvent.getDragSource()
Returns the
DragSource.
|
DragSource |
DragGestureRecognizer.getDragSource()
This method returns the
DragSource this
DragGestureRecognizer will use in order to process the Drag and Drop operation.
|
DragSource |
DragSourceContext.getDragSource()
Returns the
DragSource that instantiated this
DragSourceContext.
|
| Constructor and Description | |
|---|---|
DragGestureRecognizer(DragSource
Construct a new
DragGestureRecognizer given the
DragSource to be used in this Drag and Drop operation.
|
|
DragGestureRecognizer(DragSource
Construct a new
DragGestureRecognizer given the
DragSource to be used in this Drag and Drop operation, and the
Component this
DragGestureRecognizer should "observe" for drag initiating gestures.
|
|
DragGestureRecognizer(DragSource
Construct a new
DragGestureRecognizer given the
DragSource to be used in this Drag and Drop operation, the
Component this
DragGestureRecognizer should "observe" for drag initiating gestures, and the action(s) supported for this Drag and Drop operation.
|
|
DragGestureRecognizer(DragSource
Construct a new
DragGestureRecognizer given the
DragSource to be used in this Drag and Drop operation, the
Component this
DragGestureRecognizer should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and the
DragGestureListener to notify once a drag initiating gesture has been detected.
|
|
MouseDragGestureRecognizer(DragSource
Construct a new
MouseDragGestureRecognizer given the
DragSource for the
Component.
|
|
MouseDragGestureRecognizer(DragSource
Construct a new
MouseDragGestureRecognizer given the
DragSource for the
Component c, and the
Component to observe.
|
|
MouseDragGestureRecognizer(DragSource
Construct a new
MouseDragGestureRecognizer given the
DragSource for the
Component c, the
Component to observe, and the action(s) permitted for this drag operation.
|
|
MouseDragGestureRecognizer(DragSource
Construct a new
MouseDragGestureRecognizer given the
DragSource for the
Component c, the
Component to observe, the action(s) permitted for this drag operation, and the
DragGestureListener to notify when a drag gesture is detected.
|