public interface DropTargetContextPeer
DropTargetListener. Occurs when a Component
with an associated DropTarget and visible geometry is first
intersected by a logical cursor.| Modifier and Type | Method and Description |
|---|---|
void |
acceptDrag(int dragAction) |
void |
acceptDrop(int dropAction) |
void |
dropComplete(boolean success) |
DropTarget |
getDropTarget() |
int |
getTargetActions() |
Transferable |
getTransferable() |
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isTransferableJVMLocal() |
void |
rejectDrag() |
void |
rejectDrop() |
void |
setTargetActions(int actions) |
void setTargetActions(int actions)
int getTargetActions()
DropTarget getDropTarget()
DataFlavor[] getTransferDataFlavors()
Transferable getTransferable() throws InvalidDnDOperationException
InvalidDnDOperationExceptionboolean isTransferableJVMLocal()
void acceptDrag(int dragAction)
void rejectDrag()
void acceptDrop(int dropAction)
void rejectDrop()
void dropComplete(boolean success)