| 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 | Class and Description |
|---|---|
class |
DragSourceDragEvent
The
DragSourceDragEvent is
delivered from the DragSourceContextPeer,
via the DragSourceContext, to the DragSourceListener
registered with that DragSourceContext and with its associated
DragSource. |
class |
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. |
| Modifier and Type | Method and Description |
|---|---|
void |
DragSourceAdapter.dragExit(DragSourceEvent dse)
Called as the cursor's hotspot exits a platform-dependent drop site.
|
void |
DragSourceContext.dragExit(DragSourceEvent dse)
Calls
dragExit on the
DragSourceListeners registered with this
DragSourceContext and with the associated
DragSource, and passes them the specified
DragSourceEvent. |
void |
DragSourceListener.dragExit(DragSourceEvent dse)
Called as the cursor's hotspot exits a platform-dependent drop site.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.