MEikListBoxEditor Class Reference

#include <mw/eiklbed.h>

class MEikListBoxEditor
Public Member Functions
pure virtual TPtrC ItemText()
pure virtual voidRelease()
pure virtual voidStartEditingL(const CCoeControl &, const TRect &, TInt, TInt)
pure virtual voidStopEditingL()
pure virtual TBool UpdateModelL()

Detailed Description

The MEikListBoxEditor class specifies an interface to a text editor which can be used inside a list box.

Since
ER5U

Member Function Documentation

ItemText ( )

TPtrC ItemText()[pure virtual]

Returns a pointer to the current editable item text.

Release ( )

voidRelease()[pure virtual]

Deletes the editor.

StartEditingL ( const CCoeControl &, const TRect &, TInt, TInt )

voidStartEditingL(const CCoeControl &aContainer,
const TRect &aRect,
TIntaItemIndex,
TIntaMaxLength
)[pure virtual]

Creates the editor inside the list box aContainer. The editor occupies the rectangle aRect and is used to editor the contents of the item at index aItemIndex up to a maximum length of aMaxLength characters..

StopEditingL ( )

voidStopEditingL()[pure virtual]

Stops editing and deletes the item editor.

UpdateModelL ( )

TBool UpdateModelL()[pure virtual]

Updates the list box model with the new item contents.