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 ()
void ClosePopup ( CEikAppUi *)
void CreateEmbeddedL ( CEikonEnv &)
void CreateHotKeyControlL ( TInt , CEikAppUi *)
void CreateResourceIndependentFurnitureL ( CEikAppUi *)
CEikCommandButton * CreateStandardTabButtonL ()
void DestroyEmbedded ( CEikonEnv &)
void DoLaunchPopupL ( TInt , const TPoint &, const CEikHotKeyTable *, TPopupTargetPosType , CEikAppUi *)
void HandleResourceChangeL ( TInt )
void HandleSideBarMenuL ( TInt , const TPoint &, const CEikHotKeyTable *, CEikAppUi *)
void LaunchPopupMenuL ( TInt , const TPoint &, TPopupTargetPosType , const CEikHotKeyTable *, CEikAppUi *)
CEikMenuBar * MenuBar ()
CEikMenuPane * Popup ()
void ReadAppInfoResourceL ( TInt , CEikAppUi *)
CEikStatusPane * StatusPane ()
void StopDisplayingMenuBar ()
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
enum TToolBarType { EBand , ETitle }

Member Functions Documentation

Cba()

CEikButtonGroupContainer * Cba ( ) const [pure virtual]

Gets a pointer to the CBA.

ClientRect()

TRect ClientRect ( ) [pure virtual]

ClosePopup(CEikAppUi *)

void ClosePopup ( CEikAppUi * aAppUi ) [pure virtual]

Parameters

CEikAppUi * aAppUi

CreateEmbeddedL(CEikonEnv &)

void CreateEmbeddedL ( CEikonEnv & aEikonEnv ) [pure virtual]

Parameters

CEikonEnv & aEikonEnv

CreateHotKeyControlL(TInt, CEikAppUi *)

void CreateHotKeyControlL ( TInt aResourceId,
CEikAppUi * aAppUi
) [pure virtual]

Parameters

TInt aResourceId
CEikAppUi * aAppUi

CreateResourceIndependentFurnitureL(CEikAppUi *)

void CreateResourceIndependentFurnitureL ( CEikAppUi * aAppUi ) [pure virtual]

Parameters

CEikAppUi * aAppUi

CreateStandardTabButtonL()

CEikCommandButton * CreateStandardTabButtonL ( ) const [pure virtual]

Creates a standard tab button.

DestroyEmbedded(CEikonEnv &)

void DestroyEmbedded ( CEikonEnv & aEikonEnv ) [pure virtual]

Parameters

CEikonEnv & aEikonEnv

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

void DoLaunchPopupL ( TInt aResourceId,
const TPoint & aTargetPos,
const CEikHotKeyTable * aHotKeyTable,
TPopupTargetPosType aTargetType,
CEikAppUi * aAppUi
) [pure virtual]

Parameters

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

HandleResourceChangeL(TInt)

void HandleResourceChangeL ( TInt aType ) [pure virtual]

Parameters

TInt aType

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

void HandleSideBarMenuL ( TInt aResourceId,
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 *)

void LaunchPopupMenuL ( TInt aResourceId,
const TPoint & aTargetPos,
TPopupTargetPosType aTargetType,
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 *)

void ReadAppInfoResourceL ( TInt aResourceFileOffset,
CEikAppUi * aAppUi
) [pure virtual]

Parameters

TInt aResourceFileOffset
CEikAppUi * aAppUi

StatusPane()

CEikStatusPane * StatusPane ( ) const [pure virtual]

Gets a pointer to the status pane.

StopDisplayingMenuBar()

void StopDisplayingMenuBar ( ) [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 * aNewGroup The 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 * aMenu The 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 * aTitleBand The 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 * aToolBand The new tool band. This can be NULL to clear an existing tool band.

SwapToolBar(CEikToolBar *, TToolBarType)

CEikToolBar * SwapToolBar ( CEikToolBar * aToolBar,
TToolBarType aType
) [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.