java.awt.dnd
public class DropTargetContext extends Object implements Serializable
Since: 1.2
| Nested Class Summary | |
|---|---|
| protected class | DropTargetContext.TransferableProxy |
| Method Summary | |
|---|---|
| protected void | acceptDrag(int dragOperation) |
| protected void | acceptDrop(int dropOperation) |
| void | addNotify(DropTargetContextPeer dtcp) |
| protected Transferable | createTransferableProxy(Transferable t, boolean local) |
| void | dropComplete(boolean success)
Signals that the drop is completed.
|
| Component | getComponent() |
| protected DataFlavor[] | getCurrentDataFlavors() |
| protected List<DataFlavor> | getCurrentDataFlavorsAsList() |
| DropTarget | getDropTarget() |
| protected int | getTargetActions() |
| protected Transferable | getTransferable()
Return the Transferable operandof this operation.
|
| protected boolean | isDataFlavorSupported(DataFlavor flavor) |
| protected void | rejectDrag() |
| protected void | rejectDrop() |
| void | removeNotify() |
| protected void | setTargetActions(int actions) |
Throws: InvalidDnDOperationException If a drop is not outstanding.
Transferable operandof this operation.
Throws: InvalidDnDOperationException If a drag is not outstanding.