Package nl.gx.webmanager.cms.element
Interface TableRow
-
- All Superinterfaces:
Wrapper
@Indexable public interface TableRow extends Wrapper
Representation of table row.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getNrColumns()
Returns the total number of cells defined by the TableRow.int
getNrRows()
Deprecated.int
getRowIndex()
Returns the ordering index for this TableRow with respect to the other rows of the TableElement.TableCell[]
getTableCells()
Returns the contents for each of the table cells defined in this table row.boolean
isEmptyRow()
Returns true if the row has no cells or the cells are empty or have spaces.void
setCellContent(int columnIndex, String content)
Sets the indicated cell by row and column index with content.void
setNrRows(int rowcount)
Deprecated.void
setRowIndex(int index)
Sets the ordering index for this TableRow with respect to the other rows of the TableElement.
-
-
-
Method Detail
-
getTableCells
@ReferDocument(inheritLanguage=true) TableCell[] getTableCells()
Returns the contents for each of the table cells defined in this table row.- Returns:
- The contents for each of the table cells defined in this table row.
-
setRowIndex
void setRowIndex(int index)
Sets the ordering index for this TableRow with respect to the other rows of the TableElement.- Parameters:
index
- The index for this TableRow
-
setCellContent
void setCellContent(int columnIndex, String content)
Sets the indicated cell by row and column index with content. Existing content is replaced.- Parameters:
columnIndex
- the zero bound index of the columncontent
- The content
-
getRowIndex
int getRowIndex()
Returns the ordering index for this TableRow with respect to the other rows of the TableElement.- Returns:
- the index for this TableRow
-
setNrRows
@Deprecated void setNrRows(int rowcount)
Deprecated.This method isDeprecated
and does not set anything. In the implementation the value for rowcount is ignored.- Parameters:
rowcount
-
-
getNrRows
@Deprecated int getNrRows()
Deprecated.Returns the total number of rows defined by the TableElement.- Returns:
- The total number of rows defined by the TableElement.
-
getNrColumns
int getNrColumns()
Returns the total number of cells defined by the TableRow.- Returns:
- The total number of cells defined by the TableRow.
-
isEmptyRow
boolean isEmptyRow()
Returns true if the row has no cells or the cells are empty or have spaces.- Returns:
- true if the row has no cells or the cells are empty or have spaces.
-
-