public interface DragSourceContextPeer
This interface is supplied by the underlying window system platform to expose the behaviors of the Drag and Drop system to an originator of the same
| Modifier and Type | Method and Description |
|---|---|
Cursor |
getCursor()
return the current drag cursor
|
void |
setCursor(Cursor c)
set the current drag cursor
|
void |
startDrag(DragSourceContext dsc,
Cursor c,
Image dragImage,
Point imageOffset)
start a drag
|
void |
transferablesFlavorsChanged()
notify the peer that the Transferables DataFlavors have changed
|
void startDrag(DragSourceContext dsc, Cursor c, Image dragImage, Point imageOffset) throws InvalidDnDOperationException
InvalidDnDOperationExceptionCursor getCursor()
void setCursor(Cursor c) throws InvalidDnDOperationException
InvalidDnDOperationExceptionvoid transferablesFlavorsChanged()