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 * aContextThe layout context

~CPeninputUiStateMgr()

IMPORT_C~CPeninputUiStateMgr()[virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

AddUiState(CPeninputUiStateBase *, TInt)

IMPORT_C voidAddUiState(CPeninputUiStateBase *aUiState,
TIntaUiStateType
)

From MPeninputUiStateMgr Add ui state to list

Since
S60 v3.2

Parameters

CPeninputUiStateBase * aUiStateThe ui state object to be added to list
TInt aUiStateTypeThe ui state type to be added to list

Construct()

voidConstruct()[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(TIntaUiStateType)

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

Since
S60 v3.2

Parameters

TInt aUiStateTypeThe type of ui state

NewL(MPeninputLayoutContext *)

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

Two-phased constructor

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContextThe layout context

NewLC(MPeninputLayoutContext *)

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

Two-phased constructor

Since
S60 v3.2

Parameters

MPeninputLayoutContext * aContextThe layout context

SetCurrentUiState(CPeninputUiStateBase *)

IMPORT_C voidSetCurrentUiState(CPeninputUiStateBase *aUiState)

From MPeninputUiStateMgr Set current ui state by state object

Since
S60 v3.2

Parameters

CPeninputUiStateBase * aUiStateThe state to be set as current ui state

SetCurrentUiState(TInt)

IMPORT_C voidSetCurrentUiState(TIntaUiStateType)

From MPeninputUiStateMgr Set current ui state by state type

Since
S60 v3.2

Parameters

TInt aUiStateTypeThe 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