| class CEikTextButton : public CEikCommandButtonBase |
A command button with a text label
This specialization of CEikCommandButtonBase supports a single text label.
| Public Member Functions | |
|---|---|
| CEikTextButton () | |
| ~CEikTextButton () | |
| IMPORT_C void | ConstructFromResourceL ( TResourceReader &) |
| IMPORT_C void | HandlePointerEventL (const TPointerEvent &) |
| IMPORT_C CEikLabel * | Label ( TWhichComponent ) |
| IMPORT_C void | SetTextL (const TDesC &, TWhichComponent ) |
| Private Member Functions | |
|---|---|
| IMPORT_C void * | ExtensionInterface ( TUid ) |
| Private Attributes | |
|---|---|
| TInt | iDummy |
| IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
| TResourceReader & aReader | Fully constructed resource reader |
| IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl
| TUid aInterface |
| IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
| const TPointerEvent & aPointerEvent | Event to handle |
| IMPORT_C CEikLabel * | Label | ( | TWhichComponent | aWhich = EFirst | ) | const |
Access the label control that implements the text label of the button. Ownership is not transferred.
| TWhichComponent aWhich = EFirst |
| IMPORT_C void | SetTextL | ( | const TDesC & | aText, |
| TWhichComponent | aWhich = EFirst | |||
| ) | ||||
Sets the label text for the button.
| const TDesC & aText | The text to set |
| TWhichComponent aWhich = EFirst | The component for which the text is to be set. |
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.