| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final SuspendableNo | |
| private ReadOnlyStyledDocument | |
| private final Val | |
| private final EventSource | |
| private final Val | |
| private final SuspendableVal | |
| private final SuspendableList | paragraphs
References Deprecated
SuspendableList is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private final EventSource | |
| private final SuspendableEventStream | |
| private final SuspendableVal |
| Access | Constructor and Description |
|---|---|
| pack-priv | GenericEditableStyledDocumentBase(ReadOnlyStyledDocument<PS, SEG, S> initialContent)
Creates an |
| pack-priv | GenericEditableStyledDocumentBase(Paragraph<PS, SEG, S> initialParagraph)
Creates an |
| pack-priv | GenericEditableStyledDocumentBase(PS initialParagraphStyle, S initialStyle, SegmentOps<SEG, S> segmentOps)
Creates an empty |
| Modifier and Type | Method and Description |
|---|---|
| public final SuspendableNo | |
| public StyledDocument | |
| public int | |
| public LiveList | |
| public String | |
| public final boolean | |
| public int | |
| public Val | |
| public EventStream | multiRichChanges()
Implements org. Returns an |
| public TwoDimensional. | offsetToPosition(int offset, TwoDimensional.
Implements org. Creates a two dimensional position in some entity (e.g. area, list of lists, list of some object with length)
where the |
| public TwoDimensional. | position(int major, int minor)
Implements org. Creates a two dimensional position in some entity (e.g. area, list of lists, list of some object with length)
where the |
| public void | replace(int start, int end, StyledDocument<PS, SEG, S> replacement)
Implements org. Replaces the portion of this document |
| public void | replaceMulti(List<Replacement<PS, SEG, S>> replacements)
Implements org. Replaces multiple portions of this document in one update. |
| public void | setParagraphStyle(int paragraphIndex, PS style)
Implements org. Sets the given paragraph to the given paragraph style |
| public void | setStyle(int from, int to, S style)
Implements org. Sets the style of all segments in the given "from..to" range to the given style. |
| public void | setStyle(int paragraphIndex, S style)
Implements org. Sets all segments in the given paragraph to the given style |
| public void | setStyle(int paragraphIndex, int fromCol, int toCol, S style)
Implements org. Sets the given range "fromCol..toCol" in the given paragraph to the given style |
| public void | setStyleSpans(int from, StyleSpans<? extends S> styleSpans)
Implements org. Replaces the style spans for the given range |
| public void | setStyleSpans(int paragraphIndex, int from, StyleSpans<? extends S> styleSpans)
Implements org. Replaces the style spans for the given range |
| public ReadOnlyStyledDocument | snapshot()
Implements org. Read-only snapshot of the current state of this document. |
| public StyledDocument | |
| public Val | |
| private void | updateMulti(ReadOnlyStyledDocument<PS, SEG, S> newValue, List<RichTextChange<PS, SEG, S>> richChanges, List<MaterializedListModification<Paragraph<PS, SEG, S>>> parChanges)
|
| private void | updateSingle(ReadOnlyStyledDocument<PS, SEG, S> newValue, RichTextChange<PS, SEG, S> change, MaterializedListModification<Paragraph<PS, SEG, S>> parChange)
|
| beingUpdated | back to summary |
|---|---|
| private final SuspendableNo beingUpdated | |
| doc | back to summary |
|---|---|
| private ReadOnlyStyledDocument<PS, SEG, S> doc | |
| internalLength | back to summary |
|---|---|
| private final Val<Integer> internalLength | |
| internalRichChangeList | back to summary |
|---|---|
| private final EventSource<List<RichTextChange<PS, SEG, S>>> internalRichChangeList | |
| internalText | back to summary |
|---|---|
| private final Val<String> internalText | |
| length | back to summary |
|---|---|
| private final SuspendableVal<Integer> length | |
| paragraphs | back to summary |
|---|---|
| private final SuspendableList<Paragraph<PS, SEG, S>> paragraphs
References Deprecated
See corresponding docs for further information. | |
| parChangesList | back to summary |
|---|---|
| private final EventSource<List<MaterializedListModification<Paragraph<PS, SEG, S>>>> parChangesList | |
| richChangeList | back to summary |
|---|---|
| private final SuspendableEventStream<List<RichTextChange<PS, SEG, S>>> richChangeList | |
| text | back to summary |
|---|---|
| private final SuspendableVal<String> text | |
| GenericEditableStyledDocumentBase | back to summary |
|---|---|
| pack-priv GenericEditableStyledDocumentBase(ReadOnlyStyledDocument<PS, SEG, S> initialContent) Creates an | |
| GenericEditableStyledDocumentBase | back to summary |
|---|---|
| pack-priv GenericEditableStyledDocumentBase(Paragraph<PS, SEG, S> initialParagraph) Creates an | |
| GenericEditableStyledDocumentBase | back to summary |
|---|---|
| pack-priv GenericEditableStyledDocumentBase(PS initialParagraphStyle, S initialStyle, SegmentOps<SEG, S> segmentOps) Creates an empty | |
| beingUpdatedProperty | back to summary |
|---|---|
| public final SuspendableNo beingUpdatedProperty() Implements org.
| |
| concat | back to summary |
|---|---|
| public StyledDocument Implements org.
| |
| getLength | back to summary |
|---|---|
| public int getLength() Implements org.
| |
| getParagraphs | back to summary |
|---|---|
| public LiveList Implements org.
| |
| getText | back to summary |
|---|---|
| public String getText() Implements org.
| |
| isBeingUpdated | back to summary |
|---|---|
| public final boolean isBeingUpdated() Implements org.
| |
| length | back to summary |
|---|---|
| public int length() Implements org.
| |
| lengthProperty | back to summary |
|---|---|
| public Val Implements org.
| |
| multiRichChanges | back to summary |
|---|---|
| public EventStream Implements org. Doc from org. Returns an
| |
| offsetToPosition | back to summary |
|---|---|
| public TwoDimensional. Implements org. Doc from org. Creates a two dimensional position in some entity (e.g. area, list of lists, list of some object with length)
where the
| |
| position | back to summary |
|---|---|
| public TwoDimensional. Implements org. Doc from org. Creates a two dimensional position in some entity (e.g. area, list of lists, list of some object with length)
where the
| |
| replace | back to summary |
|---|---|
| public void replace(int start, int end, StyledDocument<PS, SEG, S> replacement) Implements org. Doc from org. Replaces the portion of this document
| |
| replaceMulti | back to summary |
|---|---|
| public void replaceMulti(List<Replacement<PS, SEG, S>> replacements) Implements org. Doc from org. Replaces multiple portions of this document in one update.
| |
| setParagraphStyle | back to summary |
|---|---|
| public void setParagraphStyle(int paragraphIndex, PS style) Implements org. Doc from org. Sets the given paragraph to the given paragraph style
| |
| setStyle | back to summary |
|---|---|
| public void setStyle(int from, int to, S style) Implements org. Doc from org. Sets the style of all segments in the given "from..to" range to the given style.
| |
| setStyle | back to summary |
|---|---|
| public void setStyle(int paragraphIndex, S style) Implements org. Doc from org. Sets all segments in the given paragraph to the given style
| |
| setStyle | back to summary |
|---|---|
| public void setStyle(int paragraphIndex, int fromCol, int toCol, S style) Implements org. Doc from org. Sets the given range "fromCol..toCol" in the given paragraph to the given style
| |
| setStyleSpans | back to summary |
|---|---|
| public void setStyleSpans(int from, StyleSpans<? extends S> styleSpans) Implements org. Doc from org. Replaces the style spans for the given range
| |
| setStyleSpans | back to summary |
|---|---|
| public void setStyleSpans(int paragraphIndex, int from, StyleSpans<? extends S> styleSpans) Implements org. Doc from org. Replaces the style spans for the given range
| |
| snapshot | back to summary |
|---|---|
| public ReadOnlyStyledDocument Implements org. Doc from org. Read-only snapshot of the current state of this document.
| |
| subSequence | back to summary |
|---|---|
| public StyledDocument Implements org.
| |
| textProperty | back to summary |
|---|---|
| public Val Implements org.
| |
| updateMulti | back to summary |
|---|---|
| private void updateMulti(ReadOnlyStyledDocument<PS, SEG, S> newValue, List<RichTextChange<PS, SEG, S>> richChanges, List<MaterializedListModification<Paragraph<PS, SEG, S>>> parChanges) | |
| updateSingle | back to summary |
|---|---|
| private void updateSingle(ReadOnlyStyledDocument<PS, SEG, S> newValue, RichTextChange<PS, SEG, S> change, MaterializedListModification<Paragraph<PS, SEG, S>> parChange) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Paragraph | get(int index)
Implements java. Returns the element at the specified position in this list. |
| protected Subscription | observeInputs()
Implements abstract org. Starts observing this observable's input(s), if any. |
| public int |
| ParagraphList | back to summary |
|---|---|
| private ParagraphList() | |
| get | back to summary |
|---|---|
| public Paragraph Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| observeInputs | back to summary |
|---|---|
| protected Subscription observeInputs() Implements abstract org. Doc from org. Starts observing this observable's input(s), if any.
This method is called when the number of observers goes from 0 to 1.
This method is called before
| |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |