Package | Description |
---|---|
java.awt.datatransfer |
Provides interfaces and classes for transferring data between and within
applications.
|
java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical User
Interface systems that provides a mechanism to transfer information between
two entities logically associated with presentation elements in the GUI.
|
javax.activation |
Modifier and Type | Method | Description |
---|---|---|
Object |
Clipboard.getData(DataFlavor flavor) |
Returns an object representing the current contents of this clipboard
in the specified
DataFlavor . |
Reader |
DataFlavor.getReaderForText(Transferable transferable) |
Gets a Reader for a text flavor, decoded, if necessary, for the expected
charset (encoding).
|
Object |
StringSelection.getTransferData(DataFlavor flavor) |
Returns the
Transferable 's data in the requested
DataFlavor if possible. |
Object |
Transferable.getTransferData(DataFlavor flavor) |
Returns an object which represents the data to be transferred.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
DropTargetContext.TransferableProxy.getTransferData(DataFlavor df) |
Returns an object which represents the data provided by
the encapsulated transferable for the requested data flavor.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
DataContentHandler.getTransferData(DataFlavor df,
DataSource ds) |
Returns an object which represents the data to be transferred.
|
Object |
DataHandler.getTransferData(DataFlavor flavor) |
Returns an object that represents the data to be
transferred.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps