|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.ReportTable
A class that provides a convenient set of methods for minipulating tables in a report section.
Field Summary | |
static java.lang.String |
code_id
|
Constructor Summary | |
ReportTable()
|
Method Summary | |
void |
addRow(java.util.ArrayList rowData)
Add a row to this table. |
void |
addRow(java.lang.Object rowDataCol1)
Adds a row to the table if the table only has a single column. |
void |
addRow(java.lang.Object rowDataCol1,
java.lang.Object rowDataCol2)
Adds a row to the table if the table only has a single column. |
java.util.ArrayList |
getColumnNames()
Get the column names for this table. |
java.util.ArrayList |
getRows()
Get the rows for this table. |
boolean |
isEmpty()
Returns true if there aren't any rows in the table. |
void |
setColumnNames(java.util.ArrayList columns)
Set the column names for this table. |
void |
setColumnNames(java.lang.Object col1)
Set the column names if the table only has a single column. |
void |
setColumnNames(java.lang.Object col1,
java.lang.Object col2)
Set the column names if the table only has a two columns. |
void |
setRows(java.util.ArrayList rows)
Set the rows for this table. |
java.lang.String |
toXml()
|
java.lang.String |
toXml(java.lang.StringBuffer buf,
int indent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public ReportTable()
Method Detail |
public void setColumnNames(java.util.ArrayList columns)
public java.util.ArrayList getColumnNames()
public void setColumnNames(java.lang.Object col1)
public void setColumnNames(java.lang.Object col1, java.lang.Object col2)
public void addRow(java.util.ArrayList rowData)
public void addRow(java.lang.Object rowDataCol1)
public void addRow(java.lang.Object rowDataCol1, java.lang.Object rowDataCol2)
public void setRows(java.util.ArrayList rows)
public java.util.ArrayList getRows()
public boolean isEmpty()
public java.lang.String toXml()
public java.lang.String toXml(java.lang.StringBuffer buf, int indent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |