API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknindicatorcontainer.h>
Inherits CAknControl, and MEikStatusPaneObserver.
Public Types |
|
enum | TLayoutOrientation { EVertical, EHorizontal } |
enum | TIndicatorAlignment { ELeft, ERight } |
enum | TIndicatorContext { EUniversalIndicators = 0, ENaviPaneEditorIndicators, EQueryEditorIndicators, EFindIndicators } |
enum | TIndicatorPosition { ELeftSide, ERightSide, EMiddle } |
enum | TCustomIndicatorFlags { EMultiColorIndicator = 0x1, EIndicatorPositionInverted = 0x2 } |
enum | TLayoutMode { ELayoutModeUsual, ELayoutModeWide } |
Public Member Functions |
|
IMPORT_C | CAknIndicatorContainer () |
Constructor. |
|
IMPORT_C | CAknIndicatorContainer (TInt aIndicatorContext) |
Constructor. |
|
IMPORT_C | ~CAknIndicatorContainer () |
Destructor. |
|
IMPORT_C void | ConstructL () |
2nd phase constructor. |
|
IMPORT_C void | SetIndicatorState (TUid aIndicatorId, TInt aState, TBool aDrawNow=ETrue) |
Sets indicator state. |
|
IMPORT_C TInt | IndicatorState (TUid aIndicatorId) |
Return a current state of the indicator. |
|
IMPORT_C void | SetIndicatorValueL (TUid aIndicatorId, const TDesC &aString) |
Sets value to the message length indicator (EAknNaviPaneEditorIndicatorMessageLength). |
|
IMPORT_C void | SetIncallBubbleFlags (const TInt &aFlags) |
Sets value to the incall status bubble indicator on the top of the status pane. |
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
Constructs the object from resource. |
|
IMPORT_C TInt | IndicatorContext () const |
Return the context of the indicator. |
|
IMPORT_C void | HandleStatusPaneSizeChange () |
From MEikStatusPaneObserver. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl. |
|
IMPORT_C void | SetIndicatorValue (TUid aIndicatorId, TInt aValue, TInt aMaxValue) |
Sets value to the progress bar indicator (EAknNaviPaneEditorIndicatorProgressBar). |
|
void | DrawPictographArea () |
Redraws those indicators that are visible and contain pictographs. |
|
CAknPictographInterface * | PictographInterface () const |
Returns the pictograph interface owned by the indicator container, or NULL if pictographs are not supported. |
|
IMPORT_C void | SetIncallBubbleAllowedInIdle (TBool aAllowed) |
Sets wheter incall bubble is shown also on the top of the idle status pane. |
|
IMPORT_C void | SetIncallBubbleAllowedInUsual (TBool aAllowed) |
Sets wheter incall bubble is shown on the top of the usual status pane. |
|
IMPORT_C void | SetIndicatorObserver (MAknIndicatorObserver *aIndicatorObserver, TUid aIndicatorUid) |
Sets observer for given indicator. |
|
IMPORT_C TUid | CreateIndicatorFromResourceL (TInt aIndicatorResourceId, TInt aCustomIndicatorFlags) |
Creates a custom indicator. |
|
IMPORT_C void | ReplaceIndicatorIconL (TUid aIndicator, TInt aState, TInt aLayoutMode, CFbsBitmap *aIconBitmap, CFbsBitmap *aIconMask, TInt aIconIndex=0) |
Replaces the icon of the given indicator. |
|
Protected Member Functions |
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
Handles a change to the control's resources of type aType which are shared across the environment, e.g. |
|
virtual IMPORT_C void | SizeChanged () |
From CCoeControl. |
|
virtual IMPORT_C void | PositionChanged () |
From CCoeControl. |
|
virtual IMPORT_C TInt | CountComponentControls () const |
From CCoeControl. |
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
From CCoeControl. |
|
Friends |
|
class | CAknIndicatorDataObserver |
|
|
|
|
|
|
|
Constructor. Creates EUniversalIndicators object. |
|
Constructor. Creates EUniversalIndicators, ENaviPaneEditorIndicators or EQueryEditorIndicators object.
|
|
Destructor. |
|
From CCoeControl. Returns a control determined by control id.
|
|
Constructs the object from resource.
|
|
2nd phase constructor. |
|
From CCoeControl. Returns number of controls inside the context pane control.
|
|
Creates a custom indicator. Indicators created with this method can be used in addition to default indicators.
EIndicatorPositionInverted: Indicator is aligned to the opposite side than default (default is right side). Note that this flag does not quarantee exact location for the indicator, indicators are shown in priority order and location may vary and look different in different layouts.
|
|
Redraws those indicators that are visible and contain pictographs. |
|
From CCoeControl. Handles pointer events |
|
Handles a change to the control's resources of type aType which are shared across the environment, e.g. color scheme change. Responds fade events and fades incall status bubble window group.
|
|
From MEikStatusPaneObserver. The MEikStatusPaneObserver interface allows a status pane observer to pick up changes in the size or position of the status pane. Such events will be as a result of layout changes which cause an actual change in the status pane rectangle. Implements MEikStatusPaneObserver. |
|
Return the context of the indicator.
|
|
Return a current state of the indicator.
|
|
Returns the pictograph interface owned by the indicator container, or NULL if pictographs are not supported. |
|
From CCoeControl. Handle the position change events. |
|
Replaces the icon of the given indicator.
|
|
Sets wheter incall bubble is shown also on the top of the idle status pane. Normally it is shown only in usual statuspane layouts, but with this method it can be set to shown also in idle. NOTE: This method works only if indicatorcontainer is used as container for universalindicators.
|
|
Sets wheter incall bubble is shown on the top of the usual status pane. Normally it is shown in usual statuspane layouts, but with this method it can prevent it to be shown. NOTE: This method works only if indicatorcontainer is used as container for universalindicators.
|
|
Sets value to the incall status bubble indicator on the top of the status pane.
|
|
Sets observer for given indicator.
|
|
Sets indicator state. The state can be one of the following: EAknIndicatorStateOff, EAknIndicatorStateOn or EAknIndicatorStateAnimate. Editor indicators do not support animation.
|
|
Sets value to the progress bar indicator (EAknNaviPaneEditorIndicatorProgressBar). Panics if this is not progress bar indicator.
|
|
Sets value to the message length indicator (EAknNaviPaneEditorIndicatorMessageLength).
|
|
From CCoeControl. Handle the size change events. |
|