public interface ClipboardActions<PS,SEG,S> extends EditActions<PS,SEG,S>
TextEditingArea.anchor, beingUpdated, caretBounds, caretColumn, caretPosition, currentParagraph, length, selectedText, selectionBounds, selection, showCaret, text| Modifier and Type | Method and Description |
|---|---|
default void |
copy()
Transfers the currently selected text to the clipboard,
leaving the current selection.
|
default void |
cut()
Transfers the currently selected text to the clipboard,
removing the current selection.
|
SegmentOps<SEG,S> |
getSegOps()
Returns the object used for operating over
segments and their styles |
java.util.Optional<Tuple2<Codec<PS>,Codec<StyledSegment<SEG,S>>>> |
getStyleCodecs()
Gets codecs to encode/decode style information to/from binary format.
|
default void |
paste()
Inserts the content from the clipboard into this text-editing area,
replacing the current selection.
|
void |
setStyleCodecs(Codec<PS> paragraphStyleCodec,
Codec<StyledSegment<SEG,S>> textStyleCodec) |
append, appendText, clear, deleteNextChar, deletePreviousChar, deleteText, deleteText, deleteText, insert, insert, insertText, insertText, moveSelectedText, replace, replaceSelection, replaceSelection, replaceTextanchorProperty, beingUpdatedProperty, caretBoundsProperty, caretColumnProperty, caretPositionProperty, createMultiChange, createMultiChange, currentParagraphProperty, displaceCaret, dispose, getAbsolutePosition, getAnchor, getCaretBounds, getCaretColumn, getCaretPosition, getCaretSelectionBind, getContent, getCurrentParagraph, getDocument, getLength, getParagraph, getParagraphLength, getParagraphs, getParagraphSelection, getParagraphSelection, getSelectedText, getSelection, getSelectionBounds, getShowCaret, getText, getText, getText, getText, getText, isBeingUpdated, lengthProperty, multiPlainChanges, multiRichChanges, plainTextChanges, replace, replace, replace, replace, replace, replace, replaceText, replaceText, replaceText, richChanges, selectedTextProperty, selectionBoundsProperty, selectionProperty, selectRange, selectRange, setShowCaret, showCaretProperty, subDocument, subDocument, subDocument, subDocument, textPropertyjava.util.Optional<Tuple2<Codec<PS>,Codec<StyledSegment<SEG,S>>>> getStyleCodecs()
void setStyleCodecs(Codec<PS> paragraphStyleCodec, Codec<StyledSegment<SEG,S>> textStyleCodec)
SegmentOps<SEG,S> getSegOps()
TextEditingAreasegments and their stylesgetSegOps in interface TextEditingArea<PS,SEG,S>default void cut()
default void copy()
default void paste()