001 
002 /*
003  *  JScripter Standard 1.0 - To Script In Java
004  *  Copyright (C) 2008-2011  J.J.Liu<jianjunliu@126.com> <http://www.jscripter.org>
005  *  
006  *  This program is free software: you can redistribute it and/or modify
007  *  it under the terms of the GNU Affero General Public License as published by
008  *  the Free Software Foundation, either version 3 of the License, or
009  *  (at your option) any later version.
010  *  
011  *  This program is distributed in the hope that it will be useful,
012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014  *  GNU Affero General Public License for more details.
015  *  
016  *  You should have received a copy of the GNU Affero General Public License
017  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
018  */
019 
020 package js.user;
021 
022 import js.*;
023 import js.core.*;
024 
025 /**
026  * <p>An <b>opaque</b> class representing JavaScript client-side objects of the global 
027  * {@link JsClient#HTMLTextAreaElement} class.</p>
028  * <p>This class represents a push button 
029  * in an HTML page, or a {@link JsHTMLElement} object created with the HTML 
030  * <tt>&lt;textarea&gt;</tt> tag.</p>
031  *
032  * @author <a href="mailto:jianjunliu@126.com">J.J.Liu (Jianjun Liu)</a> at <a href="http://www.jscripter.org" target="_blank">http://www.jscripter.org</a>
033  *
034  * @javascript <b>Opaque</b> types can be resolved but no class objects for them can be
035  * generated into the target codes. Re-compilers must exit with error on the operations of
036  * accessing that kind of class objects.
037  * The <tt>checkcast</tt> operation to the class literal of this interface must be ignored
038  * and <tt>instanceof</tt> to it always <tt>true</tt>.
039  */
040 public class JsHTMLTextAreaElement extends JsClient.HTMLTextAreaElement.Prototype
041 {
042     /**
043      * <p>An <b>internal</b> class containing membership data for its enclosing
044      * opaque class.</p>
045      * <p>This class is only used inside of <b>opaque</b> or <b>internal</b> classes or
046      * class members.</p>
047      *
048      * @author <a href="mailto:jianjunliu@126.com">J.J.Liu (Jianjun Liu)</a> at <a href="http://www.jscripter.org" target="_blank">http://www.jscripter.org</a>
049      * 
050      * @javascript Re-compilers must report error on resolving an <b>internal</b> class.
051      */
052     protected static abstract class Members extends JsClient.HTMLTextAreaElement.Prototype.Members
053     {
054         /**
055          * <p>An <b>internal</b> static field defining a member ID of the field name and
056          * used internally to define a member of the same name.</p>
057          * @since 1.0
058          * @see JsHTMLTextAreaElement#defaultValue
059          * @see JsHTMLTextAreaElement.Member#defaultValue
060          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
061          */
062         public final static Mid defaultValue = id("defaultValue");
063         /**
064          * <p>An <b>internal</b> static field defining a member ID of the field name and
065          * used internally to define a member of the same name.</p>
066          * @since 1.0
067          * @see JsHTMLTextAreaElement#form
068          * @see JsHTMLTextAreaElement.Member#form
069          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
070          */
071         public final static Mid form         = id("form"        );
072         /**
073          * <p>An <b>internal</b> static field defining a member ID of the field name and
074          * used internally to define a member of the same name.</p>
075          * @since 1.0
076          * @see JsHTMLTextAreaElement#type
077          * @see JsHTMLTextAreaElement.Member#type
078          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
079          */
080         public final static Mid type         = id("type"        );
081         /**
082          * <p>An <b>internal</b> static field defining a member ID of the field name and
083          * used internally to define a member of the same name.</p>
084          * @since 1.0
085          * @see JsHTMLTextAreaElement#value
086          * @see JsHTMLTextAreaElement.Member#value
087          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
088          */
089         public final static Mid value        = id("value"       );
090         /**
091          * <p>An <b>internal</b> static field defining a member ID of the field name and
092          * used internally to define a member of the same name.</p>
093          * @since 1.0
094          * @see JsHTMLTextAreaElement#accessKey
095          * @see JsHTMLTextAreaElement.Member#accessKey
096          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
097          */
098         public final static Mid accessKey    = id("accessKey"   );
099         /**
100          * <p>An <b>internal</b> static field defining a member ID of the field name and
101          * used internally to define a member of the same name.</p>
102          * @since 1.0
103          * @see JsHTMLTextAreaElement#cols
104          * @see JsHTMLTextAreaElement.Member#cols
105          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
106          */
107         public final static Mid cols         = id("cols"        );
108         /**
109          * <p>An <b>internal</b> static field defining a member ID of the field name and
110          * used internally to define a member of the same name.</p>
111          * @since 1.0
112          * @see JsHTMLTextAreaElement#disabled
113          * @see JsHTMLTextAreaElement.Member#disabled
114          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
115          */
116         public final static Mid disabled     = id("disable"     );
117         /**
118          * <p>An <b>internal</b> static field defining a member ID of the field name and
119          * used internally to define a member of the same name.</p>
120          * @since 1.0
121          * @see JsHTMLTextAreaElement#name
122          * @see JsHTMLTextAreaElement.Member#name
123          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
124          */
125         public final static Mid name         = id("name"        );
126         /**
127          * <p>An <b>internal</b> static field defining a member ID of the field name and
128          * used internally to define a member of the same name.</p>
129          * @since 1.0
130          * @see JsHTMLTextAreaElement#readOnly
131          * @see JsHTMLTextAreaElement.Member#readOnly
132          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
133          */
134         public final static Mid readOnly     = id("readOnly"    );
135         /**
136          * <p>An <b>internal</b> static field defining a member ID of the field name and
137          * used internally to define a member of the same name.</p>
138          * @since 1.0
139          * @see JsHTMLTextAreaElement#rows
140          * @see JsHTMLTextAreaElement.Member#rows
141          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
142          */
143         public final static Mid rows         = id("rows"        );
144         /**
145          * <p>An <b>internal</b> static field defining a member ID of the field name and
146          * used internally to define a member of the same name.</p>
147          * @since 1.0
148          * @see JsHTMLTextAreaElement#tabIndex
149          * @see JsHTMLTextAreaElement.Member#tabIndex
150          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
151          */
152         public final static Mid tabIndex     = id("tabIndex"    );
153         /**
154          * <p>An <b>internal</b> static field defining a member ID of the field name and
155          * used internally to define a member of the same name.</p>
156          * @since 1.0
157          * @see JsHTMLTextAreaElement#onchange
158          * @see JsHTMLTextAreaElement.Member#onchange
159          * @javascript Re-compilers must report error on accessing an <b>internal</b> field.
160          */
161         public final static Mid onchange     = id("onchange"    );
162     }
163 
164     /**
165      * <p>An <b>opaque</b> class representing members of its enclosing <b>opaque</b> type.</p>
166      * <p>Note that, this class is <b>opaque</b> but its constructors are all <b>internal</b>. 
167      * This class and the subclasses of this class are used to declare either <b>opaque</b> 
168      * <tt>public</tt> instance fields of the opaque type {@link js.Var.Member} or the 
169      * <b>opaque</b> <tt>public</tt> static fields of other <b>opaque</b> types while their 
170      * constructors are used to define the fields inside <b>opaque</b> classes. Under 
171      * either circumstance, the field names must be exactly same as the member names, as 
172      * the <b>opaque</b> fields of <b>opaque</b> types are resolved by re-compilers directly 
173      * based on the field names.</p>
174      *
175      * @author <a href="mailto:jianjunliu@126.com">J.J.Liu (Jianjun Liu)</a> at <a href="http://www.jscripter.org" target="_blank">http://www.jscripter.org</a>
176      * 
177      * @javascript <b>Opaque</b> types can be resolved but no class objects for them can be created
178      * in the target codes. Re-compilers must exit with error on operations accessing that kind 
179      * of class objects.
180      * Re-compilers must resolve an <b>opaque</b> instance field declared by this class in
181      * {@link js.Var.Member} or its subclasses to the JavaScript identifier: 
182      * <pre>q.m</pre>
183      * where <tt>m</tt> is the identifier of the field name and <tt>q</tt> is the identifier
184      * resolved from the instance of the enclosing member. Re-compilers must resolve an 
185      * <b>opaque</b> static field declared by this class in <b>opaque</b> types other than 
186      * {@link js.Var.Member} and its subclasses to the JavaScript identifier: 
187      * <pre>m</pre>
188      * where <tt>m</tt> is the identifier of the field name. And re-compilers must report
189      * error on the access to <b>opaque</b> fields declared by this class under any other 
190      * circumstances.
191      */
192     public static class Member extends JsClient.HTMLTextAreaElement.Prototype.Member
193     {
194         /**
195          * <p>Internally constructs a member based on a qualifying member.</p>
196          * <p>This constructor is <b>internal</b> and only called inside of <b>opaque</b>
197          * or <b>internal</b> classes or class members.</p>
198          * <p>Note that, this constructor is <b>internal</b> but its declaring class is
199          * <b>opaque</b>. This constructor is used to define <b>opaque</b> instance fields 
200          * declared in the declaring class of this constructor itself or its subclasses. 
201          * Under this circumstance, the field names must be exactly same as the member 
202          * names, as the <b>opaque</b> instance fields of the <b>opaque</b> type 
203          * {@link js.Var.Member} or its subclasses are resolved by re-compilers directly
204          * to their names appending to the name resolved from the specified qualifying 
205          * member with a dot in between.</p>
206          * @param q A qualifying member
207          * @param mid The ID of the member to construct
208          * @since 1.0
209          * @javascript Re-compilers must report error on the invocation to an <b>internal</b> constructor.
210          */
211         public Member(JsObject.Member q, Mid mid) {
212             super(q, mid);
213         }
214         /**
215          * <p>Internally constructs a member without a qualifying member.</p>
216          * <p>This constructor is <b>internal</b> and only called inside of <b>opaque</b>
217          * or <b>internal</b> classes or class members.</p>
218          * <p>Note that, this constructor is <b>internal</b> but its declaring class is
219          * <b>opaque</b>. This constructor is used to define <b>opaque</b> static fields, 
220          * declared in <b>opaque</b> types other than the declaring class of this constructor 
221          * itself and its subclasses. Under this circumstance, the field names must be
222          * exactly same as the member names, as the <b>opaque</b> static fields of <b>opaque</b>
223          * types are generally resolved by re-compilers directly to identifiers of their names.</p>
224          * @param mid The ID of the member to construct
225          * @since 1.0
226          * @javascript Re-compilers must report error on the invocation to an <b>internal</b> constructor.
227          */
228         public Member(Mid mid) {
229             super(mid);
230         }
231         @Override
232         /**
233          * <p>Evaluates the property, represented by the current member instance, of the
234          * argument object.</p>
235          * @param o The argument object
236          * @return The value of the current member based on the object argument.
237          * @since 1.0
238          * @javascript Re-compilers must convert the instance invocation of this method into
239          * the JavaScript expression: 
240          * <pre>o.m</pre>
241          * where <tt>m</tt> is the identifier name resolved from the current member
242          * instance of the invocation.
243          */
244         public JsHTMLTextAreaElement with(ObjectLike o) {
245             return new JsHTMLTextAreaElement(super.with(o));
246         }
247 
248         /**
249          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
250          * name of this field, qualified by the current member instance of the field, and 
251          * to access the property of the name on an object.</p>
252          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
253          * object refers to a string that holds the initial value displayed by the 
254          * element. When the {@link #form} is reset, the element is restored to this 
255          * value. Changing the value of this property also changes the {@link #value} 
256          * property and the currently displayed value. The value of the property does 
257          * not change if the contents of the corresponding form control, in an interactive 
258          * browser, changes.</p>
259          * @since 1.0
260          * @javascript Re-compilers must resolve the member of this instance field to the
261          * identifier of the field name appending to the identifier resolved from its 
262          * qualifying member with a dot in between.
263          */
264         public final Value.String.Member defaultValue = new Value.String.Member(this, Members.defaultValue);
265         /**
266          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
267          * name of this field, qualified by the current member instance of the field, and 
268          * to access the property of the name on an object.</p>
269          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
270          * object refers to a read-only string that is always "textarea" for compatibility 
271          * with {@link JsHTMLInputElement}.</p> 
272          * @since 1.0
273          * @javascript Re-compilers must resolve the member of this instance field to the
274          * identifier of the field name appending to the identifier resolved from its 
275          * qualifying member with a dot in between.
276          */
277         public final Value.String.Member type         = new Value.String.Member(this, Members.type        );
278         /**
279          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
280          * name of this field, qualified by the current member instance of the field, and 
281          * to access the property of the name on an object.</p>
282          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
283          * object refers to a string value that is passed to the web server when the 
284          * {@link #form} is submitted. The property is the editable text contents contained 
285          * by this element.</p> 
286          * @since 1.0
287          * @javascript Re-compilers must resolve the member of this instance field to the
288          * identifier of the field name appending to the identifier resolved from its 
289          * qualifying member with a dot in between.
290          */
291         public final Value.String.Member value        = new Value.String.Member(this, Members.value       );
292         /**
293          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
294          * name of this field, qualified by the current member instance of the field, and 
295          * to access the property of the name on an object.</p>
296          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
297          * object refers to a string specifying single character access key to the 
298          * element. An access key is a single character from the document character set. 
299          * Pressing an access key assigned to an element gives focus to the element. 
300          * The action that occurs when an element receives focus depends on the element.</p> 
301          * @since 1.0
302          * @javascript Re-compilers must resolve the member of this instance field to the
303          * identifier of the field name appending to the identifier resolved from its 
304          * qualifying member with a dot in between.
305          */
306         public final Value.String.Member accessKey    = new Value.String.Member(this, Members.accessKey   );
307         /**
308          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
309          * name of this field, qualified by the current member instance of the field, and 
310          * to access the property of the name on an object.</p>
311          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
312          * object refers to an integer value specifying the width of the input element in 
313          * character columns.</p>
314          * @since 1.0
315          * @javascript Re-compilers must resolve the member of this instance field to the
316          * identifier of the field name appending to the identifier resolved from its 
317          * qualifying member with a dot in between.
318          */
319         public final Value.Number.Member cols         = new Value.Number.Member(this, Members.cols        );
320         /**
321          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
322          * name of this field, qualified by the current member instance of the field, and 
323          * to access the property of the name on an object.</p>
324          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
325          * object refers to a string specifying the name of the input control when 
326          * submitted with the {@link #form}.</p>
327          * @since 1.0
328          * @javascript Re-compilers must resolve the member of this instance field to the
329          * identifier of the field name appending to the identifier resolved from its 
330          * qualifying member with a dot in between.
331          */
332         public final Value.String.Member name         = new Value.String.Member(this, Members.name        );
333         /**
334          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
335          * name of this field, qualified by the current member instance of the field, and 
336          * to access the property of the name on an object.</p>
337          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
338          * object refers to an integer value specifying the height of the input element 
339          * in lines.</p>
340          * @since 1.0
341          * @javascript Re-compilers must resolve the member of this instance field to the
342          * identifier of the field name appending to the identifier resolved from its 
343          * qualifying member with a dot in between.
344          */
345         public final Value.Number.Member rows         = new Value.Number.Member(this, Members.rows        );
346         /**
347          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
348          * name of this field, qualified by the current member instance of the field, and 
349          * to access the property of the name on an object.</p>
350          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
351          * object refers to an index number representing the element's position in the 
352          * tabbing order.</p>
353          * @since 1.0
354          * @javascript Re-compilers must resolve the member of this instance field to the
355          * identifier of the field name appending to the identifier resolved from its 
356          * qualifying member with a dot in between.
357          */
358         public final Value.Number.Member tabIndex     = new Value.Number.Member(this, Members.tabIndex    );
359         /**
360          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
361          * name of this field, qualified by the current member instance of the field, and 
362          * to access the property of the name on an object.</p>
363          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
364          * object refers to a boolean value that specifies whether the element is 
365          * disabled and is unavailable for user input.</p> 
366          * @since 1.0
367          * @javascript Re-compilers must resolve the member of this instance field to the
368          * identifier of the field name appending to the identifier resolved from its 
369          * qualifying member with a dot in between.
370          */
371         public final Value.Boolean.Member disabled = new Value.Boolean.Member(this, Members.disabled);
372         /**
373          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
374          * name of this field, qualified by the current member instance of the field, and 
375          * to access the property of the name on an object.</p>
376          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
377          * object refers to a boolean value that specifies whether the input control is 
378          * read-only.</p> 
379          * @since 1.0
380          * @javascript Re-compilers must resolve the member of this instance field to the
381          * identifier of the field name appending to the identifier resolved from its 
382          * qualifying member with a dot in between.
383          */
384         public final Value.Boolean.Member readOnly = new Value.Boolean.Member(this, Members.readOnly);
385         /**
386          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
387          * name of this field, qualified by the current member instance of the field, and 
388          * to access the property of the name on an object.</p>
389          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
390          * object is a read-only reference to the {@link JsHTMLFormElement} object 
391          * containing the control. It is <tt>null</tt> if the control is not within the 
392          * context of a form.</p>
393          * @since 1.0
394          * @javascript Re-compilers must resolve the member of this instance field to the
395          * identifier of the field name appending to the identifier resolved from its 
396          * qualifying member with a dot in between.
397          */
398         public final JsHTMLFormElement.Member form = new JsHTMLFormElement.Member(this, Members.form);
399         /**
400          * <p>An <b>opaque</b> instance field defining a sub-member that is named by the
401          * name of this field, qualified by the current member instance of the field, and 
402          * to access the property of the name on an object.</p>
403          * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} object is a 
404          * reference to an event handler function invoked for text-entry elements when the 
405          * user changes the displayed text and then commits those changes by tabbing or 
406          * clicking to transfer keyboard focus to another element. This event handler 
407          * is not invoked for every keystroke in the input control but only when the 
408          * user completes an edit.</p> 
409          * @since 1.0
410          * @see JsElement#addEventListener(String, JsFunction, Boolean)
411          * @see JsElement#attachEvent(String, JsFunction)
412          * @javascript Re-compilers must resolve the member of this instance field to the
413          * identifier of the field name appending to the identifier resolved from its 
414          * qualifying member with a dot in between.
415          */
416         public final JsFunction.Member<?> onchange = new JsFunction.Member<Object>(this, Members.onchange);
417     }
418 
419     /**
420      * <p>Casts an <b>opaque</b> object to the current <b>opaque</b> type by wrapping it
421      * with the wrapping constructor.</p>
422      * @param var The argument of an <b>opaque</b> object.
423      * @since 1.0
424      * @javascript Re-compilers must ignore the construction operation of this constructor,
425      * that is, replacing it with its only argument.
426      */
427     public JsHTMLTextAreaElement(JsObject var) {
428         super(var);
429     }
430 
431     /**
432      * <p>An <b>opaque</b> static field defining a member that is named by the field name
433      * without a qualifying member and to access the property of the name on an object.</p>
434      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
435      * object refers to a string that holds the initial value displayed by the 
436      * element. When the {@link #form} is reset, the element is restored to this 
437      * value. Changing the value of this property also changes the {@link #value} 
438      * property and the currently displayed value. The value of the property does 
439      * not change if the contents of the corresponding form control, in an interactive 
440      * browser, changes.</p>
441      * @since 1.0
442      * @javascript Re-compilers must resolve the member of this static field to the
443      * identifier of the field name.
444      */
445     public static final Value.String.Member defaultValue = new Value.String.Member(Members.defaultValue);
446     /**
447      * <p>An <b>opaque</b> static field defining a member that is named by the field name
448      * without a qualifying member and to access the property of the name on an object.</p>
449      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
450      * object refers to a read-only string that is always "textarea" for compatibility 
451      * with {@link JsHTMLInputElement}.</p> 
452      * @since 1.0
453      * @javascript Re-compilers must resolve the member of this static field to the
454      * identifier of the field name.
455      */
456     public static final Value.String.Member type         = new Value.String.Member(Members.type        );
457     /**
458      * <p>An <b>opaque</b> static field defining a member that is named by the field name
459      * without a qualifying member and to access the property of the name on an object.</p>
460      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
461      * object refers to a string value that is passed to the web server when the 
462      * {@link #form} is submitted. The property is the editable text contents contained 
463      * by this element.</p> 
464      * @since 1.0
465      * @javascript Re-compilers must resolve the member of this static field to the
466      * identifier of the field name.
467      */
468     public static final Value.String.Member value        = new Value.String.Member(Members.value       );
469     /**
470      * <p>An <b>opaque</b> static field defining a member that is named by the field name
471      * without a qualifying member and to access the property of the name on an object.</p>
472      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
473      * object refers to a string specifying single character access key to the 
474      * element. An access key is a single character from the document character set. 
475      * Pressing an access key assigned to an element gives focus to the element. 
476      * The action that occurs when an element receives focus depends on the element.</p> 
477      * @since 1.0
478      * @javascript Re-compilers must resolve the member of this static field to the
479      * identifier of the field name.
480      */
481     public static final Value.String.Member accessKey    = new Value.String.Member(Members.accessKey   );
482     /**
483      * <p>An <b>opaque</b> static field defining a member that is named by the field name
484      * without a qualifying member and to access the property of the name on an object.</p>
485      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
486      * object refers to an integer value specifying the width of the input element in 
487      * character columns.</p>
488      * @since 1.0
489      * @javascript Re-compilers must resolve the member of this static field to the
490      * identifier of the field name.
491      */
492     public static final Value.Number.Member cols         = new Value.Number.Member(Members.cols        );
493     /**
494      * <p>An <b>opaque</b> static field defining a member that is named by the field name
495      * without a qualifying member and to access the property of the name on an object.</p>
496      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
497      * object refers to a string specifying the name of the input control when 
498      * submitted with the {@link #form}.</p>
499      * @since 1.0
500      * @javascript Re-compilers must resolve the member of this static field to the
501      * identifier of the field name.
502      */
503     public static final Value.String.Member name         = new Value.String.Member(Members.name        );
504     /**
505      * <p>An <b>opaque</b> static field defining a member that is named by the field name
506      * without a qualifying member and to access the property of the name on an object.</p>
507      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
508      * object refers to an integer value specifying the height of the input element 
509      * in lines.</p>
510      * @since 1.0
511      * @javascript Re-compilers must resolve the member of this static field to the
512      * identifier of the field name.
513      */
514     public static final Value.Number.Member rows         = new Value.Number.Member(Members.rows        );
515     /**
516      * <p>An <b>opaque</b> static field defining a member that is named by the field name
517      * without a qualifying member and to access the property of the name on an object.</p>
518      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
519      * object refers to an index number representing the element's position in the 
520      * tabbing order.</p>
521      * @since 1.0
522      * @javascript Re-compilers must resolve the member of this static field to the
523      * identifier of the field name.
524      */
525     public static final Value.Number.Member tabIndex     = new Value.Number.Member(Members.tabIndex    );
526     /**
527      * <p>An <b>opaque</b> static field defining a member that is named by the field name
528      * without a qualifying member and to access the property of the name on an object.</p>
529      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
530      * object refers to a boolean value that specifies whether the element is 
531      * disabled and is unavailable for user input.</p> 
532      * @since 1.0
533      * @javascript Re-compilers must resolve the member of this static field to the
534      * identifier of the field name.
535      */
536     public static final Value.Boolean.Member disabled = new Value.Boolean.Member(Members.disabled);
537     /**
538      * <p>An <b>opaque</b> static field defining a member that is named by the field name
539      * without a qualifying member and to access the property of the name on an object.</p>
540      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
541      * object refers to a boolean value that specifies whether the input control is 
542      * read-only.</p> 
543      * @since 1.0
544      * @javascript Re-compilers must resolve the member of this static field to the
545      * identifier of the field name.
546      */
547     public static final Value.Boolean.Member readOnly = new Value.Boolean.Member(Members.readOnly);
548     /**
549      * <p>An <b>opaque</b> static field defining a member that is named by the field name
550      * without a qualifying member and to access the property of the name on an object.</p>
551      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} 
552      * object is a read-only reference to the {@link JsHTMLFormElement} object 
553      * containing the control. It is <tt>null</tt> if the control is not within the 
554      * context of a form.</p>
555      * @since 1.0
556      * @javascript Re-compilers must resolve the member of this static field to the
557      * identifier of the field name.
558      */
559     public static final JsHTMLFormElement.Member form = new JsHTMLFormElement.Member(Members.form);
560     /**
561      * <p>An <b>opaque</b> static field defining a member that is named by the field name
562      * without a qualifying member and to access the property of the name on an object.</p>
563      * <p>The property, identified by this member, of a {@link JsHTMLTextAreaElement} object is a 
564      * reference to an event handler function invoked for text-entry elements when the 
565      * user changes the displayed text and then commits those changes by tabbing or 
566      * clicking to transfer keyboard focus to another element. This event handler 
567      * is not invoked for every keystroke in the input control but only when the 
568      * user completes an edit.</p> 
569      * @since 1.0
570      * @see JsElement#addEventListener(String, JsFunction, Boolean)
571      * @see JsElement#attachEvent(String, JsFunction)
572      * @javascript Re-compilers must resolve the member of this static field to the
573      * identifier of the field name.
574      */
575     public static final JsFunction.Member<?> onchange = new JsFunction.Member<Object>(Members.onchange);
576 
577     @Override
578     /**
579      * <p>Returns the primitive value associated with the current instance, if there is one.
580      * This invocation simply returns the instance itself for the current instance is an 
581      * object and there is no primitive value for it.</p>
582      * @return The current object itself.
583      * @since 1.0
584      * @javascript Re-compilers must convert the instance invocation of this method directly
585      * into a JavaScript invocation on its current object instance without changing the 
586      * method name, but expanding variable arguments, if any, into comma-separated values. 
587      */
588     public JsHTMLTextAreaElement valueOf() {
589         return new JsHTMLTextAreaElement((JsObject)var().valueOf());
590     }
591     /**
592      * <p>Takes keyboard focus away from this input control element.</p>
593      * @since 1.0
594      * @javascript Re-compilers must convert the instance invocation of this method directly
595      * into a JavaScript invocation on its current object instance without changing the 
596      * method name, but expanding variable arguments, if any, into comma-separated values. 
597      */
598     public final void blur() {
599         call(blur);
600     }
601     /**
602      * <p>Gives keyboard focus to this input control element so the user can edit the 
603      * displayed text without having to first click on the text area.</p>
604      * @since 1.0
605      * @javascript Re-compilers must convert the instance invocation of this method directly
606      * into a JavaScript invocation on its current object instance without changing the 
607      * method name, but expanding variable arguments, if any, into comma-separated values. 
608      */
609     public final void focus() {
610         call(focus);
611     }
612     /**
613      * <p>Selects the entire contents of the text area.</p>
614      * <p>Typically, this means that the text is highlighted and that new text entered 
615      * by the user replaces the highlighted text instead of being appended or inserted 
616      * to it.</p>
617      * @since 1.0
618      * @javascript Re-compilers must convert the instance invocation of this method directly
619      * into a JavaScript invocation on its current object instance without changing the 
620      * method name, but expanding variable arguments, if any, into comma-separated values. 
621      */
622     public final void select() {
623         call(select);
624     }
625 }