EditActions<PS,SEG,S>
, TextEditingArea<PS,SEG,S>
CodeArea
, GenericStyledArea
, InlineCssTextArea
, InlineCssTextField
, StyleClassedTextArea
, StyleClassedTextField
, StyledTextArea
, StyledTextField
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 | 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<org.reactfx.util.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, append, appendText, clear, deleteNextChar, deletePreviousChar, deleteText, deleteText, deleteText, insert, insert, insert, insertText, insertText, moveSelectedText, replace, replaceSelection, replaceSelection, replaceText
anchorProperty, beingUpdatedProperty, caretBoundsProperty, caretColumnProperty, caretPositionProperty, createMultiChange, createMultiChange, currentParagraphProperty, displaceCaret, dispose, getAbsolutePosition, getAnchor, getCaretBounds, getCaretColumn, getCaretPosition, getCaretSelectionBind, getContent, getCurrentParagraph, getDocument, getLength, getLocale, 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, textProperty
java.util.Optional<org.reactfx.util.Tuple2<Codec<PS>,Codec<StyledSegment<SEG,S>>>> getStyleCodecs()
void setStyleCodecs(Codec<PS> paragraphStyleCodec, Codec<StyledSegment<SEG,S>> textStyleCodec)
SegmentOps<SEG,S> getSegOps()
TextEditingArea
segments
and their stylesgetSegOps
in interface TextEditingArea<PS,SEG,S>
default void cut()
default void copy()
default void paste()