| 
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 
 DatFlavors.
| 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 TransferableDataFlavor arraypublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface Transferableflavor - the DataFlavor
 boolean indicating if
 the specified DataFlavor is supported.
public Object getTransferData(DataFlavor df)
                       throws UnsupportedFlavorException,
                              IOException
getTransferData in interface Transferabledf - 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 Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates.    All rights reserved.