|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.ReportSection
Field Summary | |
static java.lang.String |
code_id
|
Constructor Summary | |
ReportSection()
|
|
ReportSection(java.lang.Object title)
Create a report section with the given title. |
Method Summary | |
void |
addItem(java.lang.Object item)
Add an item to the Section.. |
void |
addParagraph(java.lang.String paragraph)
Add a paragraph to this section. |
java.lang.String |
getParagraph(int num)
Get one of the paragraphs from this section. |
java.util.ArrayList |
getParagraphs()
Get a list of all the paragraphs contained in this section. |
ReportTable |
getTable()
Returns the table in the report. |
ReportTable |
getTable(int num)
Returns the specified table from the report. |
java.util.ArrayList |
getTables()
Returns an ArrayList of ReportTable objects. |
java.lang.Object |
getTitle()
Get the title for this section. |
boolean |
isEmpty()
Returns true if there are no items in the section. |
int |
numItems()
Get the number of items in this section. |
int |
numParagraphs()
Gets the number of paragraphs in this section |
int |
numTables()
Gets the number of tables in this section . |
void |
removeItem(java.lang.Object item)
Removes an item from this section. |
void |
setParagraphs(java.util.ArrayList paragraphs)
Set the list of paragraphs for this section |
void |
setTitle(java.lang.Object title)
Set the title for this section. |
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 ReportSection()
public ReportSection(java.lang.Object title)
Method Detail |
public void setTitle(java.lang.Object title)
public java.lang.Object getTitle()
public boolean isEmpty()
public void addItem(java.lang.Object item)
public void removeItem(java.lang.Object item)
public int numItems()
public java.lang.String toXml()
public java.lang.String toXml(java.lang.StringBuffer buf, int indent)
public ReportTable getTable(int num)
public ReportTable getTable()
public java.util.ArrayList getTables()
public int numTables()
public java.lang.String getParagraph(int num)
public int numParagraphs()
public java.util.ArrayList getParagraphs()
public void addParagraph(java.lang.String paragraph)
public void setParagraphs(java.util.ArrayList paragraphs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |