MEikAppUiFactory Class Reference

class MEikAppUiFactory : public MObjectProvider

This class defines a mixin interface to break the dependency of the Uikon Application User Interface on controls.

Inherits from

Public Member Functions
CEikButtonGroupContainer *Cba()
TRect ClientRect()
voidClosePopup(CEikAppUi *)
voidCreateEmbeddedL(CEikonEnv &)
voidCreateHotKeyControlL(TInt, CEikAppUi *)
voidCreateResourceIndependentFurnitureL(CEikAppUi *)
CEikCommandButton *CreateStandardTabButtonL()
voidDestroyEmbedded(CEikonEnv &)
voidDoLaunchPopupL(TInt, const TPoint &, const CEikHotKeyTable *, TPopupTargetPosType, CEikAppUi *)
voidHandleResourceChangeL(TInt)
voidHandleSideBarMenuL(TInt, const TPoint &, const CEikHotKeyTable *, CEikAppUi *)
voidLaunchPopupMenuL(TInt, const TPoint &, TPopupTargetPosType, const CEikHotKeyTable *, CEikAppUi *)
CEikMenuBar *MenuBar()
CEikMenuPane *Popup()
voidReadAppInfoResourceL(TInt, CEikAppUi *)
CEikStatusPane *StatusPane()
voidStopDisplayingMenuBar()
CEikButtonGroupContainer *SwapButtonGroup(CEikButtonGroupContainer *)
CEikMenuBar *SwapMenuBar(CEikMenuBar *)
CEikToolBar *SwapTitleBand(CEikToolBar *)
CEikToolBar *SwapToolBand(CEikToolBar *)
CEikToolBar *TitleBand()
CEikToolBar *ToolBand()
CEikButtonGroupContainer *ToolBar()
Private Member Functions
CEikToolBar *SwapToolBar(CEikToolBar *, TToolBarType)
Inherited Functions
MObjectProvider::FindParent(MObjectProvider *)
MObjectProvider::MObjectProvider()
MObjectProvider::MopGetObject(T *&)
MObjectProvider::MopGetObjectNoChaining(T *&)
Protected Member Enumerations
enumTToolBarType { EBand, ETitle }

Member Functions Documentation

Cba()

CEikButtonGroupContainer *Cba()const [pure virtual]

Gets a pointer to the CBA.

ClientRect()

TRect ClientRect()[pure virtual]

ClosePopup(CEikAppUi *)

voidClosePopup(CEikAppUi *aAppUi)[pure virtual]

Parameters

CEikAppUi * aAppUi

CreateEmbeddedL(CEikonEnv &)

voidCreateEmbeddedL(CEikonEnv &aEikonEnv)[pure virtual]

Parameters

CEikonEnv & aEikonEnv

CreateHotKeyControlL(TInt, CEikAppUi *)

voidCreateHotKeyControlL(TIntaResourceId,
CEikAppUi *aAppUi
)[pure virtual]

Parameters

TInt aResourceId
CEikAppUi * aAppUi

CreateResourceIndependentFurnitureL(CEikAppUi *)

voidCreateResourceIndependentFurnitureL(CEikAppUi *aAppUi)[pure virtual]

Parameters

CEikAppUi * aAppUi

CreateStandardTabButtonL()

CEikCommandButton *CreateStandardTabButtonL()const [pure virtual]

Creates a standard tab button.

DestroyEmbedded(CEikonEnv &)

voidDestroyEmbedded(CEikonEnv &aEikonEnv)[pure virtual]

Parameters

CEikonEnv & aEikonEnv

DoLaunchPopupL(TInt, const TPoint &, const CEikHotKeyTable *, TPopupTargetPosType, CEikAppUi *)

voidDoLaunchPopupL(TIntaResourceId,
const TPoint &aTargetPos,
const CEikHotKeyTable *aHotKeyTable,
TPopupTargetPosTypeaTargetType,
CEikAppUi *aAppUi
)[pure virtual]

Parameters

TInt aResourceId
const TPoint & aTargetPos
const CEikHotKeyTable * aHotKeyTable
TPopupTargetPosType aTargetType
CEikAppUi * aAppUi

