CAknNavigationControlContainer Class Reference

class CAknNavigationControlContainer : public CAknControl

A default control in the status pane's navigation pane.

Inherits from

Public Member Functions
CAknNavigationControlContainer()
~CAknNavigationControlContainer()
IMPORT_C TIntColorScheme()
IMPORT_C voidConstructFromResourceL(TResourceReader &)
IMPORT_C voidConstructL()
IMPORT_C CAknNavigationDecorator *ConstructNavigationDecoratorFromResourceL(TResourceReader &)
IMPORT_C CAknNavigationDecorator *CreateEditorIndicatorContainerL()
IMPORT_C CAknNavigationDecorator *CreateMessageLabelL(const TDesC &)
IMPORT_C CAknNavigationDecorator *CreateMessageLabelL(TResourceReader &)
IMPORT_C CAknNavigationDecorator *CreateNavigationImageL(const CFbsBitmap *, const CFbsBitmap *)
IMPORT_C CAknNavigationDecorator *CreateNavigationImageL(TResourceReader &)
IMPORT_C CAknNavigationDecorator *CreateNavigationLabelL(const TDesC &)
IMPORT_C CAknNavigationDecorator *CreateNavigationLabelL(TResourceReader &)
IMPORT_C CAknNavigationDecorator *CreateTabGroupL()
IMPORT_C CAknNavigationDecorator *CreateTabGroupL(MAknTabObserver *)
IMPORT_C CAknNavigationDecorator *CreateTabGroupL(TResourceReader &)
IMPORT_C CAknNavigationDecorator *CreateTabGroupL(TResourceReader &, MAknTabObserver *)
IMPORT_C CAknNavigationDecorator *CreateVolumeIndicatorL(TInt)
TInt CurrentNaviWipeBitmap()
voidHandleGainingForegroundL()
voidHandleLosingForeground()
IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
CFbsBitmap &NaviArrowBitmap(TInt)
CFbsBitmap *NaviColorBitmap()
TBool NaviWipeUsed()
voidNotifyNaviWipeStatusL()
IMPORT_C voidPop()
IMPORT_C voidPop(CAknNavigationDecorator *)
IMPORT_C voidPushDefaultL(TBool)
IMPORT_C voidPushL(CAknNavigationDecorator &)
IMPORT_C TIntReplaceL(CAknNavigationDecorator &, CAknNavigationDecorator &)
IMPORT_C CAknNavigationDecorator *ResourceDecorator()
voidSetBackgroundContextAttributes(CCoeControl *, TBool)
IMPORT_C voidSetPreferredNaviDecoratorLayoutStyle(TInt)
IMPORT_C CAknNavigationDecorator *Top()
IMPORT_C CAknNavigationDecorator *Top(TBool)
Protected Member Functions
IMPORT_C CCoeControl *ComponentControl(TInt)
IMPORT_C TIntCountComponentControls()
IMPORT_C voidHandleControlEventL(CCoeControl *, TCoeEvent)
IMPORT_C voidHandleResourceChange(TInt)
TTypeUid::Ptr MopSupplyObject(TTypeUid)
IMPORT_C voidSizeChanged()
Private Member Functions
IMPORT_C voidDraw(const TRect &)
TBool DrawDefaultNaviSolid(CWindowGc &, const TRect &)
TBool DrawDefaultNaviWipe(CWindowGc &, const TRect &)
TBool DrawSkinnedNaviSolid(CWindowGc &, const TRect &, MAknsSkinInstance *, MAknsControlContext *)
TBool DrawSkinnedNaviWipe(CWindowGc &, const TRect &, MAknsSkinInstance *, MAknsControlContext *)
IMPORT_C void *ExtensionInterface(TUid)
voidHandleVisibilityOfNonFepOwnedIndicatorControl(CAknNavigationDecorator *, TBool)
TBool IsFepOwnedEditorIndicatorControl(CAknNavigationDecorator *)
voidLoadNaviColorBitmapL()
voidSetContainerWindowNonFading(TBool)
TRect VolumePopupRect()
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
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()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::FocusChanged(TDrawNow)
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HasBorder()const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::InputCapabilities()const
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::MinimumSize()
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAdjacent(TInt)
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateL(RWriteStream &)const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
Inherited Enumerations
CCoeControl:TZoomType
Private Member Type Definitions
typedef CArrayPtrFlat< CAknNavigationDecorator > CAknNaviPaneStack
Private Attributes
CAknNavigationControlContainerExtension *iExtension
CFbsBitmap *iNaviArrowBitmap
CAknNavigationDecorator *iNaviDecoratorFromResource
CAknNaviPaneStack *iNaviPaneControls
TInt iSpare
CEikStatusPaneBase *iStatusPane
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize

