Link against: avkon.lib
None
#include <akntabgrp.h>
Inherits CAknControl.
Public Types |
|
enum | TAknTabDataType { EAknTabNone, EAknTabText, EAknTabIcon, EAknTabTextAndIcon } |
Indicates a tab title's type. More... |
|
Public Member Functions |
|
~CAknTab () | |
Destructor. |
|
void | ReplaceTextL (const TDesC &aTabText) |
Replace the tab title. |
|
void | SetActive (TBool aActive, TDrawNow aDrawNow) |
Activate or deactive this tab. |
|
TBool | Active () const |
Determines whether this tab is active. |
|
TInt | Id () const |
Gets tab's ID. |
|
enum TAknTabDataType | TabType () const |
Gets this tab's type. |
|
void | SetTotalAmountOfTabs (TInt aAmount) |
Sets the total amount of tabs in the tabgroup where this tab belongs to. |
|
void | SetNarrowTabLayout (TBool aNarrow) |
Sets the narrow tab layout. |
|
void | SetMultiColorMode (TBool aMultiColor) |
Sets the flag indicating whether or not this tab contains a multi-colored title icon. |
|
TBool | MultiColorMode () const |
Checks whether or not this tab is drawn using multi-color mode or not. |
|
void | SetLongTabLayout (TBool aLongTab) |
Sets the long tab layout. |
|
virtual TSize | MinimumSize () |
Gets the minimum size of the tab. |
|
virtual void | SetDimmed (TBool aDimmed) |
Sets the tab dimmed. |
|
virtual void | GetColorUseListL (CArrayFix< TCoeColorUse > &aColorUseList) const |
Gets the list of logical colors employed in the drawing of the control, paired with an explanation of how they are used.
|
|
Static Public Member Functions |
|
static CAknTab * | NewL (const CCoeControl &aParent, TResourceReader &aReader) |
Two-phased constructor. |
|
static CAknTab * | NewLC (const CCoeControl &aParent, TResourceReader &aReader) |
Two-phased constructor. |
|
static CAknTab * | NewL (TInt aId, const CCoeControl &aParent, const TDesC &aTabText) |
Two-phased constructor. |
|
static CAknTab * | NewLC (TInt aId, const CCoeControl &aParent, const TDesC &aTabText) |
Two-phased constructor. |
|
static CAknTab * | NewL (TInt aId, const CCoeControl &aParent, const TDesC &aTabText, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Two-phased constructor. |
|
static CAknTab * | NewLC (TInt aId, const CCoeControl &aParent, const TDesC &aTabText, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Two-phased constructor. |
|
static CAknTab * | NewL (TInt aId, const CCoeControl &aParent, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Two-phased constructor. |
|
static CAknTab * | NewLC (TInt aId, const CCoeControl &aParent, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Two-phased constructor. |
|
Protected Member Functions |
|
virtual void | SizeChanged () |
Responds to size changes events to sets the size and position of the contents of this control. |
|
virtual TInt | CountComponentControls () const |
Gets the number of controls contained in a compound control. |
|
virtual CCoeControl * | ComponentControl (TInt aIndex) const |
Gets the specified component of a compound control. |
|
virtual void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
Handles pointer events. |
|
Friends |
|
class | CAknTabGroup |
|
Indicates a tab title's type. |
|
Destructor. |
|
Determines whether this tab is active.
|
|
Gets the specified component of a compound control.
|
|
Gets the number of controls contained in a compound control.
|
|
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 into
|
|
Handles pointer events. This function is called by framework whenever a pointer event occurs in the control.
|
|
Gets tab's ID.
|
|
Gets the minimum size of the tab.
|
|
Checks whether or not this tab is drawn using multi-color mode or not.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Two-phased constructor.
|
|
Replace the tab title.
|
|
Activate or deactive this tab.
|
|
Sets the tab dimmed.
|
|
Sets the long tab layout. |
|
Sets the flag indicating whether or not this tab contains a multi-colored title icon. The multi-color mode should be used with color icons, otherwise the tab icon is drawn using a color defined in the current skin.
|
|
Sets the narrow tab layout. |
|
Sets the total amount of tabs in the tabgroup where this tab belongs to. |
|
Responds to size changes events to sets the size and position of the contents of this control. |
|
Gets this tab's type.
|
|