MEikListBoxEditor Class Reference

API published in: S60 1st Ed

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

Capability Information

Required Capabilities

None


#include <eiklbed.h>

Inherited by CEikListBoxTextEditor.


Detailed Description

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

Public Member Functions

virtual TPtrC  ItemText ()=0
  Returns a pointer to the current editable item text.
virtual void  StartEditingL (const CCoeControl &aContainer, const TRect &aRect, TInt aItemIndex, TInt aMaxLength)=0
  Creates the editor inside the list box aContainer.
virtual void  StopEditingL ()=0
  Stops editing and deletes the item editor.
virtual TBool  UpdateModelL ()=0
  Updates the list box model with the new item contents.
virtual void  Release ()=0
  Deletes the editor.

Member Function Documentation

virtual TPtrC MEikListBoxEditor::ItemText  )  [pure virtual]
 

Returns a pointer to the current editable item text.

Implemented in CEikColumnListBoxEditor, and CEikListBoxTextEditor.

virtual void MEikListBoxEditor::Release  )  [pure virtual]
 

Deletes the editor.

Implemented in CEikListBoxTextEditor.

virtual void MEikListBoxEditor::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..

Implemented in CEikListBoxTextEditor.

virtual void MEikListBoxEditor::StopEditingL  )  [pure virtual]
 

Stops editing and deletes the item editor.

Implemented in CEikListBoxTextEditor.

virtual TBool MEikListBoxEditor::UpdateModelL  )  [pure virtual]
 

Updates the list box model with the new item contents.

Implemented in CEikColumnListBoxEditor, and CEikListBoxTextEditor.


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

Copyright © Nokia Corporation 2001-2008
Back to top