|
Public Types |
enum | TDirection { ELeft,
ERight
} |
| Directions in which the tab group focus can be moved. More...
|
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 from the tab group.
|
IMPORT_C void | SetActiveTabById (TInt aTabId) |
| Activate (highlight) a tab.
|
IMPORT_C void | SetActiveTabByIndex (TInt aTabIndex) |
| Activate (highlight) 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) |
| Sets a tab dimmed/not dimmed.
|
virtual IMPORT_C TBool | IsTabDimmed (TInt aTabId) const |
| Used to check whether or not a tab is dimmed.
|
virtual IMPORT_C TInt | TabIndexFromId (TInt aTabId) const |
| Returns the index of a tab.
|
virtual IMPORT_C TInt | TabIdFromIndex (TInt aTabIndex) const |
| Returns the ID of a tab.
|
virtual IMPORT_C TInt | TabCount () const |
| Number of tabs in the tab group.
|
IMPORT_C void | SetObserver (MAknTabObserver *aObserver) |
| Sets the tab observer for this tab group.
|
virtual IMPORT_C TSize | MinimumSize () |
| Return minimum size of the control.
|
virtual IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
| Handles key events.
|
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 a change to the control's resources.
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| Handles pointer events in tabs.
|
virtual IMPORT_C void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType) |
| Handles an event from an observed control.
|
virtual IMPORT_C void | PrepareContext (CWindowGc &aGc) const |
| Allows to modify graphics context before Draw.
|
virtual IMPORT_C void | HandleNaviDecoratorEventL (TInt aEventID) |
| Method for handling events in observed classes.
|
IMPORT_C void | SetTabMultiColorMode (TInt aTabId, TBool aMultiColor) |
| Sets the multi-color drawing mode of a tab.
|
void | SetDecoratorLayout (TBool aNarrow) |
| Sets the navigation decorator layout so that it corresponds the current tab group layout.
|
void | SetNarrowTabLayoutL (TBool aNarrow, TBool aUseAnimation=EFalse) |
void | SetNaviArrowsVisible (TBool aVisible) |
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 () |
| Handles the size change events.
|
virtual IMPORT_C TInt | CountComponentControls () const |
| Returns number of controls inside this control.
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
| Returns a component control determined by control index.
|
virtual IMPORT_C void | FocusChanged (TDrawNow aDrawNow) |
| This is called when the focus is changed.
|
void | ReverseTabOrderL () |
| Reverse the order of tabs in tab array.
|