CHelloWorldBasicAppView Class Reference

List of all members.

Public Member Functions

virtual ~CHelloWorldBasicAppView ()
TDes & GetText ()
void Draw (const TRect &aRect) const
virtual void SizeChanged ()

Static Public Member Functions

static CHelloWorldBasicAppViewNewL (const TRect &aRect)
static CHelloWorldBasicAppViewNewLC (const TRect &aRect)

Detailed Description

Definition at line 25 of file helloworldbasicappview.h.


Constructor & Destructor Documentation

CHelloWorldBasicAppView::~CHelloWorldBasicAppView (  )  [virtual]

~CHelloWorldBasicAppView Virtual Destructor.

Definition at line 88 of file helloworldbasicappview.cpp.


Member Function Documentation

CHelloWorldBasicAppView * CHelloWorldBasicAppView::NewL ( const TRect &  aRect  )  [static]

NewL. Two-phased constructor. Create a CHelloWorldBasicAppView 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 CHelloWorldBasicAppView.

Definition at line 30 of file helloworldbasicappview.cpp.

CHelloWorldBasicAppView * CHelloWorldBasicAppView::NewLC ( const TRect &  aRect  )  [static]

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

Parameters:
aRect Rectangle this view will be drawn to.
Returns:
A pointer to the created instance of CHelloWorldBasicAppView.

Definition at line 42 of file helloworldbasicappview.cpp.

TDes & CHelloWorldBasicAppView::GetText (  ) 

GetText

Returns:
modifiable reference to the descriptor, which stores user-given text

Definition at line 140 of file helloworldbasicappview.cpp.

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

From CCoeControl, Draw Draw this CHelloWorldBasicAppView to the screen. If the user has given a text, it is also printed to the center of the screen.

Parameters:
aRect the rectangle of this view that needs updating

Definition at line 99 of file helloworldbasicappview.cpp.

void CHelloWorldBasicAppView::SizeChanged (  )  [virtual]

From CoeControl, SizeChanged. Called by framework when the view size is changed.

Definition at line 131 of file helloworldbasicappview.cpp.


Generated by  doxygen 1.6.2