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 ( TUid aViewId,
TUid aDefaultPrevViewId,
TBool aExitNode,
TPbk2TabGroupId aTabGroupId,
TPbk2TabGroupOrdering aTabGroupOrdering,
TInt aTabResourceId
) [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 TBool FindTransition ( const TPbk2ViewTransition & aTransition ) const

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

Parameters

const TPbk2ViewTransition & aTransition The transition to look for.

FindTransition(TPbk2ViewTransitionEvent)

TPbk2ViewTransition * FindTransition ( TPbk2ViewTransitionEvent aEvent ) [private]

Parameters

TPbk2ViewTransitionEvent aEvent

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

IMPORT_C CPbk2ViewNode * NewL ( TUid aViewId,
TUid aDefaultPrevViewId,
TBool aExitNode,
TPbk2TabGroupId aTabGroupId,
TPbk2TabGroupOrdering aTabGroupOrdering,
TInt aTabResourceId,
TResourceReader & aTransitionReader
) [static]

Constructor.

Parameters

TUid aViewId View id of this node.
TUid aDefaultPrevViewId This views default previous view id.
TBool aExitNode ETrue if an exit node.
TPbk2TabGroupId aTabGroupId Tab group id.
TPbk2TabGroupOrdering aTabGroupOrdering Tab group ordering item.
TInt aTabResourceId Tab resource id. Can be defined as 0, which means that the tab should be created by hand.
TResourceReader & aTransitionReader A resource reader pointed to an array of PBK2_VIEW_TRANSITION's.

PreviousNode()

CPbk2ViewNode * PreviousNode ( ) const [inline]

Returns the currently set previous node.

ReadTransitionsL(TResourceReader &)

void ReadTransitionsL ( TResourceReader & aResReader ) [private]

Parameters

TResourceReader & aResReader

SetPreviousNode(CPbk2ViewNode *)

void SetPreviousNode ( CPbk2ViewNode * aNode ) [inline]

Sets previous node to aNode.

Parameters

CPbk2ViewNode * aNode The node to set.

SetTabGroupOrdering(TPbk2TabGroupOrdering)

void SetTabGroupOrdering ( TPbk2TabGroupOrdering aTabGroupOrdering ) [inline]

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

Parameters

TPbk2TabGroupOrdering aTabGroupOrdering Tab group ordering item.

SetTabResourceId(TInt)

void SetTabResourceId ( TInt aTabResourceId ) [inline]

Sets this nodes tab resource id.

PBK2_VIEW_NODE_TAB

Parameters

TInt aTabResourceId Tab 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 ( TInt aIndex ) const [inline]

Returns aIndex:th transition from this node.

Parameters

TInt aIndex The 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]