public class Row extends HTMLTag
| Modifier and Type | Method and Description |
|---|---|
void |
addCell(Cell cell)
Adds a cell to the row
|
Cell |
getCell(int column)
Returns the cell in the given column
|
java.util.List<Cell> |
getCells()
Returns a list of the cells in the row
|
int |
getNumColumns()
Returns the number of columns in the row
|
java.lang.String |
getOuterHTML()
Returns the full html for the row.
|
boolean |
hasNonNullCell(int offset)
Returns whether or not there is a non null cell at the given offset
|
(package private) void |
setCell(int offset,
Cell value) |
(package private) void |
setOuterHTML(java.lang.String outerHTML)
Sets the OuterHTML for the object
|
java.lang.String |
toString() |
addAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute@Nullable public java.lang.String getOuterHTML()
void setOuterHTML(@Nullable java.lang.String outerHTML)
outerHTML - The new value for OuterHTMLpublic void addCell(@Nullable Cell cell)
cell - The cell to addpublic boolean hasNonNullCell(int offset)
offset - The offset (0 based) of the columnpublic Cell getCell(int column)
column - The column index (0 based)java.lang.ArrayIndexOutOfBoundsException - If the column index is outside the bounds of the rowpublic int getNumColumns()
@NotNull public java.util.List<Cell> getCells()
@NotNull public java.lang.String toString()
toString in class java.lang.Object