public abstract class WebTable extends Object implements TableInterface
Modifier and Type | Field and Description |
---|---|
protected int |
columnCount |
protected int |
debugLevel |
protected GenericPrinter |
output |
protected int |
rowCount |
CCW, CW, NORMAL
Constructor and Description |
---|
WebTable() |
Modifier and Type | Method and Description |
---|---|
void |
finishRow() |
void |
finishTable() |
void |
formatCell(Object value) |
void |
formatCell(Object value,
int format) |
void |
formatDataRow(Object... values) |
void |
formatDataRow(ResultSet rs) |
void |
formatHeaderRow(Object... values) |
void |
formatHeaderRow(ResultSet rs) |
int |
getColumnCount() |
int |
getDebugLevel() |
void |
setColumnCount(int value) |
void |
setDebugLevel(int value) |
void |
setOutput(GenericPrinter value) |
void |
startRow() |
void |
startTable() |
protected GenericPrinter output
protected int debugLevel
protected int columnCount
protected int rowCount
public WebTable()
public void finishRow()
public void finishTable()
finishTable
in interface TableInterface
public void formatCell(Object value)
public void formatCell(Object value, int format)
formatCell
in interface TableInterface
public void formatDataRow(Object... values)
formatDataRow
in interface TableInterface
public void formatDataRow(ResultSet rs) throws SQLException
formatDataRow
in interface TableInterface
SQLException
public void formatHeaderRow(Object... values)
formatHeaderRow
in interface TableInterface
public void formatHeaderRow(ResultSet rs) throws SQLException
formatHeaderRow
in interface TableInterface
SQLException
public int getColumnCount()
getColumnCount
in interface TableInterface
public int getDebugLevel()
getDebugLevel
in interface TableInterface
public void setColumnCount(int value)
setColumnCount
in interface TableInterface
public void setDebugLevel(int value)
setDebugLevel
in interface TableInterface
public void startRow()
public void startTable()
startTable
in interface TableInterface
public void setOutput(GenericPrinter value)
setOutput
in interface TableInterface