HandleResourceChangeL(TInt)

voidHandleResourceChangeL(TIntaType)[pure virtual]

Parameters

TInt aType

HandleSideBarMenuL(TInt, const TPoint &, const CEikHotKeyTable *, CEikAppUi *)

voidHandleSideBarMenuL(TIntaResourceId,
const TPoint &aPos,
const CEikHotKeyTable *aHotKeyTable,
CEikAppUi *aAppUi
)[pure virtual]

Parameters

TInt aResourceId
const TPoint & aPos
const CEikHotKeyTable * aHotKeyTable
CEikAppUi * aAppUi

LaunchPopupMenuL(TInt, const TPoint &, TPopupTargetPosType, const CEikHotKeyTable *, CEikAppUi *)

voidLaunchPopupMenuL(TIntaResourceId,
const TPoint &aTargetPos,
TPopupTargetPosTypeaTargetType,
const CEikHotKeyTable *aHotKeyTable,
CEikAppUi *aAppUi
)[pure virtual]

Parameters

TInt aResourceId
const TPoint & aTargetPos
TPopupTargetPosType aTargetType
const CEikHotKeyTable * aHotKeyTable
CEikAppUi * aAppUi

MenuBar()

CEikMenuBar *MenuBar()const [pure virtual]

Gets a pointer to the menu bar.

Popup()

CEikMenuPane *Popup()const [pure virtual]

ReadAppInfoResourceL(TInt, CEikAppUi *)

voidReadAppInfoResourceL(TIntaResourceFileOffset,
CEikAppUi *aAppUi
)[pure virtual]

Parameters

TInt aResourceFileOffset
CEikAppUi * aAppUi

StatusPane()

CEikStatusPane *StatusPane()const [pure virtual]

Gets a pointer to the status pane.

StopDisplayingMenuBar()

voidStopDisplayingMenuBar()[pure virtual]

SwapButtonGroup(CEikButtonGroupContainer *)

CEikButtonGroupContainer *SwapButtonGroup(CEikButtonGroupContainer *aNewGroup)[pure virtual]

Replaces or clears a button group, returning a pointer to the replaced button group.

Parameters

CEikButtonGroupContainer * aNewGroupThe new button group. This can be NULL to clear an existing button group.

SwapMenuBar(CEikMenuBar *)

CEikMenuBar *SwapMenuBar(CEikMenuBar *aMenu)[pure virtual]

Replaces or clears a menu bar, returning a pointer to the replaced menu bar.

Parameters

CEikMenuBar * aMenuThe new menu bar. This can be NULL to clear an existing menu bar.

SwapTitleBand(CEikToolBar *)

CEikToolBar *SwapTitleBand(CEikToolBar *aTitleBand)[inline]

Replaces or clears a title band, returning a pointer to the replaced title band.

Parameters

CEikToolBar * aTitleBandThe new title band. This can be NULL to clear an existing title band.

SwapToolBand(CEikToolBar *)

CEikToolBar *SwapToolBand(CEikToolBar *aToolBand)[inline]

Replaces or clears a tool band, returning a pointer to the replaced tool band.

Parameters

CEikToolBar * aToolBandThe new tool band. This can be NULL to clear an existing tool band.

SwapToolBar(CEikToolBar *, TToolBarType)

CEikToolBar *SwapToolBar(CEikToolBar *aToolBar,
TToolBarTypeaType
)[private, pure virtual]

Parameters

CEikToolBar * aToolBar
TToolBarType aType

TitleBand()

CEikToolBar *TitleBand()const [pure virtual]

Gets a pointer to the title band.

ToolBand()

CEikToolBar *ToolBand()const [pure virtual]

Gets a pointer to the tool band.

ToolBar()

CEikButtonGroupContainer *ToolBar()const [pure virtual]

Gets a pointer to the tool bar.

Member Enumerations Documentation

Enum TToolBarType

Defines the type of tool bar.

Enumerators

EBand

Defines a band tool bar.

ETitle

Defines a title tool bar.