StringSelection Members

StringSelection Members

Class Overview | This Package | All Packages

Constructors
Name Description
StringSelection(String) Creates a transferable object capable of transferring the specified string in plain text format.

Methods
Name Description
getTransferData(DataFlavor) If the data was requested in the "java.lang.String" flavor, return the String representing the selection.
getTransferDataFlavors() Returns the array of flavors in which it can provide the data.
isDataFlavorSupported(DataFlavor) Returns whether the requested flavor is supported by this object.
lostOwnership(Clipboard, Transferable)