📄 class_c_hello_world_basic_app_view.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>CHelloWorldBasicAppView Class Reference</title><link href="style.css" rel="stylesheet" type="text/css"></head><table border="0" width="100%" height="8" bgcolor="#eeeeee"><tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a>S60 3rd Edition SDK FP2 for Symbian OS </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table><!-- Generated by Doxygen 1.4.5 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div><h1>CHelloWorldBasicAppView Class Reference</h1><!-- doxytag: class="CHelloWorldBasicAppView" --><!-- doxytag: inherits="CCoeControl" -->Inherits CCoeControl.<p>Inheritance diagram for CHelloWorldBasicAppView:<p><center><img src="class_c_hello_world_basic_app_view__inherit__graph.png" border="0" usemap="#_c_hello_world_basic_app_view__inherit__map" alt="Inheritance graph"></center><a href="class_c_hello_world_basic_app_view-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2><p><p>Definition at line <a class="el" href="helloworldbasicappview_8h-source.html#l00023">23</a> of file <a class="el" href="helloworldbasicappview_8h-source.html">helloworldbasicappview.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#86b9b8317b30af7e92818502b4bfdb34">~CHelloWorldBasicAppView</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">TDes & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#59cee462c5e06d883260d21037a3ebd7">GetText</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#67f946ca7848ec78de4961c5bcefdb72">Draw</a> (const TRect &aRect) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#9f9bb5a2110532e2f2909eaefb44d36a">SizeChanged</a> ()</td></tr><tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#5891ab00f23b517058efe213c1febfd2">NewL</a> (const TRect &aRect)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#910d18e663ad77c3995c0313f3bd65bd">NewLC</a> (const TRect &aRect)</td></tr><tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#bf31593b337cbf3fb671382cf773281c">ConstructL</a> (const TRect &aRect)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#5e4d6585c0318638ef415fa23ee6a14d">CHelloWorldBasicAppView</a> ()</td></tr><tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">const CFont * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#4faf9e48cb813e0be080fe4270d15573">iFont</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">TBuf< 24 > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_app_view.html#3acc54dfc6520e11f5c51f4cd887a7d0">iText</a></td></tr></table><hr><h2>Constructor & Destructor Documentation</h2><a class="anchor" name="86b9b8317b30af7e92818502b4bfdb34"></a><!-- doxytag: member="CHelloWorldBasicAppView::~CHelloWorldBasicAppView" ref="86b9b8317b30af7e92818502b4bfdb34" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">CHelloWorldBasicAppView::~CHelloWorldBasicAppView </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>~CHelloWorldBasicAppView Virtual Destructor. <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>.<div class="fragment"><pre class="fragment"><a name="l00087"></a>00087 {<a name="l00088"></a>00088 <span class="comment">// No implementation required</span><a name="l00089"></a>00089 }</pre></div><p> </td> </tr></table><a class="anchor" name="5e4d6585c0318638ef415fa23ee6a14d"></a><!-- doxytag: member="CHelloWorldBasicAppView::CHelloWorldBasicAppView" ref="5e4d6585c0318638ef415fa23ee6a14d" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">CHelloWorldBasicAppView::CHelloWorldBasicAppView </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>CHelloWorldBasicAppView. C++ default constructor. <p>Definition at line <a class="el" href="helloworldbasicappview_8cpp-source.html#l00075">75</a> of file <a class="el" href="helloworldbasicappview_8cpp-source.html">helloworldbasicappview.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00076"></a>00076 {<a name="l00077"></a>00077 <span class="comment">// No implementation required</span><a name="l00078"></a>00078 }</pre></div><p> </td> </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="5891ab00f23b517058efe213c1febfd2"></a><!-- doxytag: member="CHelloWorldBasicAppView::NewL" ref="5891ab00f23b517058efe213c1febfd2" args="(const TRect &aRect)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> * CHelloWorldBasicAppView::NewL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TRect & </td> <td class="mdname1" valign="top" nowrap> <em>aRect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>NewL. Two-phased constructor. Create a CHelloWorldBasicAppView object, which will draw itself to aRect. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>The rectangle this view will be drawn to. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>a pointer to the created instance of CHelloWorldBasicAppView. </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>References <a class="el" href="helloworldbasicappview_8cpp-source.html#l00040">NewLC()</a>.<p>Referenced by <a class="el" href="helloworldbasicappui_8cpp-source.html#l00040">CHelloWorldBasicAppUi::ConstructL()</a>.<div class="fragment"><pre class="fragment"><a name="l00029"></a>00029 {<a name="l00030"></a>00030 <a class="code" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>* <span class="keyword">self</span> = <a class="code" href="class_c_hello_world_basic_app_view.html#910d18e663ad77c3995c0313f3bd65bd">CHelloWorldBasicAppView::NewLC</a>( aRect );<a name="l00031"></a>00031 CleanupStack::Pop( <span class="keyword">self</span> );<a name="l00032"></a>00032 <span class="keywordflow">return</span> <span class="keyword">self</span>;<a name="l00033"></a>00033 }</pre></div><p> </td> </tr></table><a class="anchor" name="910d18e663ad77c3995c0313f3bd65bd"></a><!-- doxytag: member="CHelloWorldBasicAppView::NewLC" ref="910d18e663ad77c3995c0313f3bd65bd" args="(const TRect &aRect)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a> * CHelloWorldBasicAppView::NewLC </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TRect & </td> <td class="mdname1" valign="top" nowrap> <em>aRect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>NewLC. Two-phased constructor. Create a CHelloWorldBasicAppView object, which will draw itself to aRect. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>Rectangle this view will be drawn to. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created instance of CHelloWorldBasicAppView. </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>References <a class="el" href="helloworldbasicappview_8cpp-source.html#l00053">ConstructL()</a>.<p>Referenced by <a class="el" href="helloworldbasicappview_8cpp-source.html#l00028">NewL()</a>.<div class="fragment"><pre class="fragment"><a name="l00041"></a>00041 {<a name="l00042"></a>00042 <a class="code" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>* <span class="keyword">self</span> = <span class="keyword">new</span> ( ELeave ) <a class="code" href="class_c_hello_world_basic_app_view.html">CHelloWorldBasicAppView</a>;<a name="l00043"></a>00043 CleanupStack::PushL( <span class="keyword">self</span> );<a name="l00044"></a>00044 <span class="keyword">self</span>->ConstructL( aRect );<a name="l00045"></a>00045 <span class="keywordflow">return</span> <span class="keyword">self</span>;<a name="l00046"></a>00046 }</pre></div><p> </td> </tr></table><a class="anchor" name="59cee462c5e06d883260d21037a3ebd7"></a><!-- doxytag: member="CHelloWorldBasicAppView::GetText" ref="59cee462c5e06d883260d21037a3ebd7" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TDes & CHelloWorldBasicAppView::GetText </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -