MEikEdwinObserver Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib uiklaf.lib form.lib

Capability Information

Required Capabilities

None


#include <eikedwob.h>

Inherited by CAknQueryControl, and CEikDialogPage.


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.


Public Types

enum   TEdwinEvent { EEventFormatChanged, EEventNavigation, EEventTextUpdate }
  Events from a value editor. More...

Public Member Functions

virtual void  HandleEdwinEventL (CEikEdwin *aEdwin, TEdwinEvent aEventType)=0
  This pure virtual function is invoked by CEikEdwin to report an event to its observer.

Member Enumeration Documentation

enum MEikEdwinObserver::TEdwinEvent
 

Events from a value editor.

Enumerator:
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.


Member Function Documentation

virtual void MEikEdwinObserver::HandleEdwinEventL CEikEdwin aEdwin,
TEdwinEvent  aEventType
[pure virtual]
 

This pure virtual function is invoked by CEikEdwin to report an event to its observer.

The observer may respond appropriately.

Parameters:
aEdwin  The originating edwin.
aEventType  The event being reported.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top