Location:
eiklbed.h
Link against:
eikcoctl.lib
CEikListBoxTextEditor
Supported from 6.0
Text list box item editor.
|
Defined in CEikListBoxTextEditor
:
CEikListBoxTextEditor()
, Editor()
, ItemIndex()
, ItemText()
, ListBoxModel()
, OfferKeyEventL()
, Release()
, SetFont()
, SetListBoxEditorObserver()
, StartEditingL()
, StopEditingL()
, UpdateModelL()
, ~CEikListBoxTextEditor()
Inherited from CBase
:
operator new()
Inherited from CCoeControl
:
ActivateGc()
,
ActivateL()
,
BackedUpWindow()
,
CapturesPointer()
,
ClaimPointerGrab()
,
CloseWindow()
,
ComponentControl()
,
ConstructFromResourceL()
,
ControlContext()
,
ControlEnv()
,
CopyControlContextFrom()
,
CountComponentControls()
,
CreateBackedUpWindowL()
,
CreateWindowL()
,
DeactivateGc()
,
DrawDeferred()
,
DrawNow()
,
DrawableWindow()
,
EnableDragEvents()
,
FocusChanged()
,
GetColor()
,
GetColorUseListL()
,
GetHelpContext()
,
GrabbingComponent()
,
HandleComponentControlsResourceChange()
,
HandlePointerBufferReadyL()
,
HandlePointerEventL()
,
HandleRedrawEvent()
,
HandleResourceChange()
,
HasBorder()
,
IgnoreEventsUntilNextPointerUp()
,
Index()
,
InputCapabilities()
,
IsActivated()
,
IsBackedUp()
,
IsBeingDestroyed()
,
IsBlank()
,
IsDimmed()
,
IsFocused()
,
IsNonFocusing()
,
IsReadyToDraw()
,
IsVisible()
,
MakeVisible()
,
MinimumSize()
,
Observer()
,
OverrideColorL()
,
OwnsWindow()
,
Position()
,
PositionChanged()
,
PositionRelativeToScreen()
,
PrepareForFocusGainL()
,
PrepareForFocusLossL()
,
Rect()
,
RecursivelyMergedInputCapabilities()
,
ReportEventL()
,
ResetGc()
,
SetAdjacent()
,
SetAllowStrayPointers()
,
SetBlank()
,
SetCanDrawOutsideRect()
,
SetComponentsToInheritVisibility()
,
SetContainerWindow()
,
SetContainerWindowL()
,
SetControlContext()
,
SetCornerAndSize()
,
SetCornerAndSizeL()
,
SetDimmed()
,
SetExtent()
,
SetExtentL()
,
SetExtentToWholeScreen()
,
SetExtentToWholeScreenL()
,
SetFocus()
,
SetFocusing()
,
SetGloballyCapturing()
,
SetNeighbor()
,
SetNonFocusing()
,
SetObserver()
,
SetPointerCapture()
,
SetPosition()
,
SetRect()
,
SetRectL()
,
SetSize()
,
SetSizeL()
,
SetSizeWithoutNotification()
,
SetSizeWithoutNotificationL()
,
Size()
,
SizeChanged()
,
SizeChangedL()
,
SystemGc()
,
Window()
CEikListBoxTextEditor(MListBoxModel* aModel);
Constructor. This constructs a text list box item editor with the specified model.
|
CEikEdwin* Editor();
Gets a pointer to the list box editor.
|
TPtrC ItemText();
Gets a pointer to the current editable item text.
|
TKeyResponse OfferKeyEventL (const TKeyEvent& aKeyEvent, TEventCode aType);
Offers a key event.
If an observer exists, it is given the chance to intercept the key events before they are given to the editor, or even prevent them reaching the editor entirely.
|
|
void SetFont(const CFont* aFont);
Sets the editor’s font.
|
void SetListBoxEditorObserver(MListBoxEditorObserver* aObserver);
Sets the list box editor’s observer.
|
void StartEditingL(const CCoeControl& aContainer,const TRect& aRect,TInt aItemIndex,TInt aMaxLength);
Creates the list box editor inside the specified container.
The editor occupies the rectangle aRect
and is used to edit the contents of the item at index aItemIndex
up to a maximum number of aMaxLength
characters..
|
TBool UpdateModelL();
Updates the list box model with the new item contents. This function has no effect if editing is not currently on.
|
protected: TInt ItemIndex() const;
Gets the item index.
|
protected: MListBoxModel* ListBoxModel();
Gets the list box model.
|
protected: void Release();
Deletes this editor.