Constructor & Destructor Documentation

CAknNavigationControlContainer()

IMPORT_CCAknNavigationControlContainer()

C++ default constructor.

This object does not own the contents of the navi pane controls stack.

~CAknNavigationControlContainer()

IMPORT_C~CAknNavigationControlContainer()

Destructor.

This object does not own the contents of the navi pane controls stack.

Member Functions Documentation

ColorScheme()

IMPORT_C TIntColorScheme()[static]

Static method to return current color scheme.

ComponentControl(TInt)

IMPORT_C CCoeControl *ComponentControl(TIntaIndex)const [protected, virtual]

From CCoeControl.

Returns a control determined by control id.

Parameters

TInt aIndexIndex of a control to be returned.

ConstructFromResourceL(TResourceReader &)

IMPORT_C voidConstructFromResourceL(TResourceReader &aReader)[virtual]

Constructs from a resource. Created object is owned by this object until ResourceDecorator() method is called. If the application does not fetch the object it is deleted in destructor.

Parameters

TResourceReader & aReaderResource reader.

ConstructL()

IMPORT_C voidConstructL()

Handles 2nd phase construction.

ConstructNavigationDecoratorFromResourceL(TResourceReader &)

IMPORT_C CAknNavigationDecorator *ConstructNavigationDecoratorFromResourceL(TResourceReader &aReader)

Resource constructor that returns a new object to the application.

Parameters

TResourceReader & aReaderResource reader.

CountComponentControls()

IMPORT_C TIntCountComponentControls()const [protected, virtual]

From CCoeControl.

Returns number of controls inside the context pane control.

CreateEditorIndicatorContainerL()

IMPORT_C CAknNavigationDecorator *CreateEditorIndicatorContainerL()

Creates editor indicator container control to the navi pane. The ownership of the object is transferred to the application.

CreateMessageLabelL(const TDesC &)

IMPORT_C CAknNavigationDecorator *CreateMessageLabelL(const TDesC &aText =  KNullDesC )

Creates and returns a new navigation decorator object containing help text. The ownership of the object is transferred to the application.

Parameters

const TDesC & aText =  KNullDesC Help text label to be shown in the navigation pane.

CreateMessageLabelL(TResourceReader &)

IMPORT_C CAknNavigationDecorator *CreateMessageLabelL(TResourceReader &aReader)

Creates from a resource and returns a new navigation decorator object containing help text. The ownership of the object is transferred to the application.

Parameters

TResourceReader & aReaderResource reader.

CreateNavigationImageL(const CFbsBitmap *, const CFbsBitmap *)

IMPORT_C CAknNavigationDecorator *CreateNavigationImageL(const CFbsBitmap *aBitmap = NULL,
const CFbsBitmap *aMaskBitmap = NULL
)

Creates and returns a new navigation decorator object containing navigation image. The ownership of the returned object is transferred to the application. Moves ownership of aBitmap and aMaskBitmap to the navigation decorator object at the end of the method.

Parameters

const CFbsBitmap * aBitmap = NULLImage to be shown in the navigation pane.
const CFbsBitmap * aMaskBitmap = NULLMask of the image to be shown in the navigation panel.

CreateNavigationImageL(TResourceReader &)

IMPORT_C CAknNavigationDecorator *CreateNavigationImageL(TResourceReader &aReader)

Creates from a resource and returns a new navigation decorator object containing navigation image. The ownership of the returned object is transferred to the application.

Parameters

TResourceReader & aReaderResource reader.

CreateNavigationLabelL(const TDesC &)

IMPORT_C CAknNavigationDecorator *CreateNavigationLabelL(const TDesC &aText =  KNullDesC )

Creates and returns a new navigation decorator object containing navigation label. The ownership of the object is transferred to the application.

Parameters

