Symbian3/PDK/Source/GUID-DAC32BB9-C0EB-42FF-A596-C2F1A90A4BD7.dita
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 9 59758314f811
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
    47 <li><p>allow applications to register views, with one view being
    47 <li><p>allow applications to register views, with one view being
    48 active in each running application at any one time. It does not dictate what
    48 active in each running application at any one time. It does not dictate what
    49 a view is; however, it does provide support for a view being a display page
    49 a view is; however, it does provide support for a view being a display page
    50 on the screen</p></li>
    50 on the screen</p></li>
    51 </ul>
    51 </ul>
    52 <fig id="GUID-DD277261-3BF3-4F60-87BC-3ABC709C1E09"><title>Controller-view hierarchy in traditional and Symbian architectures</title><image href="GUID-5F5F9DF5-E08E-47F9-B35C-E07180524864_d0e68092_href.png"/></fig>
    52 <fig id="GUID-79751C55-C0D9-4511-9147-8E6CB95AA610"><title>Controller-view hierarchy in traditional and Symbian architectures</title><image href="GUID-46040A24-92C3-4B0B-88CC-BDD8DDA8F27C_d0e74592_href.png"/></fig>
    53 <p>In practice, the view concept varies depending upon your chosen architecture
    53 <p>In practice, the view concept varies depending upon your chosen architecture
    54 approach: </p>
    54 approach: </p>
    55 <section id="GUID-53125010-FFC7-422E-9EE5-A42427031F10"><title>Traditional architecture
    55 <section id="GUID-53125010-FFC7-422E-9EE5-A42427031F10"><title>Traditional architecture
    56 views</title>
    56 views</title>
    57 <p>In a traditional architecture, the view is derived from <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/reference/reference-cpp/Control_Environment/CCoeControlClass.html" format="application/java-archive"><parmname>CCoeControl</parmname></xref>, which typically constructs a top-level
    57 <p>In a traditional architecture, the view is derived from <xref href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita"><apiname>CCoeControl</apiname></xref>,
    58 window-owning control that draws itself and contains other controls.</p>
    58 which typically constructs a top-level window-owning control that draws itself
       
    59 and contains other controls.</p>
    59 <p>For more information on views in tradition architecture approaches,
    60 <p>For more information on views in tradition architecture approaches,
    60 see <xref href="GUID-B5DE1C86-2B16-4B22-887F-7079E54A8ED6.dita">Traditional
    61 see <xref href="GUID-B5DE1C86-2B16-4B22-887F-7079E54A8ED6.dita">Traditional
    61 Symbian UI application architecture</xref>.</p>
    62 Symbian UI application architecture</xref>.</p>
    62 </section>
    63 </section>
    63 <section id="GUID-B473202D-9682-4EBA-83F2-8391DB2B56D9"><title>Symbian architecture
    64 <section id="GUID-B473202D-9682-4EBA-83F2-8391DB2B56D9"><title>Symbian architecture
    64 views</title>
    65 views</title>
    65 <p>In Symbian view architecture, a view controller is added between the <xref href="GUID-FD2CDEB8-0784-4BE5-A775-170F57D71BBC.dita">UI controller</xref> and
    66 <p>In Symbian view architecture, a view controller is added between the <xref href="GUID-FD2CDEB8-0784-4BE5-A775-170F57D71BBC.dita">UI controller</xref> and
    66 the view that draws itself and contains other controls. For example, view
    67 the view that draws itself and contains other controls. For example, view
    67 controllers can be used to specify CBAs that are specific to specific views.</p>
    68 controllers can be used to specify CBAs that are specific to specific views.</p>
    68 <p>In a Symbian architecture, the view controller is derived from <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/classCAknView.html" format="application/java-archive"><parmname>CAknView</parmname></xref>,
    69 <p>In a Symbian architecture, the view controller is derived from <xref href="GUID-11967EBB-7439-3775-B287-7560ECA0AF1F.dita"><apiname>CAknView</apiname></xref>,
    69 which is derived directly from <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/reference/reference-cpp/Kernel_Architecture_2/CBaseClass.html#%3a%3aCBase" format="application/java-archive"><parmname>CBase</parmname></xref> and
    70 which is derived directly from <xref href="GUID-8F6FE089-E2A8-30F4-B67E-10F286347681.dita"><apiname>CBase</apiname></xref> and not from <xref href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita"><apiname>CCoeControl</apiname></xref>.
    70 not from <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/reference/reference-cpp/Control_Environment/CCoeControlClass.html" format="application/java-archive"><parmname>CCoeControl</parmname></xref>. This means the <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/classCAknView.html" format="application/java-archive"><parmname>CAknView</parmname></xref>-derived
    71 This means the <xref href="GUID-11967EBB-7439-3775-B287-7560ECA0AF1F.dita"><apiname>CAknView</apiname></xref>-derived views are not controls. <xref href="GUID-11967EBB-7439-3775-B287-7560ECA0AF1F.dita"><apiname>CAknView</apiname></xref>-derived
    71 views are not controls. <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/classCAknView.html" format="application/java-archive"><parmname>CAknView</parmname></xref>-derived
    72 views need to contain <xref href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita"><apiname>CCoeControl</apiname></xref>-derived classes to provide
    72 views need to contain <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/reference/reference-cpp/Control_Environment/CCoeControlClass.html" format="application/java-archive"><parmname>CCoeControl</parmname></xref>-derived
    73 visual representation on the display.</p>
    73 classes to provide visual representation on the display.</p>
    74 <p>For more information on views in Symbian architecture approaches, see <xref href="GUID-68B999C2-0993-4804-9624-42C3D88BE5C7.dita">View
    74 <p>For more information on views in Symbian architecture approaches,
       
    75 see <xref href="GUID-68B999C2-0993-4804-9624-42C3D88BE5C7.dita">View
       
    76 architecture</xref>.</p>
    75 architecture</xref>.</p>
    77 </section>
    76 </section>
    78 <section id="GUID-C9AA9483-424E-4626-8335-5F70FE246E1D"><title>Dialog architecture
    77 <section id="GUID-C9AA9483-424E-4626-8335-5F70FE246E1D"><title>Dialog architecture
    79 views</title>
    78 views</title>
    80 <p>In dialog architectures, views are implemented in modeless dialog boxes.
    79 <p>In dialog architectures, views are implemented in modeless dialog boxes.