RECORD
- public class RichFacesDataGrid<RECORD> extends Object implements DataGrid<RECORD>, AdvancedVisibleComponentIteractions<RichFacesDataGrid.AdvancedDataGridInteractions>
Be aware, that this class is not intended to be used directly (injected into the test with @FindBy), but to be extended so the generic types are substituted with a regular type representing particular part of the grid.
Modifier and Type | Class and Description |
---|---|
class |
RichFacesDataGrid.AdvancedDataGridInteractions |
Constructor and Description |
---|
RichFacesDataGrid() |
Modifier and Type | Method and Description |
---|---|
RichFacesDataGrid.AdvancedDataGridInteractions |
advanced() |
List<RECORD> |
getAllVisibleRecords()
Returns all records currently rendered in this grid.
|
int |
getNumberOfColumns()
Returns number of the columns in this data grid.
|
int |
getNumberOfRecords()
Returns number of records on the current page.
|
int |
getNumberOfRows()
Returns number of the rows in this data grid.
|
RECORD |
getRecord(int n)
Return a particular record from actual page.
|
protected Class<RECORD> |
getRecordClass() |
List<RECORD> |
getRecordsInRow(int rowIndex)
Returns all RECORDs in a particular row.
|
public List<RECORD> getRecordsInRow(int rowIndex)
DataGrid
getRecordsInRow
in interface DataGrid<RECORD>
rowIndex
- zero based index of the row, from which all records will be returnedpublic RECORD getRecord(int n)
DataGrid
public int getNumberOfRows()
DataGrid
getNumberOfRows
in interface DataGrid<RECORD>
public int getNumberOfColumns()
DataGrid
getNumberOfColumns
in interface DataGrid<RECORD>
public int getNumberOfRecords()
DataGrid
getNumberOfRecords
in interface DataGrid<RECORD>
public List<RECORD> getAllVisibleRecords()
DataGrid
getAllVisibleRecords
in interface DataGrid<RECORD>
public RichFacesDataGrid.AdvancedDataGridInteractions advanced()
advanced
in interface AdvancedInteractions<RichFacesDataGrid.AdvancedDataGridInteractions>
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.