Location:
eiktxlbx.h
Link against: eikcoctl.lib
CEikTextListBox
Supported from 6.0
List box for displaying text.
Text list boxes use the standard list box view,
CListBoxView
, and a customised item drawer and list box model.
Writing derived classes:
This class can be either used as-is, or derived from to provide further functionality. There are three classes supplied in Uikon which are derived from this class:
CEikChoiceListPopoutListBox
CEikColumnListBox
CEikFileSelectorListBox
|
Defined in CEikTextListBox
:
CEikTextListBox()
, ConstructFromResourceL()
, ConstructL()
, CreateItemDrawerL()
, GetColorUseListL()
, HandleResourceChange()
, Model()
, iRequiredCellCharWidth
, ~CEikTextListBox()
Inherited from CBase
:
operator new()
Inherited from CCoeControl
:
ActivateGc()
,
ActivateL()
,
BackedUpWindow()
,
CapturesPointer()
,
ClaimPointerGrab()
,
CloseWindow()
,
ControlContext()
,
ControlEnv()
,
CopyControlContextFrom()
,
CreateBackedUpWindowL()
,
CreateWindowL()
,
DeactivateGc()
,
DrawDeferred()
,
DrawNow()
,
DrawableWindow()
,
EnableDragEvents()
,
GetColor()
,
GetHelpContext()
,
GrabbingComponent()
,
HandleComponentControlsResourceChange()
,
HandlePointerBufferReadyL()
,
HandleRedrawEvent()
,
IgnoreEventsUntilNextPointerUp()
,
Index()
,
IsActivated()
,
IsBackedUp()
,
IsBeingDestroyed()
,
IsBlank()
,
IsDimmed()
,
IsFocused()
,
IsNonFocusing()
,
IsReadyToDraw()
,
IsVisible()
,
MakeVisible()
,
Observer()
,
OverrideColorL()
,
OwnsWindow()
,
Position()
,
PositionChanged()
,
PositionRelativeToScreen()
,
PrepareForFocusGainL()
,
PrepareForFocusLossL()
,
Rect()
,
RecursivelyMergedInputCapabilities()
,
ReportEventL()
,
ResetGc()
,
SetAllowStrayPointers()
,
SetBlank()
,
SetCanDrawOutsideRect()
,
SetComponentsToInheritVisibility()
,
SetContainerWindow()
,
SetControlContext()
,
SetCornerAndSize()
,
SetCornerAndSizeL()
,
SetExtent()
,
SetExtentL()
,
SetExtentToWholeScreen()
,
SetExtentToWholeScreenL()
,
SetFocus()
,
SetFocusing()
,
SetGloballyCapturing()
,
SetNeighbor()
,
SetNonFocusing()
,
SetObserver()
,
SetPointerCapture()
,
SetPosition()
,
SetRect()
,
SetRectL()
,
SetSize()
,
SetSizeL()
,
SetSizeWithoutNotification()
,
SetSizeWithoutNotificationL()
,
Size()
,
SizeChangedL()
,
SystemGc()
,
Window()
Inherited from CEikBorderedControl
:
Border()
,
HasBorder()
,
SetAdjacent()
,
SetBorder()
,
iBorder
Inherited from CEikListBox
:
AdjustRectHeightToWholeNumberOfItems()
,
AdjustTopItemIndex()
,
Anonymous
,
BackColor()
,
BottomItemIndex()
,
Buffer()
,
CalcHeightBasedOnNumOfItems()
,
CalcSizeInPixels()
,
CalcWidthBasedOnNumOfChars()
,
CalcWidthBasedOnRequiredItemWidth()
,
CalculatePopoutRect()
,
CheckCreateBufferL()
,
CheckCreateExtension()
,
CheckCreateExtensionL()
,
ClearMargins()
,
ClearMatchBuffer()
,
ClearSelection()
,
ComponentControl()
,
CountComponentControls()
,
CreateMatchBufferL()
,
CreateScrollBarFrameL()
,
CreateViewL()
,
CurrentItemIndex()
,
Draw()
,
DrawItem()
,
DrawMatcherCursor()
,
ECreateOwnWindow
,
EIncrementalMatching
,
EItemDoubleClicked
,
EKeepModel
,
ELeftDownInViewRect
,
EMultipleSelection
,
ENoExtendedSelection
,
ENoFirstLetterMatching
,
EPaintedSelection
,
EPopout
,
EScrollBarSizeExcluded
,
EStateChanged
,
EditItemL()
,
FocusChanged()
,
HandleDragEventL()
,
HandleItemAdditionL()
,
HandleItemRemovalL()
,
HandleLeftArrowKeyL()
,
HandlePointerEventL()
,
HandleRightArrowKeyL()
,
HandleScrollEventL()
,
HandleViewRectSizeChangeL()
,
HorizScrollGranularityInPixels()
,
HorizontalMargin()
,
HorizontalNudgeValue()
,
InputCapabilities()
,
InterItemGap()
,
IsMatchBuffer()
,
ItemEditor()
,
ItemExists()
,
ItemHeight()
,
KEikListBoxInterItemGap
,
KEikMaxMatchingBufferLength
,
ListBoxMargins()
,
MakeViewClassInstanceL()
,
MatchBuffer()
,
MatchTypedCharL()
,
MinimumSize()
,
OfferKeyEventL()
,
ReasonForFocusLostL()
,
ReportListBoxEventL()
,
Reset()
,
ResetItemEditor()
,
RestoreClientRectFromViewRect()
,
RestoreCommonListBoxPropertiesL()
,
ScrollBarFrame()
,
ScrollToMakeItemVisible()
,
SelectionIndexes()
,
SetContainerWindowL()
,
SetCurrentItemIndex()
,
SetCurrentItemIndexAndDraw()
,
SetDimmed()
,
SetHorizontalMargin()
,
SetItemEditor()
,
SetItemHeightL()
,
SetLaunchingButton()
,
SetListBoxObserver()
,
SetReasonForFocusLostL()
,
SetSelectionIndexesL()
,
SetTopItemIndex()
,
SetVerticalMargin()
,
SetViewRectFromClientRect()
,
SimulateArrowKeyEventL()
,
SizeChanged()
,
StopEditingL()
,
TFlags
,
TopItemIndex()
,
UndoLastChar()
,
UpdateCurrentItem()
,
UpdateItemDrawerColors()
,
UpdateScrollBarThumbs()
,
UpdateScrollBarsL()
,
UpdateViewColors()
,
VerticalInterItemGap()
,
VerticalMargin()
,
View()
,
ViewRectHeightAdjustment()
,
iItemDrawer
,
iItemHeight
,
iLaunchingButton
,
iListBoxFlags
,
iListBoxObserver
,
iModel
,
iRequiredHeightInNumOfItems
,
iSBFrame
,
iView
Inherited from MEikScrollBarObserver
:
EEikScrollBottom
,
EEikScrollDown
,
EEikScrollEnd
,
EEikScrollHome
,
EEikScrollLeft
,
EEikScrollPageDown
,
EEikScrollPageLeft
,
EEikScrollPageRight
,
EEikScrollPageUp
,
EEikScrollRight
,
EEikScrollThumbDragHoriz
,
EEikScrollThumbDragVert
,
EEikScrollThumbReleaseHoriz
,
EEikScrollThumbReleaseVert
,
EEikScrollTop
,
EEikScrollUp
,
TEikScrollEvent
void ConstructL(const CCoeControl* aParent,TInt aFlags = 0);
Second-phase constructor.
This initialises the C-classes of a newly-created
CEikTextListBox
from the arguments supplied. This function fully
constructs the associated list box model and item drawer for this list box, and
then invokes CEikListBox::ConstructL()
;
|
virtual void ConstructFromResourceL(TResourceReader& aReader);
Second phase construction from a resource.
This constructor initialises the list box model, flags, required dimensions etc. from a resource. The function fully constructs the associated list box model and item drawer for this list box.
|
protected: virtual void CreateItemDrawerL();
Creates the item drawer.
Constructs, but does not initialise or second-phase construct
iItemDrawer
using the normal Uikon environment font,
iEikonEnv->NormalFont()
. This function is called by
ConstructFromResourceL()
or ConstructL()
.
CTextListBoxModel* Model() const;
Gets the text list box model.
|
void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;
Gets the list of logical colours employed in the drawing of the
control, paired with an explanation of how they are used. Appends the list to
aColorUseList
.
|
void HandleResourceChange(TInt aType);
Handles a change to the control's resources. These resources
are of type aType
, which are shared across the environment, for
example colours or fonts.
|
TInt iRequiredCellCharWidth
The required width of a cell in characters.