MEikListBoxEditor Class Reference

class MEikListBoxEditor

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

ER5U

Public Member Functions
TPtrC ItemText()
voidRelease()
voidStartEditingL(const CCoeControl &, const TRect &, TInt, TInt)
voidStopEditingL()
TBool UpdateModelL()
Private Member Functions
IMPORT_C voidMEikListBoxEditor_Reserved_1()

Member Functions Documentation

ItemText()

TPtrC ItemText()[pure virtual]

Returns a pointer to the current editable item text.

MEikListBoxEditor_Reserved_1()

IMPORT_C voidMEikListBoxEditor_Reserved_1()[private, virtual]

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

Parameters

const CCoeControl & aContainer
const TRect & aRect
TInt aItemIndex
TInt aMaxLength

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.