org.simpleods
public class TableRow extends java.lang.Object
Constructor and Description |
---|
TableRow() |
Modifier and Type | Method and Description |
---|---|
TableCell |
getCell(int nCol)
Added 0.5.1:
Get a TableCell, if no TableCell was present at this nCol, create a new one with a default of TableCell.STYLE_STRING and a content of "". |
ObjectQueue |
getCells() |
java.lang.String |
getStyle() |
void |
setCell(int nCol,
int nValuetype,
java.lang.String sValue) |
void |
setCell(int nCol,
java.lang.String sValue)
Set the cell to the content of string, the value type of the cell is
TableCell.STYLE_STRING .
|
void |
setCell(int nCol,
TableCell tc)
Set TableCell object at position nCol.
|
void |
setCellStyle(int nCol,
TableStyle ts)
Set the cell style for the cell at nCol to ts.
|
void |
setStyle(java.lang.String s) |
java.lang.String[] |
toXML()
Write the XML format for this object.
|
public TableCell getCell(int nCol)
nCol
- public void setCell(int nCol, TableCell tc)
nCol
- The column for this celltc
- public void setCell(int nCol, int nValuetype, java.lang.String sValue)
nCol
- The column for this cellnValuetype
- sValue
- public void setCell(int nCol, java.lang.String sValue)
nCol
- The column to setsValue
- The value to be usedpublic void setCellStyle(int nCol, TableStyle ts)
nCol
- The column numberts
- The table style to be usedpublic java.lang.String getStyle()
public void setStyle(java.lang.String s)
public ObjectQueue getCells()
public java.lang.String[] toXML()