API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <akntabgrp.h>
Inherits CAknControl, and MAknNaviDecoratorObserver.
Public Member Functions |
|
IMPORT_C | ~CAknTabGroup () |
Destructor. |
|
IMPORT_C TInt | AddTabL (TResourceReader &aReader) |
Add a tab to the tab group from resources. |
|
IMPORT_C void | AddTabL (TInt aTabId, const TDesC &aText) |
Add a tab to the tab group. |
|
IMPORT_C void | AddTabL (TInt aTabId, const TDesC &aText, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Add a tab to the tab group. |
|
IMPORT_C void | AddTabL (TInt aTabId, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Add a tab to the tab group. |
|
IMPORT_C void | ReplaceTabL (TResourceReader &aReader) |
Replaces a tab with a new one from resources. |
|
IMPORT_C void | ReplaceTabL (TInt aTabId, const TDesC &aText) |
Replaces a tab with a new one. |
|
IMPORT_C void | ReplaceTabL (TInt aTabId, const TDesC &aText, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Replaces a tab with a new one. |
|
IMPORT_C void | ReplaceTabL (TInt aTabId, const CFbsBitmap *aTabBitmap, const CFbsBitmap *aMask=NULL) |
Replaces a tab with a new one. |
|
IMPORT_C void | ReplaceTabTextL (TInt aTabId, const TDesC &aTabText) |
Replaces a tab text with a new one. |
|
IMPORT_C void | DeleteTabL (TInt aTabId) |
Delete a tab. |
|
IMPORT_C void | SetActiveTabById (TInt aTabId) |
Hightlight (activate) a tab. |
|
IMPORT_C void | SetActiveTabByIndex (TInt aTabIndex) |
Hightlight (activate) a tab. |
|
IMPORT_C TInt | ActiveTabId () const |
Returns the id of the currently active (=highlighted) tab. |
|
IMPORT_C TInt | ActiveTabIndex () const |
Returns the index of the currently active (=highlighted) tab. |
|
IMPORT_C void | SetTabFixedWidthL (TInt aWidth) |
Set width of each tab. |
|
IMPORT_C void | DimTab (TInt aTabId, TBool aDimmed) |
virtual IMPORT_C TBool | IsTabDimmed (TInt aTabId) const |
virtual IMPORT_C TInt | TabIndexFromId (TInt aTabId) const |
Returns index of a tab. |
|
virtual IMPORT_C TInt | TabIdFromIndex (TInt aTabIndex) const |
Returns id of a tab. |
|
virtual IMPORT_C TInt | TabCount () const |
Number of tabs in the tab group. |
|
IMPORT_C void | SetObserver (MAknTabObserver *aObserver) |
Sets tab observer for this tab group. |
|
virtual IMPORT_C TSize | MinimumSize () |
From CCoeControl. |
|
virtual IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
From CCoeControl. |
|
virtual IMPORT_C 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.
|
|
void | HandleResourceChange (TInt aType) |
Handles the resource change. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl handles pointer events of tabs. |
|
virtual IMPORT_C void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType) |
From MCoeControlObserver. |
|
virtual IMPORT_C void | PrepareContext (CWindowGc &aGc) const |
From MCoeControlContext. |
|
virtual IMPORT_C void | HandleNaviDecoratorEventL (TInt aEventID) |
Method for handling events in observed classes. |
|
void | SetNarrowTabLayoutL (TBool aNarrow) |
Static Public Member Functions |
|
static IMPORT_C CAknTabGroup * | NewL (const CCoeControl &aParent) |
Creates new tab group. |
|
static IMPORT_C CAknTabGroup * | NewLC (const CCoeControl &aParent) |
Creates new tab group and pushes it to the clean up stack. |
|
Protected Member Functions |
|
virtual IMPORT_C void | SizeChanged () |
From CCoeControl. |
|
virtual IMPORT_C TInt | CountComponentControls () const |
From CCoeControl. |
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
From CCoeControl. |
|
virtual IMPORT_C void | FocusChanged (TDrawNow aDrawNow) |
From CCoeControl. |
|
void | ReverseTabOrderL () |
Reverse the order of tabs in tab array. |
|
Destructor. |
|
Returns the id of the currently active (=highlighted) tab.
|
|
Returns the index of the currently active (=highlighted) tab.
|
|
Add a tab to the tab group.
|
|
Add a tab to the tab group.
|
|
Add a tab to the tab group.
|
|
Add a tab to the tab group from resources.
|
|
From CCoeControl. Returns a control determined by control id.
|
|
From CCoeControl. Returns number of controls inside the context pane control.
|
|
Delete a tab.
|
|
|
From CCoeControl. This is called when a focus is changed. |
|
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 aColorUseList. |
|
From MCoeControlObserver.
|
|
Method for handling events in observed classes.
Implements MAknNaviDecoratorObserver. |
|
From CCoeControl handles pointer events of tabs.
|
|
Handles the resource change. |
|
|
From CCoeControl. Return minimum size of the control.
|
|
Creates new tab group.
|
|
Creates new tab group and pushes it to the clean up stack.
|
|
From CCoeControl. Handles key events.
|
|
From MCoeControlContext. Allows to modify graphics context before Draw.
|
|
Replaces a tab with a new one.
|
|
Replaces a tab with a new one.
|
|
Replaces a tab with a new one.
|
|
Replaces a tab with a new one from resources. Tab with same id is replaced.
|
|
Replaces a tab text with a new one.
|
|
Reverse the order of tabs in tab array. |
|
Hightlight (activate) a tab.
|
|
Hightlight (activate) a tab.
|
|
|
Sets tab observer for this tab group.
|
|
Set width of each tab. This width determines what tab layout is used. To get specific tab layout, use following constants/enumerations: (KTabWidthWithOneTab, KTabWidthWithTwoTabs, KTabWidthWithThreeTabs, KTabWidthWithFourTabs, KTabWidthWithTwoLongTabs, KTabWidthWithThreeLongTabs).
|
|
From CCoeControl. Handle the size change events. |
|
Number of tabs in the tab group.
|
|
Returns id of a tab.
|
|
Returns index of a tab.
|