Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
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 |
---|---|
abstract java.awt.dnd.peer.DragSourceContextPeer |
Toolkit.createDragSourceContextPeer(DragGestureEvent dge)
Creates the peer for a DragSourceContext.
|
Modifier and Type | Method and 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 operation
|
void |
DragGestureEvent.startDrag(Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl)
Start the drag given the initial
Cursor to display,
a drag Image , the offset of
the Image ,
the Transferable object, and
the DragSourceListener to use. |
void |
DragGestureEvent.startDrag(Cursor dragCursor,
Transferable transferable)
Starts the drag operation given the
Cursor for this drag
operation and the Transferable representing the source data
for this drag operation. |
void |
DragGestureEvent.startDrag(Cursor dragCursor,
Transferable transferable,
DragSourceListener dsl)
Starts the drag given the initial
Cursor to display,
the Transferable object,
and the DragSourceListener to use. |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point dragOffset,
Transferable transferable,
DragSourceListener dsl)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial Cursor
to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor
at the instant of the trigger,
the subject data of the drag, and
the DragSourceListener . |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl,
FlavorMap flavorMap)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial
Cursor to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor at
the instant of the trigger,
the Transferable subject data
of the drag, the DragSourceListener ,
and the FlavorMap . |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Transferable transferable,
DragSourceListener dsl)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial
Cursor to
use,
the Transferable subject data
of the drag, and the DragSourceListener . |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Transferable transferable,
DragSourceListener dsl,
FlavorMap flavorMap)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial
Cursor to use,
the Transferable subject data
of the drag, the DragSourceListener ,
and the FlavorMap . |
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, 2012, Oracle and/or its affiliates. All rights reserved.