MEikDialogPageObserver Class Reference

class MEikDialogPageObserver

The MEikDialogPageObserver class specifies an interface through which the behaviour of the pages of a dialog may be observed.

Since
ER5U

Member Functions Documentation

ConvertCustomControlTypeToBaseControlType(TInt)

TFormControlTypes ConvertCustomControlTypeToBaseControlType(TIntaControlType)const [pure virtual]

ConvertCustomControlTypeToKnownControlType Used for custom control, to provide a mapping for forms between custom controls and the base types that the layout knows how to deal with. For example an edwin derived custom control could return EEikCtEdwin

Parameters

TInt aControlType

CreateCustomControlL(TInt)

SEikControlInfo CreateCustomControlL(TIntaControlType)[pure virtual]

Creates a custom control of type aControlType and returns the control information for the custom control which is created. Called when creating a line on the dialog page if the Eikon control factory does not recognise the type aControlType.

Parameters

TInt aControlType

GetCustomAutoValue(TAny *, TInt, const CCoeControl *)

voidGetCustomAutoValue(TAny *aReturnValue,
TIntaControlType,
const CCoeControl *aControl
)[pure virtual]

Gets the custom auto value for the custom control aControl of type aControlType with return value aReturnValue. This method is included in the interface to support deprecated legacy code only.

Parameters

TAny * aReturnValue
TInt aControlType
const CCoeControl * aControl

HandleDialogPageEventL(TInt)

voidHandleDialogPageEventL(TIntaEventID)[pure virtual]

Takes any action required when the dialog page event happens.

Parameters

TInt aEventID

LineChangedL(TInt)

voidLineChangedL(TIntaControlId)[pure virtual]

Takes any action required when the current line is changed to aControlId.

Parameters

TInt aControlId

PageChangedL(TInt)

voidPageChangedL(TIntaPageId)[pure virtual]

Takes any action required when the active dialog page is changed to aPageId.

Parameters

TInt aPageId

PrepareForFocusTransitionL()

voidPrepareForFocusTransitionL()[pure virtual]

Prepares for focus transition from the current line e.g. to validate the contents of the current control.

Member Enumerations Documentation

Enum TDialogPageObserverEvents

Enumerators

EDialogPageTapped

Enum TFormControlTypes

It is necessary to know from which base class a control has been derived from in order to use the correct layout method. These are all the known form control base types.

Enumerators

EUnknownType
EEdwinDerived
EMfneDerived
EPopfieldDerived
ESecretEditorDerived
ESliderDerived
EColourSelectionGridDerived