org.pm4j.core.pm
Interface PmTableGenericRow<T_BACKING_ROW_OBJ>

Type Parameters:
T_BACKING_ROW_OBJ -
All Known Implementing Classes:
PmTableGenericRowImpl, PmTableRowCellsImpl

public interface PmTableGenericRow<T_BACKING_ROW_OBJ>

Provides generic table row information.

The row cells may be obtained as a list or by index.
The order of cells corresponds to the current table column index sequence. See PmTableCol.getColPosAttr().

Author:
olaf boede

Method Summary
 T_BACKING_ROW_OBJ getBackingBean()
          Row content is based on a data object.
This method provides access to the related row data object.
 PmObject getCell(int colIdx)
           
 java.util.List<PmObject> getCells()
           
 PmTable<T_BACKING_ROW_OBJ> getPmTable()
           
 

Method Detail

getPmTable

PmTable<T_BACKING_ROW_OBJ> getPmTable()
Returns:
The table this row belongs to.

getCells

java.util.List<PmObject> getCells()
Returns:
The sorted set of row cells.

getCell

PmObject getCell(int colIdx)
Parameters:
colIdx - Position index of the column to get the cell for.
Returns:
The corresponding row cell.

getBackingBean

T_BACKING_ROW_OBJ getBackingBean()
Row content is based on a data object.
This method provides access to the related row data object.

Returns:
The object that provides the row content.