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() |
int |
getMinCellWidth() |
boolean |
isBordered() |
void |
render(Console console) |
protected String |
renderCell(int rowLine,
Cell<?> cell) |
void |
setBordered(boolean border) |
void |
setFooter(Row footer) |
void |
setHeader(Row header) |
void |
setMaxCellWidth(int maxCellWidth) |
void |
setMinCellWidth(int minCellWidth) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public 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 int getMinCellWidth()
public void setMinCellWidth(int minCellWidth)
public boolean isBordered()
public void setBordered(boolean border)
public void render(Console console) throws IOException
IOException
protected int checkCell(int rocwIndex, Cell<?> cell)
Copyright © 2024. All rights reserved.