org.symbian.wrttools.doc.WRTKit/html/WRTKit_View_Class-GUID-e673fe1a-cf46-46f5-b243-ce7422c69cc5.html
changeset 230 7848c135d915
parent 229 716254ccbcc0
child 231 611be8d22832
equal deleted inserted replaced
229:716254ccbcc0 230:7848c135d915
     1 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     2 <html lang="en" xml:lang="en">
       
     3 <head>
       
     4 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
       
     5 <meta name="copyright" content="(C) Copyright 2005" />
       
     6 <meta name="DC.rights.owner" content="(C) Copyright 2005" />
       
     7 <meta content="concept" name="DC.Type" />
       
     8 <meta name="DC.Title" content="WRTKit View Class" />
       
     9 <meta scheme="URI" name="DC.Relation" content="WRTKit_API_Reference-GUID-00e47c27-0a1a-443f-ae85-cf3381635170.html" />
       
    10 <meta content="XHTML" name="DC.Format" />
       
    11 <meta content="GUID-E673FE1A-CF46-46F5-B243-CE7422C69CC5" name="DC.Identifier" />
       
    12 <meta content="en" name="DC.Language" />
       
    13 <link href="commonltr.css" type="text/css" rel="stylesheet" />
       
    14 <title>
       
    15 WRTKit View Class</title>
       
    16 </head>
       
    17 <body id="GUID-E673FE1A-CF46-46F5-B243-CE7422C69CC5"><a name="GUID-E673FE1A-CF46-46F5-B243-CE7422C69CC5"><!-- --></a>
       
    18 
       
    19 
       
    20 
       
    21     <h1 class="topictitle1">
       
    22 WRTKit View Class</h1>
       
    23 
       
    24     <div>
       
    25 
       
    26         <div class="section"><h2 class="sectiontitle">
       
    27 Description</h2>
       
    28 
       
    29             
       
    30             <p>
       
    31 
       
    32                 The View class is an abstract base class for all views. Views are containers for controls
       
    33                 and are used to collect the set of controls that constitutes a logical view in a
       
    34                 widget user interface. The displayed view is controlled by the UIManager. Don't
       
    35                 instantiate View directly but rather one of its subclasses, e.g. ListView.
       
    36             </p>
       
    37 
       
    38         </div>
       
    39 
       
    40         <div class="section"><h2 class="sectiontitle">
       
    41 Inherits from</h2>
       
    42 
       
    43             
       
    44             <p>
       
    45 
       
    46                 <a href="WRTKit_UIElement_Class-GUID-37b82f75-720c-4f54-9769-cda18453ffa3.html">
       
    47 UIElement</a>
       
    48             </p>
       
    49 
       
    50         </div>
       
    51 
       
    52         <div class="section"><h2 class="sectiontitle">
       
    53 Events</h2>
       
    54 
       
    55             
       
    56             <br /><ul>
       
    57 
       
    58                 <li>
       
    59 
       
    60                     <p>
       
    61 FocusedControlChanged</p>
       
    62 
       
    63                     
       
    64 
       
    65                         <p>
       
    66 
       
    67                             This event is fired when the focused control has changed in the view.
       
    68                         </p>
       
    69 
       
    70                     
       
    71                 </li>
       
    72 
       
    73             </ul>
       
    74 
       
    75         </div>
       
    76 
       
    77     </div>
       
    78 
       
    79     <div>
       
    80 <div class="familylinks">
       
    81 <div class="parentlink"><strong>Parent topic:</strong> <a href="WRTKit_API_Reference-GUID-00e47c27-0a1a-443f-ae85-cf3381635170.html">WRTKit API Reference</a></div>
       
    82 </div>
       
    83 </div>
       
    84 <div class="nested1" id="GUID-03FF9D38-7DA8-47F6-BE17-05C06A45EC23"><a name="GUID-03FF9D38-7DA8-47F6-BE17-05C06A45EC23"><!-- --></a>
       
    85 
       
    86         <h2 class="topictitle2">
       
    87 getFocusedControl()</h2>
       
    88 
       
    89         <div>
       
    90 
       
    91             <div class="section"><h3 class="sectiontitle">
       
    92 Syntax</h3>
       
    93 
       
    94                 
       
    95                 <pre>
       
    96 [Control] View.getFocusedControl(void)</pre>
       
    97 
       
    98             </div>
       
    99 
       
   100             <div class="section"><h3 class="sectiontitle">
       
   101 Description</h3>
       
   102 
       
   103                 
       
   104                 <p>
       
   105 
       
   106                     Retrieves the currently focused control in the view or null if none.
       
   107                 </p>
       
   108 
       
   109             </div>
       
   110 
       
   111             <div class="section"><h3 class="sectiontitle">
       
   112 Arguments</h3>
       
   113 
       
   114                 
       
   115                 <p>
       
   116 
       
   117                     This method does not take any arguments.
       
   118                 </p>
       
   119 
       
   120             </div>
       
   121 
       
   122             <div class="section"><h3 class="sectiontitle">
       
   123 Return value</h3>
       
   124 
       
   125                 
       
   126                 <p>
       
   127 
       
   128                     The current focused control or null if none.
       
   129                 </p>
       
   130 
       
   131             </div>
       
   132 
       
   133         </div>
       
   134 
       
   135     </div>
       
   136 
       
   137     <div class="nested1" id="GUID-A80F4155-D5E3-42FF-9ECA-214C7AFB8483"><a name="GUID-A80F4155-D5E3-42FF-9ECA-214C7AFB8483"><!-- --></a>
       
   138 
       
   139         <h2 class="topictitle2">
       
   140 focusFirstControl()</h2>
       
   141 
       
   142         <div>
       
   143 
       
   144             <div class="section"><h3 class="sectiontitle">
       
   145 Syntax</h3>
       
   146 
       
   147                 
       
   148                 <pre>
       
   149 [Control] View.focusFirstControl(void)</pre>
       
   150 
       
   151             </div>
       
   152 
       
   153             <div class="section"><h3 class="sectiontitle">
       
   154 Description</h3>
       
   155 
       
   156                 
       
   157                 <p>
       
   158 
       
   159                     Attempts to focus the first focusable control in the view. Note that
       
   160                     this method call might fail to actually focus the control in certain
       
   161                     circumstances, such as when the view is not visible or if no focusable
       
   162                     control exists.
       
   163                 </p>
       
   164 
       
   165                 <p>
       
   166 
       
   167                     This method is rarely needed because focus handling is to a high degree
       
   168                     handled automatically by the user interface toolkit. For example when
       
   169                     a new view is displayed the first focusable control is automatically
       
   170                     given focus.
       
   171                 </p>
       
   172 
       
   173             </div>
       
   174 
       
   175             <div class="section"><h3 class="sectiontitle">
       
   176 Arguments</h3>
       
   177 
       
   178                 
       
   179                 <p>
       
   180 
       
   181                     This method does not take any arguments.
       
   182                 </p>
       
   183 
       
   184             </div>
       
   185 
       
   186             <div class="section"><h3 class="sectiontitle">
       
   187 Return value</h3>
       
   188 
       
   189                 
       
   190                 <p>
       
   191 
       
   192                     This method does not return a value.
       
   193                 </p>
       
   194 
       
   195             </div>
       
   196 
       
   197         </div>
       
   198 
       
   199     </div>
       
   200 
       
   201 
       
   202 </body>
       
   203 </html>