MListBoxModel Class Reference

API published in: S60 1st Ed

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

Capability Information

Required Capabilities

None


#include <eiklbm.h>

Inherited by MTextListBoxModel.


Detailed Description

Description List box data model interface.

This mixin protocol is implemented by all list box models. List box models provide information needed to display the required data in a list box.

Writing derived classes:

This class should be implemented by anything providing data for display in a CEikListBox-derived class. The very basic interface offered by MListBoxModel is usually expanded upon to provide more information for the specialised subclasses of CEikListBox. It is usual when deriving specialised list boxes to subclass the list box class, its view classes and its model together. See also:


Public Member Functions

virtual IMPORT_C  ~MListBoxModel ()
  Destructor.
virtual TInt  NumberOfItems () const =0
  Gets the number of items in the list box.
virtual const MDesCArray *  MatchableTextArray () const =0
  Gets an array of strings used by the list box for matching user keypresses incrementally.

Constructor & Destructor Documentation

virtual IMPORT_C MListBoxModel::~MListBoxModel  )  [virtual]
 

Destructor.


Member Function Documentation

virtual const MDesCArray* MListBoxModel::MatchableTextArray  )  const [pure virtual]
 

Gets an array of strings used by the list box for matching user keypresses incrementally.

Returns:
A pointer to the array.

Implemented in CAknFilteredTextListBoxModel, and CTextListBoxModel.

virtual TInt MListBoxModel::NumberOfItems  )  const [pure virtual]
 

Gets the number of items in the list box.

Returns:
Number of items.

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