This interface is exposed by the underlying window system platform to enable control of platform DnD operations
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public DropTarget | Returns: the DropTarget associated with this peerget the DropTarget associated with this peer |
| public int | |
| public Transferable | |
| public DataFlavor[] | Returns: the (remote) DataFlavors from the peerget the (remote) DataFlavors from the peer |
| public boolean | Returns: true if the DragSource Transferable is in the same JVM as
the Target, otherwise falseReturn whether or not the DragSource Transferable is in the same JVM as the Target. |
| public void | |
| public void | |
| public void |
| acceptDrag | back to summary |
|---|---|
| public void acceptDrag(int dragAction) accept the Drag
| |
| acceptDrop | back to summary |
|---|---|
| public void acceptDrop(int dropAction) accept the Drop
| |
| dropComplete | back to summary |
|---|---|
| public void dropComplete(boolean success) signal complete
| |
| getDropTarget | back to summary |
|---|---|
| public DropTarget getDropTarget() get the DropTarget associated with this peer
| |
| getTargetActions | back to summary |
|---|---|
| public int getTargetActions() get the current Target actions
| |
| getTransferable | back to summary |
|---|---|
| public Transferable getTransferable() throws InvalidDnDOperationException get an input stream to the remote data
| |
| getTransferDataFlavors | back to summary |
|---|---|
| public DataFlavor[] getTransferDataFlavors() get the (remote) DataFlavors from the peer
| |
| isTransferableJVMLocal | back to summary |
|---|---|
| public boolean isTransferableJVMLocal() Return whether or not the DragSource Transferable is in the same JVM as the Target.
| |
| rejectDrag | back to summary |
|---|---|
| public void rejectDrag() reject the Drag | |
| rejectDrop | back to summary |
|---|---|
| public void rejectDrop() reject the Drop | |
| setTargetActions | back to summary |
|---|---|
| public void setTargetActions(int actions) update the peer's notion of the Target's actions
| |