CAknFilteredTextListBoxModel Class Reference
API published in: S60 1st Ed
Link against: avkon.lib eikcore.lib
Capability Information
Required Capabilities
None
#include <aknutils.h>
Inherits CTextListBoxModel.
Detailed Description
This class shows how application should build its model for filtered items.
Application should not use this directly, if it has it's own model or if there's any special things needed for MatchableTextArray
. Application can derive from this though. All listboxes use CAknFilteredTextListBoxModel
by default. CreateFilter()
call enables it.
Constructor & Destructor Documentation
IMPORT_C CAknFilteredTextListBoxModel::~CAknFilteredTextListBoxModel |
( |
|
) |
|
|
Member Function Documentation
|
Creates a CAknListBoxFilterItems and thus enables filtering of list items.
- Parameters:
-
|
aListBox
|
List box from which one or more items can be selected. |
|
aSearchField
|
Search field control. |
|
|
Access function for the filter.
- Returns:
- Pointer to the listbox filter.
|
virtual IMPORT_C TPtrC CAknFilteredTextListBoxModel::ItemText |
( |
TInt |
aItemIndex
|
) |
const [virtual] |
|
|
Returns the text of the specified item.
- Parameters:
-
|
aItemIndex
|
Index to the item. |
- Returns:
- The text of item in given index.
Reimplemented from CTextListBoxModel.
|
IMPORT_C const MDesCArray* CAknFilteredTextListBoxModel::MatchableTextArray |
( |
|
) |
const [virtual] |
|
virtual IMPORT_C TInt CAknFilteredTextListBoxModel::NumberOfItems |
( |
|
) |
const [virtual] |
|
IMPORT_C void CAknFilteredTextListBoxModel::RemoveFilter |
( |
|
) |
|
|
|
removes previously added filter from model
|
The documentation for this class was generated from the following file: