#include <mw/eiktxlbx.h>
class CEikTextListBox : public CEikListBox |
Protected Attributes | |
---|---|
TInt | iRequiredCellCharWidth |
Public Member Functions | |
---|---|
CEikTextListBox() | |
~CEikTextListBox() | |
virtual IMPORT_C void | ConstructFromResourceL(TResourceReader &) |
virtual IMPORT_C void | ConstructL(const CCoeControl *, TInt) |
virtual IMPORT_C void | GetColorUseListL(CArrayFix< TCoeColorUse > &) |
virtual IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
virtual IMPORT_C void | HandleResourceChange(TInt) |
IMPORT_C CTextListBoxModel * | Model() |
Protected Member Functions | |
---|---|
virtual IMPORT_C void | CreateItemDrawerL() |
virtual IMPORT_C void | WriteInternalStateL(RWriteStream &) |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType | |
CEikListBox:@160 | |
CEikListBox:TFlags | |
CEikListBox:TReasonForFocusLost | |
CEikListBox:TScrollBarOwnerShip |
List box for displaying text.
Text list boxes use the standard list box view, CListBoxView, and a customised item drawer and list box model.
IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
Reimplemented from CCoeControl::ConstructFromResourceL(TResourceReader &)
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.
Parameter | Description |
---|---|
aReader | A resource reader initialised to point at a list box resource |
IMPORT_C void | ConstructL | ( | const CCoeControl * | aParent, |
TInt | aFlags = 0 | |||
) | [virtual] |
Reimplemented from CEikListBox::ConstructL(const CCoeControl *,TInt)
By default Symbian 2nd phase constructor is private
This initializes the C-classes of a newly-created CEikTextListBox from supplied arguments. This function fully constructs the associated list box model and item drawer for this list box, and then invokes CEikListBox::ConstructL().
Parameter | Description |
---|---|
aParent | Parent control for this control. |
aFlags | Flags for the list box. |
IMPORT_C void | CreateItemDrawerL | ( | ) | [protected, virtual] |
Creates CTextListItemDrawer for CListBoxView for drawing individual list box items .
IMPORT_C void | GetColorUseListL | ( | CArrayFix< TCoeColorUse > & | aColorUseList | ) | const [virtual] |
Reimplemented from CEikListBox::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
From CCoeControl.
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.
Parameter | Description |
---|---|
aColorUseList | List of logical colours. |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Reimplemented from CEikListBox::HandlePointerEventL(const TPointerEvent &)
From CCoeControl.
Handles pointer events.
Parameter | Description |
---|---|
aPointerEvent | The pointer event. |
IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
Reimplemented from CEikListBox::HandleResourceChange(TInt)
From CCoeControl.
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.
Parameter | Description |
---|---|
aType | The type of resource that has changed. |
IMPORT_C CTextListBoxModel * | Model | ( | ) | const |
Reimplemented from CEikListBox::Model()const
Gets the text list box model.
Returns: The text list box model used by this list box.
IMPORT_C void | WriteInternalStateL | ( | RWriteStream & | aWriteStream | ) | const [protected, virtual] |
Reimplemented from CEikBorderedControl::WriteInternalStateL(RWriteStream &)const
From CCoeControl
Write internal state of the CEikTextListBox to the given stream. NOTE: Only operational in debug mode.
Parameter | Description |
---|---|
aWriteStream | Target stream. |