public class Table extends Object
| Constructor and Description |
|---|
Table() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCell(String content)
Add a cell to the current row of the table
|
void |
addText(String content) |
Writer |
appendTo(Writer writer)
Serialize table by appending it to a writer.
|
void |
calc()
Recalculate all cells.
|
Object |
getXY(int x,
int y) |
void |
newCell() |
void |
newRow()
Finishes current row and starts a new one
|
void |
setAttribute(String attributeName,
String attributeValue) |
void |
setXY(int x,
int y,
Object content) |
public Object getXY(int x, int y)
public void setXY(int x,
int y,
Object content)
public void addCell(String content)
content - Content of the cellpublic void newCell()
public void addText(String content)
public void newRow()
public void calc()
public Writer appendTo(Writer writer) throws IOException
writer - Writer to append the table object toIOExceptionCopyright © 2003–2018 Sakai Project. All rights reserved.