|
| void | spaceLines (final float lineSpacing) |
| |
| void | setCharacterStyle (final int from, final int to, final SimpleAttributeSet style, final boolean replace) |
| |
| void | setParagraphStyle (@SuppressWarnings("SameParameterValue") final int from, final int to, final SimpleAttributeSet style, @SuppressWarnings("SameParameterValue") final boolean replace) |
| |
Text pane
- Author
- Bernard Bou
◆ TextPane()
| grammarscope.browser.components.TextPane.TextPane |
( |
| ) |
|
◆ setCharacterStyle()
| void grammarscope.browser.components.TextPane.setCharacterStyle |
( |
final int |
from, |
|
|
final int |
to, |
|
|
final SimpleAttributeSet |
style, |
|
|
final boolean |
replace |
|
) |
| |
|
protected |
Set style to text substring
- Parameters
-
| from | from-index |
| to | to-index |
| style | target style |
| replace | whether to replace current styles |
◆ setParagraphStyle()
| void grammarscope.browser.components.TextPane.setParagraphStyle |
( |
@SuppressWarnings("SameParameterValue") final int |
from, |
|
|
final int |
to, |
|
|
final SimpleAttributeSet |
style, |
|
|
@SuppressWarnings("SameParameterValue") final boolean |
replace |
|
) |
| |
|
protected |
Set style to text substring
- Parameters
-
| from | from-index |
| to | to-index |
| style | target style |
| replace | whether to replace current styles |
◆ spaceLines()
| void grammarscope.browser.components.TextPane.spaceLines |
( |
final float |
lineSpacing | ) |
|
|
protected |
Space lines
- Parameters
-
| lineSpacing | line spacing value (number of line heights) |
◆ serialVersionUID
| final long grammarscope.browser.components.TextPane.serialVersionUID = 1L |
|
staticprivate |
The documentation for this class was generated from the following file:
- grammarscope/browser/src/main/java/grammarscope/browser/components/TextPane.java