CExeLauncher_S60Container Class Reference

List of all members.

Public Types

enum  TControls { ELastControl }

Public Member Functions

 CExeLauncher_S60Container ()
void ConstructL (const TRect &aRect, const CCoeControl *aParent, MEikCommandObserver *aCommandObserver)
virtual ~CExeLauncher_S60Container ()
TInt CountComponentControls () const
CCoeControl * ComponentControl (TInt aIndex) const
TKeyResponse OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType)
void HandleResourceChange (TInt aType)

Static Public Member Functions

static CExeLauncher_S60ContainerNewL (const TRect &aRect, const CCoeControl *aParent, MEikCommandObserver *aCommandObserver)
static CExeLauncher_S60ContainerNewLC (const TRect &aRect, const CCoeControl *aParent, MEikCommandObserver *aCommandObserver)

Protected Member Functions

void SizeChanged ()

Detailed Description

Container class for ExeLauncher_S60Container

Definition at line 29 of file ExeLauncher_S60Container.h.


Constructor & Destructor Documentation

CExeLauncher_S60Container::CExeLauncher_S60Container (  ) 

First phase of Symbian two-phase construction. Should not contain any code that could leave.

Definition at line 29 of file ExeLauncher_S60Container.cpp.

CExeLauncher_S60Container::~CExeLauncher_S60Container (  )  [virtual]

Destroy child controls.

Definition at line 38 of file ExeLauncher_S60Container.cpp.


Member Function Documentation

CExeLauncher_S60Container * CExeLauncher_S60Container::NewL ( const TRect &  aRect,
const CCoeControl *  aParent,
MEikCommandObserver *  aCommandObserver 
) [static]

Construct the control (first phase). Creates an instance and initializes it. Instance is not left on cleanup stack.

Parameters:
aRect bounding rectangle
aParent owning parent, or NULL
aCommandObserver command observer
Returns:
initialized instance of CExeLauncher_S60Container

Definition at line 54 of file ExeLauncher_S60Container.cpp.

CExeLauncher_S60Container * CExeLauncher_S60Container::NewLC ( const TRect &  aRect,
const CCoeControl *  aParent,
MEikCommandObserver *  aCommandObserver 
) [static]

Construct the control (first phase). Creates an instance and initializes it. Instance is left on cleanup stack.

Parameters:
aRect The rectangle for this window
aParent owning parent, or NULL
aCommandObserver command observer
Returns:
new instance of CExeLauncher_S60Container

Definition at line 76 of file ExeLauncher_S60Container.cpp.

void CExeLauncher_S60Container::ConstructL ( const TRect &  aRect,
const CCoeControl *  aParent,
MEikCommandObserver *  aCommandObserver 
)

Construct the control (second phase). Creates a window to contain the controls and activates it.

Parameters:
aRect bounding rectangle
aCommandObserver command observer
aParent owning parent, or NULL

Definition at line 94 of file ExeLauncher_S60Container.cpp.

TInt CExeLauncher_S60Container::CountComponentControls (  )  const

Return the number of controls in the container (override)

Returns:
count

Definition at line 121 of file ExeLauncher_S60Container.cpp.

CCoeControl * CExeLauncher_S60Container::ComponentControl ( TInt  aIndex  )  const

Get the control with the given index (override)

Parameters:
aIndex Control index [0...n) (limited by CountComponentControls)
Returns:
Pointer to control

Definition at line 131 of file ExeLauncher_S60Container.cpp.

TKeyResponse CExeLauncher_S60Container::OfferKeyEventL ( const TKeyEvent &  aKeyEvent,
TEventCode  aType 
)

Handle key events.

Definition at line 173 of file ExeLauncher_S60Container.cpp.

void CExeLauncher_S60Container::HandleResourceChange ( TInt  aType  ) 

Handle global resource changes, such as scalable UI or skin events (override)

Definition at line 202 of file ExeLauncher_S60Container.cpp.

void CExeLauncher_S60Container::SizeChanged (  )  [protected]

Handle resizing of the container. This implementation will lay out full-sized controls like list boxes for any screen size, and will layout labels, editors, etc. to the size they were given in the UI designer. This code will need to be modified to adjust arbitrary controls to any screen size.

Definition at line 151 of file ExeLauncher_S60Container.cpp.


Generated by  doxygen 1.6.2