public final class JPAlignerBasic extends Object implements JPAlignerType
| Modifier and Type | Method and Description |
|---|---|
void |
addWord(String w)
Add a word to the current layout.
|
void |
breakLine()
Insert a hard line break.
|
static JPAlignerType |
create(int in_width)
Construct a new aligner.
|
List<String> |
finish()
Finish the current layout, effectively resetting it to a blank canvas.
|
public static JPAlignerType create(int in_width)
in_width - The maximum width in characterspublic void addWord(String w)
JPAlignerTypeaddWord in interface JPAlignerTypew - A wordpublic void breakLine()
JPAlignerTypebreakLine in interface JPAlignerTypepublic List<String> finish()
JPAlignerTypefinish in interface JPAlignerTypeCopyright © 2017 <code@io7m.com> http://io7m.com