CAknSettingItemArray Class Reference
#include
<mw/aknsettingitemlist.h>
class CAknSettingItemArray : public CArrayPtrFlat< CAknSettingItem > |
Inherited Functions |
---|
| CArrayFix< CAknSettingItem * >::AppendL(const CAknSettingItem *&) |
| CArrayFix< CAknSettingItem * >::AppendL(const CAknSettingItem *&,TInt) |
| CArrayFix< CAknSettingItem * >::AppendL(const CAknSettingItem **,TInt) |
| CArrayFix< CAknSettingItem * >::Array()const |
| CArrayFix< CAknSettingItem * >::At(TInt) |
| CArrayFix< CAknSettingItem * >::At(TInt)const |
| CArrayFix< CAknSettingItem * >::Back(TInt) |
| CArrayFix< CAknSettingItem * >::Back(TInt)const |
| CArrayFix< CAknSettingItem * >::CArrayFix(TBufRep,TInt) |
| CArrayFix< CAknSettingItem * >::End(TInt) |
| CArrayFix< CAknSettingItem * >::End(TInt)const |
| CArrayFix< CAknSettingItem * >::ExpandL(TInt) |
| CArrayFix< CAknSettingItem * >::ExtendL() |
| CArrayFix< CAknSettingItem * >::Find(const CAknSettingItem *&,TKeyArrayFix &,TInt &)const |
| CArrayFix< CAknSettingItem * >::FindIsq(const CAknSettingItem *&,TKeyArrayFix &,TInt &)const |
| CArrayFix< CAknSettingItem * >::InsertIsqAllowDuplicatesL(const CAknSettingItem *&,TKeyArrayFix &) |
| CArrayFix< CAknSettingItem * >::InsertIsqL(const CAknSettingItem *&,TKeyArrayFix &) |
| CArrayFix< CAknSettingItem * >::InsertL(TInt,const CAknSettingItem *&) |
| CArrayFix< CAknSettingItem * >::InsertL(TInt,const CAknSettingItem *&,TInt) |
| CArrayFix< CAknSettingItem * >::InsertL(TInt,const CAknSettingItem **,TInt) |
| CArrayFix< CAknSettingItem * >::ResizeL(TInt) |
| CArrayFix< CAknSettingItem * >::ResizeL(TInt,const CAknSettingItem *&) |
| CArrayFix< CAknSettingItem * >::operator[](TInt) |
| CArrayFix< CAknSettingItem * >::operator[](TInt)const |
| CArrayFixBase::AtR(const CBase *,TInt) |
| CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt) |
| CArrayFixBase::Compress() |
| CArrayFixBase::Count()const |
| CArrayFixBase::CountR(const CBase *) |
| CArrayFixBase::Delete(TInt) |
| CArrayFixBase::Delete(TInt,TInt) |
| CArrayFixBase::Find(const TAny *,TKeyArrayFix &,TInt &)const |
| CArrayFixBase::FindIsq(const TAny *,TKeyArrayFix &,TInt &)const |
| CArrayFixBase::InsertIsqAllowDuplicatesL(const TAny *,TKeyArrayFix &) |
| CArrayFixBase::InsertIsqL(const TAny *,TKeyArrayFix &) |
| CArrayFixBase::InsertL(TInt,const TAny *) |
| CArrayFixBase::InsertL(TInt,const TAny *,TInt) |
| CArrayFixBase::InsertRepL(TInt,const TAny *,TInt) |
| CArrayFixBase::Length()const |
| CArrayFixBase::Reset() |
| CArrayFixBase::ResizeL(TInt,const TAny *) |
| CArrayFixBase::SetKey(TKeyArrayFix &)const |
| CArrayFixBase::SetReserveFlatL(TInt) |
| CArrayFixBase::Sort(TKeyArrayFix &) |
| CArrayFixBase::~CArrayFixBase() |
| CArrayPtr< CAknSettingItem >::CArrayPtr(TBufRep,TInt) |
| CArrayPtr< CAknSettingItem >::ResetAndDestroy() |
| CArrayPtrFlat< CAknSettingItem >::CArrayPtrFlat(TInt) |
| CArrayPtrFlat< CAknSettingItem >::SetReserveL(TInt) |
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
Detailed Description
This class holds the setting items themselves and also manages the bitmap array
Constructor & Destructor Documentation
CAknSettingItemArray ( TInt, TBool, TInt )
IMPORT_C | CAknSettingItemArray | ( | TInt | aGranularity, |
| TBool | aIsNumbered, |
| TInt | aInitialOrdinal |
| ) | |
Parameter | Description | aGranularity | - number of items to extend when the aarray needs extention |
aIsNumbered | - flags the array as numbered or not |
aInitialOrdinal | - value to start the numbering at |
~CAknSettingItemArray ( )
IMPORT_C | ~CAknSettingItemArray | ( | ) | [virtual] |
Member Function Documentation
ItemIndexFromVisibleIndex ( TInt )
IMPORT_C TInt | ItemIndexFromVisibleIndex | ( | TInt | aVisibleIndex | ) | const |
This method returns the true index in the array given the index as would be calculated by looking at the visible items.
Parameter | Description | aVisibleIndex | - index among the visible items |
Returns: the corresponding "true" index in the array
MdcaCount ( )
IMPORT_C TInt | MdcaCount | ( | ) | const |
Returns: number of items in the array
MdcaPoint ( TInt )
Method by which the setting item list accesses the text for the aIndex-th item in the array.
Parameter | Description | aIndex | index at which to access the listbox text |
Returns: Descriptor for this item to be used by the listbox.
RecalculateVisibleIndicesL ( )
IMPORT_C void | RecalculateVisibleIndicesL | ( | ) | [virtual] |
Update date the mapping of visible indices. To be called when an item is made visible or invisible.
SetFlags ( TInt )
IMPORT_C void | SetFlags | ( | TInt | aFlags | ) | |
SetInitialOrdinal ( TInt )
IMPORT_C void | SetInitialOrdinal | ( | TInt | aInitialOrdinal | ) | |
This is used to update the initial setting number for the top index. The number set is the for the 0-th "true" or data index. That is, this numbered item may not show up
SetVisibleCount ( TInt )
IMPORT_C void | SetVisibleCount | ( | TInt | aCount | ) | [protected] |
Set the number of visible items.
Parameter | Description | aCount | number of items that are visible. |
VisibleCount ( )
IMPORT_C TInt | VisibleCount | ( | ) | const [protected] |
Returns the number of visible items
Returns: the number of visible items