| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final DataFlavor[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getTransferData(DataFlavor flavor)
Implements java. Returns an object which represents the data to be transferred. |
| public DataFlavor[] | getTransferDataFlavors()
Implements java. 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). |
| public boolean | isDataFlavorSupported(DataFlavor flavor)
Implements java. Returns whether or not the specified data flavor is supported for this object. |
| str | back to summary |
|---|---|
| private String str | |
| supported | back to summary |
|---|---|
| private static final DataFlavor[] supported | |
| StringTransferable | back to summary |
|---|---|
| public StringTransferable(String str) | |
| getTransferData | back to summary |
|---|---|
| public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException Implements java. Doc from java. Returns an object which represents the data to be transferred. The class of the object returned is defined by the representation class of the flavor.
| |
| getTransferDataFlavors | back to summary |
|---|---|
| public DataFlavor[] getTransferDataFlavors() Implements java. Doc from java. 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). | |
| isDataFlavorSupported | back to summary |
|---|---|
| public boolean isDataFlavorSupported(DataFlavor flavor) Implements java. Doc from java. Returns whether or not the specified data flavor is supported for this object. | |