API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <akngridm.h>
Inherits CTextListBoxModel.
CAknGrid
.
Usually this class object is instantiated automatically during the construction phase of CAknGrid
object.If programmer wants to provide their own model they must instantiate grid model class object of their own and give
it to the CAknGrid
object using the SetModel
function before calling the ConstructL/ConstructFromResourceL
function of CAknGrid
.
Public Member Functions |
|
IMPORT_C | CAknGridM () |
Default C++ constructor. |
|
virtual IMPORT_C | ~CAknGridM () |
Destructor. |
|
virtual IMPORT_C TInt | NumberOfItems () const |
Access to the number of items in the arrays. |
|
virtual IMPORT_C TBool | IndexContainsData (TInt aDataIndex) const |
Tests if the given cell index has data. |
|
virtual IMPORT_C TInt | NumberOfData () const |
Gives the number of data cells in the grid. |
|
IMPORT_C void | SetStartCells (TInt aNumEmpty) |
This function sets the number of empty data cells at the start of the grid. |
|
IMPORT_C TInt | IndexOfFirstDataItem () const |
Gets the index of the first data item in the model. |
|
IMPORT_C TInt | IndexOfLastDataItem () const |
Gets the index of the last data item in the model. |
|
virtual IMPORT_C TPtrC | ItemText (TInt aItemIndex) const |
Gets the text of given index. |
|
Default C++ constructor. |
|
Destructor. |
|
Tests if the given cell index has data.
|
|
Gets the index of the first data item in the model.
|
|
Gets the index of the last data item in the model.
|
|
Gets the text of given index.
No check is made that the item index given is a valid grid index. A check should be made using
Reimplemented from CTextListBoxModel. |
|
Gives the number of data cells in the grid.
|
|
Access to the number of items in the arrays.
Reimplemented from CTextListBoxModel. |
|
This function sets the number of empty data cells at the start of the grid.
|