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 |
---|---|
void |
DragSourceContext.dragEnter(DragSourceDragEvent dsde)
Calls
dragEnter on the
DragSourceListener s registered with this
DragSourceContext and with the associated
DragSource , and passes them the specified
DragSourceDragEvent . |
void |
DragSourceListener.dragEnter(DragSourceDragEvent dsde)
Called as the cursor's hotspot enters a platform-dependent drop site.
|
void |
DragSourceAdapter.dragEnter(DragSourceDragEvent dsde)
Called as the cursor's hotspot enters a platform-dependent drop site.
|
void |
DragSourceContext.dragMouseMoved(DragSourceDragEvent dsde)
Calls
dragMouseMoved on the
DragSourceMotionListener s registered with the
DragSource associated with this
DragSourceContext , and them passes the specified
DragSourceDragEvent . |
void |
DragSourceMotionListener.dragMouseMoved(DragSourceDragEvent dsde)
Called whenever the mouse is moved during a drag operation.
|
void |
DragSourceAdapter.dragMouseMoved(DragSourceDragEvent dsde)
Called whenever the mouse is moved during a drag operation.
|
void |
DragSourceContext.dragOver(DragSourceDragEvent dsde)
Calls
dragOver on the
DragSourceListener s registered with this
DragSourceContext and with the associated
DragSource , and passes them the specified
DragSourceDragEvent . |
void |
DragSourceListener.dragOver(DragSourceDragEvent dsde)
Called as the cursor's hotspot moves over a platform-dependent drop site.
|
void |
DragSourceAdapter.dragOver(DragSourceDragEvent dsde)
Called as the cursor's hotspot moves over a platform-dependent drop site.
|
void |
DragSourceContext.dropActionChanged(DragSourceDragEvent dsde)
Calls
dropActionChanged on the
DragSourceListener s registered with this
DragSourceContext and with the associated
DragSource , and passes them the specified
DragSourceDragEvent . |
void |
DragSourceListener.dropActionChanged(DragSourceDragEvent dsde)
Called when the user has modified the drop gesture.
|
void |
DragSourceAdapter.dropActionChanged(DragSourceDragEvent dsde)
Called when the user has modified the drop gesture.
|
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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.