CPeninputUiStateMgr Class Reference

class CPeninputUiStateMgr : public CBase

The ui state manager It provides get method of all ui state and current ui state

peninputcommonlayout.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CPeninputUiStateMgr(MPeninputLayoutContext *)

CPeninputUiStateMgr ( MPeninputLayoutContext * aContext ) [protected]

Constructor

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContext The layout context

~CPeninputUiStateMgr()

IMPORT_C ~CPeninputUiStateMgr ( ) [virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

AddUiState(CPeninputUiStateBase *, TInt)

IMPORT_C void AddUiState ( CPeninputUiStateBase * aUiState,
TInt aUiStateType
)

From MPeninputUiStateMgr Add ui state to list

Since
S60 v3.2

Parameters

CPeninputUiStateBase * aUiState The ui state object to be added to list
TInt aUiStateType The ui state type to be added to list

Construct()

void Construct ( ) [protected, virtual]

Symbian second phase constructor

Since
S60 v3.2

CurrentUiState()

IMPORT_C CPeninputUiStateBase * CurrentUiState ( )

From MPeninputUiStateMgr Get current ui state

Since
S60 v3.2

GetUiState(TInt)

IMPORT_C CPeninputUiStateBase * GetUiState ( TInt aUiStateType )

From MPeninputUiStateMgr Get ui state object according to the input state type

Since
S60 v3.2

Parameters

TInt aUiStateType The type of ui state

NewL(MPeninputLayoutContext *)

IMPORT_C CPeninputUiStateMgr * NewL ( MPeninputLayoutContext * aContext ) [static]

Two-phased constructor

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContext The layout context

NewLC(MPeninputLayoutContext *)

IMPORT_C CPeninputUiStateMgr * NewLC ( MPeninputLayoutContext * aContext ) [static]

Two-phased constructor

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContext The layout context

SetCurrentUiState(CPeninputUiStateBase *)

IMPORT_C void SetCurrentUiState ( CPeninputUiStateBase * aUiState )

From MPeninputUiStateMgr Set current ui state by state object

Since
S60 v3.2

Parameters

CPeninputUiStateBase * aUiState The state to be set as current ui state

SetCurrentUiState(TInt)

IMPORT_C void SetCurrentUiState ( TInt aUiStateType )

From MPeninputUiStateMgr Set current ui state by state type

Since
S60 v3.2

Parameters

TInt aUiStateType The type of ui state

Member Data Documentation

MPeninputLayoutContext * iContext

MPeninputLayoutContext * iContext [private]

The pointer points to layout context Not own

CPeninputUiStateBase * iCurrentState

CPeninputUiStateBase * iCurrentState [private]

The pointer points to current ui state Own

RPointerArray< CPeninputUiStateBase > iUiStateList

RPointerArray < CPeninputUiStateBase > iUiStateList [private]

Ui state list

RArray< TInt > iUiStateTypeList

RArray < TInt > iUiStateTypeList [private]

Ui type list