MEikListBoxObserver Class Reference

#include <mw/eiklbo.h>

Link against: mpxalbumarteditordialog.lib

class MEikListBoxObserver

Detailed 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

Member Enumeration Documentation

Enum TListBoxEvent

List box event codes

EnumeratorValueDescription
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

EEventItemLongTapped

Item is long tapped in single click enabled list

Member Function Documentation

HandleListBoxEventL ( CEikListBox *, TListBoxEvent )

voidHandleListBoxEventL(CEikListBox *aListBox,
TListBoxEventaEventType
)[pure virtual]

Handles list box events.

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

ParameterDescription
aListBoxThe originating list box.
aEventTypeA code for the event. Further information may be obtained by accessing the list box itself.