public abstract class AbstractLineChoppingStyledTextOutput extends AbstractStyledTextOutput
StyledTextOutput that breaks text up into lines.StyledTextOutput.Style| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLineChoppingStyledTextOutput() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAppend(String text) |
protected void |
doFinishLine()
Called after the end-of-line text has been appended.
|
protected abstract void |
doLineText(CharSequence text,
boolean terminatesLine)
Called when text is to be appended.
|
protected void |
doStartLine()
Called before text is about to be appended to the start of a line.
|
protected AbstractLineChoppingStyledTextOutput()
protected final void doAppend(String text)
doAppend in class AbstractStyledTextOutputprotected void doFinishLine()
protected void doStartLine()
protected abstract void doLineText(CharSequence text, boolean terminatesLine)
text - The text.terminatesLine - true if the given text terminates a line (including the end-of-line string).Copyright © 2013. All rights reserved