Uses of Class
java.awt.dnd.InvalidDnDOperationException
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.
|
-
Uses of InvalidDnDOperationException in java.awt.dnd
Methods in java.awt.dnd that throw InvalidDnDOperationException Modifier and Type Method Description void
DropTargetContext. dropComplete(boolean success)
This method signals that the drop is completed and if it was successful or not.protected Transferable
DropTargetContext. getTransferable()
get the Transferable (proxy) operand of this operationvoid
DragGestureEvent. startDrag(Cursor dragCursor, Transferable transferable)
Starts the drag operation given theCursor
for this drag operation and theTransferable
representing the source data for this drag operation.void
DragGestureEvent. startDrag(Cursor dragCursor, Transferable transferable, DragSourceListener dsl)
Starts the drag given the initialCursor
to display, theTransferable
object, and theDragSourceListener
to use.void
DragGestureEvent. startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl)
Start the drag given the initialCursor
to display, a dragImage
, the offset of theImage
, theTransferable
object, and theDragSourceListener
to use.void
DragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl)
Start a drag, given theDragGestureEvent
that initiated the drag, the initialCursor
to use, theTransferable
subject data of the drag, and theDragSourceListener
.void
DragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)
Start a drag, given theDragGestureEvent
that initiated the drag, the initialCursor
to use, theTransferable
subject data of the drag, theDragSourceListener
, and theFlavorMap
.void
DragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point dragOffset, Transferable transferable, DragSourceListener dsl)
Start a drag, given theDragGestureEvent
that initiated the drag, the initialCursor
to use, theImage
to drag, the offset of theImage
origin from the hotspot of theCursor
at the instant of the trigger, the subject data of the drag, and theDragSourceListener
.void
DragSource. startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)
Start a drag, given theDragGestureEvent
that initiated the drag, the initialCursor
to use, theImage
to drag, the offset of theImage
origin from the hotspot of theCursor
at the instant of the trigger, theTransferable
subject data of the drag, theDragSourceListener
, and theFlavorMap
.