public class TextCell extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<String> |
data |
protected int |
maxWidth |
protected int |
minWidth |
protected String |
sourceText |
| Constructor and Description |
|---|
TextCell(Iterable<String> data) |
TextCell(String[] data) |
TextCell(String[] data,
String source) |
| Modifier and Type | Method and Description |
|---|---|
static TextCell |
createBlock(String repeatText,
int width,
int height) |
protected void |
evalMinMaxWidth() |
int |
getHeight() |
int |
getMaxWidth() |
int |
getMinWidth() |
String[] |
getTextLines() |
TextCell |
join(Iterable<TextCell> tcells) |
TextCell |
join(TextCell... tcells) |
static List<String> |
joinAsList(Iterable<TextCell> tcells) |
static List<String> |
joinAsList(TextCell... tcells) |
static TextCell |
joinAsTextCell(Iterable<TextCell> tcells) |
static TextCell |
joinAsTextCell(TextCell... tcells) |
protected String sourceText
protected int maxWidth
protected int minWidth
public TextCell(String[] data)
public String[] getTextLines()
protected void evalMinMaxWidth()
public int getMaxWidth()
public int getMinWidth()
public int getHeight()
Copyright © 2018. All rights reserved.