class CLmkSelectorDialog : public CAknSelectionListDialog |
CLmkSelectorDialog class
Public Member Functions | |
---|---|
~CLmkSelectorDialog() | |
TInt | CurrentItemIndex() |
void | EnableLeftSoftKey(TBool) |
CAknSearchField * | FindBox() |
void | HandleListProviderError(TInt) |
void | HandleListProviderEvent(TLmkListProviderEventType) |
void | HandleResourceChange(TInt) |
TBool | HasFindBox() |
CEikListBox * | ListBox() |
void | MakeEmptyTextListBoxL(TInt, TInt, TBool) |
CLmkSelectorDialog * | NewL(TInt &, MDesCArray *, TInt, MEikCommandObserver *, MLmkListMemento *, CLmkListProviderBase *) |
TInt | NumberOfItems() |
void | PrepareLC(TInt) |
const CArrayFix< TInt > * | SelectionIndexes() |
void | SetDlgEmptyResource(TInt, TInt) |
void | SetHelpContext(TCoeHelpContext) |
void | SetNavigationObserver(MLmkNavigationObserver &) |
void | ShowFindBox(TBool) |
void | UpdateMskL() |
Protected Member Functions | |
---|---|
CLmkSelectorDialog(TInt &, MDesCArray *, MEikCommandObserver *, MLmkListMemento *, CLmkListProviderBase *) | |
void | GetHelpContext(TCoeHelpContext &) |
TKeyResponse | KeyEventForNavigationL(const TKeyEvent &, TEventCode) |
TKeyResponse | OfferKeyEventL(const TKeyEvent &, TEventCode) |
TBool | OkToExitL(TInt) |
void | PostLayoutDynInitL() |
void | PreLayoutDynInitL() |
Private Member Functions | |
---|---|
void | ConstructL(TInt) |
void | SetCbaResourceAndCommandId(TInt) |
Inherited Enumerations | |
---|---|
CAknSelectionListDialog:TFindType | |
CCoeControl:TZoomType |
Inherited Attributes | |
---|---|
CAknDialog::iMenuBar | |
CAknSelectionListDialog::iEnterKeyPressed | |
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize | |
CEikBorderedControl::iBorder |
CLmkSelectorDialog | ( | TInt & | aOpenedItemIndex, |
MDesCArray * | aLbModel, | ||
MEikCommandObserver * | aCmdObserver, | ||
MLmkListMemento * | aMemento = NULL, | ||
CLmkListProviderBase * | aListProvider = NULL | ||
) | [protected] |
C++ default constructor.
TInt & aOpenedItemIndex | |
MDesCArray * aLbModel | |
MEikCommandObserver * aCmdObserver | |
MLmkListMemento * aMemento = NULL | |
CLmkListProviderBase * aListProvider = NULL |
void | ConstructL | ( | TInt | aMenuBarResourceId | ) | [private] |
By default Symbian 2nd phase constructor is private.
TInt aMenuBarResourceId |
void | EnableLeftSoftKey | ( | TBool | aEnable | ) |
Enables or Disables left softkey
TBool aEnable | ETrue for visible, EFalse for invisible |
void | GetHelpContext | ( | TCoeHelpContext & | aContext | ) | const [protected, virtual] |
TCoeHelpContext & aContext |
void | HandleListProviderEvent | ( | TLmkListProviderEventType | aEvent | ) |
TLmkListProviderEventType aEvent |
void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
From CCoeControl.
Handles a change to the control's resources.
The types of resources handled are those which are shared across the environment, e.g. colours or fonts. For colour scheme changes, DrawDeferred() is called in order to redraw the control.
If overriding HandleResourceChange(), the implementation must include a base call to CCoeControl's HandleResourceChange().
TInt aType | A message UID value. |
TKeyResponse | KeyEventForNavigationL | ( | const TKeyEvent & | aKeyEvent, |
TEventCode | aType | |||
) | [protected] |
Internal method which notifies navigation observer if key event is navigation event.
const TKeyEvent & aKeyEvent | |
TEventCode aType |
void | MakeEmptyTextListBoxL | ( | TInt | aResourcePrimText, |
TInt | aResourceSecText, | |||
TBool | aRequestFromFindBox = EFalse | |||
) | const |
CLmkSelectorDialog * | NewL | ( | TInt & | aOpenedItemIndex, |
MDesCArray * | aLbModel, | |||
TInt | aMenuBarResourceId, | |||
MEikCommandObserver * | aCmdObserver, | |||
MLmkListMemento * | aMemento = NULL, | |||
CLmkListProviderBase * | aListProvider = NULL | |||
) | [static] |
Two-phased constructor.
TInt & aOpenedItemIndex | |
MDesCArray * aLbModel | listbox model, ownership is not transferred |
TInt aMenuBarResourceId | |
MEikCommandObserver * aCmdObserver | |
MLmkListMemento * aMemento = NULL | |
CLmkListProviderBase * aListProvider = NULL |
TKeyResponse | OfferKeyEventL | ( | const TKeyEvent & | aKeyEvent, |
TEventCode | aType | |||
) | [protected, virtual] |
const TKeyEvent & aKeyEvent | |
TEventCode aType |
TBool | OkToExitL | ( | TInt | aButtonId | ) | [protected, virtual] |
OkToExitL() From CAknDialog. This is not called if the Cancel button is activated unless the EEikDialogFlagNotifyEsc flag has been set.
TInt aButtonId | The ID of the button that was activated. |
void | PrepareLC | ( | TInt | aResourceId | ) | [virtual] |
From CEikDialog.
Prepares the dialog, by constructing it from the specified resource.
TInt aResourceId | The resource ID of the dialog. |
const CArrayFix< TInt > * | SelectionIndexes | ( | ) | const |
Selection indexes. This class does not support multiselection, subclasses may support.
void | SetCbaResourceAndCommandId | ( | TInt | aaDlgResourceId | ) | [private] |
TInt aaDlgResourceId |
void | SetDlgEmptyResource | ( | TInt | aEmptyPrimLabel, |
TInt | aEmptySecLabel | |||
) |
Stores the empty dialog label
void | SetHelpContext | ( | TCoeHelpContext | aContext | ) |
Set help context.
TCoeHelpContext aContext |
void | SetNavigationObserver | ( | MLmkNavigationObserver & | aObserver | ) |
Set observer for navigation events.
MLmkNavigationObserver & aObserver |
void | ShowFindBox | ( | TBool | aVisible | ) |
Enable/Disable the find box in list dialog.
TBool aVisible |
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.