StringSelection

Methods
2
Fields
None

Getting one

StringSelection.new(…)
Toolkit.getDefaultToolkit():getSystemClipboard():getContents(…)

Methods

MethodReturnsDescription
getTransferData(DataFlavor)stringThe text, for DataFlavor.stringFlavor.
new(string)StringSelectionA selection of data.

Returned by

MethodReturnsDescription
Clipboard.getContentsStringSelection?The clipboard's text as a StringSelection, or nil when it holds none. Any plugin reads it at any time.
StringSelectionClass.newStringSelectionA selection of data.

Method details