Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_hello_world_basic_app_view.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: CHelloWorldBasicAppView Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="contents">
<h1>CHelloWorldBasicAppView Class Reference</h1><!-- doxytag: class="CHelloWorldBasicAppView" -->
<p><a href="class_c_hello_world_basic_app_view-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#ab9c5fcaf63dadb3ac256da16250232aa">~CHelloWorldBasicAppView</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#a4cd95207d54ed5b6d226e4f7ecdf60c3">Draw</a> (const TRect &amp;aRect) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#aca7c3b8a59edd4f59b8923e2a89a7fc3">SizeChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#aeb93acea1ba827677969a67a985e21b0">~CHelloWorldBasicAppView</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TDes &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#a06d9ceabab68ab2e9935b1af116b654c">GetText</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#a4cd95207d54ed5b6d226e4f7ecdf60c3">Draw</a> (const TRect &amp;aRect) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#aafec6a566583a9423b2aa0a6fc88f455">SizeChanged</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#af938676f7eee65925c90b654b5a5034f">NewL</a> (const TRect &amp;aRect)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#a804eda405da415cc0e58824a44d3c622">NewLC</a> (const TRect &amp;aRect)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#a615f73dd52fff7f4fa9bdecf45299b9f">NewL</a> (const TRect &amp;aRect)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#af9887f9511e434dea96d4b294e5b5c07">NewLC</a> (const TRect &amp;aRect)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="_forum_nokia_2_s60__3rd___edition___text_m_t_m___example_2modules_2_install_2src_2helloworldbasicappview_8h_source.html#l00023">23</a> of file <a class="el" href="_forum_nokia_2_s60__3rd___edition___text_m_t_m___example_2modules_2_install_2src_2helloworldbasicappview_8h_source.html">helloworldbasicappview.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab9c5fcaf63dadb3ac256da16250232aa"></a><!-- doxytag: member="CHelloWorldBasicAppView::~CHelloWorldBasicAppView" ref="ab9c5fcaf63dadb3ac256da16250232aa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CHelloWorldBasicAppView::~CHelloWorldBasicAppView </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>~CHelloWorldBasicAppView Virtual Destructor. </p>

