|
||
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()const
Gets the number of columns in the grid.EDefaultColumnExtent
The number of columns returned by the default implementation of MGridTable::Colu...EDefaultRowExtent
The number of rows returned by the default implementation of MGridTable::RowExte...RequestRow(TInt,TInt &)const
Translates a requested row.RowExtent()const
Gets the number of rows in the grid.anonymous
IMPORT_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
|