| java.awt.datatransfer.Transferable
All known Subclasses: java.awt.datatransfer.StringSelection,
Transferable | public interface Transferable (Code) | | Defines the interface for classes that can be used to provide data
for a transfer operation.
version: 1.8, 02/02/00 author: Amy Fowler |
getTransferDataFlavors | public DataFlavor[] getTransferDataFlavors()(Code) | | Returns an array of DataFlavor objects indicating the flavors the data
can be provided in. The array should be ordered according to preference
for providing the data (from most richly descriptive to least descriptive).
an array of data flavors in which this data can be transferred |
isDataFlavorSupported | public boolean isDataFlavorSupported(DataFlavor flavor)(Code) | | Returns whether or not the specified data flavor is supported for
this object.
Parameters: flavor - the requested flavor for the data boolean indicating wjether or not the data flavor is supported |
|
|