public abstract class AbstractTableFormatter extends java.lang.Object implements TableFormatter
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractTableFormatter.CellData |
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, VALIGN_BOTTOM, VALIGN_CENTER, VALIGN_DEFAULT, VALIGN_TOP| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTableFormatter()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
TableFormatter |
addLine() |
TableFormatter |
addLine(java.lang.String text) |
int |
getColumnCount() |
int |
getColumnWidth(int columnIndex) |
java.lang.String[] |
getFormattedCell(int rowIndex,
int columnIndex) |
int |
getRowCount() |
int |
getRowHeight(int rowIndex) |
int |
getTableHeight() |
int |
getTableWidth() |
TableFormatter |
nextCell() |
TableFormatter |
nextCell(int align,
int valign) |
TableFormatter |
nextRow() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormattedRow, getFormattedTablepublic final TableFormatter addLine()
addLine in interface TableFormatterpublic final TableFormatter addLine(java.lang.String text)
addLine in interface TableFormatterpublic final TableFormatter nextCell()
nextCell in interface TableFormatterpublic final TableFormatter nextCell(int align, int valign)
nextCell in interface TableFormatterpublic final TableFormatter nextRow()
nextRow in interface TableFormatterpublic int getColumnCount()
getColumnCount in interface TableFormatterpublic final int getRowCount()
getRowCount in interface TableFormatterpublic final int getColumnWidth(int columnIndex)
getColumnWidth in interface TableFormatterpublic final int getRowHeight(int rowIndex)
getRowHeight in interface TableFormatterpublic final java.lang.String[] getFormattedCell(int rowIndex,
int columnIndex)
getFormattedCell in interface TableFormatterpublic int getTableWidth()
getTableWidth in interface TableFormatterpublic int getTableHeight()
getTableHeight in interface TableFormatter