Nokia N97 SDK
Example Applications Guide

CSatelliteReferenceContainer Class Reference

#include <SatelliteReferenceContainer.h>

Inheritance diagram for CSatelliteReferenceContainer:

List of all members.

Detailed Description

CSatelliteReferenceContainer container control class.

Definition at line 32 of file SatelliteReferenceContainer.h.


Public Member Functions

void  ConstructL (const TRect &aRect, CAknAppUi *aAppUi)
  ~CSatelliteReferenceContainer ()
void  HandleResourceChange (TInt aType)

Private Member Functions

void  SizeChanged ()
TInt  CountComponentControls () const
CCoeControl *  ComponentControl (TInt aIndex) const
void  Draw (const TRect &aRect) const
void  HandleControlEventL (CCoeControl *aControl, TCoeEvent aEventType)

Private Attributes

CAknAppUi *  iAppUi


Constructor & Destructor Documentation

CSatelliteReferenceContainer::~CSatelliteReferenceContainer (   ) 
 

Destructor.

Definition at line 42 of file SatelliteReferenceContainer.cpp.

00043     {    
00044     }


Member Function Documentation

void CSatelliteReferenceContainer::ConstructL (  const TRect &  aRect,
CAknAppUi *  aAppUi
) 
 

EPOC default constructor.

Parameters:
aRect  Frame rectangle for container.

Definition at line 29 of file SatelliteReferenceContainer.cpp.

References iAppUi.

Referenced by CSatelliteReferenceAppUi::ConstructL().

00030     {
00031     CreateWindowL();           
00032     SetRect(aRect);
00033     ActivateL();
00034     iAppUi = aAppUi;
00035     }

void CSatelliteReferenceContainer::HandleResourceChange (  TInt  aType  ) 
 

To handle layout change event

Definition at line 59 of file SatelliteReferenceContainer.cpp.

References iAppUi.

00060         {
00061         if ( aType == KEikDynamicLayoutVariantSwitch )
00062         {
00063         SetRect(iAppUi->ClientRect());
00064         }               
00065         }

void CSatelliteReferenceContainer::SizeChanged (   )  [private]
 

From CoeControl,SizeChanged.

Definition at line 51 of file SatelliteReferenceContainer.cpp.

00052     {
00053     }

TInt CSatelliteReferenceContainer::CountComponentControls (   )  const [private]
 

From CoeControl,CountComponentControls.

Definition at line 71 of file SatelliteReferenceContainer.cpp.

00072     {
00073     return 0; // return nbr of controls inside this container
00074     }

CCoeControl * CSatelliteReferenceContainer::ComponentControl (  TInt  aIndex  )  const [private]
 

From CCoeControl,ComponentControl.

Definition at line 80 of file SatelliteReferenceContainer.cpp.

00081     {
00082     return NULL;
00083     }

void CSatelliteReferenceContainer::Draw (  const TRect &  aRect  )  const [private]
 

From CCoeControl,Draw.

Definition at line 89 of file SatelliteReferenceContainer.cpp.

00090     {
00091     CWindowGc& gc = SystemGc();
00092     gc.SetPenStyle(CGraphicsContext::ENullPen);
00093     gc.SetBrushColor(KRgbGray);
00094     gc.SetBrushStyle(CGraphicsContext::ESolidBrush);
00095     gc.DrawRect(aRect);
00096     }

void CSatelliteReferenceContainer::HandleControlEventL (  CCoeControl *  aControl,
TCoeEvent  aEventType
)  [private]
 

From ?base_class ?member_description

Definition at line 103 of file SatelliteReferenceContainer.cpp.

00105     {
00106     }


The documentation for this class was generated from the following files:

© Nokia 2009

Back to top