CPbk2ViewNode Class Reference

class CPbk2ViewNode : public CBase

Phonebook 2 view navigation node class.

Inherits from

Constructor & Destructor Documentation

CPbk2ViewNode()

CPbk2ViewNode()[private]

CPbk2ViewNode(TUid, TUid, TBool, TPbk2TabGroupId, TPbk2TabGroupOrdering, TInt)

CPbk2ViewNode(TUidaViewId,
TUidaDefaultPrevViewId,
TBoolaExitNode,
TPbk2TabGroupIdaTabGroupId,
TPbk2TabGroupOrderingaTabGroupOrdering,
TIntaTabResourceId
)[private]

Parameters

TUid aViewId
TUid aDefaultPrevViewId
TBool aExitNode
TPbk2TabGroupId aTabGroupId
TPbk2TabGroupOrdering aTabGroupOrdering
TInt aTabResourceId

~CPbk2ViewNode()

~CPbk2ViewNode()

Destructor.

Member Functions Documentation

DefaultPreviousNode()

CPbk2ViewNode *DefaultPreviousNode()const [inline]

Returns the default previous node.

ExitNode()

TBool ExitNode()const [inline]

Returns ETrue if this is an exit node. . *

FindTransition(const TPbk2ViewTransition &)

IMPORT_C TBoolFindTransition(const TPbk2ViewTransition &aTransition)const

Returns ETrue if this node contains a transition equal to aTransition.

Parameters

const TPbk2ViewTransition & aTransitionThe transition to look for.

FindTransition(TPbk2ViewTransitionEvent)

TPbk2ViewTransition *FindTransition(TPbk2ViewTransitionEventaEvent)[private]

Parameters

TPbk2ViewTransitionEvent aEvent

NewL(TUid, TUid, TBool, TPbk2TabGroupId, TPbk2TabGroupOrdering, TInt, TResourceReader &)

IMPORT_C CPbk2ViewNode *NewL(TUidaViewId,
TUidaDefaultPrevViewId,
TBoolaExitNode,
TPbk2TabGroupIdaTabGroupId,
TPbk2TabGroupOrderingaTabGroupOrdering,
TIntaTabResourceId,
TResourceReader &aTransitionReader
)[static]

Constructor.

Parameters

TUid aViewIdView id of this node.
TUid aDefaultPrevViewIdThis views default previous view id.
TBool aExitNodeETrue if an exit node.
TPbk2TabGroupId aTabGroupIdTab group id.
TPbk2TabGroupOrdering aTabGroupOrderingTab group ordering item.
TInt aTabResourceIdTab resource id. Can be defined as 0, which means that the tab should be created by hand.
TResourceReader & aTransitionReaderA resource reader pointed to an array of PBK2_VIEW_TRANSITION's.

PreviousNode()

CPbk2ViewNode *PreviousNode()const [inline]

Returns the currently set previous node.

ReadTransitionsL(TResourceReader &)

voidReadTransitionsL(TResourceReader &aResReader)[private]

Parameters

TResourceReader & aResReader

SetPreviousNode(CPbk2ViewNode *)

voidSetPreviousNode(CPbk2ViewNode *aNode)[inline]

Sets previous node to aNode.

Parameters

CPbk2ViewNode * aNodeThe node to set.

SetTabGroupOrdering(TPbk2TabGroupOrdering)

voidSetTabGroupOrdering(TPbk2TabGroupOrderingaTabGroupOrdering)[inline]

Sets the ordering item of this node in the tab group.

Parameters

TPbk2TabGroupOrdering aTabGroupOrderingTab group ordering item.

SetTabResourceId(TInt)

voidSetTabResourceId(TIntaTabResourceId)[inline]

Sets this nodes tab resource id.

PBK2_VIEW_NODE_TAB

Parameters

TInt aTabResourceIdTab resource id.

TabGroupId()

TPbk2TabGroupId TabGroupId()const [inline]

Returns tab group id.

TabGroupOrdering()

TPbk2TabGroupOrdering TabGroupOrdering()const [inline]

Returns the ordering item of this node in the tab group.

TabResourceId()

TInt TabResourceId()const [inline]

Returns a tab resource id pointing to a PBK2_VIEW_NODE_TAB.

TransitionAt(TInt)

const TPbk2ViewTransition &TransitionAt(TIntaIndex)const [inline]

Returns aIndex:th transition from this node.

Parameters

TInt aIndexThe transition index to query.

TransitionCount()

TInt TransitionCount()const [inline]

Returns the number of transitions from this node.

ViewId()

TUid ViewId()const [inline]

Returns the view id of this node.

Member Data Documentation

TUid iDefaultPrevViewId

TUid iDefaultPrevViewId[private]

CPbk2ViewNode * iDefaultPreviousNode

CPbk2ViewNode *iDefaultPreviousNode[private]

TBool iExitNode

TBool iExitNode[private]

CPbk2ViewNode * iPreviousNode

CPbk2ViewNode *iPreviousNode[private]

TPbk2TabGroupId iTabGroupId

TPbk2TabGroupId iTabGroupId[private]

TPbk2TabGroupOrdering iTabGroupOrdering

TPbk2TabGroupOrdering iTabGroupOrdering[private]

TInt iTabResourceId

TInt iTabResourceId[private]

CArrayFixFlat< TPbk2ViewTransition > iTransitions

CArrayFixFlat< TPbk2ViewTransition >iTransitions[private]

TUid iViewId

TUid iViewId[private]