#include <mw/eikdpobs.h>
class MEikDialogPageObserver |
Public Member Enumerations | |
---|---|
enum | TDialogPageObserverEvents { EDialogPageTapped } |
enum | TFormControlTypes { EUnknownType, EEdwinDerived, EMfneDerived, EPopfieldDerived, ..., EColourSelectionGridDerived } |
Public Member Functions | |
---|---|
pure virtual TFormControlTypes | ConvertCustomControlTypeToBaseControlType(TInt) |
pure virtual SEikControlInfo | CreateCustomControlL(TInt) |
pure virtual void | GetCustomAutoValue(TAny *, TInt, const CCoeControl *) |
pure virtual void | HandleDialogPageEventL(TInt) |
pure virtual void | LineChangedL(TInt) |
pure virtual void | PageChangedL(TInt) |
pure virtual void | PrepareForFocusTransitionL() |
The MEikDialogPageObserver class specifies an interface through which the behaviour of the pages of a dialog may be observed.
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.
TFormControlTypes | ConvertCustomControlTypeToBaseControlType | ( | TInt | aControlType | ) | 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
SEikControlInfo | CreateCustomControlL | ( | TInt | aControlType | ) | [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.
void | GetCustomAutoValue | ( | TAny * | aReturnValue, |
TInt | aControlType, | |||
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.
void | HandleDialogPageEventL | ( | TInt | aEventID | ) | [pure virtual] |
Takes any action required when the dialog page event happens.
void | LineChangedL | ( | TInt | aControlId | ) | [pure virtual] |
Takes any action required when the current line is changed to aControlId.
void | PageChangedL | ( | TInt | aPageId | ) | [pure virtual] |
Takes any action required when the active dialog page is changed to aPageId.