Link against: avkon.lib
None
#include <AknIndicatorContainer.h>
Inherits CAknControl, and MEikStatusPaneObserver.
This container is also used for the status indicators in navi pane and for editor indicators in queries.
Public Types |
|
enum | TLayoutOrientation { EVertical, EHorizontal } |
Layout orientations of the indicator container. More... |
|
enum | TIndicatorAlignment { ELeft, ERight } |
Alignment of the indicators. More... |
|
enum | TIndicatorContext { EUniversalIndicators = 0, ENaviPaneEditorIndicators, EQueryEditorIndicators, EFindIndicators } |
Context of the indicator container. More... |
|
enum | TIndicatorPosition { ELeftSide, ERightSide, EMiddle } |
Position of a indicator. More... |
|
enum | TCustomIndicatorFlags { EMultiColorIndicator = 0x1, EIndicatorPositionInverted = 0x2 } |
Additional flags that can be used for custom indicators. More... |
|
enum | TLayoutMode { ELayoutModeUsual, ELayoutModeWide } |
Layout modes of indicator container. More... |
|
Public Member Functions |
|
IMPORT_C | CAknIndicatorContainer () |
Default constructor. |
|
IMPORT_C | CAknIndicatorContainer (TInt aIndicatorContext) |
Constructor. |
|
IMPORT_C | ~CAknIndicatorContainer () |
Destructor. |
|
IMPORT_C void | ConstructL () |
Second-phase constructor. |
|
IMPORT_C void | SetIndicatorState (TUid aIndicatorId, TInt aState, TBool aDrawNow=ETrue) |
Sets indicator state. |
|
IMPORT_C TInt | IndicatorState (TUid aIndicatorId) |
Return the current state of an 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 |
Returns the context of the indicator container. |
|
IMPORT_C void | HandleStatusPaneSizeChange () |
The MEikStatusPaneObserver interface allows a status pane observer to pick up changes in the size or position of the status pane. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
Handles pointer events. |
|
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 whether incall bubble is shown also on the top of the idle status pane. |
|
IMPORT_C void | SetIncallBubbleAllowedInUsual (TBool aAllowed) |
Sets whether 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 () |
Handles size change events. |
|
virtual IMPORT_C void | PositionChanged () |
Handles position change events. |
|
virtual IMPORT_C TInt | CountComponentControls () const |
Returns number of controls inside the context pane control. |
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
Returns a control determined by control index. |
|
Friends |
|
class | CAknIndicatorContainerExtension |
class | CAknIndicatorDataObserver |
|
Additional flags that can be used for custom indicators. |
|
Alignment of the indicators. |
|
Context of the indicator container. These are used to specify what type of status indicators the indicator container contains. |
|
Position of a indicator. These are used for invidual indicators to coarsely specify where they are positioned inside the indicator container. |
|
Layout modes of indicator container. |
|
Layout orientations of the indicator container. These are used to specify how the indicators are laid out inside the indicator container. |
|
Default constructor.
Creates an |
|
Constructor.
Creates
|
|
Destructor. |
|
Returns a control determined by control index.
|
|
Constructs the object from resource.
|
|
Second-phase constructor. |
|
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.
|
|
Redraws those indicators that are visible and contain pictographs. |
|
Handles pointer events.
|
|
Handles a change to the control's resources of type color scheme change. Responds fade events and fades incall status bubble window group.
|
|
The Such events will be as a result of layout changes which cause an actual change in the status pane rectangle. Implements MEikStatusPaneObserver. |
|
Returns the context of the indicator container.
|
|
Return the current state of an indicator.
|
|
Returns the pictograph interface owned by the indicator container, or |
|
Handles position change events. |
|
Replaces the icon of the given indicator.
|
|
Sets whether 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 universal indicators.
|
|
Sets whether 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 universal indicators.
|
|
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:
Editor indicators do not support animation.
|
|
Sets value to the progress bar indicator ( Panics if the specified indicator is not a progress bar indicator.
|
|
Sets value to the message length indicator (
|
|
Handles size change events. |
|
|