MEikListBoxEditor Class Reference

class MEikListBoxEditor

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

Since
ER5U
Public Member Functions
TPtrC ItemText ()
void Release ()
void StartEditingL (const CCoeControl &, const TRect &, TInt , TInt )
void StopEditingL ()
TBool UpdateModelL ()
Private Member Functions
IMPORT_C void MEikListBoxEditor_Reserved_1 ()

Member Functions Documentation

ItemText()

TPtrC ItemText ( ) [pure virtual]

Returns a pointer to the current editable item text.

MEikListBoxEditor_Reserved_1()

IMPORT_C void MEikListBoxEditor_Reserved_1 ( ) [private, virtual]

Release()

void Release ( ) [pure virtual]

Deletes the editor.

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

void StartEditingL ( const CCoeControl & aContainer,
const TRect & aRect,
TInt aItemIndex,
TInt aMaxLength
) [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()

void StopEditingL ( ) [pure virtual]

Stops editing and deletes the item editor.

UpdateModelL()

TBool UpdateModelL ( ) [pure virtual]

Updates the list box model with the new item contents.