CTextListBoxModel Class Reference
class CTextListBoxModel : public CBase
|
Constructor & Destructor Documentation
CTextListBoxModel()
IMPORT_C
|
CTextListBoxModel
|
(
|
)
|
|
~CTextListBoxModel()
IMPORT_C
|
~CTextListBoxModel
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL(MDesCArray *, TListBoxModelItemArrayOwnership)
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.
Parameters
MDesCArray * aItemTextArray = NULL
|
The item array.
|
TListBoxModelItemArrayOwnership
aOwnershipType = ELbmOwnsItemArray
|
Whether or not to take ownership of the array.
|
ItemArrayOwnershipType()
Gets the item array ownership type.
ItemText(TInt)
IMPORT_C
TPtrC
|
ItemText
|
(
|
TInt
|
aItemIndex
|
)
|
const [virtual]
|
Gets the text to be displayed in the list box control for the specified item.
Parameters
TInt
aItemIndex
|
Index of an item.
|
ItemTextArray()
IMPORT_C MDesCArray *
|
ItemTextArray
|
(
|
)
|
const
|
The array of text items modelled by this text list box model.
MListBoxModel_Reserved()
IMPORT_C
TAny
*
|
MListBoxModel_Reserved
|
(
|
)
|
[private, virtual]
|
MatchableTextArray()
IMPORT_C const MDesCArray *
|
MatchableTextArray
|
(
|
)
|
const [virtual]
|
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()
).
NumberOfItems()
IMPORT_C
TInt
|
NumberOfItems
|
(
|
)
|
const [virtual]
|
Gets the number of text items in this list box model.
SetItemTextArray(MDesCArray *)
IMPORT_C void
|
SetItemTextArray
|
(
|
MDesCArray *
|
aItemTextArray
|
)
|
|
Sets a new text item array. Panics if aItemTextArray is NULL.
Parameters
MDesCArray * aItemTextArray
|
New item text array.
|
SetOwnershipType(TListBoxModelItemArrayOwnership)
Sets the item array ownership type.
Member Data Documentation
TListBoxModelItemArrayOwnership
iItemArrayOwnershipType
MDesCArray * iItemTextArray
MDesCArray *
|
iItemTextArray
|
[protected]
|
The array of text items modelled by this text list box model.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.