|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sac.htmlwriter.element.Element
net.sac.htmlwriter.element.Table
public class Table
| Field Summary |
|---|
| Fields inherited from class net.sac.htmlwriter.element.Element |
|---|
ALLOWED_CHILD_TAGS_NONE, ALLOWED_CHILD_TAGS_TEXT_ONLY |
| Constructor Summary | |
|---|---|
Table(int cols)
|
|
| Method Summary | |
|---|---|
void |
addCell(Element element)
|
void |
addCell(Element element,
TableCell.Align align)
|
void |
addCell(java.lang.String text)
|
void |
addCell(java.lang.String text,
TableCell.Align align)
|
void |
addCell(TableCell tableCell)
Add a cell to the table. |
void |
addFooterCell(TableCell tableCell)
Add a footer cell to the table. |
void |
addFooterRow(java.util.List<TableCell> tableCells)
Add a footer row using the given list of table cells. |
void |
addHeaderCell(java.lang.String headerText)
|
void |
addHeaderCell(TableCell tableCell)
Add a header cell to the table. |
void |
addHeaderRow(java.util.List<TableCell> tableCells)
Add a header row using the given list of table cells. |
void |
addRow(java.util.List<TableCell> tableCells)
Add a row using the given list of table cells. |
| Methods inherited from class net.sac.htmlwriter.element.Element |
|---|
addAttribute, addChild, getAttribute, getChild, getChildIndex, getChildren, getTagName, insertChild, setAttribute, toHtml |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Table(int cols)
| Method Detail |
|---|
public void addHeaderRow(java.util.List<TableCell> tableCells)
throws HtmlException
tableCells -
HtmlException
public void addHeaderCell(TableCell tableCell)
throws HtmlException
tableCell -
HtmlException
public void addHeaderCell(java.lang.String headerText)
throws HtmlException
HtmlException
public void addRow(java.util.List<TableCell> tableCells)
throws HtmlException
tableCells -
HtmlException
public void addCell(TableCell tableCell)
throws HtmlException
tableCell -
HtmlException
public void addCell(Element element)
throws HtmlException
HtmlException
public void addCell(java.lang.String text)
throws HtmlException
HtmlException
public void addCell(Element element,
TableCell.Align align)
throws HtmlException
HtmlException
public void addCell(java.lang.String text,
TableCell.Align align)
throws HtmlException
HtmlException
public void addFooterRow(java.util.List<TableCell> tableCells)
throws HtmlException
tableCells -
HtmlException
public void addFooterCell(TableCell tableCell)
throws HtmlException
tableCell -
HtmlException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||