| Access | Constructor and Description |
|---|---|
| public | |
| public | InlineCssTextArea(EditableStyledDocument<String, String, String> document)
Creates an area that can render and edit another area's |
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 String 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 String that excludes fold styling.
|
| public boolean | |
| public void | unfoldParagraphs(int startingFromPar)
Unfolds paragraphs |
| public void |
| InlineCssTextArea | back to summary |
|---|---|
| public InlineCssTextArea() Creates a blank area | |
| InlineCssTextArea | back to summary |
|---|---|
| public InlineCssTextArea(EditableStyledDocument<String, String, String> document) Creates an area that can render and edit another area's | |
| InlineCssTextArea | back to summary |
|---|---|
| public InlineCssTextArea(String text) Creates a text area with initial text content. Initial caret position is set at the beginning of text content.
| |
| 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
| |
| isFolded | back to summary |
|---|---|
| public boolean isFolded(int paragraph) | |
| unfoldParagraphs | back to summary |
|---|---|
| public void unfoldParagraphs(int startingFromPar) Unfolds paragraphs | |
| unfoldText | back to summary |
|---|---|
| public void unfoldText(int startingFromPos) Unfolds text | |