protected class DropTargetContext.TransferableProxy extends Object implements Transferable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isLocal |
protected Transferable |
transferable |
| Modifier and Type | Method and Description |
|---|---|
Object |
getTransferData(DataFlavor flavor)
Returns the data in the specified
DataFlavor. |
DataFlavor[] |
getTransferDataFlavors()
This method returns a list of available data flavors for the data being
transferred.
|
boolean |
isDataFlavorSupported(DataFlavor flavor)
Tests whether or not this data can be delivered in the specified data
flavor.
|
protected boolean isLocal
protected Transferable transferable
public DataFlavor[] getTransferDataFlavors()
TransferablegetTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flavor)
TransferableisDataFlavorSupported in interface Transferableflavor - the data flavor to testpublic Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
TransferableDataFlavor.getTransferData in interface Transferableflavor - the data flavor to returnUnsupportedFlavorException - if the flavor is not supportedIOException - if the data is not availableDataFlavor.getRepresentationClass()