CEikStatusPaneLayout Class Reference

class CEikStatusPaneLayout : public CBase

This class calculates and stores the screen area available for each sub pane layout.

Inherits from

  • CEikStatusPaneLayout

Constructor & Destructor Documentation

CEikStatusPaneLayout()

CEikStatusPaneLayout()[private]

Constructor.

~CEikStatusPaneLayout()

~CEikStatusPaneLayout()

Destructor

Member Functions Documentation

AcceptL(MEikStatusPaneLayoutTreeVisitor *)

voidAcceptL(MEikStatusPaneLayoutTreeVisitor *aVisitor)[inline]

Calls given visitor objects VisitL, method.

Parameters

MEikStatusPaneLayoutTreeVisitor * aVisitorA visitor object to be visited.

AknLayoutRect(TInt, TPaneId)

TRect AknLayoutRect(TIntaLayoutResourceId,
TPaneIdaPaneId
)

This method maps given layout resource id and subpane UID to correct layout lines in the AknLayout system.

3.1

A rectangle which specifies the given subpane size and position in the given layout.

Parameters

TInt aLayoutResourceIdId of a statuspane layout.
TPaneId aPaneIdUid of a statuspane subpane.

AknLayoutRefresh(TInt)

voidAknLayoutRefresh(TIntaLayoutResourceId)

Re-reads layout data from AknLayout system. The data may have to be refreshed when e.g. screen resolution, orientation or language variant layout is changed on the fly.

2.8

Parameters

TInt aLayoutResourceIdId of the statuspane layout which data is to be refreshed.

AknLayoutUsed()

TBool AknLayoutUsed()

This method tells if this layout is using AknLayout system for placing and sizing the statuspane subpanes.

2.8

ETrue if this layout has been initailized to use AknLayout. EFalse if the default statuspane layout system is in use.

ConstructL(TResourceReader &, const TRect &, TInt)

voidConstructL(TResourceReader &aResource,
const TRect &aScreenRect,
TIntaLayoutId
)[private]

2nd phase constructor.

Parameters

TResourceReader & aResource
const TRect & aScreenRect
TInt aLayoutId

Find(const TPaneId &)

CEikStatusPaneLayoutTree *Find(const TPaneId &aPaneId)const [inline]

Finds the pane init with a given id. If a pane init is not found NULL pointer is returned. The layout tree instance with given id.

Parameters

const TPaneId & aPaneId

NewL(TResourceReader &, const TRect &)

CEikStatusPaneLayout *NewL(TResourceReader &aResource,
const TRect &aScreenRect
)[static]

Two phase constructor.

Parameters

TResourceReader & aResourceResource of sub pane layout.
const TRect & aScreenRectScreen rectangle.

NewL(TResourceReader &, const TRect &, TInt)

CEikStatusPaneLayout *NewL(TResourceReader &aResource,
const TRect &aScreenRect,
TIntaLayoutId
)[static]

Two phase constructor.

Parameters

TResourceReader & aResourceResource of sub pane layout.
const TRect & aScreenRectScreen rectangle.
TInt aLayoutIdId of the status pane layout.

Rect()

TRect Rect()const [inline]

Gets rectagle of the sub pane layout. Rectangle of the sub pane layout.

UpdateLayoutData(TInt)

voidUpdateLayoutData(TIntaLayoutResId)[private]

Updates layout data.

Parameters

TInt aLayoutResIdStatus pane layout resource id.

Member Data Documentation

const AknLayout::CInstance & iAknLayout

const AknLayout::CInstance &iAknLayout[private]

const AknLayoutScalable_Avkon::CInstance & iAknLayoutScalable_Avkon

const AknLayoutScalable_Avkon::CInstance &iAknLayoutScalable_Avkon[private]

TRect iApplicationWindowRect

TRect iApplicationWindowRect[private]

TRect iMainPaneRect

TRect iMainPaneRect[private]

CEikStatusPaneLayoutTree * iRoot

CEikStatusPaneLayoutTree *iRoot[private]

TRect iScreenRect

TRect iScreenRect[private]

TRect iSmallStatusPaneRect

TRect iSmallStatusPaneRect[private]

TRect iStaconLayout1Rect

TRect iStaconLayout1Rect[private]

TRect iStaconLayout2Rect

TRect iStaconLayout2Rect[private]

TRect iUsualStatusPaneRect

TRect iUsualStatusPaneRect[private]