public abstract class WebTable extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CCW
Text rotated 90 degrees counter-clockwise.
|
protected int |
columnCount |
static int |
CW
Text rotated 90 degrees clockwise.
|
protected int |
debugLevel |
static int |
NORMAL
Indicates normal formatting.
|
protected GenericPrinter |
output |
protected int |
rowCount |
| 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 static final int NORMAL
public static final int CCW
public static final int CW
public WebTable()
public void finishRow() throws IOException
IOExceptionpublic void finishTable() throws IOException
IOExceptionpublic void formatCell(Object value) throws IOException
IOExceptionpublic void formatCell(Object value, int format) throws IOException
IOExceptionpublic void formatDataRow(Object... values) throws IOException
IOExceptionpublic void formatDataRow(ResultSet rs) throws SQLException, IOException
SQLExceptionIOExceptionpublic void formatHeaderRow(Object... values) throws IOException
IOExceptionpublic void formatHeaderRow(ResultSet rs) throws SQLException, IOException
SQLExceptionIOExceptionpublic int getColumnCount()
public int getDebugLevel()
public void setColumnCount(int value)
public void setDebugLevel(int value)
public void startRow() throws IOException
IOExceptionpublic void startTable() throws IOException
IOExceptionpublic void setOutput(GenericPrinter value)
Copyright © 2017. All rights reserved.