TextExt as well as the selection and caret shapes.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ParagraphText. | |
| private final ParagraphText. | |
| private final SetChangeListener | |
| private final ObservableSet | |
| private final ObjectProperty | |
| private Paragraph | |
| private final MapChangeListener | |
| private final ObservableMap | |
| private int | |
| private final ParagraphText. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final ObservableSet | |
| private <T extends Node> void | |
| private PathElement[] | |
| public int | |
| public int | |
| pack-priv void | |
| public <T extends Node & Caret> Bounds | |
| public <T extends Node & Caret> Bounds | |
| public <T extends Node & Caret> double | |
| private int | |
| public int | |
| public int | |
| public Paragraph | |
| public Bounds | |
| private PathElement[] | |
| private PathElement[] | getRangeShapeSafely(int
the start position of the range shape start, int the end position of the range shape. If end)end == paragraph.length() + 1, the newline character
will be included in the selection by selecting the rest of the lineGets the range shape for the given positions within the text, including the newline character, if range defined by the start/end arguments include it. |
| public Optional | |
| public ObjectProperty | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| public final ObservableMap | |
| public String | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| backgroundShapeHelper | back to summary |
|---|---|
| private final ParagraphText. | |
| borderShapeHelper | back to summary |
|---|---|
| private final ParagraphText. | |
| caretNodeListener | back to summary |
|---|---|
| private final SetChangeListener<? super CaretNode> caretNodeListener | |
| carets | back to summary |
|---|---|
| private final ObservableSet<CaretNode> carets | |
| highlightTextFill | back to summary |
|---|---|
| private final ObjectProperty<Paint> highlightTextFill | |
| paragraph | back to summary |
|---|---|
| private Paragraph<PS, SEG, S> paragraph | |
| selectionPathListener | back to summary |
|---|---|
| private final MapChangeListener<? super Selection<PS, SEG, S>, ? super SelectionPath> selectionPathListener | |
| selections | back to summary |
|---|---|
| private final ObservableMap<Selection<PS, SEG, S>, SelectionPath> selections | |
| selectionShapeStartIndex | back to summary |
|---|---|
| private int selectionShapeStartIndex | |
| underlineShapeHelper | back to summary |
|---|---|
| private final ParagraphText. | |
| ParagraphText | back to summary |
|---|---|
| pack-priv ParagraphText(Paragraph<PS, SEG, S> par, Function<StyledSegment<SEG, S>, Node> nodeFactory) | |
| caretsProperty | back to summary |
|---|---|
| public final ObservableSet | |
| checkWithinParagraph | back to summary |
|---|---|
| private <T extends Node> void checkWithinParagraph(T shape) | |
| createRectangle | back to summary |
|---|---|
| private PathElement[] createRectangle(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) | |
| currentLineIndex | back to summary |
|---|---|
| public int currentLineIndex(Caret caret) | |
| currentLineIndex | back to summary |
|---|---|
| public int currentLineIndex(int position) | |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() | |
| getCaretBounds | back to summary |
|---|---|
| public <T extends Node & Caret> Bounds getCaretBounds(T caret) | |
| getCaretBoundsOnScreen | back to summary |
|---|---|
| public <T extends Node & Caret> Bounds getCaretBoundsOnScreen(T caret) | |
| getCaretOffsetX | back to summary |
|---|---|
| public <T extends Node & Caret> double getCaretOffsetX(T caret) | |
| getClampedCaretPosition | back to summary |
|---|---|
| private int getClampedCaretPosition(Caret caret) | |
| getCurrentLineEndPosition | back to summary |
|---|---|
| public int getCurrentLineEndPosition(Caret caret) | |
| getCurrentLineStartPosition | back to summary |
|---|---|
| public int getCurrentLineStartPosition(Caret caret) | |
| getParagraph | back to summary |
|---|---|
| public Paragraph | |
| getRangeBoundsOnScreen | back to summary |
|---|---|
| public Bounds getRangeBoundsOnScreen(int from, int to) | |
| getRangeShapeSafely | back to summary |
|---|---|
| private PathElement[] getRangeShapeSafely(IndexRange range) | |
| getRangeShapeSafely | back to summary |
|---|---|
| private PathElement[] getRangeShapeSafely(int start, int end) Gets the range shape for the given positions within the text, including the newline character, if range defined by the start/end arguments include it.
| |
| getSelectionBoundsOnScreen | back to summary |
|---|---|
| public Optional | |
| highlightTextFillProperty | back to summary |
|---|---|
| public ObjectProperty | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| selectionsProperty | back to summary |
|---|---|
| public final ObservableMap | |
| toString | back to summary |
|---|---|
| public String toString() Overrides javafx. Doc from javafx. Returns a string representation for the object.
| |
| updateAllCaretShapes | back to summary |
|---|---|
| private void updateAllCaretShapes() | |
| updateAllSelectionShapes | back to summary |
|---|---|
| private void updateAllSelectionShapes() | |
| updateBackgroundShapes | back to summary |
|---|---|
| private void updateBackgroundShapes() | |
| updateSingleCaret | back to summary |
|---|---|
| private void updateSingleCaret(CaretNode caretNode) | |
| updateSingleSelection | back to summary |
|---|---|
| private void updateSingleSelection(SelectionPath path) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final StrokeType |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides org. Indicates whether some other object is "equal to" this one. |
| public boolean | equalsFaster(ParagraphText.
Same as |
| public String |
| type | back to summary |
|---|---|
| pack-priv final StrokeType type | |
| BorderAttributes | back to summary |
|---|---|
| pack-priv BorderAttributes(TextExt text) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| equalsFaster | back to summary |
|---|---|
| public boolean equalsFaster(ParagraphText. Same as | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Consumer | |
| private final Consumer | |
| private final BiConsumer | |
| private final Supplier | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv | CustomCssShapeHelper(Supplier<Path> createShape, BiConsumer<Path, Tuple2<T, IndexRange>> configureShape, Consumer<Path> addToChildren, Consumer<Collection<Path>> clearUnusedShapes)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | updateSharedShapeRange(T value, int start, int end, BiFunction<T, T, Boolean> equals)
Calculates the range of a value (background color, underline, etc.) that is shared between multiple
consecutive |
| private void | updateSharedShapes()
Updates the shapes calculated in |
| addToChildren | back to summary |
|---|---|
| private final Consumer<Path> addToChildren | |
| clearUnusedShapes | back to summary |
|---|---|
| private final Consumer<Collection<Path>> clearUnusedShapes | |
| configureShape | back to summary |
|---|---|
| private final BiConsumer<Path, Tuple2<T, IndexRange>> configureShape | |
| createShape | back to summary |
|---|---|
| private final Supplier<Path> createShape | |
| ranges | back to summary |
|---|---|
| private final List<Tuple2<T, IndexRange>> ranges | |
| shapes | back to summary |
|---|---|
| private final List<Path> shapes | |
| CustomCssShapeHelper | back to summary |
|---|---|
| pack-priv CustomCssShapeHelper(Supplier<Path> createShape, BiConsumer<Path, Tuple2<T, IndexRange>> configureShape, Consumer<Path> addToChildren, Consumer<Collection<Path>> clearUnusedShapes) | |
| updateSharedShapeRange | back to summary |
|---|---|
| private void updateSharedShapeRange(T value, int start, int end, BiFunction<T, T, Boolean> equals) Calculates the range of a value (background color, underline, etc.) that is shared between multiple
consecutive | |
| updateSharedShapes | back to summary |
|---|---|
| private void updateSharedShapes() Updates the shapes calculated in | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Paint | |
| pack-priv final Double[] | |
| pack-priv final double |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public boolean | equalsFaster(ParagraphText.
Same as |
| protected final String | |
| public final boolean |
| color | back to summary |
|---|---|
| pack-priv final Paint color | |
| dashArray | back to summary |
|---|---|
| pack-priv final Double[] dashArray | |
| width | back to summary |
|---|---|
| pack-priv final double width | |
| LineAttributesBase | back to summary |
|---|---|
| pack-priv LineAttributesBase(Paint color, Number width, ObjectProperty<Number[]> dashArrayProp) Java Quirk! Using | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| equalsFaster | back to summary |
|---|---|
| public boolean equalsFaster(ParagraphText. Same as | |
| getSubString | back to summary |
|---|---|
| protected final String getSubString() | |
| isNullValue | back to summary |
|---|---|
| public final boolean isNullValue() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final StrokeLineCap | |
| pack-priv final double | |
| pack-priv final double | |
| pack-priv final double |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides org. Indicates whether some other object is "equal to" this one. |
| public boolean | equalsFaster(ParagraphText.
Same as |
| public String |
| cap | back to summary |
|---|---|
| pack-priv final StrokeLineCap cap | |
| doubleGap | back to summary |
|---|---|
| pack-priv final double doubleGap | |
| offset | back to summary |
|---|---|
| pack-priv final double offset | |
| waveRadius | back to summary |
|---|---|
| pack-priv final double waveRadius | |
| UnderlineAttributes | back to summary |
|---|---|
| pack-priv UnderlineAttributes(TextExt text) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| equalsFaster | back to summary |
|---|---|
| public boolean equalsFaster(ParagraphText. Same as | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |