MEikDialogPageObserver Class Reference

#include <mw/eikdpobs.h>

Link against: mpxalbumarteditordialog.lib

class MEikDialogPageObserver

Detailed Description

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

Since
ER5U

Member Enumeration Documentation

Enum TDialogPageObserverEvents

EnumeratorValueDescription
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.

Member Function 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

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.

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.

HandleDialogPageEventL ( TInt )

voidHandleDialogPageEventL(TIntaEventID)[pure virtual]

Takes any action required when the dialog page event happens.

LineChangedL ( TInt )

voidLineChangedL(TIntaControlId)[pure virtual]

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

PageChangedL ( TInt )

voidPageChangedL(TIntaPageId)[pure virtual]

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

PrepareForFocusTransitionL ( )

voidPrepareForFocusTransitionL()[pure virtual]

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