<p>Definition at line <a class="el" href="helloworldbasicappview_8cpp_source.html#l00086">86</a> of file <a class="el" href="helloworldbasicappview_8cpp_source.html">helloworldbasicappview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeb93acea1ba827677969a67a985e21b0"></a><!-- doxytag: member="CHelloWorldBasicAppView::~CHelloWorldBasicAppView" ref="aeb93acea1ba827677969a67a985e21b0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual CHelloWorldBasicAppView::~CHelloWorldBasicAppView </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>~CHelloWorldBasicAppView Virtual Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af938676f7eee65925c90b654b5a5034f"></a><!-- doxytag: member="CHelloWorldBasicAppView::NewL" ref="af938676f7eee65925c90b654b5a5034f" args="(const TRect &amp;aRect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> * CHelloWorldBasicAppView::NewL </td>
          <td>(</td>
          <td class="paramtype">const TRect &amp;&nbsp;</td>
          <td class="paramname"> <em>aRect</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>NewL. Two-phased constructor. Create a <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> object, which will draw itself to aRect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aRect</em>&nbsp;</td><td>The rectangle this view will be drawn to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the created instance of <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>. </dd></dl>

<p>Definition at line <a class="el" href="helloworldbasicappview_8cpp_source.html#l00028">28</a> of file <a class="el" href="helloworldbasicappview_8cpp_source.html">helloworldbasicappview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a804eda405da415cc0e58824a44d3c622"></a><!-- doxytag: member="CHelloWorldBasicAppView::NewLC" ref="a804eda405da415cc0e58824a44d3c622" args="(const TRect &amp;aRect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> * CHelloWorldBasicAppView::NewLC </td>
          <td>(</td>
          <td class="paramtype">const TRect &amp;&nbsp;</td>
          <td class="paramname"> <em>aRect</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>NewLC. Two-phased constructor. Create a <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> object, which will draw itself to aRect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aRect</em>&nbsp;</td><td>Rectangle this view will be drawn to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the created instance of <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>. </dd></dl>

<p>Definition at line <a class="el" href="helloworldbasicappview_8cpp_source.html#l00040">40</a> of file <a class="el" href="helloworldbasicappview_8cpp_source.html">helloworldbasicappview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4cd95207d54ed5b6d226e4f7ecdf60c3"></a><!-- doxytag: member="CHelloWorldBasicAppView::Draw" ref="a4cd95207d54ed5b6d226e4f7ecdf60c3" args="(const TRect &amp;aRect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CHelloWorldBasicAppView::Draw </td>
          <td>(</td>
          <td class="paramtype">const TRect &amp;&nbsp;</td>
          <td class="paramname"> <em>aRect</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>From CCoeControl, Draw Draw this <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> to the screen. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aRect</em>&nbsp;</td><td>the rectangle of this view that needs updating </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="helloworldbasicappview_8cpp_source.html#l00097">97</a> of file <a class="el" href="helloworldbasicappview_8cpp_source.html">helloworldbasicappview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aca7c3b8a59edd4f59b8923e2a89a7fc3"></a><!-- doxytag: member="CHelloWorldBasicAppView::SizeChanged" ref="aca7c3b8a59edd4f59b8923e2a89a7fc3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CHelloWorldBasicAppView::SizeChanged </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>From CoeControl, SizeChanged. Called by framework when the view size is changed. </p>

<p>Definition at line <a class="el" href="helloworldbasicappview_8cpp_source.html#l00129">129</a> of file <a class="el" href="helloworldbasicappview_8cpp_source.html">helloworldbasicappview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a615f73dd52fff7f4fa9bdecf45299b9f"></a><!-- doxytag: member="CHelloWorldBasicAppView::NewL" ref="a615f73dd52fff7f4fa9bdecf45299b9f" args="(const TRect &amp;aRect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>* CHelloWorldBasicAppView::NewL </td>
          <td>(</td>
          <td class="paramtype">const TRect &amp;&nbsp;</td>
          <td class="paramname"> <em>aRect</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>NewL. Two-phased constructor. Create a <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> object, which will draw itself to aRect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aRect</em>&nbsp;</td><td>The rectangle this view will be drawn to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the created instance of <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="af9887f9511e434dea96d4b294e5b5c07"></a><!-- doxytag: member="CHelloWorldBasicAppView::NewLC" ref="af9887f9511e434dea96d4b294e5b5c07" args="(const TRect &amp;aRect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>* CHelloWorldBasicAppView::NewLC </td>
          <td>(</td>
          <td class="paramtype">const TRect &amp;&nbsp;</td>
          <td class="paramname"> <em>aRect</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>NewLC. Two-phased constructor. Create a <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> object, which will draw itself to aRect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aRect</em>&nbsp;</td><td>Rectangle this view will be drawn to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the created instance of <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a06d9ceabab68ab2e9935b1af116b654c"></a><!-- doxytag: member="CHelloWorldBasicAppView::GetText" ref="a06d9ceabab68ab2e9935b1af116b654c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TDes &amp; CHelloWorldBasicAppView::GetText </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>GetText </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>modifiable reference to the descriptor, which stores user-given text </dd></dl>

<p>Definition at line <a class="el" href="helloworldbasicappview_8cpp_source.html#l00138">138</a> of file <a class="el" href="helloworldbasicappview_8cpp_source.html">helloworldbasicappview.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4cd95207d54ed5b6d226e4f7ecdf60c3"></a><!-- doxytag: member="CHelloWorldBasicAppView::Draw" ref="a4cd95207d54ed5b6d226e4f7ecdf60c3" args="(const TRect &amp;aRect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CHelloWorldBasicAppView::Draw </td>
          <td>(</td>
          <td class="paramtype">const TRect &amp;&nbsp;</td>
          <td class="paramname"> <em>aRect</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>From CCoeControl, Draw Draw this <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> to the screen. If the user has given a text, it is also printed to the center of the screen. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aRect</em>&nbsp;</td><td>the rectangle of this view that needs updating </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aafec6a566583a9423b2aa0a6fc88f455"></a><!-- doxytag: member="CHelloWorldBasicAppView::SizeChanged" ref="aafec6a566583a9423b2aa0a6fc88f455" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CHelloWorldBasicAppView::SizeChanged </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>From CoeControl, SizeChanged. Called by framework when the view size is changed. </p>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>