Java Platform 1.2

java.awt.dnd
Class DropTargetContext.TransferableProxy

java.lang.Object
  |
  +--java.awt.dnd.DropTargetContext.TransferableProxy

protected class DropTargetContext.TransferableProxy
extends Object
implements Transferable


Field Summary
protected  boolean isLocal
           
protected  Transferable transferable
           
 
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

transferable

protected Transferable transferable

isLocal

protected boolean isLocal
Method Detail

getTransferDataFlavors

public DataFlavor[] getTransferDataFlavors()
get the flavors
Specified by:
getTransferDataFlavors in interface Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(DataFlavor flavor)
check if a particular flavor is supported?
Specified by:
isDataFlavorSupported in interface Transferable

getTransferData

public Object getTransferData(DataFlavor df)
                       throws UnsupportedFlavorException,
                              IOException
get the transfer data
Specified by:
getTransferData in interface Transferable

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.