MEikListBoxObserver Class Reference

class MEikListBoxObserver

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

Member Functions Documentation

HandleListBoxEventL(CEikListBox *, TListBoxEvent)

void HandleListBoxEventL ( CEikListBox * aListBox,
TListBoxEvent aEventType
) [pure virtual]

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.

Member Enumerations Documentation

Enum TListBoxEvent

List box event codes

Enumerators

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.

EEventPenDownOnItem

Pen is down and over an item

EEventItemDraggingActioned

Pen is dragged from item to another

EEventPanningStarted

Panning is started

EEventPanningStopped

Panning is stopped

EEventFlickStarted

Flick is started

EEventFlickStopped

Flick is stopped

EEventItemSingleClicked

Item single-tap event. This event should be used by applications that are single click compatible.

EEventEmptyListClicked

An empty listbox was clicked

EEventEmptyAreaClicked

An empty area of non-empty listbox was clicked