class CEikTextListBox : public CEikListBox |
List box for displaying text.
Text list boxes use the standard list box view, CListBoxView, and a customised item drawer and list box model.
Symbian 5.0
Public Member Functions | |
---|---|
CEikTextListBox() | |
~CEikTextListBox() | |
IMPORT_C void | ConstructFromResourceL(TResourceReader &) |
IMPORT_C void | ConstructL(const CCoeControl *, TInt) |
IMPORT_C void | GetColorUseListL(CArrayFix< TCoeColorUse > &) |
IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
IMPORT_C void | HandleResourceChange(TInt) |
IMPORT_C CTextListBoxModel * | Model() |
Protected Member Functions | |
---|---|
IMPORT_C void | CreateItemDrawerL() |
IMPORT_C void | WriteInternalStateL(RWriteStream &) |
Private Member Functions | |
---|---|
IMPORT_C void | CEikListBox_Reserved() |
IMPORT_C void * | ExtensionInterface(TUid) |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType | |
CEikListBox:@170 | |
CEikListBox:TFlags | |
CEikListBox:TReasonForFocusLost | |
CEikListBox:TScrollBarOwnerShip |
Protected Attributes | |
---|---|
TInt | iRequiredCellCharWidth |
Private Attributes | |
---|---|
TInt | iSpare |
IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
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.
TResourceReader & aReader | A resource reader initialised to point at a list box resource |
IMPORT_C void | ConstructL | ( | const CCoeControl * | aParent, |
TInt | aFlags = 0 | |||
) | [virtual] |
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().
const CCoeControl * aParent | Parent control for this control. |
TInt aFlags = 0 | Flags for the list box. |
IMPORT_C void | CreateItemDrawerL | ( | ) | [protected, virtual] |
Creates CTextListItemDrawer for CListBoxView for drawing individual list box items .
IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl
TUid aInterface |
IMPORT_C void | GetColorUseListL | ( | CArrayFix< TCoeColorUse > & | aColorUseList | ) | const [virtual] |
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.
CArrayFix< TCoeColorUse > & aColorUseList | List of logical colours. |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
From CCoeControl.
Handles pointer events.
const TPointerEvent & aPointerEvent | The pointer event. |
IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
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.
TInt aType | The type of resource that has changed. |
IMPORT_C CTextListBoxModel * | Model | ( | ) | const |
Gets the text list box model.
The text list box model used by this list box.
IMPORT_C void | WriteInternalStateL | ( | RWriteStream & | aWriteStream | ) | const [protected, virtual] |
From CCoeControl
Write internal state of the CEikTextListBox to the given stream. NOTE: Only operational in debug mode.
RWriteStream & aWriteStream | Target stream. |