const TDesC & aText =  KNullDesC Label text to the navigation pane.

CreateNavigationLabelL(TResourceReader &)

IMPORT_C CAknNavigationDecorator *CreateNavigationLabelL(TResourceReader &aReader)

Creates from a resource and returns a new navigation decorator object containing navigation label. The ownership of the object is transferred to the application.

Parameters

TResourceReader & aReaderResource reader.

CreateTabGroupL()

IMPORT_C CAknNavigationDecorator *CreateTabGroupL()

Creates and returns a new navigation decorator object containing tab group. The ownership of the object is transferred to the application.

CreateTabGroupL(MAknTabObserver *)

IMPORT_C CAknNavigationDecorator *CreateTabGroupL(MAknTabObserver *aObserver)

Creates and returns a new navigation decorator object containing tab group. The ownership of the object is transferred to the application.

Parameters

MAknTabObserver * aObserverPointer to tab group observer

CreateTabGroupL(TResourceReader &)

IMPORT_C CAknNavigationDecorator *CreateTabGroupL(TResourceReader &aReader)

Creates from a resource and returns a new navigation decorator object containing tab group. The ownership of the object is transferred to the application.

Parameters

TResourceReader & aReaderResource reader.

CreateTabGroupL(TResourceReader &, MAknTabObserver *)

IMPORT_C CAknNavigationDecorator *CreateTabGroupL(TResourceReader &aReader,
MAknTabObserver *aObserver
)

Creates from a resource and returns a new navigation decorator object containing tab group. The ownership of the object is transferred to the application.

Parameters

TResourceReader & aReaderResource reader.
MAknTabObserver * aObserverPointer to tab group observer.

CreateVolumeIndicatorL(TInt)

IMPORT_C CAknNavigationDecorator *CreateVolumeIndicatorL(TIntaResourceId)

Creates volume control indicator to the navi pane. The ownership of the object is transferred to the application.

Navi pane volume control is not supported anymore.

Parameters

TInt aResourceIdResource file id for the volume control

CurrentNaviWipeBitmap()

TInt CurrentNaviWipeBitmap()[static]

Gets current wipe bitmap for navi pane.

Draw(const TRect &)

IMPORT_C voidDraw(const TRect &aRect)const [private, virtual]

Parameters

const TRect & aRect

DrawDefaultNaviSolid(CWindowGc &, const TRect &)

TBool DrawDefaultNaviSolid(CWindowGc &aGc,
const TRect &aRect
)const [private]

Checks wheter default navi solid bitmap can be drawn to navipane and draws it if it is possible.

Since
S60 2.6

Parameters

CWindowGc & aGcUsed graphics context.
const TRect & aRectRect of the navipane.

DrawDefaultNaviWipe(CWindowGc &, const TRect &)

TBool DrawDefaultNaviWipe(CWindowGc &aGc,
const TRect &aRect
)const [private]

Checks wheter default navi wipe bitmap can be drawn to navipane and draws it if it is possible.

Since
S60 2.6

Parameters

CWindowGc & aGcUsed graphics context.
const TRect & aRectRect of the navipane.

DrawSkinnedNaviSolid(CWindowGc &, const TRect &, MAknsSkinInstance *, MAknsControlContext *)

TBool DrawSkinnedNaviSolid(CWindowGc &aGc,
const TRect &aRect,
MAknsSkinInstance *aSkin,
MAknsControlContext *aCc
)const [private]

Checks wheter skinned navi solid bitmap can be drawn to navipane and draws it if it is possible. Also skinned background bitmap is drawn.

Since
S60 2.6

Parameters

CWindowGc & aGcUsed graphics context.
const TRect & aRectRect of the navipane.
MAknsSkinInstance * aSkinUsed skin instance.
MAknsControlContext * aCcUsed skin control context.

DrawSkinnedNaviWipe(CWindowGc &, const TRect &, MAknsSkinInstance *, MAknsControlContext *)

TBool DrawSkinnedNaviWipe(CWindowGc &aGc,
const TRect &aRect,
MAknsSkinInstance *aSkin,
MAknsControlContext *aCc
)const [private]

Checks wheter skinned navi wipe bitmap can be drawn to navipane and draws it if it is possible. Also skinned background bitmap is drawn.

Since
S60 2.6

Parameters

