|
|
|
class MGridTable;
An interface that can be implemented to provide row and column information.
Note that for grids that have indefinite row boundaries, an implementation is mandatory.
A concrete implementation is passed to a CGridLay object through its CGridLay::ConstructL(CGridLay *,CGridImg *) functions or its CGridLay::SetGridTable(const MGridTable *) function.
Defined in MGridTable:
ColumnExtent()constGets the number of columns in the grid.EDefaultColumnExtentThe number of columns returned by the default implementation of MGridTable::Colu...EDefaultRowExtentThe number of rows returned by the default implementation of MGridTable::RowExte...RequestRow(TInt,TInt &)constTranslates a requested row.RowExtent()constGets the number of rows in the grid.anonymousIMPORT_C virtual TBool RequestRow(TInt aRow, TInt &aReturnRow) const;
Translates a requested row.
Typically, the function is called by grid before it attempts a redraw in order to determine how many rows can be drawn. For example, if a request for row 16 were to be translated as row 11, then it would imply that there are only 11 rows in this rowset, and cause grid to draw accordingly.
An implementation must be provided for grids that have indefinite row boundaries.
The default implementation raises a panic.
|
|
|
IMPORT_C virtual TInt RowExtent() const;
Gets the number of rows in the grid.
|
IMPORT_C virtual TInt ColumnExtent() const;
Gets the number of columns in the grid.
|
n/a
|