public class Table extends ArrayList<Row>
| Modifier and Type | Class and Description |
|---|---|
static class |
Table.Alignment |
modCount| Constructor and Description |
|---|
Table(TerminalOutput io) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
checkCell(int rocwIndex,
Cell<?> cell) |
protected String |
formatRow(int rowLine,
Row row,
List<Integer> maxColumnWidths) |
Row |
getFooter() |
Row |
getHeader() |
int |
getMaxCellWidth() |
void |
render(Console console) |
protected String |
renderCell(int rowLine,
Cell<?> cell) |
void |
setFooter(Row footer) |
void |
setHeader(Row header) |
void |
setMaxCellWidth(int maxCellWidth) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic Table(TerminalOutput io)
public Row getHeader()
public void setHeader(Row header)
public Row getFooter()
public void setFooter(Row footer)
public int getMaxCellWidth()
public void setMaxCellWidth(int maxCellWidth)
public void render(Console console) throws IOException
IOExceptionprotected int checkCell(int rocwIndex,
Cell<?> cell)
Copyright © 2012. All Rights Reserved.