MPenUiLayoutBase Class Reference

class MPenUiLayoutBase

Class MPenUiLayoutBase .

Interface for fep layout base

Since
S60 V4.0

Member Functions Documentation

Destroy()

void Destroy ( ) [pure virtual]

Handle editor text coming Called by animation dll when app editor text is coming.

/** Destroy layout

Since
S60 v4.0

Draw()

void Draw ( ) [pure virtual]

Draw layout.

Since
S60 v4.0

HandleAppInfoChange(const TDesC &, TPeninputAppInfo)

void HandleAppInfoChange ( const TDesC & aInfo,
TPeninputAppInfo aType
) [pure virtual]

HandleAppInfoChange. Inform UI that application infomation changed.

Since
S60 v5.0

Parameters

const TDesC & aInfo The information.
TPeninputAppInfo aType The information type

HandleCommand(TInt, TUint8 *)

TInt HandleCommand ( TInt aCmd,
TUint8 * aData
) [pure virtual]

HandleCommand. Handle layout command event.

Since
S60 v4.0

Parameters

TInt aCmd Command Id.
TUint8 * aData Data for command.

HandleEventL(TEventType, const TAny *)

TBool HandleEventL ( TEventType aType,
const TAny * aEventData
) [pure virtual]

HandleEventL. Handle UI event. There are only 3 kinds of UI event right now: raw event, pointer and pointer buffer event.

Since
S60 v4.0

Parameters

TEventType aType The event type. See TEventType
const TAny * aEventData The event data.

Init()

TRect Init ( ) [pure virtual]

InitL. Do layout initialization. It's called by layout owner

Since
S60 v4.0 The layout rect including the shadow.

OnActivate()

void OnActivate ( ) [pure virtual]

OnActivate. Called by owner when the layout is going to be shown.

Since
S60 v4.0

OnDeActivate()

void OnDeActivate ( ) [pure virtual]

OnDeActivate. Called by owner when the layout is going to be hidden

Since
S60 v4.0

OnResourceChange(TInt)

TInt OnResourceChange ( TInt aEventType ) [pure virtual]

SizeChanged. Inform layout the size changing event.

Since
S60 v4.0

Parameters

TInt aEventType

PenInputType()

TInt PenInputType ( ) [pure virtual]

Get current input UI type

Since
S60 v4.0

SemiTransparencyRequired()

TBool SemiTransparencyRequired ( ) [pure virtual]

SemiTransparencyRequired. Tell whether this layout requires semi-transparency. This is to save memory used in mask bitmap. If semi-transparency not deeded, We use black-white bitmap.

Since
S60 v4.0

SetPositionFromOutside(const TPoint &)

void SetPositionFromOutside ( const TPoint & aNewPos ) [pure virtual]

SetPositionFromOutside. Inform UI that the position is change from outside of UI.

Since
S60 v5.0

Parameters

const TPoint & aNewPos