MEikAppUiFactory Class Reference

#include <mw/eikaufty.h>

class MEikAppUiFactory : public MObjectProvider

Inherits from

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

Detailed Description

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

Member Enumeration Documentation

Enum TToolBarType

Defines the type of tool bar.

EnumeratorValueDescription
EBand

Defines a band tool bar.

ETitle

Defines a title tool bar.

Member Function Documentation

Cba ( )

CEikButtonGroupContainer *Cba()const [pure virtual]

Gets a pointer to the CBA.

Return Value
Pointer to the CBA

ClientRect ( )

TRect ClientRect()[pure virtual]

ClosePopup ( CEikAppUi * )

voidClosePopup(CEikAppUi *aAppUi)[pure virtual]

CreateEmbeddedL ( CEikonEnv & )

voidCreateEmbeddedL(CEikonEnv &aEikonEnv)[pure virtual]

CreateHotKeyControlL ( TInt, CEikAppUi * )

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

CreateResourceIndependentFurnitureL ( CEikAppUi * )

voidCreateResourceIndependentFurnitureL(CEikAppUi *aAppUi)[pure virtual]

CreateStandardTabButtonL ( )

CEikCommandButton *CreateStandardTabButtonL()const [pure virtual]

Creates a standard tab button.

Return Value
Pointer to the created tab button.

DestroyEmbedded ( CEikonEnv & )

voidDestroyEmbedded(CEikonEnv &aEikonEnv)[pure virtual]

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

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

HandleResourceChangeL ( TInt )

voidHandleResourceChangeL(TIntaType)[pure virtual]

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

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

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

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

MenuBar ( )

CEikMenuBar *MenuBar()const [pure virtual]

Gets a pointer to the menu bar.

Return Value
Pointer to the menu bar.

Popup ( )

CEikMenuPane *Popup()const [pure virtual]

ReadAppInfoResourceL ( TInt, CEikAppUi * )

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

StatusPane ( )

CEikStatusPane *StatusPane()const [pure virtual]

Gets a pointer to the status pane.

Return Value
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
aNewGroupThe new button group. This can be NULL to clear an existing button group.
Return Value
Pointer to the replaced 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
aMenuThe new menu bar. This can be NULL to clear an existing menu bar.
Return Value
Pointer to the replaced menu bar.

SwapTitleBand ( CEikToolBar * )

CEikToolBar *SwapTitleBand(CEikToolBar *aTitleBand)[inline]

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

Parameters
aTitleBandThe new title band. This can be NULL to clear an existing title band.
Return Value
Pointer to the replaced title band.

SwapToolBand ( CEikToolBar * )

CEikToolBar *SwapToolBand(CEikToolBar *aToolBand)[inline]

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

Parameters
aToolBandThe new tool band. This can be NULL to clear an existing tool band.
Return Value
Pointer to the replaced tool band.

TitleBand ( )

CEikToolBar *TitleBand()const [pure virtual]

Gets a pointer to the title band.

Return Value
Pointer to the title band.

ToolBand ( )

CEikToolBar *ToolBand()const [pure virtual]

Gets a pointer to the tool band.

Return Value
Pointer to the tool band.

ToolBar ( )

CEikButtonGroupContainer *ToolBar()const [pure virtual]

Gets a pointer to the tool bar.

Return Value
Pointer to the tool bar.