CWindowGc & aGcUsed graphics context.
const TRect & aRectRect of the navipane.
MAknsSkinInstance * aSkinUsed skin instance.
MAknsControlContext * aCcUsed skin control context.

ExtensionInterface(TUid)

IMPORT_C void *ExtensionInterface(TUidaInterface)[private, virtual]

Parameters

TUid aInterface

HandleControlEventL(CCoeControl *, TCoeEvent)

IMPORT_C voidHandleControlEventL(CCoeControl *aControl,
TCoeEventaEventType
)[protected]

From MCoeControlObserver.

Handles Control event.

Parameters

CCoeControl * aControlControl that caused the event.
TCoeEvent aEventTypeType of the event.

HandleGainingForegroundL()

voidHandleGainingForegroundL()

Used to notify the navi pane when it gains foreground.

HandleLosingForeground()

voidHandleLosingForeground()

Used to notify the navi pane when it goes to background.

HandlePointerEventL(const TPointerEvent &)

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl.

Handles pointer events

Parameters

const TPointerEvent & aPointerEventThe pointer event.

HandleResourceChange(TInt)

IMPORT_C voidHandleResourceChange(TIntaType)[protected, virtual]

From CCoeControl.

Handles a change to the control's resources of type aType which are shared across the environment, e.g. color scheme change.

Parameters

TInt aTypeEvent type.

HandleVisibilityOfNonFepOwnedIndicatorControl(CAknNavigationDecorator *, TBool)

voidHandleVisibilityOfNonFepOwnedIndicatorControl(CAknNavigationDecorator *aDecorator,
TBoolaVisible
)[private]

Parameters

CAknNavigationDecorator * aDecorator
TBool aVisible

IsFepOwnedEditorIndicatorControl(CAknNavigationDecorator *)

TBool IsFepOwnedEditorIndicatorControl(CAknNavigationDecorator *aDecorator)const [private]

Parameters

CAknNavigationDecorator * aDecorator

LoadNaviColorBitmapL()

voidLoadNaviColorBitmapL()[private]
Loads a color bitmap for CAknNavigationDecorator.
Since
S60 2.8

MopSupplyObject(TTypeUid)

TTypeUid::Ptr MopSupplyObject(TTypeUidaId)[protected]

From CCoeControl.

Retrieves an object of the same type as that encapsulated in aId.

This function is used to allow controls to ask their owners for access to other objects that they own.

Other than in the case where NULL is returned, the object returned must be of the same object type - that is, the ETypeId member of the object pointed to by the pointer returned by this function must be equal to the iUid member of aId.

Parameters

TTypeUid aIdAn encapsulated object type ID.

NaviArrowBitmap(TInt)

CFbsBitmap &NaviArrowBitmap(TIntaId)

This non-exported method returns reference to navi arrow bitmaps.

Parameters

TInt aIdId of the bitmap.

NaviColorBitmap()

CFbsBitmap *NaviColorBitmap()const

Gets navi bitmap.

NaviWipeUsed()

TBool NaviWipeUsed()const

Not used / implemented

Since
S60 3.0

NotifyNaviWipeStatusL()

voidNotifyNaviWipeStatusL()

Used by the UI framework. Notifies context and signal panes wheter navi wipe graphichs is to be drawn or not.

Pop()

IMPORT_C voidPop()

Pops topmost object from the navigation pane's object stack. If editor indicator control is topmost, it is not popped. The next control is popped instead. It is not possible to pop editor indicator object with this method. Use Pop(CAknNavigationDecorator* aControl) or delete(aControl) instead if editor indicator control is needed to be popped.

Pop(CAknNavigationDecorator *)

IMPORT_C voidPop(CAknNavigationDecorator *aControl)

Pops (remove) certain object from the navigation pane's object stack. The removed object does not need to be topmost.

Parameters

CAknNavigationDecorator * aControlObject to be removed from the stack.

PushDefaultL(TBool)

IMPORT_C voidPushDefaultL(TBoolaAllowDuplicates = EFalse)

Pushes default content (empty navigation pane) to the navigation pane's object stack. This operation also draws default content to the navigation pane.

Parameters

TBool aAllowDuplicates = EFalseIf this is ETrue, duplicate default navi pane contents are allowed.

PushL(CAknNavigationDecorator &)

