API published in: S60 1st Ed
Link against: avkon.lib eikctl.lib eikcoctl.lib
Required Capabilities
None
#include <eiklbed.h>
Inherits CAknControl, and MEikListBoxEditor.
Inherited by CEikColumnListBoxEditor.
CEikListBoxTextEditor
implements a text list box item editor.
This editor is used inside of listbox items for editing the list box item text.
Public Member Functions |
|
IMPORT_C | CEikListBoxTextEditor (MListBoxModel *aModel) |
C++ default constructor. |
|
IMPORT_C | ~CEikListBoxTextEditor () |
Destructor. |
|
IMPORT_C void | SetFont (const CFont *aFont) |
Sets font to the text editor. |
|
IMPORT_C CEikEdwin * | Editor () |
Gets text editor instance as CEikEdwin . |
|
IMPORT_C void | SetListBoxEditorObserver (MListBoxEditorObserver *aObserver) |
Sets observer to the text editor. |
|
IMPORT_C TPtrC | ItemText () |
From MEikListBoxEditor . |
|
IMPORT_C void | StartEditingL (const CCoeControl &aContainer, const TRect &aRect, TInt aItemIndex, TInt aMaxLength) |
From MEikListBoxEditor . |
|
IMPORT_C void | StopEditingL () |
From MEikListBoxEditor . |
|
IMPORT_C TBool | UpdateModelL () |
From MEikListBoxEditor . |
|
IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
From CCoeControl . |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl . |
|
Protected Member Functions |
|
IMPORT_C void | Release () |
From MEikListBoxEditor . |
|
IMPORT_C MListBoxModel * | ListBoxModel () |
Gets the list box model. |
|
IMPORT_C TInt | ItemIndex () const |
Function for getting the list box item index that holds the text editor. |
|
IMPORT_C void | WriteInternalStateL (RWriteStream &aWriteStream) const |
This function writes the internal state of the control and its components to aStream in debug mode. |
|
C++ default constructor.
|
|
Destructor. |
|
Gets text editor instance as
|
|
From Handles pointer events.
Reimplemented in CEikColumnListBoxEditor. |
|
Function for getting the list box item index that holds the text editor.
|
|
From This function returns the text of the list box item.
Implements MEikListBoxEditor. Reimplemented in CEikColumnListBoxEditor. |
|
Gets the list box model.
|
|
From Handles key press events. Called by the control framework.
|
|
From Deletes the editor. Implements MEikListBoxEditor. |
|
Sets font to the text editor.
|
|
Sets observer to the text editor.
|
|
From This function creates text editor inside the list box item and starts editing of the item text. The list box item can contain partly editable text. This text is between '\n' chars and this control does not modify it.
Implements MEikListBoxEditor. |
|
From Stops editing the current item and deletes the text editor. Implements MEikListBoxEditor. |
|
From
Updates the list box model with new text from text editor. If text is partly editable, string between '
Implements MEikListBoxEditor. Reimplemented in CEikColumnListBoxEditor. |
|
This function writes the internal state of the control and its components to Does nothing in release mode.
|