| 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 | Method and Description |
|---|---|
protected DragSourceContext |
DragSource.createDragSourceContext(java
Creates the
DragSourceContext to handle the current drag operation.
|
DragSourceContext |
DragSourceEvent.getDragSourceContext()
This method returns the
DragSourceContext that originated the event.
|
| Constructor and Description | |
|---|---|
DragSourceDragEvent(DragSourceContext
Constructs a
DragSourceDragEvent.
|
|
DragSourceDragEvent(DragSourceContext
Constructs a
DragSourceDragEvent given the specified
DragSourceContext, user drop action, target drop action, modifiers and coordinates.
|
|
DragSourceDropEvent(DragSourceContext
Construct a
DragSourceDropEvent for a drag that does not result in a drop.
|
|
DragSourceDropEvent(DragSourceContext
Construct a
DragSourceDropEvent for a drop, given the
DragSourceContext, the drop action, and a
boolean indicating if the drop was successful.
|
|
DragSourceDropEvent(DragSourceContext
Construct a
DragSourceDropEvent for a drop, given the
DragSourceContext, the drop action, a
boolean indicating if the drop was successful, and coordinates.
|
|
DragSourceEvent(DragSourceContext
Construct a
DragSourceEvent given a specified
DragSourceContext.
|
|
DragSourceEvent(DragSourceContext
Construct a
DragSourceEvent given a specified
DragSourceContext, and coordinates of the cursor location.
|