class CEikFileNameLabel : public CEikBorderedControl |
File name label is a bordered control that displays the application name.
Public Member Functions | |
---|---|
CEikFileNameLabel() | |
~CEikFileNameLabel() | |
IMPORT_C void | ConstructL() |
IMPORT_C void | GetColorUseListL(CArrayFix< TCoeColorUse > &) |
IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
IMPORT_C void | HandleResourceChange(TInt) |
IMPORT_C TSize | MinimumSize() |
IMPORT_C void | UpdateL() |
Protected Member Functions | |
---|---|
IMPORT_C void | Draw(const TRect &) |
Private Member Functions | |
---|---|
IMPORT_C CCoeControl * | ComponentControl(TInt) |
IMPORT_C void | ConstructFromResourceL(TResourceReader &) |
IMPORT_C TInt | CountComponentControls() |
IMPORT_C void * | ExtensionInterface(TUid) |
IMPORT_C void | SizeChanged() |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
Private Attributes | |
---|---|
CEikLabel * | iLabel |
TInt | iSpare |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize | |
CEikBorderedControl::iBorder |
IMPORT_C CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [private, virtual] |
TInt aIndex |
IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [private, virtual] |
From CCoeControl.
TResourceReader & aReader |
IMPORT_C void | ConstructL | ( | ) |
Second phase constructor. Completes the construction of a file name label control.
IMPORT_C void | Draw | ( | const TRect & | aRect | ) | const [protected, virtual] |
Draws the borders of the control.
The screen appearance of derived classes can be changed by overriding this method. By default, this draws a border of the appropriate type around the control.
From CCoeControl.
const TRect & aRect | Not used. |
IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl.
TUid aInterface |
IMPORT_C void | GetColorUseListL | ( | CArrayFix< TCoeColorUse > & | aColorUseList | ) | const [virtual] |
From CCoeControl. Not used in S60.
From CCoeControl
Gets the list of logical colors employed in the drawing of the control, paired with an explanation of how they are used. Appends the list to aColorUseList.
CArrayFix< TCoeColorUse > & aColorUseList | Not used. |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Handles pointer events.
This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer.
If the pointer event occurs within this control, the function will launch the task swapper.
If overriding this method, the implementation must include a base call to this method.
From CCoeControl.
const TPointerEvent & aPointerEvent | The pointer event. |
IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
Handles a change to the control's resources.
The types of resources handled are those which are shared across the environment, e.g. colours or fonts. For colour scheme changes, DrawDeferred() is called in order to redraw the control.
If overriding this method, the implementation must include a base call to this method.
From CCoeControl.
Handles a change to the control's resources of type aType which are shared across the environment, e.g. colors or fonts.
TInt aType | The type of resource that has changed. |
IMPORT_C TSize | MinimumSize | ( | ) | [virtual] |
Sets the control's minimum required size.
This function should be overridden by the concrete control class if the control is to be displayed inside a dialog.
Dialogs set the size and position of their components automatically, and use this function to enquire the minimum size that a control requires.
Other container controls that automatically calculate the layout of their components may also use this function.
From CCoeControl.
IMPORT_C void | UpdateL | ( | ) |
Updates the file name label with the name of the application. If the application is file-based, then the file name of the main document will be shown. Otherwise the label will be the application's caption.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.