org.symbian.wrttools.doc.WRTKit/html/WRTKit_TextEntryControl_Class-GUID-07359ff7-6015-4d2c-a9bf-b345fcf49090.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 TextEntryControl 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-07359FF7-6015-4D2C-A9BF-B345FCF49090" name="DC.Identifier" />
       
    12 <meta content="en" name="DC.Language" />
       
    13 <link href="commonltr.css" type="text/css" rel="stylesheet" />
       
    14 <title>
       
    15 WRTKit TextEntryControl Class</title>
       
    16 </head>
       
    17 <body id="GUID-07359FF7-6015-4D2C-A9BF-B345FCF49090"><a name="GUID-07359FF7-6015-4D2C-A9BF-B345FCF49090"><!-- --></a>
       
    18 
       
    19 
       
    20 
       
    21     <h1 class="topictitle1">
       
    22 WRTKit TextEntryControl Class</h1>
       
    23 
       
    24     <div>
       
    25 
       
    26         <div class="section"><h2 class="sectiontitle">
       
    27 Description</h2>
       
    28 
       
    29             
       
    30             <p>
       
    31 
       
    32                 The TextEntryControl class is an abstract base class for controls that let a user
       
    33                 enter text. Don't instantiate TextEntryControl directly but rather one of its subclasses.
       
    34             </p>
       
    35 
       
    36         </div>
       
    37 
       
    38         <div class="section"><h2 class="sectiontitle">
       
    39 Inherits from</h2>
       
    40 
       
    41             
       
    42             <p>
       
    43 
       
    44                 <a href="WRTKit_Control_Class-GUID-6ddb8154-3fed-40fc-b282-85e6d3ad494f.html">
       
    45 Control</a>
       
    46             </p>
       
    47 
       
    48         </div>
       
    49 
       
    50         <div class="section"><h2 class="sectiontitle">
       
    51 Events</h2>
       
    52 
       
    53             
       
    54             <br /><ul>
       
    55 
       
    56                 <li>
       
    57 
       
    58                     <p>
       
    59 TextChanged</p>
       
    60 
       
    61                     
       
    62 
       
    63                         <p>
       
    64 
       
    65                             This event is fired when the user enters new text in the control.
       
    66                         </p>
       
    67 
       
    68                     
       
    69                 </li>
       
    70 
       
    71             </ul>
       
    72 
       
    73         </div>
       
    74 
       
    75     </div>
       
    76 
       
    77     <div>
       
    78 <div class="familylinks">
       
    79 <div class="parentlink"><strong>Parent topic:</strong> <a href="WRTKit_API_Reference-GUID-00e47c27-0a1a-443f-ae85-cf3381635170.html">WRTKit API Reference</a></div>
       
    80 </div>
       
    81 </div>
       
    82 <div class="nested1" id="GUID-4755F522-0799-4BE5-92DD-A651AFB8A1BE"><a name="GUID-4755F522-0799-4BE5-92DD-A651AFB8A1BE"><!-- --></a>
       
    83 
       
    84         <h2 class="topictitle2">
       
    85 getText()</h2>
       
    86 
       
    87         <div>
       
    88 
       
    89             <div class="section"><h3 class="sectiontitle">
       
    90 Syntax</h3>
       
    91 
       
    92                 
       
    93                 <pre>
       
    94 [String] TextEntryControl.getText(void)</pre>
       
    95 
       
    96             </div>
       
    97 
       
    98             <div class="section"><h3 class="sectiontitle">
       
    99 Description</h3>
       
   100 
       
   101                 
       
   102                 <p>
       
   103 
       
   104                     Retrieves the current text of the text entry control.
       
   105                     The value is a plain text string (not XHTML).
       
   106                 </p>
       
   107 
       
   108             </div>
       
   109 
       
   110             <div class="section"><h3 class="sectiontitle">
       
   111 Arguments</h3>
       
   112 
       
   113                 
       
   114                 <p>
       
   115 
       
   116                     This method does not take any arguments.
       
   117                 </p>
       
   118 
       
   119             </div>
       
   120 
       
   121             <div class="section"><h3 class="sectiontitle">
       
   122 Return value</h3>
       
   123 
       
   124                 
       
   125                 <p>
       
   126 
       
   127                     The current text of the text entry control.
       
   128                 </p>
       
   129 
       
   130             </div>
       
   131 
       
   132         </div>
       
   133 
       
   134     </div>
       
   135 
       
   136     <div class="nested1" id="GUID-0E3FE1F0-6ACA-4DFF-B694-281954916B27"><a name="GUID-0E3FE1F0-6ACA-4DFF-B694-281954916B27"><!-- --></a>
       
   137 
       
   138         <h2 class="topictitle2">
       
   139 setText()</h2>
       
   140 
       
   141         <div>
       
   142 
       
   143             <div class="section"><h3 class="sectiontitle">
       
   144 Syntax</h3>
       
   145 
       
   146                 
       
   147                 <pre>
       
   148 [void] TextEntryControl.setText(String text)</pre>
       
   149 
       
   150             </div>
       
   151 
       
   152             <div class="section"><h3 class="sectiontitle">
       
   153 Description</h3>
       
   154 
       
   155                 
       
   156                 <p>
       
   157 
       
   158                     Sets the text value of the text entry control. The text is displayed in the
       
   159                     editable area of the control and can be edited by the user provided that
       
   160                     the control is not disabled. Setting a text value of null results in no
       
   161                     text being shown. The value is a plain text string (not XHTML).
       
   162                 </p>
       
   163 
       
   164             </div>
       
   165 
       
   166             <div class="section"><h3 class="sectiontitle">
       
   167 Arguments</h3>
       
   168 
       
   169                 
       
   170                 <br /><ul>
       
   171 
       
   172                     <li>
       
   173 
       
   174                         <p>
       
   175 text</p>
       
   176 
       
   177                         
       
   178 
       
   179                             <p>
       
   180 
       
   181                                 The text value to set to the text entry control. A value of null
       
   182                                 results in no text being shown.
       
   183                             </p>
       
   184 
       
   185                         
       
   186                     </li>
       
   187 
       
   188                 </ul>
       
   189 
       
   190             </div>
       
   191 
       
   192             <div class="section"><h3 class="sectiontitle">
       
   193 Return value</h3>
       
   194 
       
   195                 
       
   196                 <p>
       
   197 
       
   198                     This method does not return a value.
       
   199                 </p>
       
   200 
       
   201             </div>
       
   202 
       
   203         </div>
       
   204 
       
   205     </div>
       
   206 
       
   207 
       
   208 </body>
       
   209 </html>