| Modifier and Type | Field and Description |
|---|---|
| private final Pattern | |
| private final Style | |
| private final StyledText |
| Access | Constructor and Description |
|---|---|
| public | AddStyle(Style
the style to add (to already existing styles) style, Pattern the regex used to search the text pattern, StyledText the text to search text)Constructs an action that applies an additional style to regex finds in text. |
| Modifier and Type | Method and Description |
|---|---|
| public void | perform()
Implements jdk. Performs this action. |
| pattern | back to summary |
|---|---|
| private final Pattern pattern | |
| style | back to summary |
|---|---|
| private final Style style | |
| text | back to summary |
|---|---|
| private final StyledText text | |
| AddStyle | back to summary |
|---|---|
| public AddStyle(Style style, Pattern pattern, StyledText text) Constructs an action that applies an additional style to regex finds in text.
| |
| perform | back to summary |
|---|---|
| public void perform() Implements jdk. Doc from jdk. Performs this action.
| |