nl.gx.webmanager.cms.element
Interface TableRow

All Superinterfaces:
Wrapper

public interface TableRow
extends Wrapper

Representation of table row.


Method Summary
 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, java.lang.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.
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getTableCells

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,
                    java.lang.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 column
content - 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 is Deprecated 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.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.