Methods
Modifier and Type |
Method and Description |
void |
addDragSourceListener(DragSourceListener l) |
void |
addDragSourceMotionListener(DragSourceMotionListener l) |
DragGestureRecognizer |
createDefaultDragGestureRecognizer(Component c,
int actions,
DragGestureListener dgl) |
<T extends DragGestureRecognizer> T |
createDragGestureRecognizer(Class<T> recognizer,
Component c,
int actions,
DragGestureListener dgl) |
protected DragSourceContext |
createDragSourceContext(DragSourceContextPeer peer,
DragGestureEvent dge,
Cursor cursor,
Image image,
Point offset,
Transferable t,
DragSourceListener dsl)
Creates the DragSourceContext to handle this drag.
|
static DragSource |
getDefaultDragSource()
Gets the default drag source.
|
DragSourceListener[] |
getDragSourceListeners() |
DragSourceMotionListener[] |
getDragSourceMotionListeners() |
static int |
getDragThreshold()
TODO
|
FlavorMap |
getFlavorMap() |
<T extends EventListener> T[] |
getListeners(Class<T> listenerType) |
static boolean |
isDragImageSupported() |
void |
removeDragSourceListener(DragSourceListener l) |
void |
removeDragSourceMotionListener(DragSourceMotionListener l) |
void |
startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable trans,
DragSourceListener dsl)
Start a drag, given the DragGestureEvent that initiated the drag.
|
void |
startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable trans,
DragSourceListener dsl,
FlavorMap map)
Start a drag, given the DragGestureEvent that initiated the drag.
|
void |
startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Transferable trans,
DragSourceListener dsl)
Start a drag, given the DragGestureEvent that initiated the drag.
|
void |
startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Transferable trans,
DragSourceListener dsl,
FlavorMap map)
Start a drag, given the DragGestureEvent that initiated the drag.
|