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 and 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 |
Transferable.getTransferData(DataFlavor flavor)
Returns an object which represents the data to be transferred.
|
Object |
StringSelection.getTransferData(DataFlavor flavor)
Returns the
Transferable 's data in the requested
DataFlavor if possible. |
Modifier and Type | Method and 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 and Description |
---|---|
Object |
DataHandler.getTransferData(DataFlavor flavor)
Returns an object that represents the data to be
transferred.
|
Object |
DataContentHandler.getTransferData(DataFlavor df,
DataSource ds)
Returns an object which 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, 2015, Oracle and/or its affiliates. All rights reserved.