Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eiklbm.h
Link against: eikcoctl.lib

Class MTextListBoxModel

MTextListBoxModel

Support

Supported from 6.0

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.

Derivation

MListBoxModelList box data model interface
MTextListBoxModelText list box model interface

Defined in MTextListBoxModel:
ItemText(), ~MTextListBoxModel()

Inherited from MListBoxModel:
MatchableTextArray(), NumberOfItems()


Mixin interface


ItemText()

virtual TPtrC ItemText(TInt aItemIndex) const = 0;

Description

Gets the item text for an item by its index. This text, rather than the matcher string, is drawn by CTextListItemDrawers.

Parameters

TInt aItemIndex

Index specifying an item.

Return value

TPtrC

The text for that item.


~MTextListBoxModel()

virtual ~MTextListBoxModel();

Description

Empty virtual destructor.