MEikListBoxObserver Class Reference

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

Capability Information

Required Capabilities

None


#include <
EIKLBO.H>

Inherited by CAknColourSelectionGrid, CAknListBoxSettingPage, CAknListQueryDialog, CAknPopupField, CAknPopupFieldList, CAknPopupList, CAknPopupSettingList, CAknSelectionListDialog, CAknSettingItemList, and CClkDateTimeView.


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


Public Types

enum  TListBoxEvent {
  EEventEnterKeyPressed, EEventItemClicked, EEventItemDoubleClicked, EEventItemActioned,
  EEventEditingStarted, EEventEditingStopped, EEventPenDownOnItem, EEventItemDraggingActioned,
  EEventPanningStarted, EEventPanningStopped, EEventFlickStarted, EEventFlickStopped
}
 List box event codes. More...

Public Member Functions

virtual void HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType)=0
 Handles list box events.

Member Enumeration Documentation

enum MEikListBoxObserver::TListBoxEvent
 

List box event codes.

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

Member Function Documentation

virtual void MEikListBoxObserver::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:
aListBox The originating list box.
aEventType A code for the event. Further information may be obtained by accessing the list box itself.

Implemented in CAknCheckBoxSettingPage, and CAknRadioButtonSettingPage.


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

Copyright © Nokia Corporation 2001-2007
Back to top