| Package | Description |
|---|---|
| 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 | Field and Description |
|---|---|
protected DropTargetContext |
DropTargetEvent.context
The
DropTargetContext associated with this
DropTargetEvent.
|
| Modifier and Type | Method and Description |
|---|---|
protected DropTargetContext |
DropTarget.createDropTargetContext()
Creates the DropTargetContext associated with this DropTarget.
|
DropTargetContext |
DropTarget.getDropTargetContext()
Gets the
DropTargetContext associated with this
DropTarget.
|
DropTargetContext |
DropTargetEvent.getDropTargetContext()
This method returns the
DropTargetContext associated with this
DropTargetEvent.
|
| Constructor and Description | |
|---|---|
DropTargetDragEvent(DropTargetContext
Construct a
DropTargetDragEvent given the
DropTargetContext for this operation, the location of the "Drag"
Cursor's hotspot in the
Component's coordinates, the user drop action, and the source drop actions.
|
|
DropTargetDropEvent(DropTargetContext
Construct a
DropTargetDropEvent given the
DropTargetContext for this operation, the location of the drag
Cursor's hotspot in the
Component's coordinates, the currently selected user drop action, and the current set of actions supported by the source.
|
|
DropTargetDropEvent(DropTargetContext
Construct a
DropTargetEvent given the
DropTargetContext for this operation, the location of the drag
Cursor's hotspot in the
Component's coordinates, the currently selected user drop action, the current set of actions supported by the source, and a
boolean indicating if the source is in the same JVM as the target.
|
|
DropTargetEvent(DropTargetContext
Construct a
DropTargetEvent object with the specified
DropTargetContext.
|