Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eiklbo.h
Link against:

Class MEikListBoxObserver

MEikListBoxObserver

Support

Supported from 6.0

Description

List box observer interface. Each list box observer may be registered with a number of list boxes; each of these send events to the list box observer through its HandeListBoxEventL() method.

Writing derived classes:

Application authors should implement a class which derives from this interface to receive events from list boxes.

Defined in MEikListBoxObserver:
EEventEditingStarted, EEventEditingStopped, EEventEnterKeyPressed, EEventItemActioned, EEventItemClicked, EEventItemDoubleClicked, HandleListBoxEventL(), TListBoxEvent

See also:


Handling list box events


HandleListBoxEventL()

virtual void HandleListBoxEventL(CEikListBox* aListBox,TListBoxEvent aEventType)=0;

Description

Handles list box events.

This pure virtual function is invoked by CEikListBox to notify the observer of list box events.

Parameters

CEikListBox* aListBox

The originating list box.

TListBoxEvent aEventType

A code for the event. Further information may be obtained by accessing the list box itself.

[Top]


List box event types


Enum TListBoxEvent

TListBoxEvent enum

Description

List box event codes.

EEventEnterKeyPressed

Keypress event.

EEventItemClicked

Item single-tap event.

EEventItemDoubleClicked

Item two-taps event.

EEventItemActioned

Special event: reported by directory tree and directory contents list boxes.

EEventEditingStarted

Editing started.

EEventEditingStopped

Editing stopped.