CRecCountContainer Class Reference

List of all members.

Public Member Functions

void ConstructL (const TRect &aRect)
 ~CRecCountContainer ()
void Draw (const TRect &aRect) const
TInt CountComponentControls () const
CCoeControl * ComponentControl (TInt aIndex) const
void SizeChanged ()
void HandleResourceChange (TInt aType)
TTypeUid::Ptr MopSupplyObject (TTypeUid aId)
void SetTextL (TInt aNumRecords)

Static Public Member Functions

static CRecCountContainerNewL (const TRect &aRect, CSearchView &aView)
static CRecCountContainerNewLC (const TRect &aRect, CSearchView &aView)

Public Attributes

CAknsBasicBackgroundControlContext * iBackground

Detailed Description

CRecCountContainer container control class. An instance of CRecCountContainer contains the view drawn to the screen for CSearchView

Definition at line 41 of file RecCountContainer.h.


Constructor & Destructor Documentation

CRecCountContainer::~CRecCountContainer (  ) 

~CRecCountContainer Destructor.

Definition at line 81 of file RecCountContainer.cpp.


Member Function Documentation

CRecCountContainer * CRecCountContainer::NewL ( const TRect &  aRect,
CSearchView aView 
) [static]

NewL. Two-phased constructor. Create a CRecCountContainer object, which will draw itself to aRect

Parameters:
aRect The rectangle this view will be drawn to.
Returns:
a pointer to the created instance of CRecCountContainer.

Definition at line 45 of file RecCountContainer.cpp.

CRecCountContainer * CRecCountContainer::NewLC ( const TRect &  aRect,
CSearchView aView 
) [static]

NewLC. Two-phased constructor. Create a CRecCountContainer object, which will draw itself to aRect

Parameters:
aRect The rectangle this view will be drawn to.
Returns:
a pointer to the created instance of CRecCountContainer.

Definition at line 57 of file RecCountContainer.cpp.

void CRecCountContainer::ConstructL ( const TRect &  aRect  ) 

ConstructL 2nd phase constructor.

Parameters:
aRect Frame rectangle for container.

Definition at line 70 of file RecCountContainer.cpp.

void CRecCountContainer::Draw ( const TRect &  aRect  )  const

Draw Draws the control to the screen

Definition at line 93 of file RecCountContainer.cpp.

TInt CRecCountContainer::CountComponentControls (  )  const

CountComponentControls

Returns:
number of controls inside this container.

Definition at line 119 of file RecCountContainer.cpp.

CCoeControl * CRecCountContainer::ComponentControl ( TInt  aIndex  )  const

ComponentControl

Parameters:
Index number of the control.
Returns:
Pointer of controls inside this container.

Definition at line 130 of file RecCountContainer.cpp.

void CRecCountContainer::SizeChanged (  ) 

Called by framework when the view size is changed.

Definition at line 145 of file RecCountContainer.cpp.

void CRecCountContainer::HandleResourceChange ( TInt  aType  ) 

Reacts to screen size change

Definition at line 159 of file RecCountContainer.cpp.

TTypeUid::Ptr CRecCountContainer::MopSupplyObject ( TTypeUid  aId  ) 

Pass skin information if needed.

Definition at line 169 of file RecCountContainer.cpp.


Generated by  doxygen 1.6.2