CAknSignalPane Class Reference

class CAknSignalPane : public CCoeControl

A default control in the status pane's signal pane The control draws signal strength indicator graphics.

Inherits from

Public Member Functions
CAknSignalPane ()
~CAknSignalPane ()
IMPORT_C void ConstructFromResourceL ( TResourceReader &)
void DisableAnimation ()
void HandlePointerEventL (const TPointerEvent &)
IMPORT_C void SetNaviPaneBackgroundType ( TInt )
IMPORT_C void SetSignalLevel ( TInt )
IMPORT_C void ShowCdmaIcon ( TInt )
IMPORT_C void ShowCommonPacketDataIcon ( TInt )
IMPORT_C void ShowEdgeIcon ( TInt )
IMPORT_C void ShowGprsIcon ( TInt )
IMPORT_C void ShowHsdpaIcon ( TInt )
IMPORT_C void ShowWcdmaIcon ( TInt )
TInt SignalLevel ()
TInt SignalState ()
Protected Member Functions
IMPORT_C CCoeControl * ComponentControl ( TInt )
IMPORT_C TInt CountComponentControls ()
IMPORT_C void HandleResourceChange ( TInt )
IMPORT_C void PositionChanged ()
IMPORT_C void SizeChanged ()
Private Member Functions
IMPORT_C void ConstructL ()
TInt DoTick ()
IMPORT_C void Draw (const TRect &)
void DrawInFlatStatusPane (const TRect &)
void DrawInNormalStatusPane (const TRect &)
void DrawInSmallStatusPane (const TRect &)
void DrawInStaconPane (const TRect &)
IMPORT_C void * ExtensionInterface ( TUid )
void LoadSignalIconL ( TInt , TInt )
void SetContainerWindowNonFading ( TBool )
CFbsBitmap * SignalIconBitmap ()
CFbsBitmap * SignalIconBitmapMask ()
void StartTickerL ( TTimeIntervalMicroSeconds32 , TTimeIntervalMicroSeconds32 )
void StopTicker ()
TInt TickerCallback ( TAny *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::FocusChanged(TDrawNow)
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HasBorder()const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::InputCapabilities()const
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::MinimumSize()
CCoeControl::MopSupplyObject(TTypeUid)
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAdjacent(TInt)
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateL(RWriteStream &)const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
Inherited Enumerations
CCoeControl:TZoomType
Private Attributes
CAknSignalDataObserver * iDataObserver
CAknSignalPaneExtension * iExtension
TInt iPrivateFlags
CAknSignalIcon * iSignalIconControl
TInt iSignalState
CAknSignalStrength * iSignalStrengthControl
CPeriodic * iTicker
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize

Constructor & Destructor Documentation

CAknSignalPane()

IMPORT_C CAknSignalPane ( )

Standard constructor

~CAknSignalPane()

IMPORT_C ~CAknSignalPane ( )

Destructor

Member Functions Documentation

ComponentControl(TInt)

IMPORT_C CCoeControl * ComponentControl ( TInt aIndex ) const [protected, virtual]

From CCoeControl . Returns a control determined by control id.

Parameters

TInt aIndex

ConstructFromResourceL(TResourceReader &)

IMPORT_C void ConstructFromResourceL ( TResourceReader & aReader ) [virtual]

Resource constructor.

Parameters

TResourceReader & aReader Resource reader.

ConstructL()

IMPORT_C void ConstructL ( ) [private]

CountComponentControls()

IMPORT_C TInt CountComponentControls ( ) const [protected, virtual]

From CCoeControl . Returns number of controls inside the context pane control.

DisableAnimation()

void DisableAnimation ( )

Disables possible icon animation.

DoTick()

TInt DoTick ( ) [private]

Draw(const TRect &)

IMPORT_C void Draw ( const TRect & aRect ) const [private, virtual]

Parameters

const TRect & aRect

DrawInFlatStatusPane(const TRect &)

void DrawInFlatStatusPane ( const TRect & aRect ) const [private]

Parameters

const TRect & aRect

DrawInNormalStatusPane(const TRect &)

void DrawInNormalStatusPane ( const TRect & aRect ) const [private]

Parameters

const TRect & aRect

DrawInSmallStatusPane(const TRect &)

void DrawInSmallStatusPane ( const TRect & aRect ) const [private]

Parameters

const TRect & aRect

DrawInStaconPane(const TRect &)

void DrawInStaconPane ( const TRect & aRect ) const [private]

Parameters

const TRect & aRect

ExtensionInterface(TUid)

IMPORT_C void * ExtensionInterface ( TUid aInterface ) [private]

Parameters

TUid aInterface

HandlePointerEventL(const TPointerEvent &)

void HandlePointerEventL ( const TPointerEvent & aPointerEvent ) [virtual]

From CCoeControl . Handles pointer event

Parameters

const TPointerEvent & aPointerEvent Pointer event to be handled

HandleResourceChange(TInt)

IMPORT_C void HandleResourceChange ( TInt aType ) [protected, virtual]

Handles a change to the control's resources of type aType which are shared across the environment.

Parameters

TInt aType Event type.

LoadSignalIconL(TInt, TInt)

void LoadSignalIconL ( TInt aIconState,
TInt aColorIndex
) [private]

Parameters

TInt aIconState
TInt aColorIndex

PositionChanged()

IMPORT_C void PositionChanged ( ) [protected, virtual]

From CCoeControl . Handles the position change events.

SetContainerWindowNonFading(TBool)

void SetContainerWindowNonFading ( TBool aNonFading ) [private]

Parameters

TBool aNonFading

SetNaviPaneBackgroundType(TInt)

IMPORT_C void SetNaviPaneBackgroundType ( TInt aType )

Set the background type. This method is used by the UI framework for for syncronizing this components background type with navipane background type.

Available backgroud types are: EAknNaviPaneBackgroundTypeNotDefined EAknNaviPaneBackgroundTypeWipe EAknNaviPaneBackgroundTypeSolid

Since
2.1

Parameters

TInt aType Background type.

SetSignalLevel(TInt)

IMPORT_C void SetSignalLevel ( TInt aLevel )

Sets signal strength value to the signal indicator.

Parameters

TInt aLevel Signal strength value ( 0 - 7 ).

ShowCdmaIcon(TInt)

IMPORT_C void ShowCdmaIcon ( TInt aCdmaIconState )

Set CDMA state. Available CDMA states are: EAknSignalCdmaIndicatorOff, EAknSignalCdmaIndicatorNoService, EAknSignalCdmaIndicatorAvailable, EAknSignalCdmaIndicatorNotAvailable, EAknSignalCdmaIndicatorActive, EAknSignalCdmaIndicatorDormant, EAknSignalCdmaIndicatorSending, EAknSignalCdmaIndicatorReceiving

Since
2.7

Parameters

TInt aCdmaIconState CDMA state.

ShowCommonPacketDataIcon(TInt)

IMPORT_C void ShowCommonPacketDataIcon ( TInt aCommonPacketDataIconState )

Set common packet data state. Available states are: EAknSignalCommonPacketDataIndicatorOff, EAknSignalCommonPacketDataIndicatorAvailable, EAknSignalCommonPacketDataIndicatorContext, EAknSignalCommonPacketDataIndicatorSuspended, EAknSignalCommonPacketDataIndicatorMultipdp.

Since
2.6

Parameters

TInt aCommonPacketDataIconState Common packet data state.

ShowEdgeIcon(TInt)

IMPORT_C void ShowEdgeIcon ( TInt aEdgeIconState )

Set EDGE (egprs) state. Available EDGE states are: EAknSignalEdgeIndicatorOff, EAknSignalEdgeIndicatorAvailable, EAknSignalEdgeIndicatorAttached, EAknSignalEdgeIndicatorEstablishingContext, EAknSignalEdgeIndicatorContext, EAknSignalEdgeIndicatorMultipdp

Since
3.0

Parameters

TInt aEdgeIconState EDGE state.

ShowGprsIcon(TInt)

IMPORT_C void ShowGprsIcon ( TInt aGprsIconState )

Set GPRS state. Available GRRS state are: EAknSignalGprsIndicatorOff, EAknSignalGprsIndicatorAvailable, EAknSignalGprsIndicatorContext, EAknSignalGprsIndicatorSuspended, EAknSignalGprsIndicatorMultipdp.

Parameters

TInt aGprsIconState GPRS state.

ShowHsdpaIcon(TInt)

IMPORT_C void ShowHsdpaIcon ( TInt aHsdpaIconState )

Set HSDPA state. Available HSDPA states are: EAknSignalHsdpaIndicatorOff, EAknSignalHsdpaIndicatorAvailable, EAknSignalHsdpaIndicatorAttached, EAknSignalHsdpaIndicatorEstablishingContext, EAknSignalHsdpaIndicatorContext, EAknSignalHsdpaIndicatorMultipdp

Since
3.1

Parameters

TInt aHsdpaIconState HSDPA state.

ShowWcdmaIcon(TInt)

IMPORT_C void ShowWcdmaIcon ( TInt aWcdmaIconState )

Set WCDMA state. Available WCDMA states are: EAknSignalWcdmaIndicatorOff, EAknSignalWcdmaIndicatorAvailable, EAknSignalWcdmaIndicatorAttached, EAknSignalWcdmaIndicatorEstablishingContext, EAknSignalWcdmaIndicatorContext, EAknSignalWcdmaIndicatorMultipdp

Since
2.6

Parameters

TInt aWcdmaIconState WCDMA state.

SignalIconBitmap()

CFbsBitmap * SignalIconBitmap ( ) const [private]

SignalIconBitmapMask()

CFbsBitmap * SignalIconBitmapMask ( ) const [private]

SignalLevel()

TInt SignalLevel ( )

Gets signal strength value from the signal indicator.

SignalState()

TInt SignalState ( )

Gets signal state value from the signal indicator.

SizeChanged()

IMPORT_C void SizeChanged ( ) [protected, virtual]

From CCoeControl . Handle the size change events.

StartTickerL(TTimeIntervalMicroSeconds32, TTimeIntervalMicroSeconds32)

void StartTickerL ( TTimeIntervalMicroSeconds32 aDelay,
TTimeIntervalMicroSeconds32 aInterval
) [private]

StopTicker()

void StopTicker ( ) [private]

TickerCallback(TAny *)

TInt TickerCallback ( TAny * aThis ) [private, static]

Parameters

TAny * aThis

Member Data Documentation

CAknSignalDataObserver * iDataObserver

CAknSignalDataObserver * iDataObserver [private]

CAknSignalPaneExtension * iExtension

CAknSignalPaneExtension * iExtension [private]

TInt iPrivateFlags

TInt iPrivateFlags [private]

CAknSignalIcon * iSignalIconControl

CAknSignalIcon * iSignalIconControl [private]

TInt iSignalState

TInt iSignalState [private]

CAknSignalStrength * iSignalStrengthControl

CAknSignalStrength * iSignalStrengthControl [private]

CPeriodic * iTicker

CPeriodic * iTicker [private]