java.lang.Objectjava.awt.dnd.DropTargetContext
All Implemented Interfaces:
Serializable
DropTargetContext is created
whenever the logical cursor associated
with a Drag and Drop operation coincides with the visible geometry of
a Component associated with a DropTarget.
The DropTargetContext provides
the mechanism for a potential receiver
of a drop operation to both provide the end user with the appropriate
drag under feedback, but also to effect the subsequent data transfer
if appropriate.1.2 - | Nested Class Summary: | ||
|---|---|---|
| protected class | DropTargetContext.TransferableProxy | /
/**
TransferableProxy is a helper inner class that implements
Transferable interface and serves as a proxy for another
Transferable object which represents data transfer for
a particular drag-n-drop operation.
The proxy forwards all requests to the encapsulated transferable and automatically performs additional conversion on the data returned by the encapsulated transferable in case of local transfer. |
| Constructor: |
|---|
DropTargetContext
given a specified DropTarget.
|
| Method from java.awt.dnd.DropTargetContext Summary: |
|---|
| acceptDrag, acceptDrop, addNotify, createTransferableProxy, dropComplete, getComponent, getCurrentDataFlavors, getCurrentDataFlavorsAsList, getDropTarget, getDropTargetContextPeer, getTargetActions, getTransferable, isDataFlavorSupported, rejectDrag, rejectDrop, removeNotify, setTargetActions |
| Methods from java.lang.Object: |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.awt.dnd.DropTargetContext Detail: |
|---|
|
|
DropTargetContextPeer.
|
|
|
Component associated with
this DropTargetContext.
|
Transferable operand of this operation.
|
Transferable operand
as a java.util.List.
|
DropTarget associated with this
DropTargetContext.
|
DropTargetContextPeer
|
int representing the
current actions this DropTarget will accept.
|
|
boolean
indicating if the given DataFlavor is
supported by this DropTargetContext.
|
|
|
DropTargetContextPeer. |
DropTarget.
|