public interface IPojoGridModel<C> extends IGridModel
Modifier and Type | Method and Description |
---|---|
C |
getCurrentPojo() |
int |
getDataVersion() |
java.util.List<C> |
getDataView() |
C |
getPojo(int rowIndex) |
java.lang.Class<C> |
getPojoType() |
java.lang.String |
getPropertyName(int columnIndex) |
java.lang.Object |
getValue(C pojo,
int columnIndex) |
int |
rowIndexOf(C pojo) |
fetchRows, getColumn, getColumnCount, getColumnGroup, getColumnIndex, getColumnName, getCurrentRow, getCurrentRowCount, getRowCount, getValueAt, isCurrentRowFreezed, setCurrentRow, sync
C getPojo(int rowIndex) throws OutOfBoundsException
rowIndex
- OutOfBoundsException
- - The contract defined in IGridModel.getValueAt(int, int)
must be
respected.int rowIndexOf(C pojo)
pojo
- C getCurrentPojo()
java.lang.Class<C> getPojoType()
java.lang.Object getValue(C pojo, int columnIndex)
pojo
- - the pojo to extract value from.columnIndex
- - the columnIndex which must be mapped to a pojo property
or to a computed value.java.util.List<C> getDataView()
IGridModel.getCurrentRowCount()
.int getDataVersion()
IGridModel.sync()
.java.lang.String getPropertyName(int columnIndex)
columnIndex
-