A B C D E F G H I J L M N O P R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(E) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- add(StyleSpan<S>) - Method in class org.fxmisc.richtext.model.StyleSpansBuilder
- add(S, int) - Method in class org.fxmisc.richtext.model.StyleSpansBuilder
- addAll(Iterable<? extends StyleSpan<S>>) - Method in class org.fxmisc.richtext.model.StyleSpansBuilder
- addAll(Iterable<? extends StyleSpan<S>>, int) - Method in class org.fxmisc.richtext.model.StyleSpansBuilder
- addAll(Collection<? extends StyleSpan<S>>) - Method in class org.fxmisc.richtext.model.StyleSpansBuilder
- addAll(Iterator<? extends StyleSpan<S>>) - Method in class org.fxmisc.richtext.model.StyleSpansBuilder
- addCaret(CaretNode) - Method in class org.fxmisc.richtext.GenericStyledArea
- addChangeListener(SetChangeListener<? super E>) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
-
Helper method for adding a change listener that can be removed by calling
unsubscribe
on the returnedSubscription
. - addInvalidationListener(InvalidationListener) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
-
Helper method for adding an invalidation listener that can be removed by calling
unsubscribe
on the returnedSubscription
. - addListener(InvalidationListener) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- addListener(SetChangeListener<? super E>) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- addParagraph(List<StyledSegment<SEG, S>>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that is constructed using the list of
StyledSegment
s. - addParagraph(List<StyledSegment<SEG, S>>, PS) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that is constructed using the list of
StyledSegment
s. - addParagraph(List<SEG>, StyleSpans<S>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that has multiple segments with multiple styles throughout those segments
- addParagraph(List<SEG>, StyleSpans<S>, PS) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that has multiple segments with multiple styles throughout those segments
- addParagraph(SEG, StyleSpans<S>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that has only one segment but a number of different styles throughout that segment
- addParagraph(SEG, StyleSpans<S>, PS) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that has only one segment but a number of different styles throughout that segment
- addParagraph(SEG, S) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that has only one segment that has the same given style throughout.
- addParagraph(SEG, S, PS) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds to the list a paragraph that has only one segment that has the same given style throughout.
- addParagraphs(List<List<SEG>>, StyleSpans<S>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds multiple paragraphs to the list, using the
ReadOnlyStyledDocumentBuilder.defaultParagraphStyle
for each paragraph. - addParagraphs0(List<Tuple2<PS, List<SEG>>>, StyleSpans<S>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Adds multiple paragraphs to the list, allowing one to specify each paragraph's paragraph style.
- addSelection(Selection<PS, SEG, S>) - Method in class org.fxmisc.richtext.GenericStyledArea
- addSubscriber(Function<? super E, Subscription>) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
-
Subscribes to all current and future elements' internal changes in this set until either they are removed or this subscriber is removed by calling
unsubscribe
on the function's returnedSubscription
. - ADJUST - org.fxmisc.richtext.NavigationActions.SelectionPolicy
-
Moves the caret only without also moving the anchor, thereby making a selection
- alignmentProperty() - Method in class org.fxmisc.richtext.StyledTextField
-
Specifies how the text should be aligned when there is empty space within the TextField.
- allParToVisibleParIndex(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- allParToVisibleParIndex(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Maps a paragraph index from
TextEditingArea.getParagraphs()
into the index system ofViewActions.getVisibleParagraphs()
. - anchorColPositionProperty() - Method in interface org.fxmisc.richtext.CaretSelectionBind
- anchorParIndexProperty() - Method in interface org.fxmisc.richtext.CaretSelectionBind
- anchorPositionProperty() - Method in interface org.fxmisc.richtext.CaretSelectionBind
- anchorProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- ANY - Static variable in class org.fxmisc.richtext.event.MouseOverTextEvent
- ANY - Static variable in class org.fxmisc.richtext.event.MouseStationaryEvent
- append(String, String) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Convenient method to append text together with a single style class.
- append(String, String) - Method in class org.fxmisc.richtext.StyleClassedTextField
-
Convenient method to append text together with a single style class.
- append(StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.EditActions
-
Appends the given rich-text content to the end of this text-editing area.
- append(StyleSpan<S>) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Appends the given style to the end of the list of
StyleSpan
. - append(SEG, S) - Method in interface org.fxmisc.richtext.EditActions
-
Append text with a style.
- append(S, int) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Appends the given style to the end of the list of
StyleSpan
. - appendText(String) - Method in interface org.fxmisc.richtext.EditActions
-
Appends the given text to the end of the text content.
- apply(int) - Method in class org.fxmisc.richtext.LineNumberFactory
- applyMultiPlainTextChange(GenericStyledArea<PS, SEG, S>) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Applies a list of
PlainTextChange
s to the given area when theUndoManager
's change stream emits an event byarea.replaceAbsolutely(change.getPosition(), change.getRemovalEnd(), change.getInserted()
. - applyMultiRichTextChange(GenericStyledArea<PS, SEG, S>) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Applies a list of
RichTextChange
to the given area when theUndoManager
's change stream emits an event byarea.replaceAbsolutely(change.getPosition(), change.getRemovalEnd(), change.getInserted()
. - applyPlainTextChange(GenericStyledArea<PS, SEG, S>) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Applies a
PlainTextChange
to the given area when theUndoManager
's change stream emits an event byarea.replaceText(change.getPosition(), change.getRemovalEnd(), change.getInserted()
. - applyRichTextChange(GenericStyledArea<PS, SEG, S>) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Applies a
RichTextChange
to the given area when theUndoManager
's change stream emits an event byarea.replace(change.getPosition(), change.getRemovalEnd(), change.getInserted()
. - AUTO - org.fxmisc.richtext.Caret.CaretVisibility
-
Caret is displayed when area is focused, enabled, and editable.
- autoHeightProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- autoScrollOnDragDesiredProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- autoScrollOnDragDesiredProperty() - Method in interface org.fxmisc.richtext.ViewActions
B
- backgroundColorProperty() - Method in class org.fxmisc.richtext.TextExt
-
The background color of the section of text.
- BackgroundPath - Class in org.fxmisc.richtext
-
A path which describes a background shape in the Scene graph.
- BackgroundPath() - Constructor for class org.fxmisc.richtext.BackgroundPath
- Backward - org.fxmisc.richtext.model.TwoDimensional.Bias
-
When the returned value would be equal to the last index in an "inner list" or the length of some object with length, returns the value unmodified.
- beginAt(Point2D, int) - Static method in class org.fxmisc.richtext.event.MouseOverTextEvent
- beingUpdatedProperty() - Method in interface org.fxmisc.richtext.Caret
- beingUpdatedProperty() - Method in class org.fxmisc.richtext.CaretNode
- beingUpdatedProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- beingUpdatedProperty() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
- beingUpdatedProperty() - Method in interface org.fxmisc.richtext.Selection
- beingUpdatedProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- beingUpdatedProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
-
True when an update to the area's
underling editable document
is still occurring or the viewport is being updated. - blinkRateProperty() - Method in interface org.fxmisc.richtext.Caret
- blinkRateProperty() - Method in class org.fxmisc.richtext.CaretNode
-
The blink rate of the caret.
- BorderPath - Class in org.fxmisc.richtext
-
A path which describes a border in the Scene graph.
- BorderPath() - Constructor for class org.fxmisc.richtext.BorderPath
- borderStrokeColorProperty() - Method in class org.fxmisc.richtext.TextExt
-
The border stroke color of the section of text.
- borderStrokeDashArrayProperty() - Method in class org.fxmisc.richtext.TextExt
-
The dash array used for drawing the border for a section of text.
- borderStrokeTypeProperty() - Method in class org.fxmisc.richtext.TextExt
-
The stroke type of the border stroke.
- borderStrokeWidthProperty() - Method in class org.fxmisc.richtext.TextExt
-
The width of the border stroke.
- build() - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Returns an unmodifiable list of the constructed
Paragraph
s and ensures this builder cannot be used again.
C
- Caret - Interface in org.fxmisc.richtext
-
An object for encapsulating a caret in a given area.
- Caret.CaretVisibility - Enum in org.fxmisc.richtext
-
Determines whether the caret is visible.
- caretBoundsProperty() - Method in interface org.fxmisc.richtext.Caret
-
The selectionBoundsProperty of the caret in the Screen's coordinate system or
Optional.empty()
if caret is not visible in the viewport. - caretBoundsProperty() - Method in class org.fxmisc.richtext.CaretNode
- caretBoundsProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- caretColumnProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- CaretNode - Class in org.fxmisc.richtext
-
Default implementation for a
Caret
. - CaretNode(String, GenericStyledArea<?, ?, ?>) - Constructor for class org.fxmisc.richtext.CaretNode
- CaretNode(String, GenericStyledArea<?, ?, ?>, int) - Constructor for class org.fxmisc.richtext.CaretNode
- CaretNode(String, GenericStyledArea<?, ?, ?>, SuspendableNo, int) - Constructor for class org.fxmisc.richtext.CaretNode
- caretPositionProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- CaretSelectionBind<PS,SEG,S> - Interface in org.fxmisc.richtext
-
An object for encapsulating a caret and a selection in a given area where the caret and selection are bound to one another.
- changeAlignment(TextAlignment) - Method in class org.fxmisc.richtext.InlineCssTextField
- changeAlignment(TextAlignment) - Method in class org.fxmisc.richtext.StyleClassedTextField
- changeAlignment(TextAlignment) - Method in class org.fxmisc.richtext.StyledTextField
- CharacterHit - Class in org.fxmisc.richtext
-
Object that stores information relating to the position in an area's content that corresponds to a given position in some visible entity (e.g.
- charAt(int) - Method in class org.fxmisc.richtext.model.Paragraph
- charAt(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- charAt(SEG, int) - Method in interface org.fxmisc.richtext.model.SegmentOps
- charAt(SEG, int) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- clamp() - Method in interface org.fxmisc.richtext.model.TwoDimensional.Position
-
Returns a new position which clamps the minor position to be valid given the major position.
- clear() - Method in interface org.fxmisc.richtext.EditActions
-
Clears the area, so that it displays only an empty paragraph.
- CLEAR - org.fxmisc.richtext.NavigationActions.SelectionPolicy
-
Move the caret and anchor to the same given position, thereby clearing any existing selection
- clearParagraphStyle(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Resets the style of the given paragraph to the initial style.
- clearStyle(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Resets the style of the given paragraph to the initial style.
- clearStyle(int, int) - Method in interface org.fxmisc.richtext.StyleActions
-
Resets the style of the given range to the initial style.
- clearStyle(int, int, int) - Method in interface org.fxmisc.richtext.StyleActions
-
Resets the style of the given range in the given paragraph to the initial style.
- clearTargetOffset() - Method in interface org.fxmisc.richtext.Caret
-
Clears the caret's x offset
- clearTargetOffset() - Method in class org.fxmisc.richtext.CaretNode
- ClipboardActions<PS,SEG,S> - Interface in org.fxmisc.richtext
-
Clipboard actions for
TextEditingArea
. - CodeArea - Class in org.fxmisc.richtext
-
A convenience subclass of
StyleClassedTextArea
with fixed-width font and an undo manager that observes only plain text changes (not styled changes). - CodeArea() - Constructor for class org.fxmisc.richtext.CodeArea
-
Creates an area with no text.
- CodeArea(String) - Constructor for class org.fxmisc.richtext.CodeArea
-
Creates a text area with initial text content.
- CodeArea(EditableStyledDocument<Collection<String>, String, Collection<String>>) - Constructor for class org.fxmisc.richtext.CodeArea
-
Creates an area that can render and edit the same
EditableStyledDocument
as anotherCodeArea
. - codec(Codec<PS>, Codec<StyledSegment<SEG, S>>, SegmentOps<SEG, S>) - Static method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Defines a codec for serializing a
ReadOnlyStyledDocument
. - Codec<T> - Interface in org.fxmisc.richtext.model
-
Specifies a way to serialize an object to/from a data stream
- collectionCodec(Codec<T>) - Static method in interface org.fxmisc.richtext.model.Codec
- COLOR_CODEC - Static variable in interface org.fxmisc.richtext.model.Codec
- columnPositionProperty() - Method in interface org.fxmisc.richtext.Caret
-
The column position of the caret on its given line
- columnPositionProperty() - Method in class org.fxmisc.richtext.CaretNode
- commit() - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Applies all the changes stored in this object to the underlying document of the area.
- compareTo(CaretNode) - Method in class org.fxmisc.richtext.CaretNode
- compareTo(SelectionImpl<PS, SEG, S>) - Method in class org.fxmisc.richtext.SelectionImpl
- computePrefHeight(double) - Method in class org.fxmisc.richtext.GenericStyledArea
- concat(String, String) - Method in class org.fxmisc.richtext.model.PlainTextChange
- concat(Paragraph<PS, SEG, S>) - Method in class org.fxmisc.richtext.model.Paragraph
-
Concatenates this paragraph with the given paragraph
p
. - concat(StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- concat(StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.model.StyledDocument
- concat(StyledDocument<PS, SEG, S>, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.model.RichTextChange
- concat(StyleSpans<S>) - Method in interface org.fxmisc.richtext.model.StyleSpans
- concat(S, S) - Method in class org.fxmisc.richtext.model.TextChange
- configurePlaceholder(Node) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Override this to customize the placeholder's layout.
- configurePlaceholder(Node) - Method in class org.fxmisc.richtext.StyledTextField
- configureSelectionPath(SelectionPath) - Method in interface org.fxmisc.richtext.Selection
-
Configures a
SelectionPath
that will be used to render a portion or all of this selection on a single paragraph. - configureSelectionPath(SelectionPath) - Method in class org.fxmisc.richtext.SelectionImpl
- constructDocument(SegmentOps<SEG, S>, PS, int, Consumer<ReadOnlyStyledDocumentBuilder<PS, SEG, S>>) - Static method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Constructs a list of paragraphs
- constructDocument(SegmentOps<SEG, S>, PS, Consumer<ReadOnlyStyledDocumentBuilder<PS, SEG, S>>) - Static method in class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Constructs a list of paragraphs
- contextMenuObjectProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- contextMenuObjectProperty() - Method in interface org.fxmisc.richtext.ViewActions
- contextMenuXOffsetProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- contextMenuXOffsetProperty() - Method in interface org.fxmisc.richtext.ViewActions
- contextMenuYOffsetProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- contextMenuYOffsetProperty() - Method in interface org.fxmisc.richtext.ViewActions
- copy() - Method in interface org.fxmisc.richtext.ClipboardActions
-
Transfers the currently selected text to the clipboard, leaving the current selection.
- create() - Method in class org.fxmisc.richtext.model.StyleSpansBuilder
- create(int, String, String) - Method in class org.fxmisc.richtext.model.PlainTextChange
- create(int, StyledDocument<PS, SEG, S>, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.model.RichTextChange
- create(int, S, S) - Method in class org.fxmisc.richtext.model.TextChange
- create(String) - Method in interface org.fxmisc.richtext.model.TextOps
-
Creates a segment using the given text.
- createEmptySeg() - Method in interface org.fxmisc.richtext.model.SegmentOps
-
Creates an empty segment.
- createEmptySeg() - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- createMultiChange() - Method in class org.fxmisc.richtext.GenericStyledArea
- createMultiChange() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Starts building a list of changes to be used to update multiple portions of the underlying document in one call.
- createMultiChange(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- createMultiChange(int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Same as
TextEditingArea.createMultiChange()
but the number of changes are specified to be more memory efficient. - createStyledTextNode(String, S, BiConsumer<? super TextExt, S>) - Static method in class org.fxmisc.richtext.StyledTextArea
-
Creates a
TextExt
node using the given styled text. - createStyledTextNode(StyledSegment<String, S>, BiConsumer<? super TextExt, S>) - Static method in class org.fxmisc.richtext.StyledTextArea
-
Creates a
TextExt
node using the given styled text. - currentParagraphProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- CustomCssMetaData<S extends Styleable,V> - Class in org.fxmisc.richtext
-
Reduces boilerplate when creating a custom
CssMetaData
object - CustomStyleableProperty<T> - Class in org.fxmisc.richtext
-
Reduces the boilerplate when creating a custom CSS property (i.e.
- CustomStyleableProperty(T, String, Object, CssMetaData<? extends Styleable, T>) - Constructor for class org.fxmisc.richtext.CustomStyleableProperty
- cut() - Method in interface org.fxmisc.richtext.ClipboardActions
-
Transfers the currently selected text to the clipboard, removing the current selection.
D
- decode(DataInputStream) - Method in interface org.fxmisc.richtext.model.Codec
- DEFAULT_PREVENT_MERGE_DELAY - Static variable in class org.fxmisc.richtext.util.UndoUtils
- defaultUndoManager(GenericStyledArea<PS, SEG, S>) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Constructs an UndoManager with an unlimited history: if
the area's preserveStyle flag is true
, the returned UndoManager can undo/redo multipleRichTextChange
s; otherwise, it can undo/redo multiplePlainTextChange
s. - delete(int, int) - Method in class org.fxmisc.richtext.model.Paragraph
- deleteNextChar() - Method in interface org.fxmisc.richtext.EditActions
-
Deletes the character that follows the current caret position from the text.
- deletePreviousChar() - Method in interface org.fxmisc.richtext.EditActions
-
Deletes the character that precedes the current caret position from the text.
- deleteText(int, int) - Method in interface org.fxmisc.richtext.EditActions
-
Removes a range of text.
- deleteText(int, int) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Removes a range of text.
- deleteText(int, int, int, int) - Method in interface org.fxmisc.richtext.EditActions
-
Removes a range of text.
- deleteText(int, int, int, int) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Removes a range of text.
- deleteText(IndexRange) - Method in interface org.fxmisc.richtext.EditActions
-
Removes a range of text.
- deleteText(IndexRange) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Removes a range of text.
- deleteTextAbsolutely(int, int) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Removes a range of text.
- deleteTextAbsolutely(int, int, int, int) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Removes a range of text.
- deleteTextAbsolutely(IndexRange) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Removes a range of text.
- deselect() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Clears the selection while keeping the caret position the same.
- deselect() - Method in interface org.fxmisc.richtext.NavigationActions
-
Clears the selection while keeping the caret position.
- deselect() - Method in interface org.fxmisc.richtext.Selection
-
Clears the selection via
selectRange(getStartPosition(), getStartPosition())
. - displaceCaret(int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Displaces the caret from the selection by positioning only the caret to the new location without also affecting the selection's
CaretSelectionBind.getAnchorPosition()
anchor} or theSelection.getRange()
selection}. - displaceCaret(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- displaceCaret(int) - Method in interface org.fxmisc.richtext.TextEditingArea
- displaceSelection(int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Displaces the caret from the selection by positioning only the selection to the new location without also affecting the
caret's position
. - dispose() - Method in interface org.fxmisc.richtext.Caret
-
Disposes the caret and prevents memory leaks
- dispose() - Method in class org.fxmisc.richtext.CaretNode
- dispose() - Method in class org.fxmisc.richtext.GenericStyledArea
- dispose() - Method in interface org.fxmisc.richtext.Selection
-
Disposes the selection and prevents memory leaks
- dispose() - Method in class org.fxmisc.richtext.SelectionImpl
- dispose() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Disposes this area, preventing memory leaks.
E
- editableProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- editableProperty() - Method in interface org.fxmisc.richtext.ViewActions
- EditableStyledDocument<PS,SEG,S> - Interface in org.fxmisc.richtext.model
-
Content model for
GenericStyledArea
. - EditActions<PS,SEG,S> - Interface in org.fxmisc.richtext
-
Specifies actions for editing the content of a
TextEditingArea
. - either(SegmentOps<LSeg, Style>, SegmentOps<RSeg, Style>) - Static method in interface org.fxmisc.richtext.model.SegmentOps
-
Returns a
SegmentOps
that specifies its segment type to be anEither
whoseleft
value islOps
' segment type and whoseright
value isrOps
' segment type. - either(SegmentOps<LSeg, Style>, SegmentOps<RSeg, Style>, BiFunction<Style, Style, Optional<Style>>) - Static method in interface org.fxmisc.richtext.model.SegmentOps
-
Returns a
SegmentOps
that specifies its segment type to be anEither
whoseleft
value islOps
' segment type and whoseright
value isrOps
' segment type. - eitherCodec(Codec<L>, Codec<R>) - Static method in interface org.fxmisc.richtext.model.Codec
- eitherL(TextOps<L, S>, SegmentOps<R, S>, BiFunction<S, S, Optional<S>>) - Static method in interface org.fxmisc.richtext.model.TextOps
-
Same as
SegmentOps.either(SegmentOps, SegmentOps, BiFunction)
, except thatTextOps.create(String)
will uselOps
'create(String)
method, notrOps
' version. - eitherR(SegmentOps<L, S>, TextOps<R, S>, BiFunction<S, S, Optional<S>>) - Static method in interface org.fxmisc.richtext.model.TextOps
-
Same as
SegmentOps.either(SegmentOps, SegmentOps, BiFunction)
, except thatTextOps.create(String)
will userOps
'create(String)
method, notlOps
' version. - eitherStyles(SegmentOps<LSeg, LStyle>, SegmentOps<RSeg, RStyle>) - Static method in interface org.fxmisc.richtext.model.SegmentOps
- EMPTY_RANGE - Static variable in class org.fxmisc.richtext.GenericStyledArea
-
Index range [0, 0).
- encode(DataOutputStream, T) - Method in interface org.fxmisc.richtext.model.Codec
- end() - Static method in class org.fxmisc.richtext.event.MouseOverTextEvent
- end(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the end of the text.
- endColumnPositionProperty() - Method in interface org.fxmisc.richtext.Selection
- endColumnPositionProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- endParagraphIndexProperty() - Method in interface org.fxmisc.richtext.Selection
- endParagraphIndexProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- endPositionProperty() - Method in interface org.fxmisc.richtext.Selection
- endPositionProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- enumCodec(Class<E>) - Static method in interface org.fxmisc.richtext.model.Codec
- equals(Object) - Method in class org.fxmisc.richtext.CaretNode
- equals(Object) - Method in class org.fxmisc.richtext.model.Paragraph
-
Two paragraphs are defined to be equal if they have the same style (as defined by PS.equals) and the same list of segments (as defined by SEG.equals).
- equals(Object) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- equals(Object) - Method in class org.fxmisc.richtext.model.Replacement
- equals(Object) - Method in class org.fxmisc.richtext.model.RichTextChange
- equals(Object) - Method in class org.fxmisc.richtext.model.StyledSegment
- equals(Object) - Method in class org.fxmisc.richtext.model.StyleSpan
-
Two
StyleSpan
s are considered equal if they have equal length and equal style. - equals(Object) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Two
StyleSpans
objects are considered equal if they contain equal number ofStyleSpan
s and theStyleSpan
s are pairwise equal. - equals(Object) - Method in class org.fxmisc.richtext.model.TextChange
- equals(Object) - Method in class org.fxmisc.richtext.SelectionImpl
- estimatedScrollXProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- estimatedScrollXProperty() - Method in interface org.fxmisc.richtext.ViewActions
-
The estimated scrollX value.
- estimatedScrollYProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- estimatedScrollYProperty() - Method in interface org.fxmisc.richtext.ViewActions
-
The estimated scrollY value.
- events(Duration) - Method in class org.fxmisc.richtext.event.MouseStationaryHelper
-
Returns an
EventStream
that emits aPoint2D
whenever the mouse becomes stationary over the helper's node and emits anull
value whenever the mouse moves after being stationary. - EXTEND - org.fxmisc.richtext.NavigationActions.SelectionPolicy
-
Extends the selection by updating the "boundary" of the selection that is closest to the new position (i.e.
F
- firstVisibleParToAllParIndex() - Method in interface org.fxmisc.richtext.ViewActions
-
Returns the index of the first visible paragraph in the index system of
TextEditingArea.getParagraphs()
. - fold(int, int, UnaryOperator<PS>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Folds (hides/collapses) paragraphs from character position
startPos
toendPos
, into (i.e. - foldCheck - Variable in class org.fxmisc.richtext.GenericStyledArea
- foldParagraphs(int, int) - Method in class org.fxmisc.richtext.InlineCssTextArea
-
Folds (hides/collapses) paragraphs from
startPar
toendPar
, "into" (i.e. - foldParagraphs(int, int) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Folds (hides/collapses) paragraphs from
startPar
toendPar
, "into" (i.e. - foldParagraphs(int, int, UnaryOperator<PS>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Folds (hides/collapses) paragraphs from
start
toend
, into (i.e. - foldSelectedParagraphs() - Method in class org.fxmisc.richtext.InlineCssTextArea
-
Folds (hides/collapses) the currently selected paragraphs, "into" (i.e.
- foldSelectedParagraphs() - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Folds (hides/collapses) the currently selected paragraphs, "into" (i.e.
- foldSelectedParagraphs(UnaryOperator<PS>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Convenience method to fold (hide/collapse) the currently selected paragraphs, into (i.e.
- foldText(int, int) - Method in class org.fxmisc.richtext.InlineCssTextArea
-
Folds (hides/collapses) paragraphs from character position
start
toend
, "into" (i.e. - foldText(int, int) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Folds (hides/collapses) paragraphs from character position
start
toend
, "into" (i.e. - Forward - org.fxmisc.richtext.model.TwoDimensional.Bias
-
When the returned value would be equal to the last index in an "inner list" or the length of some object with length, returns the
value + 1
. - from(StyledDocument<PS, SEG, S>) - Static method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Creates a
ReadOnlyStyledDocument
from the givenStyledDocument
. - fromSegment(SEG, PS, S, SegmentOps<SEG, S>) - Static method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Creates a
ReadOnlyStyledDocument
from the given segment. - fromString(String, PS, S, TextOps<SEG, S>) - Static method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Creates a
ReadOnlyStyledDocument
from the given string.
G
- GenericEditableStyledDocument<PS,SEG,S> - Class in org.fxmisc.richtext.model
-
Provides a basic implementation of
EditableStyledDocument
while still allowing a developer to specify its generics. - GenericEditableStyledDocument(Paragraph<PS, SEG, S>) - Constructor for class org.fxmisc.richtext.model.GenericEditableStyledDocument
-
Creates an
EditableStyledDocument
with given paragraph as its initial content - GenericEditableStyledDocument(ReadOnlyStyledDocument<PS, SEG, S>) - Constructor for class org.fxmisc.richtext.model.GenericEditableStyledDocument
-
Creates an
EditableStyledDocument
with the given document as its initial content - GenericEditableStyledDocument(PS, S, SegmentOps<SEG, S>) - Constructor for class org.fxmisc.richtext.model.GenericEditableStyledDocument
-
Creates an empty
EditableStyledDocument
- GenericStyledArea<PS,SEG,S> - Class in org.fxmisc.richtext
-
Text editing control that renders and edits a
EditableStyledDocument
. - GenericStyledArea(PS, BiConsumer<TextFlow, PS>, S, EditableStyledDocument<PS, SEG, S>, TextOps<SEG, S>, boolean, Function<StyledSegment<SEG, S>, Node>) - Constructor for class org.fxmisc.richtext.GenericStyledArea
-
Creates an area with flexibility in all of its options.
- GenericStyledArea(PS, BiConsumer<TextFlow, PS>, S, EditableStyledDocument<PS, SEG, S>, TextOps<SEG, S>, Function<StyledSegment<SEG, S>, Node>) - Constructor for class org.fxmisc.richtext.GenericStyledArea
-
The same as
GenericStyledArea(Object, BiConsumer, Object, TextOps, Function)
except that this constructor can be used to create anotherGenericStyledArea
that renders and edits the sameEditableStyledDocument
or when one wants to use a customEditableStyledDocument
implementation. - GenericStyledArea(PS, BiConsumer<TextFlow, PS>, S, TextOps<SEG, S>, boolean, Function<StyledSegment<SEG, S>, Node>) - Constructor for class org.fxmisc.richtext.GenericStyledArea
-
Same as
GenericStyledArea(Object, BiConsumer, Object, TextOps, Function)
but also allows one to specify whether the undo manager should be a plain or rich undo manager viapreserveStyle
. - GenericStyledArea(PS, BiConsumer<TextFlow, PS>, S, TextOps<SEG, S>, Function<StyledSegment<SEG, S>, Node>) - Constructor for class org.fxmisc.richtext.GenericStyledArea
-
Creates a text area with empty text content.
- get(GenericStyledArea<?, ?, ?>) - Static method in class org.fxmisc.richtext.LineNumberFactory
- get(GenericStyledArea<PS, ?, ?>, IntFunction<String>) - Static method in class org.fxmisc.richtext.LineNumberFactory
- get(GenericStyledArea<PS, ?, ?>, IntFunction<String>, Predicate<PS>, UnaryOperator<PS>) - Static method in class org.fxmisc.richtext.LineNumberFactory
-
Use this if you extended GenericStyledArea for your own text area and you're using paragraph folding.
- getAbsolutePosition(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getAbsolutePosition(int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
-
Returns the absolute position (i.e.
- getAbsolutePosition(int, int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns the absolute position (i.e.
- getAddFoldStyle() - Method in class org.fxmisc.richtext.InlineCssTextArea
- getAddFoldStyle() - Method in class org.fxmisc.richtext.StyleClassedTextArea
- getAlignment() - Method in class org.fxmisc.richtext.StyledTextField
-
Gets the value of the property alignment.
- getAnchor() - Method in interface org.fxmisc.richtext.TextEditingArea
-
The anchor of the selection.
- getAnchorColPosition() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Gets the value of the property anchorColPosition.
- getAnchorParIndex() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Gets the value of the property anchorParIndex.
- getAnchorPosition() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Gets the value of the property anchorPosition.
- getApplyParagraphStyle() - Method in class org.fxmisc.richtext.GenericStyledArea
- getApplyParagraphStyle() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the style applicator.
- getArea() - Method in interface org.fxmisc.richtext.Caret
-
Gets the area with which this caret is associated.
- getArea() - Method in class org.fxmisc.richtext.CaretNode
- getArea() - Method in interface org.fxmisc.richtext.Selection
-
Gets the area with which this selection is associated
- getArea() - Method in class org.fxmisc.richtext.SelectionImpl
- getBackgroundColor() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property backgroundColor.
- getBean() - Method in class org.fxmisc.richtext.CustomStyleableProperty
- getBlinkRate() - Method in interface org.fxmisc.richtext.Caret
-
Gets the value of the property blinkRate.
- getBlinkRate() - Method in class org.fxmisc.richtext.CaretNode
-
Gets the value of the property blinkRate.
- getBorderStrokeColor() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property borderStrokeColor.
- getBorderStrokeDashArray() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property borderStrokeDashArray.
- getBorderStrokeType() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property borderStrokeType.
- getBorderStrokeWidth() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property borderStrokeWidth.
- getCaretBounds() - Method in interface org.fxmisc.richtext.Caret
-
Gets the value of the property caretBounds.
- getCaretBounds() - Method in class org.fxmisc.richtext.CaretNode
-
Gets the value of the property caretBounds.
- getCaretBounds() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Gets the bounds of the caret in the Screen's coordinate system or
Optional.empty()
if caret is not visible in the viewport. - getCaretBoundsOnScreen(T) - Method in class org.fxmisc.richtext.GenericStyledArea
- getCaretBoundsOnScreen(T) - Method in interface org.fxmisc.richtext.ViewActions
-
Using the paragraph index of the "all paragraph" index system, returns the bounds of a caret on the given paragraph or
Optional.empty()
if no caret is on that paragraph or the pragraph is not visible. - getCaretColumn() - Method in interface org.fxmisc.richtext.TextEditingArea
-
The caret position within the current paragraph.
- getCaretName() - Method in interface org.fxmisc.richtext.Caret
-
Gets the name of this caret.
- getCaretName() - Method in class org.fxmisc.richtext.CaretNode
- getCaretPosition() - Method in interface org.fxmisc.richtext.TextEditingArea
-
The current position of the caret, as a character offset in the text.
- getCaretSelectionBind() - Method in class org.fxmisc.richtext.GenericStyledArea
- getCaretSelectionBind() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Gets the area's main
CaretSelectionBind
. - getCharacterBoundsOnScreen(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getCharacterBoundsOnScreen(int, int) - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the character bounds on screen
- getCharacterIndex() - Method in class org.fxmisc.richtext.CharacterHit
-
Returns an
OptionalInt
whose value is present when the hit occurs within the visible entity and is the index of the closest character to the give position on the screen. - getCharacterIndex() - Method in class org.fxmisc.richtext.event.MouseOverTextEvent
-
Returns index of the character that the mouse stopped over if this event is a
MouseOverTextEvent.MOUSE_OVER_TEXT_BEGIN
event and -1 if this event is aMouseOverTextEvent.MOUSE_OVER_TEXT_END
. - getClassCssMetaData() - Static method in class org.fxmisc.richtext.CaretNode
- getClassCssMetaData() - Static method in class org.fxmisc.richtext.GenericStyledArea
- getClassCssMetaData() - Static method in class org.fxmisc.richtext.SelectionPath
- getClassCssMetaData() - Static method in class org.fxmisc.richtext.StyledTextField
- getColumnPosition() - Method in interface org.fxmisc.richtext.Caret
-
Gets the value of the property columnPosition.
- getColumnPosition() - Method in class org.fxmisc.richtext.CaretNode
-
Gets the value of the property columnPosition.
- getContent() - Method in class org.fxmisc.richtext.GenericStyledArea
- getContent() - Method in interface org.fxmisc.richtext.TextEditingArea
-
The underlying document of this area that can be displayed by multiple
StyledTextArea
s. - getContextMenu() - Method in class org.fxmisc.richtext.GenericStyledArea
- getContextMenu() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the
ContextMenu
for the area, which is by default null. - getContextMenuXOffset() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property contextMenuXOffset.
- getContextMenuXOffset() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the horizontal amount in pixels by which to offset the
ViewActions.getContextMenu()
when it is shown, which has a default value of 2. - getContextMenuYOffset() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property contextMenuYOffset.
- getContextMenuYOffset() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the vertical amount in pixels by which to offset the
ViewActions.getContextMenu()
when it is shown, which has a default value of 2. - getCssMetaData() - Method in class org.fxmisc.richtext.CaretNode
- getCssMetaData() - Method in class org.fxmisc.richtext.CustomStyleableProperty
- getCssMetaData() - Method in class org.fxmisc.richtext.GenericStyledArea
- getCssMetaData() - Method in class org.fxmisc.richtext.SelectionPath
- getCssMetaData() - Method in class org.fxmisc.richtext.StyledTextField
- getCssMetaData() - Method in class org.fxmisc.richtext.TextExt
- getCurrentLineEndInParargraph() - Method in class org.fxmisc.richtext.GenericStyledArea
- getCurrentLineStartInParargraph() - Method in class org.fxmisc.richtext.GenericStyledArea
- getCurrentParagraph() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Index of the current paragraph, i.e.
- getDocument() - Method in class org.fxmisc.richtext.GenericStyledArea
- getDocument() - Method in class org.fxmisc.richtext.model.Replacement
- getDocument() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Rich-text content of this text-editing area.
- getEnd() - Method in class org.fxmisc.richtext.model.Replacement
- getEndColumnPosition() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property endColumnPosition.
- getEndColumnPosition() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property endColumnPosition.
- getEndParagraphIndex() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property endParagraphIndex.
- getEndParagraphIndex() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property endParagraphIndex.
- getEndPosition() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property endPosition.
- getEndPosition() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property endPosition.
- getFoldStyleCheck() - Method in class org.fxmisc.richtext.InlineCssTextArea
- getFoldStyleCheck() - Method in class org.fxmisc.richtext.StyleClassedTextArea
- getHighlightFill() - Method in class org.fxmisc.richtext.SelectionPath
-
Gets the value of the property highlightFill.
- getInitialParagraphStyle() - Method in class org.fxmisc.richtext.GenericStyledArea
- getInitialParagraphStyle() - Method in interface org.fxmisc.richtext.StyleActions
-
Style used by default when no other style is provided.
- getInitialTextStyle() - Method in class org.fxmisc.richtext.GenericStyledArea
- getInitialTextStyle() - Method in interface org.fxmisc.richtext.StyleActions
-
Style used by default when no other style is provided.
- getInserted() - Method in class org.fxmisc.richtext.model.TextChange
- getInsertionEnd() - Method in class org.fxmisc.richtext.model.TextChange
-
Returns the position where the inserted ends (e.g.
- getInsertionIndex() - Method in class org.fxmisc.richtext.CharacterHit
-
When
CharacterHit.getCharacterIndex()
is present, returns either the same value asCharacterHit.getCharacterIndex()
when the character index is leading andgetCharacterIndex() + 1
when the index is trailing. - getLength() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Gets the value of the property length.
- getLength() - Method in class org.fxmisc.richtext.model.StyleSpan
- getLength() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property length.
- getLength() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property length.
- getLength() - Method in interface org.fxmisc.richtext.TextEditingArea
-
The number of Unicode code units in this text-editing area.
- getLineIndex() - Method in interface org.fxmisc.richtext.Caret
-
Gets the value of the property lineIndex.
- getLineIndex() - Method in class org.fxmisc.richtext.CaretNode
-
Gets the value of the property lineIndex.
- getLocale() - Method in class org.fxmisc.richtext.GenericStyledArea
-
This is used to determine word and sentence breaks while navigating or selecting.
- getLocale() - Method in interface org.fxmisc.richtext.TextEditingArea
-
This is used to determine word and sentence breaks while navigating or selecting.
- getMajor() - Method in interface org.fxmisc.richtext.model.TwoDimensional.Position
-
The major dimension, e.g.
- getMinor() - Method in interface org.fxmisc.richtext.model.TwoDimensional.Position
-
The minor dimension, e.g.
- getMouseOverTextDelay() - Method in interface org.fxmisc.richtext.ViewActions
-
Defines how long the mouse has to stay still over the text before a
MouseOverTextEvent
of typeMOUSE_OVER_TEXT_BEGIN
is fired on this text area. - getName() - Method in class org.fxmisc.richtext.CustomStyleableProperty
- getName() - Method in interface org.fxmisc.richtext.model.Codec
- getNetLength() - Method in class org.fxmisc.richtext.model.Replacement
-
Shortcut for
document.length() - (end - start)
- getNetLength() - Method in class org.fxmisc.richtext.model.TextChange
-
Gets the net length of this change (i.e.,
insertedLength() - removedLength()
) - getOnAction() - Method in class org.fxmisc.richtext.StyledTextField
-
Gets the value of the property onAction.
- getOnInsideSelectionMousePressReleased() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property onInsideSelectionMousePressReleased.
- getOnInsideSelectionMousePressReleased() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the value of the property onInsideSelectionMousePressReleased.
- getOnNewSelectionDrag() - Method in interface org.fxmisc.richtext.ViewActions
-
Runs the consumer when the mouse is dragged in this scenario: the user has pressed the mouse over some unselected text, and dragged the mouse to a new location within the area, but has not yet released the mouse.
- getOnNewSelectionDragFinished() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property onNewSelectionDragFinished.
- getOnNewSelectionDragFinished() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the value of the property onNewSelectionDragFinished.
- getOnOutsideSelectionMousePressed() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property onOutsideSelectionMousePressed.
- getOnOutsideSelectionMousePressed() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the value of the property onOutsideSelectionMousePressed.
- getOnSelectionDrag() - Method in interface org.fxmisc.richtext.ViewActions
-
Runs the consumer when the mouse is dragged in this scenario: the user has selected some text, pressed the mouse on top of the selection, dragged it to a new location within the area, but has not yet released the mouse.
- getOnSelectionDropped() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property onSelectionDropped.
- getOnSelectionDropped() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the value of the property onSelectionDropped.
- getParagraph(int) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- getParagraph(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getParagraph(int) - Method in interface org.fxmisc.richtext.TextEditingArea
- getParagraphBoundsOnScreen(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getParagraphBoundsOnScreen(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Returns the bounds of the paragraph if it is visible or
Optional.empty()
if it's not. - getParagraphCount() - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- getParagraphGraphic(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getParagraphGraphicFactory() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the function that maps a line index to a node that is positioned to the left of the first character in a paragraph's text.
- getParagraphIndex() - Method in interface org.fxmisc.richtext.Caret
-
Gets the value of the property paragraphIndex.
- getParagraphIndex() - Method in class org.fxmisc.richtext.CaretNode
-
Gets the value of the property paragraphIndex.
- getParagraphInsertionStyle() - Method in class org.fxmisc.richtext.GenericStyledArea
- getParagraphLength(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getParagraphLength(int) - Method in interface org.fxmisc.richtext.TextEditingArea
- getParagraphLinesCount(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getParagraphLinesCount(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the number of lines a paragraph spans when
ViewActions.isWrapText()
is true, or otherwise returns 1. - getParagraphs() - Method in class org.fxmisc.richtext.GenericStyledArea
- getParagraphs() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
- getParagraphs() - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- getParagraphs() - Method in interface org.fxmisc.richtext.model.StyledDocument
- getParagraphs() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Unmodifiable observable list of paragraphs in this text area.
- getParagraphSelection(int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns the selection range in the given paragraph.
- getParagraphSelection(Selection, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getParagraphSelection(Selection, int) - Method in interface org.fxmisc.richtext.TextEditingArea
- getParagraphSpan() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property paragraphSpan.
- getParagraphSpan() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property paragraphSpan.
- getParagraphStyle() - Method in class org.fxmisc.richtext.model.Paragraph
- getParagraphStyle(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getParagraphStyleAtPosition(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getParagraphStyleForInsertionAt(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getParagraphStyleForInsertionAt(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns
StyleActions.getInitialParagraphStyle()
ifStyleActions.getUseInitialStyleForInsertion()
is true; otherwise, returns the paragraph style at the given position. - getPlaceholder() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property placeholder.
- getPosition() - Method in interface org.fxmisc.richtext.Caret
-
Gets the value of the property position.
- getPosition() - Method in class org.fxmisc.richtext.CaretNode
-
Gets the value of the property position.
- getPosition() - Method in class org.fxmisc.richtext.event.MouseOverTextEvent
-
For
MouseOverTextEvent.MOUSE_OVER_TEXT_BEGIN
events returns the position at which the mouse is standing still, relative to the node on which the event handler was registered. - getPosition() - Method in class org.fxmisc.richtext.event.MouseStationaryEvent
- getPosition() - Method in class org.fxmisc.richtext.model.TextChange
-
Gets the start position of where the replacement happened
- getPromptText() - Method in class org.fxmisc.richtext.StyledTextField
-
Gets the value of the property promptText.
- getRange() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property range.
- getRange() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property range.
- getRemovalEnd() - Method in class org.fxmisc.richtext.model.TextChange
-
Returns the position where the removal ends (e.g.
- getRemoved() - Method in class org.fxmisc.richtext.model.TextChange
- getRemoveFoldStyle() - Method in class org.fxmisc.richtext.InlineCssTextArea
- getRemoveFoldStyle() - Method in class org.fxmisc.richtext.StyleClassedTextArea
- getScenePosition() - Method in class org.fxmisc.richtext.event.MouseOverTextEvent
- getScenePosition() - Method in class org.fxmisc.richtext.event.MouseStationaryEvent
- getScreenPosition() - Method in class org.fxmisc.richtext.event.MouseOverTextEvent
- getScreenPosition() - Method in class org.fxmisc.richtext.event.MouseStationaryEvent
- getSegment() - Method in class org.fxmisc.richtext.model.StyledSegment
- getSegments() - Method in class org.fxmisc.richtext.model.Paragraph
- getSegOps() - Method in interface org.fxmisc.richtext.ClipboardActions
- getSegOps() - Method in class org.fxmisc.richtext.GenericStyledArea
- getSegOps() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns the object used for operating over
segments
and their styles - getSelectedDocument() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property selectedDocument.
- getSelectedDocument() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property selectedDocument.
- getSelectedText() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property selectedText.
- getSelectedText() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property selectedText.
- getSelectedText() - Method in interface org.fxmisc.richtext.TextEditingArea
-
The selected text.
- getSelection() - Method in interface org.fxmisc.richtext.TextEditingArea
-
The selection range.
- getSelectionBounds() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property selectionBounds.
- getSelectionBounds() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property selectionBounds.
- getSelectionBounds() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Gets the bounds of the selection in the Screen's coordinate system if something is selected and visible in the viewport or
Optional.empty()
if selection is not visible in the viewport. - getSelectionName() - Method in interface org.fxmisc.richtext.Selection
-
Gets the name of this selection.
- getSelectionName() - Method in class org.fxmisc.richtext.SelectionImpl
- getShowCaret() - Method in interface org.fxmisc.richtext.Caret
-
Gets the value of the property showCaret.
- getShowCaret() - Method in class org.fxmisc.richtext.CaretNode
-
Gets the value of the property showCaret.
- getShowCaret() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Indicates when this text area should display a caret.
- getSpanCount() - Method in interface org.fxmisc.richtext.model.StyleSpans
- getStart() - Method in class org.fxmisc.richtext.model.Replacement
- getStartColumnPosition() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property startColumnPosition.
- getStartColumnPosition() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property startColumnPosition.
- getStartParagraphIndex() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property startParagraphIndex.
- getStartParagraphIndex() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property startParagraphIndex.
- getStartPosition() - Method in interface org.fxmisc.richtext.Selection
-
Gets the value of the property startPosition.
- getStartPosition() - Method in class org.fxmisc.richtext.SelectionImpl
-
Gets the value of the property startPosition.
- getStyle() - Method in class org.fxmisc.richtext.model.StyledSegment
- getStyle() - Method in class org.fxmisc.richtext.model.StyleSpan
- getStyleableProperty(S) - Method in class org.fxmisc.richtext.CustomCssMetaData
- getStyleAtPosition(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleAtPosition(int) - Method in class org.fxmisc.richtext.model.Paragraph
-
Returns the style at the given position.
- getStyleAtPosition(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleAtPosition(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the style at the given position.
- getStyleAtPosition(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleAtPosition(int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleAtPosition(int, int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the style at the given position in the given paragraph.
- getStyleCodecs() - Method in interface org.fxmisc.richtext.ClipboardActions
-
Gets codecs to encode/decode style information to/from binary format.
- getStyleCodecs() - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyledSegments() - Method in class org.fxmisc.richtext.model.Paragraph
-
Since the segments and styles in a paragraph are stored separate from another, combines these two collections into a single collection where each segment and its corresponding style are grouped into the same object.
- getStyleOfChar(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleOfChar(int) - Method in class org.fxmisc.richtext.model.Paragraph
-
Returns the style of character with the given index.
- getStyleOfChar(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleOfChar(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the style of the character with the given index.
- getStyleOfChar(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleOfChar(int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleOfChar(int, int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the style of the character with the given index in the given paragraph.
- getStyleRange(int) - Method in interface org.fxmisc.richtext.model.StyleSpans
- getStyleRangeAtPosition(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleRangeAtPosition(int) - Method in class org.fxmisc.richtext.model.Paragraph
-
Returns the range of homogeneous style that includes the given position.
- getStyleRangeAtPosition(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleRangeAtPosition(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the range of homogeneous style that includes the given position.
- getStyleRangeAtPosition(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleRangeAtPosition(int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleRangeAtPosition(int, int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the range of homogeneous style that includes the given position in the given paragraph.
- getStyleSpan(int) - Method in interface org.fxmisc.richtext.model.StyleSpans
- getStyleSpans() - Method in class org.fxmisc.richtext.model.Paragraph
- getStyleSpans(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleSpans(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleSpans(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns styles of the whole paragraph.
- getStyleSpans(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleSpans(int, int) - Method in class org.fxmisc.richtext.model.Paragraph
- getStyleSpans(int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleSpans(int, int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the styles in the given character range.
- getStyleSpans(int, int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getStyleSpans(int, int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getStyleSpans(int, int, int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the styles in the given character range of the given paragraph.
- getStyleSpans(int, IndexRange) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the styles in the given character range of the given paragraph.
- getStyleSpans(IndexRange) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns the styles in the given character range.
- getTargetObject() - Method in interface org.fxmisc.richtext.model.TwoDimensional.Position
-
The TwoDimensional object that this position refers to.
- getTargetOffset() - Method in interface org.fxmisc.richtext.Caret
-
Stores the caret's current column position, so that moving the caret vertically will keep it close to its original offset in a line.
- getTargetOffset() - Method in class org.fxmisc.richtext.CaretNode
- getText() - Method in class org.fxmisc.richtext.model.Paragraph
-
Returns the plain text content of this paragraph, not including the line terminator.
- getText() - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- getText() - Method in interface org.fxmisc.richtext.model.StyledDocument
- getText() - Method in interface org.fxmisc.richtext.TextEditingArea
-
Text content of this text-editing area.
- getText(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getText(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getText(int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns text content of the given paragraph.
- getText(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getText(int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getText(int, int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns text content of the given character range.
- getText(int, int, int, int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns text content of the given character range.
- getText(IndexRange) - Method in class org.fxmisc.richtext.GenericStyledArea
- getText(IndexRange) - Method in interface org.fxmisc.richtext.model.StyledDocument
- getText(IndexRange) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns text content of the given character range.
- getText(SEG) - Method in interface org.fxmisc.richtext.model.SegmentOps
- getText(SEG) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- getTextInsertionStyle() - Method in class org.fxmisc.richtext.GenericStyledArea
- getTextStyleForInsertionAt(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getTextStyleForInsertionAt(int) - Method in interface org.fxmisc.richtext.StyleActions
-
Returns
StyleActions.getInitialTextStyle()
ifStyleActions.getUseInitialStyleForInsertion()
is true; otherwise, returns the style at the given position. - getUnderlineCap() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property underlineCap.
- getUnderlineColor() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property underlineColor.
- getUnderlineDashArray() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property underlineDashArray.
- getUnderlineDoubleGap() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property underlineDoubleGap.
- getUnderlineOffset() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property underlineOffset.
- getUnderlineWaveRadius() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property underlineWaveRadius.
- getUnderlineWidth() - Method in class org.fxmisc.richtext.TextExt
-
Gets the value of the property underlineWidth.
- getUnderlyingCaret() - Method in interface org.fxmisc.richtext.CaretSelectionBind
- getUnderlyingSelection() - Method in interface org.fxmisc.richtext.CaretSelectionBind
- getUndoManager() - Method in class org.fxmisc.richtext.GenericStyledArea
- getUndoManager() - Method in interface org.fxmisc.richtext.UndoActions
-
Undo manager of this text area.
- getUseInitialStyleForInsertion() - Method in interface org.fxmisc.richtext.StyleActions
-
Indicates whether the initial style should also be used for plain text inserted into this text area.
- getViewportHeight() - Method in class org.fxmisc.richtext.GenericStyledArea
- getViewportHeight() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the height of the viewport and ignores the padding values added to the area.
- getVisibleParagraphBoundsOnScreen(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- getVisibleParagraphBoundsOnScreen(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Returns the bounds of the paragraph if it is visible or
Optional.empty()
if it's not. - getVisibleParagraphs() - Method in class org.fxmisc.richtext.GenericStyledArea
- getVisibleParagraphs() - Method in interface org.fxmisc.richtext.ViewActions
-
Gets the visible paragraphs, even the ones that are barely displayed.
H
- handleInputMethodEvent(InputMethodEvent) - Method in class org.fxmisc.richtext.GenericStyledArea
- hasChanges() - Method in class org.fxmisc.richtext.MultiChangeBuilder
- hashCode() - Method in class org.fxmisc.richtext.CaretNode
- hashCode() - Method in class org.fxmisc.richtext.model.Paragraph
- hashCode() - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- hashCode() - Method in class org.fxmisc.richtext.model.Replacement
- hashCode() - Method in class org.fxmisc.richtext.model.StyledSegment
- hashCode() - Method in class org.fxmisc.richtext.model.StyleSpan
- hashCode() - Method in class org.fxmisc.richtext.model.TextChange
- hashCode() - Method in class org.fxmisc.richtext.SelectionImpl
- hideContextMenu() - Method in interface org.fxmisc.richtext.ViewActions
-
Hides the area's context menu if it is not
null
and it isshowing
. - highlightFillProperty() - Method in class org.fxmisc.richtext.SelectionPath
-
Background fill for highlighted/selected text.
- hit(double, double) - Method in class org.fxmisc.richtext.GenericStyledArea
- hit(double, double) - Method in interface org.fxmisc.richtext.ViewActions
-
Helpful for determining which letter is at point x, y:
I
- InlineCssTextArea - Class in org.fxmisc.richtext
-
Text area that uses inline css to define style of text segments and paragraphs.
- InlineCssTextArea() - Constructor for class org.fxmisc.richtext.InlineCssTextArea
-
Creates a blank area
- InlineCssTextArea(String) - Constructor for class org.fxmisc.richtext.InlineCssTextArea
-
Creates a text area with initial text content.
- InlineCssTextArea(EditableStyledDocument<String, String, String>) - Constructor for class org.fxmisc.richtext.InlineCssTextArea
-
Creates an area that can render and edit another area's
EditableStyledDocument
or a developer's custom implementation ofEditableStyledDocument
. - InlineCssTextField - Class in org.fxmisc.richtext
-
A TextField that uses inline CSS, i.e.
- InlineCssTextField() - Constructor for class org.fxmisc.richtext.InlineCssTextField
- InlineCssTextField(String) - Constructor for class org.fxmisc.richtext.InlineCssTextField
- insert(int, int, StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.EditActions
-
Inserts the given rich-text content at the position returned from
getAbsolutePosition(paragraphIndex, columnPosition)
. - insert(int, int, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given rich-text content at the position returned from
getAbsolutePosition(paragraphIndex, columnPosition)
. - insert(int, String, String) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Convenient method to insert text together with a single style class.
- insert(int, String, String) - Method in class org.fxmisc.richtext.StyleClassedTextField
-
Convenient method to insert text together with a single style class.
- insert(int, StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.EditActions
-
Inserts the given rich-text content at the given position.
- insert(int, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given rich-text content at the given position.
- insert(int, SEG, S) - Method in interface org.fxmisc.richtext.EditActions
-
Inserts text with a style at the given position.
- insertAbsolutely(int, int, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given rich-text content at the position returned from
getAbsolutePosition(paragraphIndex, columnPosition)
. - insertAbsolutely(int, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given rich-text content at the given position.
- inserted - Variable in class org.fxmisc.richtext.model.TextChange
- insertedLength() - Method in class org.fxmisc.richtext.model.PlainTextChange
- insertedLength() - Method in class org.fxmisc.richtext.model.RichTextChange
- insertedLength() - Method in class org.fxmisc.richtext.model.TextChange
- insertionAt(int) - Static method in class org.fxmisc.richtext.CharacterHit
-
Returns a
CharacterHit
for cases where the insertion occurs outside the bounds of some visible entity (e.g. - insertText(int, int, String) - Method in interface org.fxmisc.richtext.EditActions
-
Inserts the given text at the position returned from
getAbsolutePosition(paragraphIndex, columnPosition)
. - insertText(int, int, String) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given text at the position returned from
getAbsolutePosition(paragraphIndex, columnPosition)
. - insertText(int, String) - Method in interface org.fxmisc.richtext.EditActions
-
Inserts the given text at the given position.
- insertText(int, String) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given text at the given position.
- insertTextAbsolutely(int, int, String) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given text at the position returned from
getAbsolutePosition(paragraphIndex, columnPosition)
. - insertTextAbsolutely(int, String) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Inserts the given text at the given position.
- install(Duration) - Method in class org.fxmisc.richtext.event.MouseStationaryHelper
-
Sets up the code to fire a
BEGIN
event when the mouse becomes stationary over the node and has not moved for the given amount of time (delay
), and to fire aEND
event when the stationary mouse moves again. - invert() - Method in class org.fxmisc.richtext.model.TextChange
-
Returns a new subclass of
TextChange
that makes theinserted
the removed object and theremoved
the inserted object - isAutoHeight() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property autoHeight.
- isAutoScrollOnDragDesired() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property autoScrollOnDragDesired.
- isAutoScrollOnDragDesired() - Method in interface org.fxmisc.richtext.ViewActions
-
Indicates whether area should auto scroll towards a
MouseEvent.MOUSE_DRAGGED
event. - isBeingUpdated() - Method in interface org.fxmisc.richtext.Caret
- isBeingUpdated() - Method in class org.fxmisc.richtext.CaretNode
- isBeingUpdated() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
- isBeingUpdated() - Method in interface org.fxmisc.richtext.Selection
- isBeingUpdated() - Method in class org.fxmisc.richtext.SelectionImpl
- isBeingUpdated() - Method in interface org.fxmisc.richtext.TextEditingArea
- isContextMenuPresent() - Method in class org.fxmisc.richtext.GenericStyledArea
- isEditable() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property editable.
- isEditable() - Method in interface org.fxmisc.richtext.ViewActions
-
Indicates whether this text area can be edited by the user.
- isFolded(int) - Method in class org.fxmisc.richtext.InlineCssTextArea
- isFolded(int) - Method in class org.fxmisc.richtext.StyleClassedTextArea
- isIdentity() - Method in class org.fxmisc.richtext.model.TextChange
-
Returns true if this change is an identity change: applying it does nothing as it removes what it inserts.
- isLineHighlighterOn() - Method in class org.fxmisc.richtext.GenericStyledArea
- isOverwriteMode() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property overwriteMode.
- isPlainTextIdentity() - Method in class org.fxmisc.richtext.model.RichTextChange
-
Equivalent to
richChange.toPlainTextChange().isIdentity()
but without the additional object creation viaRichTextChange.toPlainTextChange()
. - isPreserveStyle() - Method in class org.fxmisc.richtext.GenericStyledArea
- isPreserveStyle() - Method in interface org.fxmisc.richtext.StyleActions
-
Indicates whether style should be preserved on undo/redo (and in the future copy/paste and text move).
- isRedoAvailable() - Method in interface org.fxmisc.richtext.UndoActions
- isSettable(S) - Method in class org.fxmisc.richtext.CustomCssMetaData
- isUndoAvailable() - Method in interface org.fxmisc.richtext.UndoActions
- isVisible() - Method in interface org.fxmisc.richtext.Caret
- isWrapText() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Gets the value of the property wrapText.
- isWrapText() - Method in class org.fxmisc.richtext.StyledTextField
-
This always returns false for styled text fields.
- isWrapText() - Method in interface org.fxmisc.richtext.ViewActions
-
When a run of text exceeds the width of the text region, then this property indicates whether the text should wrap onto another line.
- iterator() - Method in interface org.fxmisc.richtext.model.StyleSpans
- iterator() - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
J
- joinSeg(SEG, SEG) - Method in class org.fxmisc.richtext.model.NodeSegmentOpsBase
- joinSeg(SEG, SEG) - Method in interface org.fxmisc.richtext.model.SegmentOps
-
Joins two consecutive segments together into one or
Optional.empty()
if they cannot be joined. - joinStyle(S, S) - Method in interface org.fxmisc.richtext.model.SegmentOps
-
Joins two consecutive styles together into one or
Optional.empty()
if they cannot be joined. - joinStyle(S, S) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
L
- lastVisibleParToAllParIndex() - Method in interface org.fxmisc.richtext.ViewActions
-
Returns the index of the last visible paragraph in the index system of
TextEditingArea.getParagraphs()
. - layoutChildren() - Method in class org.fxmisc.richtext.GenericStyledArea
- leadingHalfOf(int) - Static method in class org.fxmisc.richtext.CharacterHit
-
Returns a
CharacterHit
for cases where the hit occurs inside the bounds of some visible entity (e.g. - LEFT - org.fxmisc.richtext.Selection.Direction
- length() - Method in class org.fxmisc.richtext.model.Paragraph
- length() - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- length() - Method in interface org.fxmisc.richtext.model.StyledDocument
- length() - Method in interface org.fxmisc.richtext.model.StyleSpans
- length(SEG) - Method in interface org.fxmisc.richtext.model.SegmentOps
- lengthProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- lengthProperty() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
- lengthProperty() - Method in interface org.fxmisc.richtext.Selection
-
The length of the selection
- lengthProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- lengthProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- lineEnd(NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.GenericStyledArea
- lineEnd(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.ViewActions
-
Move the caret to the end of either the line in a multi-line wrapped paragraph or the paragraph in a single-line / non-wrapped paragraph
- lineIndex(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- lineIndex(int, int) - Method in interface org.fxmisc.richtext.ViewActions
-
Returns 0 if the given paragraph displays its content across only one line, or returns the index of the line on which the given column position appears if the paragraph spans multiple lines.
- lineIndexProperty() - Method in interface org.fxmisc.richtext.Caret
-
The line index of a multi-line paragraph that contains this caret
- lineIndexProperty() - Method in class org.fxmisc.richtext.CaretNode
- LineNumberFactory<PS> - Class in org.fxmisc.richtext
-
Graphic factory that produces labels containing line numbers and a "+" to indicate folded paragraphs.
- lineStart(NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.GenericStyledArea
- lineStart(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.ViewActions
-
Move the caret to the start of either the line in a multi-line wrapped paragraph or the paragraph in a single-line / non-wrapped paragraph
- listCodec(Codec<T>) - Static method in interface org.fxmisc.richtext.model.Codec
M
- mapParagraphs(UnaryOperator<Paragraph<PS, SEG, S>>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Maps all of this document's paragraphs using the given mapper and returns them in a new
ReadOnlyStyledDocument
. - mapStyles(UnaryOperator<S>) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Returns a new
StyleSpans
object that has the same total length as this StyleSpans and style of every span is mapped by the given function. - mergeWith(Self) - Method in class org.fxmisc.richtext.model.TextChange
-
Merges this change with the given change, if possible.
- MOUSE_OVER_TEXT_BEGIN - Static variable in class org.fxmisc.richtext.event.MouseOverTextEvent
- MOUSE_OVER_TEXT_END - Static variable in class org.fxmisc.richtext.event.MouseOverTextEvent
- MOUSE_STATIONARY_BEGIN - Static variable in class org.fxmisc.richtext.event.MouseStationaryEvent
- MOUSE_STATIONARY_END - Static variable in class org.fxmisc.richtext.event.MouseStationaryEvent
- mouseOverTextDelayProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- mouseOverTextDelayProperty() - Method in interface org.fxmisc.richtext.ViewActions
- MouseOverTextEvent - Class in org.fxmisc.richtext.event
-
Defines an event where the mouse becomes stationary over some part of an area (
MouseOverTextEvent.MOUSE_OVER_TEXT_BEGIN
) and when it moves from that position (MouseOverTextEvent.MOUSE_OVER_TEXT_END
). - MouseStationaryEvent - Class in org.fxmisc.richtext.event
-
An event indicating that the mouse has stopped moving and remained stationary for time (
MouseStationaryEvent.MOUSE_STATIONARY_BEGIN
), or that the stationary mouse has once again moved (MouseStationaryEvent.MOUSE_STATIONARY_END
). - MouseStationaryHelper - Class in org.fxmisc.richtext.event
-
Helper class for setting up the code that will fire both kinds of
MouseStationaryEvent
when these events occur. - MouseStationaryHelper(Node) - Constructor for class org.fxmisc.richtext.event.MouseStationaryHelper
-
Creates a helper class that can install/uninstall the code needed to fire events when the mouse becomes stationary over the given node.
- moveBreaksBackwards(int, BreakIterator) - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret backwards by the number of breaks.
- moveBreaksBackwards(int, BreakIterator) - Method in class org.fxmisc.richtext.CaretNode
- moveBreaksBackwards(int, BreakIterator) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret backwards by the number of breaks and clears any selection
- moveBreaksForwards(int, BreakIterator) - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret forwards by the number of breaks.
- moveBreaksForwards(int, BreakIterator) - Method in class org.fxmisc.richtext.CaretNode
- moveBreaksForwards(int, BreakIterator) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret forwards by the number of breaks and clears any selection
- moveSelectedText(int) - Method in interface org.fxmisc.richtext.EditActions
-
If something is currently selected and the given position is outside of the selection, moves the selected rich-text document to the given position by deleting it from the area and re-inserting it at the given position.
- moveSentenceBreaksBackwards(int) - Method in interface org.fxmisc.richtext.Caret
- moveSentenceBreaksForwards(int) - Method in interface org.fxmisc.richtext.Caret
- moveTo(int) - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret to the given position in the area.
- moveTo(int) - Method in class org.fxmisc.richtext.CaretNode
- moveTo(int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the given position in the text and clears any selection.
- moveTo(int) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the given position in the text and clears any selection.
- moveTo(int, int) - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret to the given position in the area.
- moveTo(int, int) - Method in class org.fxmisc.richtext.CaretNode
- moveTo(int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the position returned from
TextEditingArea.getAbsolutePosition(int, int)
and clears any selection. - moveTo(int, int) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the position returned from
getAbsolutePosition(paragraphIndex, columnIndex)
and clears any selection. - moveTo(int, int, NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the position returned from
TextEditingArea.getAbsolutePosition(int, int)
. - moveTo(int, int, NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the position returned from
getAbsolutePosition(paragraphIndex, columnIndex)
using the given selection policy. - moveTo(int, NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the position indicated by
pos
. - moveTo(int, NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the given position.
- moveToAreaEnd() - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret to the end of the area.
- moveToAreaEnd() - Method in class org.fxmisc.richtext.CaretNode
- moveToAreaEnd() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the end of the area and clears any selection
- moveToAreaEnd(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- moveToAreaStart() - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret to the beginning of the area.
- moveToAreaStart() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the beginning of the area and clears any selection
- moveToAreaStart(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- moveToNextChar() - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret forward one char in the text.
- moveToNextChar() - Method in class org.fxmisc.richtext.CaretNode
- moveToNextChar() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret forward one char in the text and clears any selection
- moveToNextChar(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret forward one char in the text.
- moveToParEnd() - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret to the end of the current paragraph.
- moveToParEnd() - Method in class org.fxmisc.richtext.CaretNode
- moveToParEnd() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the end of the current paragraph and clears any selection
- moveToParEnd(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- moveToParStart() - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret to the beginning of the current paragraph.
- moveToParStart() - Method in class org.fxmisc.richtext.CaretNode
- moveToParStart() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret to the beginning of the current paragraph and clears any selection
- moveToParStart(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- moveToPrevChar() - Method in interface org.fxmisc.richtext.Caret
-
Moves the caret backward one char in the text.
- moveToPrevChar() - Method in class org.fxmisc.richtext.CaretNode
- moveToPrevChar() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret backward one char in the text and clears any selection
- moveToPrevChar(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Moves the caret backward one char in the text.
- moveWordBreaksBackwards(int) - Method in interface org.fxmisc.richtext.Caret
- moveWordBreaksForwards(int) - Method in interface org.fxmisc.richtext.Caret
- MultiChangeBuilder<PS,SEG,S> - Class in org.fxmisc.richtext
-
Constructs a list of
Replacement
s that are used to update anEditableStyledDocument
in one call viaMultiChangeBuilder.commit()
. - multiPlainChanges() - Method in class org.fxmisc.richtext.GenericStyledArea
- multiPlainChanges() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Returns an
EventStream
that emits aList
ofPlainTextChange
s every time a non-style change is made to this document. - multiPlainChanges() - Method in interface org.fxmisc.richtext.TextEditingArea
- multiRichChanges() - Method in class org.fxmisc.richtext.GenericStyledArea
- multiRichChanges() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Returns an
EventStream
that emits aList
ofRichTextChange
s every time a change is made to this document, even when such a change does not modify the underlying document in any way. - multiRichChanges() - Method in interface org.fxmisc.richtext.TextEditingArea
N
- NavigationActions<PS,SEG,S> - Interface in org.fxmisc.richtext
-
Specifies actions for moving the caret and/or making a selection for a
TextEditingArea
. - NavigationActions.SelectionPolicy - Enum in org.fxmisc.richtext
-
Indicates how to treat selection when caret is moved.
- nextChar(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret forward one char in the text.
- nextLine(NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Scrolls the text one line UP while maintaining the caret's position on screen, so that it is now on the NEXT line.
- nextPage(NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.GenericStyledArea
- nextPage(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.ViewActions
-
Moves caret to the next page (i.e.
- NodeSegmentOpsBase<SEG,S> - Class in org.fxmisc.richtext.model
-
Properly implements
SegmentOps
when implementing a non-text custom object, such as a shape or image, and reduces boilerplate. - NodeSegmentOpsBase(SEG) - Constructor for class org.fxmisc.richtext.model.NodeSegmentOpsBase
- noOpUndoManager() - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Constructs an UndoManager with no history
O
- OFF - org.fxmisc.richtext.Caret.CaretVisibility
-
Caret is not displayed.
- offset(int) - Method in class org.fxmisc.richtext.CharacterHit
-
Offsets the values stored in this
CharacterHit
by the given amount - offsetBy(int, TwoDimensional.Bias) - Method in interface org.fxmisc.richtext.model.TwoDimensional.Position
-
Returns a new position that offsets this position by the given amount
- offsetToPosition(int, TwoDimensional.Bias) - Method in class org.fxmisc.richtext.GenericStyledArea
- offsetToPosition(int, TwoDimensional.Bias) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- offsetToPosition(int, TwoDimensional.Bias) - Method in interface org.fxmisc.richtext.model.TwoDimensional
-
Creates a two dimensional position in some entity (e.g.
- offsetToPosition(int, TwoDimensional.Bias) - Method in class org.fxmisc.richtext.model.TwoLevelNavigator
- ON - org.fxmisc.richtext.Caret.CaretVisibility
-
Caret is displayed.
- onActionProperty() - Method in class org.fxmisc.richtext.StyledTextField
-
The action handler associated with this text field, or
null
if no action handler is assigned. - onInsideSelectionMousePressReleasedProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- onInsideSelectionMousePressReleasedProperty() - Method in interface org.fxmisc.richtext.ViewActions
- onNewSelectionDragFinishedProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- onNewSelectionDragFinishedProperty() - Method in interface org.fxmisc.richtext.ViewActions
- onNewSelectionDragProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- onNewSelectionDragProperty() - Method in interface org.fxmisc.richtext.ViewActions
- onOutsideSelectionMousePressedProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- onOutsideSelectionMousePressedProperty() - Method in interface org.fxmisc.richtext.ViewActions
- onSelectionDragProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- onSelectionDragProperty() - Method in interface org.fxmisc.richtext.ViewActions
- onSelectionDroppedProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- onSelectionDroppedProperty() - Method in interface org.fxmisc.richtext.ViewActions
- optionalCodec(Codec<T>) - Static method in interface org.fxmisc.richtext.model.Codec
- or(SegmentOps<R, S>) - Method in interface org.fxmisc.richtext.model.SegmentOps
-
Returns a
SegmentOps
that specifies its segment type to be anEither
whoseleft
value is this segment type and whoseright
value isrOps
' segment type. - org.fxmisc.richtext - package org.fxmisc.richtext
-
Defines the view-related classes for rendering and editing an
EditableStyledDocument
. - org.fxmisc.richtext.event - package org.fxmisc.richtext.event
-
Contains events useful in an area and their support classes
- org.fxmisc.richtext.model - package org.fxmisc.richtext.model
-
Defines the support classes and operations related to
EditableStyledDocument
, the immutable model of rich-text content that can be rendered and edited. - org.fxmisc.richtext.util - package org.fxmisc.richtext.util
-
RichTextFX utilities package.
- orStyled(SegmentOps<RSeg, RStyle>) - Method in interface org.fxmisc.richtext.model.SegmentOps
- overlay(StyleSpans<S>, BiFunction<? super S, ? super S, ? extends S>) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Applies the given bifunction
f
to this object'sStyleSpan
objects andthat
StyleSpan
objects and stores the result in the returnedStyleSpans
object. - overwriteModeProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
-
Indicates weather the area is in overwrite or insert mode.
P
- Paragraph<PS,SEG,S> - Class in org.fxmisc.richtext.model
-
One paragraph in the document that can itself be styled and which contains a list of styled segments.
- Paragraph(PS, SegmentOps<SEG, S>, List<StyledSegment<SEG, S>>) - Constructor for class org.fxmisc.richtext.model.Paragraph
-
Creates a paragraph using a list of styled segments
- Paragraph(PS, SegmentOps<SEG, S>, List<SEG>, StyleSpans<S>) - Constructor for class org.fxmisc.richtext.model.Paragraph
-
Creates a paragraph that has multiple segments with multiple styles throughout those segments
- Paragraph(PS, SegmentOps<SEG, S>, SEG, StyleSpans<S>) - Constructor for class org.fxmisc.richtext.model.Paragraph
-
Creates a paragraph that has only one segment but a number of different styles throughout that segment
- Paragraph(PS, SegmentOps<SEG, S>, SEG, S) - Constructor for class org.fxmisc.richtext.model.Paragraph
-
Creates a paragraph that has only one segment that has the same given style throughout.
- paragraphEnd(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the end of the current paragraph.
- paragraphGraphicFactoryProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- paragraphGraphicFactoryProperty() - Method in interface org.fxmisc.richtext.ViewActions
- paragraphIndexProperty() - Method in interface org.fxmisc.richtext.Caret
-
The paragraph index that contains this caret
- paragraphIndexProperty() - Method in class org.fxmisc.richtext.CaretNode
- paragraphSpanProperty() - Method in interface org.fxmisc.richtext.Selection
-
The number of paragraphs the selection spans
- paragraphSpanProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- paragraphStart(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the beginning of the current paragraph.
- paste() - Method in interface org.fxmisc.richtext.ClipboardActions
-
Inserts the content from the clipboard into this text-editing area, replacing the current selection.
- placeholderProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- plainChanges() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Returns an
EventStream
that emits eachPlainTextChange
inEditableStyledDocument.multiPlainChanges()
's emitted list. - PlainTextChange - Class in org.fxmisc.richtext.model
-
An object that specifies where a non-style change occurred in a
GenericStyledArea
. - PlainTextChange(int, String, String) - Constructor for class org.fxmisc.richtext.model.PlainTextChange
- plainTextChanges() - Method in class org.fxmisc.richtext.GenericStyledArea
- plainTextChanges() - Method in interface org.fxmisc.richtext.TextEditingArea
- plainTextUndoManager(GenericStyledArea<PS, SEG, S>) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager with an unlimited history that can undo/redo
PlainTextChange
s. - plainTextUndoManager(GenericStyledArea<PS, SEG, S>, Duration) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager that can undo/redo
PlainTextChange
s. - plainTextUndoManager(GenericStyledArea<PS, SEG, S>, UndoManagerFactory) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager that can undo/redo
PlainTextChange
s. - plainTextUndoManager(GenericStyledArea<PS, SEG, S>, UndoManagerFactory, Duration) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager that can undo/redo
PlainTextChange
s. - position - Variable in class org.fxmisc.richtext.model.TextChange
- position(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- position(int, int) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- position(int, int) - Method in interface org.fxmisc.richtext.model.TwoDimensional
-
Creates a two dimensional position in some entity (e.g.
- position(int, int) - Method in class org.fxmisc.richtext.model.TwoLevelNavigator
- positionProperty() - Method in interface org.fxmisc.richtext.Caret
-
The position of the caret within the text
- positionProperty() - Method in class org.fxmisc.richtext.CaretNode
- prepend(StyleSpan<S>) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Prepends the given style to the start of the list of
StyleSpan
. - prepend(S, int) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Prepends the given style to the start of the list of
StyleSpan
. - previousChar(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret backward one char in the text.
- prevLine(NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Scrolls the text one line DOWN while maintaining the caret's position on screen, so that it is now on the PREVIOUS line.
- prevPage(NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.GenericStyledArea
- prevPage(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.ViewActions
-
Moves caret to the previous page (i.e.
- promptTextProperty() - Method in class org.fxmisc.richtext.StyledTextField
R
- rangeProperty() - Method in interface org.fxmisc.richtext.Selection
-
The start and end positions in the area as an
IndexRange
. - rangeProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- ReadOnlyStyledDocument<PS,SEG,S> - Class in org.fxmisc.richtext.model
-
An immutable implementation of
StyledDocument
that does not allow editing. - ReadOnlyStyledDocumentBuilder<PS,SEG,S> - Class in org.fxmisc.richtext.model
-
Helper class via
ReadOnlyStyledDocumentBuilder.constructDocument(SegmentOps, Object, Consumer)
or one of its constructors andReadOnlyStyledDocumentBuilder.build()
for easily creating aReadOnlyStyledDocument
from a list ofParagraph
s that is constructed via "addParagraph(s)" methods. - ReadOnlyStyledDocumentBuilder(SegmentOps<SEG, S>, PS) - Constructor for class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Creates a builder
- ReadOnlyStyledDocumentBuilder(SegmentOps<SEG, S>, PS, int) - Constructor for class org.fxmisc.richtext.model.ReadOnlyStyledDocumentBuilder
-
Creates a builder
- realCharAt(SEG, int) - Method in class org.fxmisc.richtext.model.NodeSegmentOpsBase
- realCharAt(SEG, int) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- realGetText(SEG) - Method in class org.fxmisc.richtext.model.NodeSegmentOpsBase
- realGetText(SEG) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- realSubSequence(SEG, int) - Method in class org.fxmisc.richtext.model.NodeSegmentOpsBase
- realSubSequence(SEG, int) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- realSubSequence(SEG, int, int) - Method in class org.fxmisc.richtext.model.NodeSegmentOpsBase
- realSubSequence(SEG, int, int) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- recreateParagraphGraphic(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- redo() - Method in interface org.fxmisc.richtext.UndoActions
- redoAvailableProperty() - Method in interface org.fxmisc.richtext.UndoActions
- remove(Object) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- removeCaret(CaretNode) - Method in class org.fxmisc.richtext.GenericStyledArea
- removed - Variable in class org.fxmisc.richtext.model.TextChange
- removedLength() - Method in class org.fxmisc.richtext.model.PlainTextChange
- removedLength() - Method in class org.fxmisc.richtext.model.RichTextChange
- removedLength() - Method in class org.fxmisc.richtext.model.TextChange
- removeListener(InvalidationListener) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- removeListener(SetChangeListener<? super E>) - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- removeSelection(Selection<PS, SEG, S>) - Method in class org.fxmisc.richtext.GenericStyledArea
- replace(int, int, int, int, StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given rich-text document.
- replace(int, int, int, int, SEG, S) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given segment.
- replace(int, int, int, UnaryOperator<ReadOnlyStyledDocument<PS, SEG, S>>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- replace(int, int, String, String) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Convenient method to replace text together with a single style class.
- replace(int, int, String, String) - Method in class org.fxmisc.richtext.StyleClassedTextField
-
Convenient method to replace text together with a single style class.
- replace(int, int, UnaryOperator<ReadOnlyStyledDocument<PS, SEG, S>>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Replaces the given portion
"from..to"
in the document by getting that portion of this document, passing it into the mapping function, and using the result as the replacement. - replace(int, int, ReadOnlyStyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Replaces the given portion
"from..to"
with the given replacement and returns the updated version of this document that includes the replacement, theRichTextChange
that represents the change from this document to the returned one, and the modification used to update an area's list of paragraphs. - replace(int, int, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.GenericStyledArea
- replace(int, int, StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Replaces the portion of this document
"from..to"
with the givenreplacement
. - replace(int, int, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Replaces a range of characters with the given rich-text document.
- replace(int, int, StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given rich-text document.
- replace(int, int, SEG, S) - Method in class org.fxmisc.richtext.GenericStyledArea
- replace(int, int, SEG, S) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given segment.
- replace(IndexRange, StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Equivalent to
replace(range.getStart(), range.getEnd(), replacement)
. - replace(IndexRange, SEG, S) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given seg.
- replace(Replacement<PS, SEG, S>) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Convenience method for
EditableStyledDocument.replace(int, int, StyledDocument)
using aReplacement
argument. - replace(Replacement<PS, SEG, S>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Convenience method for calling
ReadOnlyStyledDocument.replace(int, int, ReadOnlyStyledDocument)
with aReplacement
argument. - replace(StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.EditActions
-
Replaces the entire content with the given rich-text content.
- replaceAbsolutely(int, int, StyledDocument<PS, SEG, S>) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Replaces a range of characters with the given rich-text document.
- Replacement<PS,SEG,S> - Class in org.fxmisc.richtext.model
-
Encapsulates the all the arguments for
EditableStyledDocument.replace(int, int, StyledDocument)
. - Replacement(int, int, ReadOnlyStyledDocument<PS, SEG, S>) - Constructor for class org.fxmisc.richtext.model.Replacement
- replaceMulti(List<Replacement<PS, SEG, S>>) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Replaces multiple portions of this document in one update.
- replaceMulti(List<Replacement<PS, SEG, S>>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Replaces multiple portions of this document in an efficient manner and returns the updated version of this document that includes all of the replacements, the List of
RichTextChange
that represent all the changes from this document to the returned one, and the List of modifications used to update an area's list of paragraphs for each change. - replaceParagraph(int, UnaryOperator<Paragraph<PS, SEG, S>>) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Maps the paragraph at the given index by calling
ReadOnlyStyledDocument.replace(int, int, UnaryOperator)
. - replaceSelection(String) - Method in interface org.fxmisc.richtext.EditActions
-
Replaces the selection with the given replacement String.
- replaceSelection(StyledDocument<PS, SEG, S>) - Method in interface org.fxmisc.richtext.EditActions
-
Replaces the selection with the given rich-text replacement.
- replaceText(int, int, int, int, String) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given text.
- replaceText(int, int, String) - Method in class org.fxmisc.richtext.GenericStyledArea
- replaceText(int, int, String) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Replaces a range of characters with the given text.
- replaceText(int, int, String) - Method in class org.fxmisc.richtext.StyledTextField
- replaceText(int, int, String) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given text.
- replaceText(String) - Method in interface org.fxmisc.richtext.EditActions
-
Replaces the entire content with the given text.
- replaceText(IndexRange, String) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Replaces a range of characters with the given text.
- replaceTextAbsolutely(int, int, String) - Method in class org.fxmisc.richtext.MultiChangeBuilder
-
Replaces a range of characters with the given text.
- requestFollowCaret() - Method in class org.fxmisc.richtext.GenericStyledArea
- requestFollowCaret() - Method in interface org.fxmisc.richtext.ViewActions
-
If the caret is not visible within the area's view, the area will scroll so that caret is visible in the next layout pass.
- restyle(int, int, S) - Method in class org.fxmisc.richtext.model.Paragraph
- restyle(int, StyleSpans<? extends S>) - Method in class org.fxmisc.richtext.model.Paragraph
- restyle(S) - Method in class org.fxmisc.richtext.model.Paragraph
-
Restyles every segment in the paragraph to have the given style.
- richChanges() - Method in class org.fxmisc.richtext.GenericStyledArea
- richChanges() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Returns an
EventStream
that emits eachRichTextChange
inEditableStyledDocument.multiRichChanges()
's emitted list. - richChanges() - Method in interface org.fxmisc.richtext.TextEditingArea
- RichTextChange<PS,SEG,S> - Class in org.fxmisc.richtext.model
-
An object that specifies where a change occurred in a
GenericStyledArea
. - RichTextChange(int, StyledDocument<PS, SEG, S>, StyledDocument<PS, SEG, S>) - Constructor for class org.fxmisc.richtext.model.RichTextChange
- richTextSuspendableUndoManager(GenericStyledArea<PS, SEG, S>, Duration, SuspendableYes) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager with an unlimited history that can undo/redo
RichTextChange
s. - richTextSuspendableUndoManager(GenericStyledArea<PS, SEG, S>, SuspendableYes) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager with an unlimited history that can undo/redo
RichTextChange
s. - richTextUndoManager(GenericStyledArea<PS, SEG, S>) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager with an unlimited history that can undo/redo
RichTextChange
s. - richTextUndoManager(GenericStyledArea<PS, SEG, S>, Duration) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager that can undo/redo
RichTextChange
s. - richTextUndoManager(GenericStyledArea<PS, SEG, S>, UndoManagerFactory) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager that can undo/redo
RichTextChange
s. - richTextUndoManager(GenericStyledArea<PS, SEG, S>, UndoManagerFactory, Duration) - Static method in class org.fxmisc.richtext.util.UndoUtils
-
Returns an UndoManager that can undo/redo
RichTextChange
s. - RIGHT - org.fxmisc.richtext.Selection.Direction
S
- sameAs(TwoDimensional.Position) - Method in interface org.fxmisc.richtext.model.TwoDimensional.Position
-
Returns
true
if the given position is equal to this position, that is they both point to the same place in the same two-dimensional object. - scrollBy(Point2D) - Method in class org.fxmisc.richtext.GenericStyledArea
- scrollXBy(double) - Method in class org.fxmisc.richtext.GenericStyledArea
- scrollXToPixel(double) - Method in class org.fxmisc.richtext.GenericStyledArea
- scrollYBy(double) - Method in class org.fxmisc.richtext.GenericStyledArea
- scrollYToPixel(double) - Method in class org.fxmisc.richtext.GenericStyledArea
- SegmentOps<SEG,S> - Interface in org.fxmisc.richtext.model
-
Defines the operations which are supported on a specific segment type.
- SegmentOpsBase<SEG,S> - Class in org.fxmisc.richtext.model
-
Provides a base for properly implementing the
SegmentOps
interface and reduces boilerplate, so that a developer only needs to implement methods for real segments, not empty ones. - SegmentOpsBase(SEG) - Constructor for class org.fxmisc.richtext.model.SegmentOpsBase
-
Creates a
SegmentOpsBase
that returnsemptySeg
every time an empty segment should be returned - selectAll() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Selects everything in the area and moves the caret to either the start of the new selection if the anchor was equal to the original start or the end if the anchor was equal to the original end
- selectAll() - Method in interface org.fxmisc.richtext.NavigationActions
-
Selects everything in the area.
- selectAll() - Method in interface org.fxmisc.richtext.Selection
- selectAll() - Method in class org.fxmisc.richtext.SelectionImpl
- selectedDocumentProperty() - Method in interface org.fxmisc.richtext.Selection
- selectedDocumentProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- selectedTextProperty() - Method in interface org.fxmisc.richtext.Selection
- selectedTextProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- selectedTextProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- Selection<PS,SEG,S> - Interface in org.fxmisc.richtext
-
An object for encapsulating a selection in a given area.
- Selection.Direction - Enum in org.fxmisc.richtext
-
Specifies whether to update the start/end value of a selection to the left (towards 0) or right (away from 0)
- selectionBoundsProperty() - Method in interface org.fxmisc.richtext.Selection
-
The selectionBoundsProperty of the selection in the Screen's coordinate system if something is selected and visible in the viewport, or
Optional.empty()
if selection is not visible in the viewport. - selectionBoundsProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- selectionBoundsProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- SelectionImpl<PS,SEG,S> - Class in org.fxmisc.richtext
-
Default implementation for
Selection
. - SelectionImpl(String, GenericStyledArea<PS, SEG, S>) - Constructor for class org.fxmisc.richtext.SelectionImpl
-
Creates a selection with both the start and end position at 0.
- SelectionImpl(String, GenericStyledArea<PS, SEG, S>, int, int) - Constructor for class org.fxmisc.richtext.SelectionImpl
-
Creates a selection.
- SelectionImpl(String, GenericStyledArea<PS, SEG, S>, Consumer<SelectionPath>) - Constructor for class org.fxmisc.richtext.SelectionImpl
-
Creates a selection with customized configuration via
configurePath
with both the start and end position at 0. - SelectionPath - Class in org.fxmisc.richtext
-
A Path used to render a portion of a mulit-paragraph selection or all of a single-paragraph selection with additional CSS styling; it does not have a style class associated with it.
- selectionProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- selectLine() - Method in interface org.fxmisc.richtext.ViewActions
-
Selects the current line of a multi-line paragraph.
- selectParagraph() - Method in interface org.fxmisc.richtext.CaretSelectionBind
- selectParagraph() - Method in interface org.fxmisc.richtext.NavigationActions
-
Selects the current paragraph.
- selectParagraph(int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Selects the given paragraph and moves the caret to either the start of the new selection if the anchor was equal to the original start or the end if the anchor was equal to the original end
- selectParagraph(int) - Method in interface org.fxmisc.richtext.Selection
- selectParagraph(int) - Method in class org.fxmisc.richtext.SelectionImpl
- selectRange(int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Selects the given range and moves the caret to either the start of the new selection if the anchor was equal to the original start or the end if the anchor was equal to the original end
- selectRange(int, int) - Method in interface org.fxmisc.richtext.Selection
-
Selects the given range.
- selectRange(int, int) - Method in class org.fxmisc.richtext.SelectionImpl
- selectRange(int, int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Positions the anchor and caretPosition explicitly, effectively creating a selection.
- selectRange(int, int, int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Selects the given range and moves the caret to either the start of the new selection if the anchor was equal to the original start or the end if the anchor was equal to the original end
- selectRange(int, int, int, int) - Method in interface org.fxmisc.richtext.Selection
-
Selects the given range.
- selectRange(int, int, int, int) - Method in class org.fxmisc.richtext.SelectionImpl
- selectRange(int, int, int, int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Positions the anchor and caretPosition explicitly, effectively creating a selection.
- selectRangeExpl(int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Positions the anchor and caretPosition explicitly, effectively creating a selection.
- selectRangeExpl(int, int, int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Positions the anchor and caretPosition explicitly, effectively creating a selection.
- selectWord() - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Selects the word closest to the caret
- selectWord() - Method in class org.fxmisc.richtext.CodeArea
- selectWord() - Method in interface org.fxmisc.richtext.NavigationActions
-
Selects the word closest to the caret
- selectWord(int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
-
Selects the closest word to the given position in the area and moves the caret to either the start of the new selection if the anchor was equal to the original start or the end if the anchor was equal to the original end
- selectWord(int) - Method in interface org.fxmisc.richtext.Selection
- selectWord(int) - Method in class org.fxmisc.richtext.SelectionImpl
- setAlignment(TextAlignment) - Method in class org.fxmisc.richtext.StyledTextField
-
Sets the value of the property alignment.
- setAutoHeight(boolean) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property autoHeight.
- setAutoScrollOnDragDesired(boolean) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property autoScrollOnDragDesired.
- setAutoScrollOnDragDesired(boolean) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property autoScrollOnDragDesired.
- setBackgroundColor(Paint) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property backgroundColor.
- setBlinkRate(Duration) - Method in interface org.fxmisc.richtext.Caret
-
Sets the value of the property blinkRate.
- setBlinkRate(Duration) - Method in class org.fxmisc.richtext.CaretNode
-
Sets the value of the property blinkRate.
- setBorderStrokeColor(Paint) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property borderStrokeColor.
- setBorderStrokeDashArray(Number[]) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property borderStrokeDashArray.
- setBorderStrokeType(StrokeType) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property borderStrokeType.
- setBorderStrokeWidth(Number) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property borderStrokeWidth.
- setContextMenu(ContextMenu) - Method in class org.fxmisc.richtext.GenericStyledArea
- setContextMenu(ContextMenu) - Method in interface org.fxmisc.richtext.ViewActions
- setContextMenuXOffset(double) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property contextMenuXOffset.
- setContextMenuXOffset(double) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property contextMenuXOffset.
- setContextMenuYOffset(double) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property contextMenuYOffset.
- setContextMenuYOffset(double) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property contextMenuYOffset.
- setEditable(boolean) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property editable.
- setEditable(boolean) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property editable.
- setHighlightFill(Paint) - Method in class org.fxmisc.richtext.SelectionPath
-
Sets the value of the property highlightFill.
- setLineHighlighterFill(Paint) - Method in class org.fxmisc.richtext.GenericStyledArea
-
The default fill is "highlighter" yellow.
- setLineHighlighterOn(boolean) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Highlights the line that the main caret is on.
Line highlighting automatically follows the caret. - setLocale(Locale) - Method in class org.fxmisc.richtext.GenericStyledArea
- setMouseOverTextDelay(Duration) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property mouseOverTextDelay.
- setOnAction(EventHandler<ActionEvent>) - Method in class org.fxmisc.richtext.StyledTextField
-
Sets the value of the property onAction.
- setOnInsideSelectionMousePressReleased(EventHandler<MouseEvent>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property onInsideSelectionMousePressReleased.
- setOnInsideSelectionMousePressReleased(EventHandler<MouseEvent>) - Method in interface org.fxmisc.richtext.ViewActions
-
Runs the EventHandler when the mouse is released in this scenario: the user has selected some text and then "clicked" the mouse somewhere in that selection (the use pressed the mouse, did not drag it, and released the mouse).
- setOnNewSelectionDrag(Consumer<Point2D>) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property onNewSelectionDrag.
- setOnNewSelectionDragFinished(EventHandler<MouseEvent>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property onNewSelectionDragFinished.
- setOnNewSelectionDragFinished(EventHandler<MouseEvent>) - Method in interface org.fxmisc.richtext.ViewActions
-
Runs the EventHandler when the mouse is released in this scenario: the user has pressed the mouse over some unselected text, and dragged the mouse to a new location within the area, and released the mouse.
- setOnOutsideSelectionMousePressed(EventHandler<MouseEvent>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property onOutsideSelectionMousePressed.
- setOnOutsideSelectionMousePressed(EventHandler<MouseEvent>) - Method in interface org.fxmisc.richtext.ViewActions
-
Runs the EventHandler when the user pressed the mouse over unselected text within the area.
- setOnSelectionDrag(Consumer<Point2D>) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property onSelectionDrag.
- setOnSelectionDropped(EventHandler<MouseEvent>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property onSelectionDropped.
- setOnSelectionDropped(EventHandler<MouseEvent>) - Method in interface org.fxmisc.richtext.ViewActions
-
Runs the EventHandler when the mouse is released in this scenario: the user has selected some text, pressed the mouse on top of the selection, dragged it to a new location within the area, and released the mouse within the area.
- setParagraphGraphicFactory(IntFunction<? extends Node>) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property paragraphGraphicFactory.
- setParagraphInsertionStyle(PS) - Method in class org.fxmisc.richtext.GenericStyledArea
-
If you want to preset the style to be used.
- setParagraphStyle(int, PS) - Method in class org.fxmisc.richtext.GenericStyledArea
- setParagraphStyle(int, PS) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Sets the given paragraph to the given paragraph style
- setParagraphStyle(int, PS) - Method in interface org.fxmisc.richtext.StyleActions
-
Sets style for the whole paragraph.
- setParagraphStyle(PS) - Method in class org.fxmisc.richtext.model.Paragraph
-
Creates a new Paragraph which has the same contents as the current Paragraph, but the given paragraph style.
- setPlaceholder(Node) - Method in class org.fxmisc.richtext.GenericStyledArea
-
This Node is shown to the user, centered over the area, when the area has no text content.
- setPlaceholder(Node, Pos) - Method in class org.fxmisc.richtext.GenericStyledArea
- setPlaceholder(Node, Pos) - Method in class org.fxmisc.richtext.StyledTextField
-
setPlaceholder is not supported by StyledTextField, use setPromptText instead
- setPromptText(Text) - Method in class org.fxmisc.richtext.StyledTextField
-
The prompt text to display or
null
if no prompt text is to be displayed. - setShowCaret(Caret.CaretVisibility) - Method in interface org.fxmisc.richtext.Caret
-
Sets the value of the property showCaret.
- setShowCaret(Caret.CaretVisibility) - Method in class org.fxmisc.richtext.CaretNode
-
Sets the value of the property showCaret.
- setShowCaret(Caret.CaretVisibility) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Sets the value of the property showCaret.
- setStyle(int, int, int, S) - Method in class org.fxmisc.richtext.GenericStyledArea
- setStyle(int, int, int, S) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Sets the given range "fromCol..toCol" in the given paragraph to the given style
- setStyle(int, int, int, S) - Method in interface org.fxmisc.richtext.StyleActions
-
Sets style for the given range relative in the given paragraph.
- setStyle(int, int, S) - Method in class org.fxmisc.richtext.GenericStyledArea
- setStyle(int, int, S) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Sets the style of all segments in the given "from..to" range to the given style.
- setStyle(int, int, S) - Method in interface org.fxmisc.richtext.StyleActions
-
Sets style for the given character range.
- setStyle(int, S) - Method in class org.fxmisc.richtext.GenericStyledArea
- setStyle(int, S) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Sets all segments in the given paragraph to the given style
- setStyle(int, S) - Method in interface org.fxmisc.richtext.StyleActions
-
Sets style for the whole paragraph.
- setStyleClass(int, int, String) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Convenient method to assign a single style class.
- setStyleClass(int, int, String) - Method in class org.fxmisc.richtext.StyleClassedTextField
-
Convenient method to assign a single style class.
- setStyleCodecs(Codec<PS>, Codec<StyledSegment<SEG, S>>) - Method in interface org.fxmisc.richtext.ClipboardActions
- setStyleCodecs(Codec<PS>, Codec<StyledSegment<SEG, S>>) - Method in class org.fxmisc.richtext.GenericStyledArea
- setStyleSpans(int, int, StyleSpans<? extends S>) - Method in class org.fxmisc.richtext.GenericStyledArea
- setStyleSpans(int, int, StyleSpans<? extends S>) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Replaces the style spans for the given range
"from..(from + styleSpans.length())"
in the given paragraph with the given style spans - setStyleSpans(int, int, StyleSpans<? extends S>) - Method in interface org.fxmisc.richtext.StyleActions
-
Set multiple style ranges of a paragraph at once.
- setStyleSpans(int, StyleSpans<? extends S>) - Method in class org.fxmisc.richtext.GenericStyledArea
- setStyleSpans(int, StyleSpans<? extends S>) - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Replaces the style spans for the given range
"from..(from + styleSpans.length())"
with the given style spans - setStyleSpans(int, StyleSpans<? extends S>) - Method in interface org.fxmisc.richtext.StyleActions
-
Set multiple style ranges at once.
- setText(String) - Method in class org.fxmisc.richtext.StyledTextField
- setTextInsertionStyle(S) - Method in class org.fxmisc.richtext.GenericStyledArea
-
If you want to preset the style to be used for inserted text.
- setUnderlineCap(StrokeLineCap) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property underlineCap.
- setUnderlineColor(Paint) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property underlineColor.
- setUnderlineDashArray(Number[]) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property underlineDashArray.
- setUnderlineDoubleGap(Number) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property underlineDoubleGap.
- setUnderlineOffset(Number) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property underlineOffset.
- setUnderlineWaveRadius(Number) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property underlineWaveRadius.
- setUnderlineWidth(Number) - Method in class org.fxmisc.richtext.TextExt
-
Sets the value of the property underlineWidth.
- setUndoManager(UndoManager) - Method in class org.fxmisc.richtext.GenericStyledArea
- setUndoManager(UndoManager) - Method in interface org.fxmisc.richtext.UndoActions
-
Closes the current area's undo manager before setting it to the given one.
- setUseInitialStyleForInsertion(boolean) - Method in interface org.fxmisc.richtext.StyleActions
-
Sets the value of the property useInitialStyleForInsertion.
- setWrapText(boolean) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Sets the value of the property wrapText.
- setWrapText(boolean) - Method in class org.fxmisc.richtext.StyledTextField
-
Deprecated.
- setWrapText(boolean) - Method in interface org.fxmisc.richtext.ViewActions
-
Sets the value of the property wrapText.
- showCaretProperty() - Method in interface org.fxmisc.richtext.Caret
-
Whether to display the caret or not.
- showCaretProperty() - Method in class org.fxmisc.richtext.CaretNode
- showCaretProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- showParagraphAtBottom(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- showParagraphAtBottom(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Lays out the viewport so that the paragraph is the last line (bottom) displayed in the viewport.
- showParagraphAtCenter(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- showParagraphAtTop(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- showParagraphAtTop(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Lays out the viewport so that the paragraph is the first line (top) displayed in the viewport.
- showParagraphInViewport(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- showParagraphInViewport(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Shows the paragraph somewhere in the viewport.
- showParagraphRegion(int, Bounds) - Method in class org.fxmisc.richtext.GenericStyledArea
- showParagraphRegion(int, Bounds) - Method in interface org.fxmisc.richtext.ViewActions
-
Lays out the viewport so that the given bounds (according to the paragraph's coordinate system) within the given paragraph is visible in the viewport.
- SimpleEditableStyledDocument<PS,S> - Class in org.fxmisc.richtext.model
-
Provides an implementation of
EditableStyledDocument
that specifies its segment type asString
. - SimpleEditableStyledDocument(Paragraph<PS, String, S>) - Constructor for class org.fxmisc.richtext.model.SimpleEditableStyledDocument
-
Creates an
EditableStyledDocument
with given paragraph as its initial content - SimpleEditableStyledDocument(ReadOnlyStyledDocument<PS, String, S>) - Constructor for class org.fxmisc.richtext.model.SimpleEditableStyledDocument
-
Creates an
EditableStyledDocument
with the given document as its initial content - SimpleEditableStyledDocument(PS, S) - Constructor for class org.fxmisc.richtext.model.SimpleEditableStyledDocument
-
Creates a document that does not merge consecutive styles
- SimpleEditableStyledDocument(PS, S, BiFunction<S, S, Optional<S>>) - Constructor for class org.fxmisc.richtext.model.SimpleEditableStyledDocument
-
Creates a document that uses
SegmentOps.styledTextOps(BiFunction)
to operate on segments and merge consecutive styles. - SimpleEditableStyledDocument(PS, S, SegmentOps<String, S>) - Constructor for class org.fxmisc.richtext.model.SimpleEditableStyledDocument
-
Creates a document that uses a custom
SegmentOps
to operate on segments and merge styles. - singleton(StyleSpan<S>) - Static method in interface org.fxmisc.richtext.model.StyleSpans
-
Creates a
StyleSpans
object that only contains oneStyleSpan
object. - singleton(S, int) - Static method in interface org.fxmisc.richtext.model.StyleSpans
-
Creates a
StyleSpans
object that only contains oneStyleSpan
object. - size() - Method in class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- skipStyleComparison(boolean) - Static method in class org.fxmisc.richtext.model.RichTextChange
- snapshot() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
-
Read-only snapshot of the current state of this document.
- split(int) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Splits this document into two at the given position and returns both halves.
- split(int, int) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
-
Splits this document into two at the given paragraph's column position and returns both halves.
- start(NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Moves the caret to the beginning of the text.
- startColumnPositionProperty() - Method in interface org.fxmisc.richtext.Selection
- startColumnPositionProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- startParagraphIndexProperty() - Method in interface org.fxmisc.richtext.Selection
- startParagraphIndexProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- startPositionProperty() - Method in interface org.fxmisc.richtext.Selection
- startPositionProperty() - Method in class org.fxmisc.richtext.SelectionImpl
- stream() - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Returns a stream of this list'
StyleSpan
objects. - STRING_CODEC - Static variable in interface org.fxmisc.richtext.model.Codec
- StyleActions<PS,S> - Interface in org.fxmisc.richtext
-
Specifies actions related to getting and setting styles throughout a
TextEditingArea
. - StyleClassedTextArea - Class in org.fxmisc.richtext
-
Text area that uses style classes to define style of text segments and paragraph segments.
- StyleClassedTextArea() - Constructor for class org.fxmisc.richtext.StyleClassedTextArea
-
Creates a text area with empty text content.
- StyleClassedTextArea(boolean) - Constructor for class org.fxmisc.richtext.StyleClassedTextArea
- StyleClassedTextArea(EditableStyledDocument<Collection<String>, String, Collection<String>>, boolean) - Constructor for class org.fxmisc.richtext.StyleClassedTextArea
- StyleClassedTextField - Class in org.fxmisc.richtext
-
A TextField that uses style classes, i.e.
- StyleClassedTextField() - Constructor for class org.fxmisc.richtext.StyleClassedTextField
- StyleClassedTextField(String) - Constructor for class org.fxmisc.richtext.StyleClassedTextField
- StyledDocument<PS,SEG,S> - Interface in org.fxmisc.richtext.model
-
An object (document) that is a list of styleable
Paragraph
that each contain a list of styleable segments. - StyledSegment<SEG,S> - Class in org.fxmisc.richtext.model
- StyledSegment(SEG, S) - Constructor for class org.fxmisc.richtext.model.StyledSegment
- styledSegmentCodec(Codec<SEG>, Codec<S>) - Static method in interface org.fxmisc.richtext.model.Codec
- StyledTextArea<PS,S> - Class in org.fxmisc.richtext
-
A
GenericStyledArea
whose segment generic has been specified to be aString
. - StyledTextArea(PS, BiConsumer<TextFlow, PS>, S, BiConsumer<? super TextExt, S>) - Constructor for class org.fxmisc.richtext.StyledTextArea
- StyledTextArea(PS, BiConsumer<TextFlow, PS>, S, BiConsumer<? super TextExt, S>, boolean) - Constructor for class org.fxmisc.richtext.StyledTextArea
- StyledTextArea(PS, BiConsumer<TextFlow, PS>, S, BiConsumer<? super TextExt, S>, EditableStyledDocument<PS, String, S>) - Constructor for class org.fxmisc.richtext.StyledTextArea
- StyledTextArea(PS, BiConsumer<TextFlow, PS>, S, BiConsumer<? super TextExt, S>, EditableStyledDocument<PS, String, S>, boolean) - Constructor for class org.fxmisc.richtext.StyledTextArea
- StyledTextArea(PS, BiConsumer<TextFlow, PS>, S, BiConsumer<? super TextExt, S>, EditableStyledDocument<PS, String, S>, TextOps<String, S>, boolean) - Constructor for class org.fxmisc.richtext.StyledTextArea
- styledTextCodec(Codec<S>) - Static method in interface org.fxmisc.richtext.model.Codec
- StyledTextField<PS,S> - Class in org.fxmisc.richtext
-
A text field whose segment generic has been specified to be a
String
. - StyledTextField(PS, BiConsumer<TextFlow, PS>, S, BiConsumer<? super TextExt, S>, EditableStyledDocument<PS, String, S>) - Constructor for class org.fxmisc.richtext.StyledTextField
- styledTextOps() - Static method in interface org.fxmisc.richtext.model.SegmentOps
- styledTextOps(BiFunction<S, S, Optional<S>>) - Static method in interface org.fxmisc.richtext.model.SegmentOps
- StyleSpan<S> - Class in org.fxmisc.richtext.model
- StyleSpan(S, int) - Constructor for class org.fxmisc.richtext.model.StyleSpan
-
Creates a style span.
- StyleSpans<S> - Interface in org.fxmisc.richtext.model
-
Essentially, a list of
StyleSpan
objects. - StyleSpansBuilder<S> - Class in org.fxmisc.richtext.model
-
A one-time-use builder that Builds a memory efficient
StyleSpans
object. - StyleSpansBuilder() - Constructor for class org.fxmisc.richtext.model.StyleSpansBuilder
- StyleSpansBuilder(int) - Constructor for class org.fxmisc.richtext.model.StyleSpansBuilder
- styleStream() - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Returns a stream of just this list of
StyleSpan
's styles. - sub(String, int, int) - Method in class org.fxmisc.richtext.model.PlainTextChange
- sub(StyledDocument<PS, SEG, S>, int, int) - Method in class org.fxmisc.richtext.model.RichTextChange
- sub(S, int, int) - Method in class org.fxmisc.richtext.model.TextChange
- subDocument(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- subDocument(int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- subDocument(int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns rich-text content of the given paragraph.
- subDocument(int, int) - Method in class org.fxmisc.richtext.GenericStyledArea
- subDocument(int, int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns rich-text content of the given character range.
- subDocument(int, int, int, int) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns rich-text content of the given character range.
- subDocument(IndexRange) - Method in interface org.fxmisc.richtext.TextEditingArea
-
Returns rich-text content of the given character range.
- SubscribeableContentsObsSet<E> - Class in org.fxmisc.richtext.util
-
An
ObservableSet
implementation that allows one to subscribe to updates within the elements themselves. - SubscribeableContentsObsSet() - Constructor for class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- SubscribeableContentsObsSet(Comparator<? super E>) - Constructor for class org.fxmisc.richtext.util.SubscribeableContentsObsSet
- subSequence(int) - Method in class org.fxmisc.richtext.model.Paragraph
- subSequence(int, int) - Method in class org.fxmisc.richtext.model.Paragraph
- subSequence(int, int) - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- subSequence(int, int) - Method in interface org.fxmisc.richtext.model.StyledDocument
- subSequence(IndexRange) - Method in interface org.fxmisc.richtext.model.StyledDocument
- subSequence(SEG, int) - Method in interface org.fxmisc.richtext.model.SegmentOps
- subSequence(SEG, int) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- subSequence(SEG, int, int) - Method in interface org.fxmisc.richtext.model.SegmentOps
- subSequence(SEG, int, int) - Method in class org.fxmisc.richtext.model.SegmentOpsBase
- substring(int) - Method in class org.fxmisc.richtext.model.Paragraph
- substring(int, int) - Method in class org.fxmisc.richtext.model.Paragraph
- subView(int, int) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Same as
List.subList(int, int)
- subView(TwoDimensional.Position, TwoDimensional.Position) - Method in interface org.fxmisc.richtext.model.StyleSpans
-
Same as
List.subList(int, int)
, except that the arguments are two dimensional.
T
- TextChange<S,Self extends TextChange<S,Self>> - Class in org.fxmisc.richtext.model
-
Base change class for style changes (
RichTextChange
) and non-style changes (PlainTextChange
) in aTextEditingArea
. - TextChange(int, S, S) - Constructor for class org.fxmisc.richtext.model.TextChange
- TextEditingArea<PS,SEG,S> - Interface in org.fxmisc.richtext
-
Interface for a text editing control.
- TextExt - Class in org.fxmisc.richtext
-
A class which adds some more RichTextFX-specific styleable properties to JavaFX's
Text
class. - TextExt() - Constructor for class org.fxmisc.richtext.TextExt
- TextExt(String) - Constructor for class org.fxmisc.richtext.TextExt
- TextOps<SEG,S> - Interface in org.fxmisc.richtext.model
-
Extends
SegmentOps
by addingTextOps.create(String)
, which can create aTextOps
segment from a givenString
- TextOpsBase<SEG,S> - Class in org.fxmisc.richtext.model
-
Base class for a
TextOps
implementation that uses a text-based segment - textProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- textProperty() - Method in interface org.fxmisc.richtext.model.EditableStyledDocument
- textProperty() - Method in interface org.fxmisc.richtext.TextEditingArea
- toOffset() - Method in interface org.fxmisc.richtext.model.TwoDimensional.Position
-
Converts this position to an overall offset within the original TwoDimensional item (to which
TwoDimensional.Position.getTargetObject()
refers). - toPlainTextChange() - Method in class org.fxmisc.richtext.model.RichTextChange
- toString() - Method in class org.fxmisc.richtext.CaretNode
- toString() - Method in class org.fxmisc.richtext.model.Paragraph
- toString() - Method in class org.fxmisc.richtext.model.ReadOnlyStyledDocument
- toString() - Method in class org.fxmisc.richtext.model.Replacement
- toString() - Method in class org.fxmisc.richtext.model.StyledSegment
- toString() - Method in class org.fxmisc.richtext.model.StyleSpan
- toString() - Method in class org.fxmisc.richtext.model.TextChange
- toString() - Method in class org.fxmisc.richtext.SelectionImpl
- toString() - Method in class org.fxmisc.richtext.SelectionPath
- totalHeightEstimateProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- totalHeightEstimateProperty() - Method in interface org.fxmisc.richtext.ViewActions
-
The estimated height of the entire document.
- totalWidthEstimateProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- totalWidthEstimateProperty() - Method in interface org.fxmisc.richtext.ViewActions
-
The estimated width of the entire document.
- trailingHalfOf(int) - Static method in class org.fxmisc.richtext.CharacterHit
-
Returns a
CharacterHit
for cases where the hit occurs inside the bounds of some visible entity (e.g. - trim(int) - Method in class org.fxmisc.richtext.model.Paragraph
- TwoDimensional - Interface in org.fxmisc.richtext.model
-
TwoDimensional is an interface for any item which can be navigated in two dimensions, such as a List of Lists.
- TwoDimensional.Bias - Enum in org.fxmisc.richtext.model
-
Determines whether to add 1 when the end of an inner list is reached
- TwoDimensional.Position - Interface in org.fxmisc.richtext.model
-
A two dimensional position, with a major offset (such as a paragraph index within a document) and a minor dimension (such as a segment index or column position within a paragraph).
- TwoLevelNavigator - Class in org.fxmisc.richtext.model
-
Default implementation of
TwoDimensional
that makes it trivial to calculate a position within a two dimensional object. - TwoLevelNavigator(IntSupplier, IntUnaryOperator) - Constructor for class org.fxmisc.richtext.model.TwoLevelNavigator
-
Creates a navigator that can be used to find a
TwoDimensional.Position
within a two dimensional object.
U
- underlineCapProperty() - Method in class org.fxmisc.richtext.TextExt
-
The end cap style used for drawing each dash in a dashed underline for a section of text.
- underlineColorProperty() - Method in class org.fxmisc.richtext.TextExt
-
The underline color of the section of text.
- underlineDashArrayProperty() - Method in class org.fxmisc.richtext.TextExt
-
The dash array used for drawing the underline for a section of text.
- underlineDoubleGapProperty() - Method in class org.fxmisc.richtext.TextExt
-
The size of the gap between two parallel underline lines or wave forms.
- underlineOffsetProperty() - Method in class org.fxmisc.richtext.TextExt
-
The offset of the underline for a section of text.
- UnderlinePath - Class in org.fxmisc.richtext
-
A path which describes an underline in the Scene graph.
- UnderlinePath() - Constructor for class org.fxmisc.richtext.UnderlinePath
- underlineWaveRadiusProperty() - Method in class org.fxmisc.richtext.TextExt
-
The arc radius used to draw a wavy underline.
- underlineWidthProperty() - Method in class org.fxmisc.richtext.TextExt
-
The width of the underline for a section of text.
- undo() - Method in interface org.fxmisc.richtext.UndoActions
- UndoActions - Interface in org.fxmisc.richtext
-
Undo/redo actions for
TextEditingArea
. - undoAvailableProperty() - Method in interface org.fxmisc.richtext.UndoActions
- UndoUtils - Class in org.fxmisc.richtext.util
-
A class filled with factory methods to help easily construct an
UndoManager
for aGenericStyledArea
. - unfoldParagraphs(int) - Method in class org.fxmisc.richtext.InlineCssTextArea
-
Unfolds paragraphs
startingFromPar
onwards for the currently folded block. - unfoldParagraphs(int) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Unfolds paragraphs
startingFrom
onwards for the currently folded block. - unfoldParagraphs(int, Predicate<PS>, UnaryOperator<PS>) - Method in class org.fxmisc.richtext.GenericStyledArea
-
Unfolds paragraphs
startingFrom
onwards for the currently folded block. - unfoldText(int) - Method in class org.fxmisc.richtext.InlineCssTextArea
-
Unfolds text
startingFromPos
onwards for the currently folded block. - unfoldText(int) - Method in class org.fxmisc.richtext.StyleClassedTextArea
-
Unfolds text
startingFromPos
onwards for the currently folded block. - uninstall() - Method in class org.fxmisc.richtext.event.MouseStationaryHelper
-
Removes uninstalls the code that would fire
BEGIN
andEND
events when the mouse became stationary over this helper's node. - updateEndBy(int, Selection.Direction) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateEndBy(int, Selection.Direction) - Method in interface org.fxmisc.richtext.Selection
- updateEndBy(int, Selection.Direction) - Method in class org.fxmisc.richtext.SelectionImpl
- updateEndByBreaksBackward(int, BreakIterator) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateEndByBreaksBackward(int, BreakIterator) - Method in interface org.fxmisc.richtext.Selection
- updateEndByBreaksBackward(int, BreakIterator) - Method in class org.fxmisc.richtext.SelectionImpl
- updateEndByBreaksForward(int, BreakIterator) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateEndByBreaksForward(int, BreakIterator) - Method in interface org.fxmisc.richtext.Selection
- updateEndByBreaksForward(int, BreakIterator) - Method in class org.fxmisc.richtext.SelectionImpl
- updateEndTo(int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateEndTo(int) - Method in interface org.fxmisc.richtext.Selection
- updateEndTo(int) - Method in class org.fxmisc.richtext.SelectionImpl
- updateEndTo(int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateEndTo(int, int) - Method in interface org.fxmisc.richtext.Selection
- updateEndTo(int, int) - Method in class org.fxmisc.richtext.SelectionImpl
- updateStartBy(int, Selection.Direction) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateStartBy(int, Selection.Direction) - Method in interface org.fxmisc.richtext.Selection
- updateStartBy(int, Selection.Direction) - Method in class org.fxmisc.richtext.SelectionImpl
- updateStartByBreaksBackward(int, BreakIterator) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateStartByBreaksBackward(int, BreakIterator) - Method in interface org.fxmisc.richtext.Selection
- updateStartByBreaksBackward(int, BreakIterator) - Method in class org.fxmisc.richtext.SelectionImpl
- updateStartByBreaksForward(int, BreakIterator) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateStartByBreaksForward(int, BreakIterator) - Method in interface org.fxmisc.richtext.Selection
- updateStartByBreaksForward(int, BreakIterator) - Method in class org.fxmisc.richtext.SelectionImpl
- updateStartTo(int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateStartTo(int) - Method in interface org.fxmisc.richtext.Selection
- updateStartTo(int) - Method in class org.fxmisc.richtext.SelectionImpl
- updateStartTo(int, int) - Method in interface org.fxmisc.richtext.CaretSelectionBind
- updateStartTo(int, int) - Method in interface org.fxmisc.richtext.Selection
- updateStartTo(int, int) - Method in class org.fxmisc.richtext.SelectionImpl
- useInitialStyleForInsertionProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- useInitialStyleForInsertionProperty() - Method in interface org.fxmisc.richtext.StyleActions
V
- valueOf(String) - Static method in enum org.fxmisc.richtext.Caret.CaretVisibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.fxmisc.richtext.model.TwoDimensional.Bias
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.fxmisc.richtext.NavigationActions.SelectionPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.fxmisc.richtext.Selection.Direction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.fxmisc.richtext.Caret.CaretVisibility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.fxmisc.richtext.model.TwoDimensional.Bias
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.fxmisc.richtext.NavigationActions.SelectionPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.fxmisc.richtext.Selection.Direction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ViewActions<PS,SEG,S> - Interface in org.fxmisc.richtext
-
Specifies view-related API for a
TextEditingArea
- viewportDirtyEvents() - Method in class org.fxmisc.richtext.GenericStyledArea
- viewportDirtyEvents() - Method in interface org.fxmisc.richtext.ViewActions
-
Returns an
EventStream
that emits anull
value every time the viewport becomes dirty (e.g. - visibleParToAllParIndex(int) - Method in class org.fxmisc.richtext.GenericStyledArea
- visibleParToAllParIndex(int) - Method in interface org.fxmisc.richtext.ViewActions
-
Maps a paragraph index from
ViewActions.getVisibleParagraphs()
into the index system ofTextEditingArea.getParagraphs()
. - visibleProperty() - Method in interface org.fxmisc.richtext.Caret
-
Whether the caret is being shown in the viewport
W
- WORD_OR_SYMBOL - Variable in class org.fxmisc.richtext.CodeArea
- WORD_PATTERN - Variable in class org.fxmisc.richtext.CodeArea
- wordBreaksBackwards(int, NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.CodeArea
-
Skips ONLY 1 number of word boundaries backwards.
- wordBreaksBackwards(int, NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Skips n number of word boundaries backwards.
- wordBreaksForwards(int, NavigationActions.SelectionPolicy) - Method in class org.fxmisc.richtext.CodeArea
-
Skips ONLY 1 number of word boundaries forward.
- wordBreaksForwards(int, NavigationActions.SelectionPolicy) - Method in interface org.fxmisc.richtext.NavigationActions
-
Skips n number of word boundaries forward.
- wrapTextProperty() - Method in class org.fxmisc.richtext.GenericStyledArea
- wrapTextProperty() - Method in interface org.fxmisc.richtext.ViewActions
_
- _or(SegmentOps<R, S>, BiFunction<S, S, Optional<S>>) - Method in interface org.fxmisc.richtext.model.TextOps
-
Same as
SegmentOps.either(SegmentOps, SegmentOps, BiFunction)
, except thatTextOps.create(String)
will use this object'screate(String)
method, notrOps
' version.
All Classes All Packages