| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private DataFlavor[] | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | fetchOneFlavor(SunClipboard clipboard, DataFlavor flavor, long format, Map<Long, Object> cached_data)
|
| 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. |
| flavors | back to summary |
|---|---|
| private DataFlavor[] flavors | |
| flavorsToData | back to summary |
|---|---|
| private final Map<DataFlavor, Object> flavorsToData | |
| ClipboardTransferable | back to summary |
|---|---|
| public ClipboardTransferable(SunClipboard clipboard) | |
| fetchOneFlavor | back to summary |
|---|---|
| private boolean fetchOneFlavor(SunClipboard clipboard, DataFlavor flavor, long format, Map<Long, Object> cached_data) | |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final byte[] | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object |
| data | back to summary |
|---|---|
| pack-priv final byte[] data | |
| format | back to summary |
|---|---|
| pack-priv final long format | |
| DataFactory | back to summary |
|---|---|
| pack-priv DataFactory(long format, byte[] data) | |
| getTransferData | back to summary |
|---|---|
| public Object getTransferData(DataFlavor flavor) throws IOException | |