API published in: S60 1st Ed
Link against: avkon.lib eikctl.lib eikcoctl.lib
Required Capabilities
None
#include <eiktxlbm.h>
Inherits MTextListBoxModel.
Inherited by CAknFilteredTextListBoxModel, and CAknGridM.
Public Member Functions |
|
IMPORT_C | CTextListBoxModel () |
Default constructor. |
|
virtual IMPORT_C | ~CTextListBoxModel () |
destructor |
|
virtual IMPORT_C TInt | NumberOfItems () const |
Gets the number of text items in this list box model. |
|
virtual IMPORT_C const MDesCArray * | MatchableTextArray () const |
Gets an array of strings for incremental matching of typed characters. |
|
virtual IMPORT_C TPtrC | ItemText (TInt aItemIndex) const |
Gets the text to be displayed in the list box control for the specified item. |
|
virtual IMPORT_C void | ConstructL (MDesCArray *aItemTextArray=NULL, TListBoxModelItemArrayOwnership aOwnershipType=ELbmOwnsItemArray) |
Second-phase constructor. |
|
IMPORT_C void | SetItemTextArray (MDesCArray *aItemTextArray) |
Sets a new text item array. |
|
IMPORT_C void | SetOwnershipType (TListBoxModelItemArrayOwnership aOwnershipType) |
Sets the item array ownership type. |
|
IMPORT_C MDesCArray * | ItemTextArray () const |
The array of text items modelled by this text list box model. |
|
Protected Member Functions |
|
IMPORT_C TListBoxModelItemArrayOwnership | ItemArrayOwnershipType () const |
Gets the item array ownership type. |
|
Protected Attributes |
|
MDesCArray * | iItemTextArray |
The array of text items modelled by this text list box model. |
|
Default constructor. |
|
destructor |
|
Second-phase constructor. This function completes construction of a default-constructed CTextListBoxModel, initialising any members which are stored on the heap. Whether ownership of the array is taken depends on the value of the TListBoxModelItemArrayOwnership enum.
|
|
Gets the item array ownership type.
|
|
Gets the text to be displayed in the list box control for the specified item.
Implements MTextListBoxModel. Reimplemented in CAknGridM, and CAknFilteredTextListBoxModel. |
|
The array of text items modelled by this text list box model.
|
|
Gets an array of strings for incremental matching of typed characters. For the text list box model, these strings are those that are displayed (see ItemText()).
Implements MListBoxModel. Reimplemented in CAknFilteredTextListBoxModel. |
|
Gets the number of text items in this list box model.
Implements MListBoxModel. Reimplemented in CAknGridM, and CAknFilteredTextListBoxModel. |
|
Sets a new text item array. Panics if aItemTextArray is NULL.
|
|
Sets the item array ownership type.
|
|
The array of text items modelled by this text list box model. |