Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
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()
getTransferDataFlavors
in interface Transferable
DataFlavor
arraypublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported
in interface Transferable
flavor
- the DataFlavor
boolean
indicating if
the specified DataFlavor
is supported.public Object getTransferData(DataFlavor df) throws UnsupportedFlavorException, IOException
getTransferData
in interface Transferable
df
- the DataFlavor
UnsupportedFlavorException
- if the requested DataFlavor
is not supported.IOException
- if the data is no longer available in the requested flavor.
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.