tag.
addDataElements
public void addDataElements(Vector cells)
addHeader
public void addHeader(String header)
- Parameters:
- header - the content of the header to add to the current row.
addHeader
public void addHeader(String cell,
String attribs)
- Parameters:
- header - the content of the header to add to the current row.
- attribs - the attributes to associate with this header.
ie. addHeader("text", "align=bottom") produces
text |
addHeader
public void addHeader(HtmlElement cell)
- Parameters:
- header - the content of the header to add to the current row.
addHeader
public void addHeader(HtmlElement cell,
String attribs)
- Parameters:
- header - the content of the header to add to the current row.
- attribs - the attributes to associate with this header.
ie. addHeader(new HtmlText("text"), "align=bottom") produces
text |
addData
public void addData(String cell)
- Parameters:
- cell - the content of the data element to add to the current row.
addData
public void addData(String cell,
String attribs)
- Parameters:
- cell - the content of the data element to add to the current row.
- attribs - the attributes to associate with this header.
ie. addData("text", "align=bottom") produces
text |
addData
public void addData(HtmlElement cell)
- Parameters:
- cell - the content of the data element to add to the current row.
addData
public void addData(HtmlElement cell,
String attribs)
- Parameters:
- cell - the content of the data element to add to the current row.
- attribs - the attributes to associate with this data element.
ie. addData(new HtmlText("text"), "align=bottom") produces
text |
concat
public void concat(HtmlRow row)
- Parameters:
- row - Row to append to the end of the current row
assumes the attributes of this row.
ie.
HtmlRow row1 = new HtmlRow();
row1.addData("row1 data");
HtmlRow row2 = new HtmlRow("align=top");
row2.addData("row2 data");
row1.concat(row2)
generates:
row1 data | row2 data |
addRow
public void addRow(HtmlRow row)
wrap
public void wrap(String tags)
write
public void write(OutputStream out) throws IOException
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index
|