IMPORT_C voidPushL(CAknNavigationDecorator &aNaviPaneControl)

Pushes a navigation decorator object to the navigation pane's object stack. This operation also draws the control to the navigation pane. An object can be on the stack only once. If the object already exists in the stack it is moved to topmost object. Ownership is not transfered. Editor indicator control has priority over others. It is always at the top if it exists. In this case all other controls are pushed under the editor indicator object.

Parameters

CAknNavigationDecorator & aNaviPaneControlObject to be added at the top of the stack.

ReplaceL(CAknNavigationDecorator &, CAknNavigationDecorator &)

IMPORT_C TIntReplaceL(CAknNavigationDecorator &aToBeReplaced,
CAknNavigationDecorator &aReplacement
)

Replaces existing navigation decorator object in the navigation pane's object stack. Any object can be on the stack only once. If the replacement object already exists in the stack, previous copy is removed from the stack. Ownership is not transfered. Navi pane is redrawn if top item is changed.

Parameters

CAknNavigationDecorator & aToBeReplacedAn object to be replaced.
CAknNavigationDecorator & aReplacementAn object that is put to the stack instead.

ResourceDecorator()

IMPORT_C CAknNavigationDecorator *ResourceDecorator()

Returns the object constructed from resources with ConstrucFromResourcesL() -method to the application. Ownership of the object is transferred to the application.

SetBackgroundContextAttributes(CCoeControl *, TBool)

voidSetBackgroundContextAttributes(CCoeControl *aControl,
TBoolaNaviWipeUsed
)[static]

Not used / implemented

Since
S60 3.0

Parameters

CCoeControl * aControl
TBool aNaviWipeUsed

SetContainerWindowNonFading(TBool)

voidSetContainerWindowNonFading(TBoolaNonFading)[private]

Parameters

TBool aNonFading

SetPreferredNaviDecoratorLayoutStyle(TInt)

IMPORT_C voidSetPreferredNaviDecoratorLayoutStyle(TIntaLayoutStyle)

This method can be used to set preferred layout style for navi decorator objects that are pushed into navistack. Given layout is applied to objects only if that object supports it and status pane layout allows that mode to be used.

Since
3.1

Parameters

TInt aLayoutStyleCAknNavigationDecorator::ENaviControlLayoutNormal, CAknNavigationDecorator::ENaviControlLayoutNarrow or CAknNavigationDecorator::ENaviControlLayoutWide

SizeChanged()

IMPORT_C voidSizeChanged()[protected, virtual]

From CCoeControl.

Handles the size change events.

Top()

IMPORT_C CAknNavigationDecorator *Top()

Returns topmost object from navigation pane's object stack. Editor indicator object is transparent for this operation. If editor indicators exist on the navi pane, next object on the stack is returned.

Top(TBool)

IMPORT_C CAknNavigationDecorator *Top(TBoolaIgnoreFepEditorIndicator)const

Return topmost object from navigation pane's object stack. FEP Editor indicator object is transparent or visible for this operation depending on the given parameter value. If editor indicator object is to be ignored and it exist on the navi pane, next object on the stack is returned. Note that generally FEP does all the needed visibility etc. handling for FEP editor indicators, so by default applications should ignore FEP editor indicators.

Since
3.1

Parameters

TBool aIgnoreFepEditorIndicatorTells if editor indicator object is ignored.

VolumePopupRect()

TRect VolumePopupRect()[private]

Member Type Definitions Documentation

Typedef CAknNaviPaneStack

typedef CArrayPtrFlat< CAknNavigationDecorator >CAknNaviPaneStack[private]

Member Data Documentation

CAknNavigationControlContainerExtension * iExtension

CAknNavigationControlContainerExtension *iExtension[private]

CFbsBitmap * iNaviArrowBitmap

CFbsBitmap *iNaviArrowBitmap[private]

CAknNavigationDecorator * iNaviDecoratorFromResource

CAknNavigationDecorator *iNaviDecoratorFromResource[private]

CAknNaviPaneStack * iNaviPaneControls

CAknNaviPaneStack *iNaviPaneControls[private]

TInt iSpare

TInt iSpare[private]

CEikStatusPaneBase * iStatusPane

CEikStatusPaneBase *iStatusPane[private]