MTextListBoxModel Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib

Capability Information

Required Capabilities

None


#include <eiklbm.h>

Inherits MListBoxModel.

Inherited by CTextListBoxModel.


Detailed Description

Text list box model interface.

Text list box models provide the text of the items which are drawn by an associated CTextListItemDrawer. This interface is implemented by CTextListBoxModel.


Public Member Functions

IMPORT_C  ~MTextListBoxModel ()
  Destructor.
virtual TPtrC  ItemText (TInt aItemIndex) const =0
  Gets the item text for an item by its index.

Constructor & Destructor Documentation

IMPORT_C MTextListBoxModel::~MTextListBoxModel  ) 
 

Destructor.


Member Function Documentation

virtual TPtrC MTextListBoxModel::ItemText TInt  aItemIndex  )  const [pure virtual]
 

Gets the item text for an item by its index.

This text, rather than the matcher string, is drawn by CTextListItemDrawers.

Parameters:
aItemIndex  Index specifying an item.
Returns:
The text for that item.

Implemented in CAknGridM, CAknFilteredTextListBoxModel, and CTextListBoxModel.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top