CGSItemTextArray Class Reference
class CGSItemTextArray : public CBase |
Constructor & Destructor Documentation
CGSItemTextArray()
CGSItemTextArray | ( | ) | [protected] |
Member Functions Documentation
CompareEntries(const CGSListboxEntry &, const CGSListboxEntry &)
ConstructL(TUint32, CCoeEnv &)
ConstructL(TUint32, CCoeEnv &, TInt)
CurrentFeature()
IMPORT_C TInt | CurrentFeature | ( | ) | const [virtual] |
Access the id of the currently selected feature
FeatureIdByIndex(TInt)
IMPORT_C TInt | FeatureIdByIndex | ( | TInt | aIndex | ) | const |
Returns the feature id corresponding to an index
GetItemCaptionFromFeatureIdLC(TUint32, TInt, CCoeEnv &)
IndexForFeatureIdL(TInt)
IMPORT_C TInt | IndexForFeatureIdL | ( | TInt | aFeatureId | ) | const |
Set the currently selected feature id
MdcaCount()
IMPORT_C TInt | MdcaCount | ( | ) | const |
SetDynamicTextDoublePaneL(TInt, const TDesC &)
IMPORT_C void | SetDynamicTextDoublePaneL | ( | TInt | aFeatureId, |
| const TDesC & | aAdditionalText |
| ) | |
Used to add dynamic text to the end of an existing model item When Double Pane List box is used CAknDoubleStyleListBox
Parameters
TInt aFeatureId | |
const TDesC & aAdditionalText | |
SetDynamicTextL(TInt, const TDesC &)
IMPORT_C void | SetDynamicTextL | ( | TInt | aFeatureId, |
| const TDesC & | aAdditionalText |
| ) | |
Used to add dynamic text to the end of an existing model item
Parameters
TInt aFeatureId | |
const TDesC & aAdditionalText | |
SetItemVisibilityL(TInt, TVisibility)
Specify that this item should be visible / invisible in the iCurrentlyDisplayedEntries array
Member Enumerations Documentation
Enum TVisibility
Enumerators
EInvisible = 0 | |
EVisible = 1 | |
Member Data Documentation
RPointerArray< CGSListboxEntry > iAllEntries
All the entries which may potentially be contained within the listbox model. This array is owned and destroyed by this class.
RPointerArray< CGSListboxEntry > iCurrentlyDisplayedEntries
The entries which are currently displayed within the listbox. These pointers are actually owned in the iAllEntries array and therefore this array must not be 'ResetAndDestroyed()' (but rather just Reset()) from within this class' destructor.
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.