MEikEdwinObserver Class Reference

#include <mw/eikedwob.h>

Link against: mpxalbumarteditordialog.lib

class MEikEdwinObserver
Public Member Enumerations
enumTEdwinEvent { EEventFormatChanged, EEventNavigation, EEventTextUpdate, EEventScroll, ..., EEventPartialScreenDisable }
Public Member Functions
pure virtual voidHandleEdwinEventL(CEikEdwin *, TEdwinEvent)

Detailed Description

Interface class describing the functionality expected of an observer for CEikEdwins.

Edwin observers are informed by the edwin whenever its content is changed, or whenever the user changes the cursor position.

This class should be derived from by all observers of edwins.

Member Enumeration Documentation

Enum TEdwinEvent

Events from a value editor.

EnumeratorValueDescription
EEventFormatChanged

Sent whenever the content of the edwin changes.

EEventNavigation

Sent on receipt of a navigation command.

EEventTextUpdate

Sent whenever the text of the edwin changes. To observe actual changes in the contents of the editor this should be preferred to EEventFormatChanged.

EEventScroll

Sent on receipt of a scroll event.

EEventTextUpdateAPI

Sent if you explicitly call edwin's SetTextL()

EEventChinesePopupOpen
EEventChinesePopupClose
EEventPartialScreenEnable
EEventPartialScreenDisable

Member Function Documentation

HandleEdwinEventL ( CEikEdwin *, TEdwinEvent )

voidHandleEdwinEventL(CEikEdwin *aEdwin,
TEdwinEventaEventType
)[pure virtual]

This pure virtual function is invoked by CEikEdwin to report an event to its observer. The observer may respond appropriately.

ParameterDescription
aEdwinThe originating edwin.
aEventTypeThe event being reported.