Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.dnd.DropTargetContext.TransferableProxy
The TransferableProxy
is a
nested helper class that
supports the DropTargetContext
in managing the transfer of data.
In particular it provides automatic
support for the de-serialization
of application/x-java-serialized-object
DatFlavor
s.
Field Summary | |
protected boolean |
isLocal
A boolean indicating if
the DragSource is in the
same JVM as the DropTarget . |
protected Transferable |
transferable
The "actual" Transferable
that the Proxy is a Proxy for,
usually supplied from the underlying system. |
Method Summary | |
Object |
getTransferData(DataFlavor df)
get the transfer data |
DataFlavor[] |
getTransferDataFlavors()
get the flavors |
boolean |
isDataFlavorSupported(DataFlavor flavor)
check if a particular flavor is supported? |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected Transferable transferable
Transferable
that the Proxy is a Proxy for,
usually supplied from the underlying system.protected boolean isLocal
boolean
indicating if
the DragSource
is in the
same JVM as the DropTarget
.Method Detail |
public DataFlavor[] getTransferDataFlavors()
DataFlavor
arraypublic boolean isDataFlavorSupported(DataFlavor flavor)
flavor
- the DataFlavor
boolean
indicating if
the specified DataFlavor
is supported.public Object getTransferData(DataFlavor df) throws UnsupportedFlavorException, IOException
df
- the DataFlavor
DataFlavor
is not supported.
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |