| Access | Constructor and Description |
|---|---|
| public | StyleClassedTextArea(EditableStyledDocument<Collection<String>, String, Collection<String>> document, boolean preserveStyle)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | append(String text, String styleClass)
Overrides default org. Convenient method to append text together with a single style class. |
| public void | foldParagraphs(int startPar, int endPar)
Folds (hides/collapses) paragraphs from |
| public void | foldSelectedParagraphs()
Folds (hides/collapses) the currently selected paragraphs, "into" (i.e. excluding) the first paragraph of the range. |
| public void | foldText(int start, int end)
Folds (hides/collapses) paragraphs from character position |
| protected UnaryOperator | Returns: a UnaryOperator that given a paragraph style, returns a style that includes fold styling.
|
| protected Predicate | Returns: a Predicate that given a paragraph style, returns true if it includes folding.
|
| protected UnaryOperator | Returns: a UnaryOperator that given a paragraph style, returns a style that excludes fold styling.
|
| public void | insert(int position, String text, String styleClass)
Overrides default org. Convenient method to insert text together with a single style class. |
| public boolean | |
| public void | replace(int start, int end, String text, String styleClass)
Overrides org. Implements org. Convenient method to replace text together with a single style class. |
| public void | |
| public void | unfoldParagraphs(int startingFromPar)
Unfolds paragraphs |
| public void |
| StyleClassedTextArea | back to summary |
|---|---|
| public StyleClassedTextArea(EditableStyledDocument<Collection<String>, String, Collection<String>> document, boolean preserveStyle) | |
| StyleClassedTextArea | back to summary |
|---|---|
| public StyleClassedTextArea(boolean preserveStyle) | |
| StyleClassedTextArea | back to summary |
|---|---|
| public StyleClassedTextArea() Creates a text area with empty text content. | |
| append | back to summary |
|---|---|
| public void append(String text, String styleClass) Overrides default org. Convenient method to append text together with a single style class. | |
| foldParagraphs | back to summary |
|---|---|
| public void foldParagraphs(int startPar, int endPar) Folds (hides/collapses) paragraphs from | |
| foldSelectedParagraphs | back to summary |
|---|---|
| public void foldSelectedParagraphs() Folds (hides/collapses) the currently selected paragraphs, "into" (i.e. excluding) the first paragraph of the range. | |
| foldText | back to summary |
|---|---|
| public void foldText(int start, int end) Folds (hides/collapses) paragraphs from character position | |
| getAddFoldStyle | back to summary |
|---|---|
protected UnaryOperator
| |
| getFoldStyleCheck | back to summary |
|---|---|
protected Predicate
| |
| getRemoveFoldStyle | back to summary |
|---|---|
protected UnaryOperator
| |
| insert | back to summary |
|---|---|
| public void insert(int position, String text, String styleClass) Overrides default org. Convenient method to insert text together with a single style class. | |
| isFolded | back to summary |
|---|---|
| public boolean isFolded(int paragraph) | |
| replace | back to summary |
|---|---|
| public void replace(int start, int end, String text, String styleClass) Overrides org. Implements org. Convenient method to replace text together with a single style class. | |
| setStyleClass | back to summary |
|---|---|
| public void setStyleClass(int from, int to, String styleClass) Convenient method to assign a single style class. | |
| unfoldParagraphs | back to summary |
|---|---|
| public void unfoldParagraphs(int startingFromPar) Unfolds paragraphs | |
| unfoldText | back to summary |
|---|---|
| public void unfoldText(int startingFromPos) Unfolds text | |