1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.form.TextArea</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.form.TextArea-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.TextArea-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.TextArea-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.TextArea-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
51 <img src="../../images/default/s.gif" height="1" width="100"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.TextArea
56 <!-- ============================== class title / details ============================ -->
59 <h1 class="classTitle">
61 Class Roo.form.TextArea
64 <table cellspacing="0" class="class-summary-table">
66 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
68 <tr><td class="label">Defined In:</td><td class="hd-info">
70 <a href="./src/Roo_form_TextArea.js.html">Roo/form/TextArea.js</a>.
73 <tr><td class="label">Class:</td><td class="hd-info">TextArea</td></tr>
76 <tr><td class="label">Subclasses:</td><td class="hd-info">
77 <a href="./Roo.form.FCKeditor.html#constructor" roo:cls="Roo.form.FCKeditor.html#constructor">Roo.form.FCKeditor</a>
85 <tr><td class="label">Extends:</td><td class="hd-info">
86 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
94 <!-- ============================== class summary ========================== -->
95 <div class="description">
96 Multiline text field. Can be used as a direct replacement for traditional textarea fields, plus adds<br/>support for auto-sizing.
100 <!-- ============================== Class comment block... ========================== -->
102 <div class="comments">
103 <b>Class Comments / Notes</B> =>
104 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.TextArea';">[Add Your comment/notes about this class]</u>
106 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
107 src="/blog.php/GtkDjsComments/Roo.form.TextArea.html"></iframe>
112 <!-- ============================== config options ========================== -->
117 <div class="hr"></div>
118 <a id="Roo.form.TextArea-configs"></a>
124 <table cellspacing="0" class="member-table">
125 <caption>Config Options (Usually are also Properties)</caption>
129 <th class="sig-header" colspan="2">Options</th>
131 <th class="msource-header">Defined By</th>
138 <tr class="config-row expandable config-row-alt0">
139 <td class="micon"><a class="exi" href="#expand"> </a></td>
142 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
143 <div class="fixedFont">
144 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
150 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
155 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
165 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
171 <tr class="config-row expandable config-row-alt1">
172 <td class="micon"><a class="exi" href="#expand"> </a></td>
175 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
176 <div class="fixedFont">
177 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
183 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
188 False to validate that the value length > 0 (defaults to true)
198 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
204 <tr class="config-row expandable config-row-alt0">
205 <td class="micon"><a class="exi" href="#expand"> </a></td>
208 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
209 <div class="fixedFont">
210 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
216 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
221 Whether the component can move the Dom node when rendering (defaults to true).
231 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
237 <tr class="config-row expandable config-row-alt1 notInherited">
238 <td class="micon"><a class="exi" href="#expand"> </a></td>
241 <a id="Roo.form.TextArea-cfg-autoCreate" name=".autoCreate"></a>
242 <div class="fixedFont">
243 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
249 <div class="short">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "textarea", style: "width:300px;height:60px;", autocomplete: "off"})</div>
254 A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "textarea", style: "width:300px;height:60px;", autocomplete: "off"})
270 <tr class="config-row expandable config-row-alt0">
271 <td class="micon"><a class="exi" href="#expand"> </a></td>
274 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
275 <div class="fixedFont">
276 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
282 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
287 Error text to display if the allow blank validation fails (defaults to "This field is required")
297 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
303 <tr class="config-row expandable config-row-alt1">
304 <td class="micon"><a class="exi" href="#expand"> </a></td>
307 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
308 <div class="fixedFont">
309 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
315 <div class="short">A CSS class to apply to the field's underlying element.</div>
320 A CSS class to apply to the field's underlying element.
330 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
336 <tr class="config-row expandable config-row-alt0">
337 <td class="micon"><a class="exi" href="#expand"> </a></td>
340 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
341 <div class="fixedFont">
342 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
348 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
353 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
363 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
369 <tr class="config-row expandable config-row-alt1">
370 <td class="micon"><a class="exi" href="#expand"> </a></td>
373 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
374 <div class="fixedFont">
375 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
381 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
386 True to disable input keystroke filtering (defaults to false)
396 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
402 <tr class="config-row expandable config-row-alt0">
403 <td class="micon"><a class="exi" href="#expand"> </a></td>
406 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
407 <div class="fixedFont">
408 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
414 <div class="short">True to disable the field (defaults to false).</div>
419 True to disable the field (defaults to false).
429 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
435 <tr class="config-row expandable config-row-alt1">
436 <td class="micon"><a class="exi" href="#expand"> </a></td>
439 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
440 <div class="fixedFont">
441 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
447 <div class="short">The default text to display in an empty field - placeholder.</div>
452 The default text to display in an empty field - placeholder... (defaults to null).
462 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
468 <tr class="config-row expandable config-row-alt0">
469 <td class="micon"><a class="exi" href="#expand"> </a></td>
472 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
473 <div class="fixedFont">
474 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
480 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
485 The default CSS class for the field (defaults to "x-form-field")
495 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
501 <tr class="config-row expandable config-row-alt1">
502 <td class="micon"><a class="exi" href="#expand"> </a></td>
505 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
506 <div class="fixedFont">
507 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
513 <div class="short">Label to use when rendering a form.</div>
518 Label to use when rendering a form.
528 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
534 <tr class="config-row expandable config-row-alt0">
535 <td class="micon"><a class="exi" href="#expand"> </a></td>
538 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
539 <div class="fixedFont">
540 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
546 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
551 The CSS class to use when the field receives focus (defaults to "x-form-focus")
561 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
567 <tr class="config-row expandable config-row-alt1">
568 <td class="micon"><a class="exi" href="#expand"> </a></td>
571 <a id="Roo.form.TextField-cfg-grow" name=".grow"></a>
572 <div class="fixedFont">
573 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
579 <div class="short">True if this field should automatically grow and shrink to its content</div>
584 True if this field should automatically grow and shrink to its content
594 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
600 <tr class="config-row expandable config-row-alt0 notInherited">
601 <td class="micon"><a class="exi" href="#expand"> </a></td>
604 <a id="Roo.form.TextArea-cfg-growMax" name=".growMax"></a>
605 <div class="fixedFont">
606 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
612 <div class="short">The maximum height to allow when grow = true (defaults to 1000)</div>
617 The maximum height to allow when grow = true (defaults to 1000)
633 <tr class="config-row expandable config-row-alt1 notInherited">
634 <td class="micon"><a class="exi" href="#expand"> </a></td>
637 <a id="Roo.form.TextArea-cfg-growMin" name=".growMin"></a>
638 <div class="fixedFont">
639 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
645 <div class="short">The minimum height to allow when grow = true (defaults to 60)</div>
650 The minimum height to allow when grow = true (defaults to 60)
666 <tr class="config-row expandable config-row-alt0">
667 <td class="micon"><a class="exi" href="#expand"> </a></td>
670 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
671 <div class="fixedFont">
672 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
678 <div class="short">height (optional) size of component</div>
683 height (optional) size of component
693 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
699 <tr class="config-row expandable config-row-alt1">
700 <td class="micon"><a class="exi" href="#expand"> </a></td>
703 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
704 <div class="fixedFont">
705 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
711 <div class="short">How this component should hidden.</div>
716 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
717 <BR/>Possible Values: display, visibility
726 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
732 <tr class="config-row expandable config-row-alt0">
733 <td class="micon"><a class="exi" href="#expand"> </a></td>
736 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
737 <div class="fixedFont">
738 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
744 <div class="short">The type attribute for input fields -- e.g.</div>
749 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
759 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
765 <tr class="config-row expandable config-row-alt1">
766 <td class="micon"><a class="exi" href="#expand"> </a></td>
769 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
770 <div class="fixedFont">
771 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
777 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
782 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
792 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
798 <tr class="config-row expandable config-row-alt0">
799 <td class="micon"><a class="exi" href="#expand"> </a></td>
802 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
803 <div class="fixedFont">
804 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
810 <div class="short">The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")</div>
815 The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
825 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
831 <tr class="config-row expandable config-row-alt1">
832 <td class="micon"><a class="exi" href="#expand"> </a></td>
835 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
836 <div class="fixedFont">
837 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
843 <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> .</div>
848 list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre>
858 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
864 <tr class="config-row expandable config-row-alt0">
865 <td class="micon"><a class="exi" href="#expand"> </a></td>
868 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
869 <div class="fixedFont">
870 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
876 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
881 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
891 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
897 <tr class="config-row expandable config-row-alt1">
898 <td class="micon"><a class="exi" href="#expand"> </a></td>
901 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
902 <div class="fixedFont">
903 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
909 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
914 Maximum input field length allowed (defaults to Number.MAX_VALUE)
924 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
930 <tr class="config-row expandable config-row-alt0">
931 <td class="micon"><a class="exi" href="#expand"> </a></td>
934 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
935 <div class="fixedFont">
936 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
942 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
947 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
957 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
963 <tr class="config-row expandable config-row-alt1">
964 <td class="micon"><a class="exi" href="#expand"> </a></td>
967 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
968 <div class="fixedFont">
969 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
975 <div class="short">Minimum input field length required (defaults to 0)</div>
980 Minimum input field length required (defaults to 0)
990 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
996 <tr class="config-row expandable config-row-alt0">
997 <td class="micon"><a class="exi" href="#expand"> </a></td>
1000 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1001 <div class="fixedFont">
1002 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1008 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1013 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1021 <td class="msource">
1023 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1029 <tr class="config-row expandable config-row-alt1">
1030 <td class="micon"><a class="exi" href="#expand"> </a></td>
1033 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1034 <div class="fixedFont">
1035 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1041 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1046 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
1054 <td class="msource">
1056 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1062 <tr class="config-row expandable config-row-alt0">
1063 <td class="micon"><a class="exi" href="#expand"> </a></td>
1066 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1067 <div class="fixedFont">
1068 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1074 <div class="short">The location where error text should display.</div>
1079 The location where error text should display. Should be one of the following values (defaults to 'qtip'):<br/><pre><br/>Value Description<br/>----------- ----------------------------------------------------------------------<br/>qtip Display a quick tip when the user hovers over the field<br/>title Display a default browser title attribute popup<br/>under Add a block div beneath the field containing the error text<br/>side Add an error icon to the right of the field with a popup on hover<br/>[element id] Add the error text directly to the innerHTML of the specified element<br/></pre>
1087 <td class="msource">
1089 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1095 <tr class="config-row expandable config-row-alt1">
1096 <td class="micon"><a class="exi" href="#expand"> </a></td>
1099 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1100 <div class="fixedFont">
1101 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1107 <div class="short">The field's HTML name attribute.</div>
1112 The field's HTML name attribute.
1120 <td class="msource">
1122 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1128 <tr class="config-row expandable config-row-alt0 notInherited">
1129 <td class="micon"><a class="exi" href="#expand"> </a></td>
1132 <a id="Roo.form.TextArea-cfg-preventScrollbars" name=".preventScrollbars"></a>
1133 <div class="fixedFont">
1134 <b class="itemname">preventScrollbars</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1140 <div class="short">True to prevent scrollbars from appearing regardless of how much text is<br/>in the field (equivalent to setting overflow: hidden, defaults to false)</div>
1145 True to prevent scrollbars from appearing regardless of how much text is<br/>in the field (equivalent to setting overflow: hidden, defaults to false)
1153 <td class="msource">
1161 <tr class="config-row expandable config-row-alt1">
1162 <td class="micon"><a class="exi" href="#expand"> </a></td>
1165 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1166 <div class="fixedFont">
1167 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1173 <div class="short">Mouse over tip</div>
1186 <td class="msource">
1188 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1194 <tr class="config-row expandable config-row-alt0">
1195 <td class="micon"><a class="exi" href="#expand"> </a></td>
1198 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1199 <div class="fixedFont">
1200 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1206 <div class="short">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.</div>
1211 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1219 <td class="msource">
1221 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1227 <tr class="config-row expandable config-row-alt1">
1228 <td class="micon"><a class="exi" href="#expand"> </a></td>
1231 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1232 <div class="fixedFont">
1233 <b class="itemname">regex</b> : RegExp
1239 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1244 A JavaScript RegExp object to be tested against the field value during validation (defaults to null).<br/>If available, this regex will be evaluated only after the basic validators all return true, and will be passed the<br/>current field value. If the test fails, the field will be marked invalid using {<b>link</b> <b>regexText</b>}.
1252 <td class="msource">
1254 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1260 <tr class="config-row expandable config-row-alt0">
1261 <td class="micon"><a class="exi" href="#expand"> </a></td>
1264 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1265 <div class="fixedFont">
1266 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1272 <div class="short">The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")</div>
1277 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
1285 <td class="msource">
1287 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1293 <tr class="config-row expandable config-row-alt1">
1294 <td class="micon"><a class="exi" href="#expand"> </a></td>
1297 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1298 <div class="fixedFont">
1299 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1305 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1310 True to automatically select any existing field text when the field receives input focus (defaults to false)
1318 <td class="msource">
1320 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1326 <tr class="config-row expandable config-row-alt0">
1327 <td class="micon"><a class="exi" href="#expand"> </a></td>
1330 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1331 <div class="fixedFont">
1332 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1338 <div class="short">The tabIndex for this field.</div>
1343 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
1351 <td class="msource">
1353 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1359 <tr class="config-row expandable config-row-alt1">
1360 <td class="micon"><a class="exi" href="#expand"> </a></td>
1363 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1364 <div class="fixedFont">
1365 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1371 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1376 Whether the field should validate when it loses focus (defaults to true).
1384 <td class="msource">
1386 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1392 <tr class="config-row expandable config-row-alt0">
1393 <td class="micon"><a class="exi" href="#expand"> </a></td>
1396 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1397 <div class="fixedFont">
1398 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1404 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1409 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1417 <td class="msource">
1419 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1425 <tr class="config-row expandable config-row-alt1">
1426 <td class="micon"><a class="exi" href="#expand"> </a></td>
1429 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1430 <div class="fixedFont">
1431 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1437 <div class="short">The event that should initiate field validation.</div>
1442 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1450 <td class="msource">
1452 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1458 <tr class="config-row expandable config-row-alt0">
1459 <td class="micon"><a class="exi" href="#expand"> </a></td>
1462 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1463 <div class="fixedFont">
1464 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1470 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1475 A custom validation function to be called during field validation (defaults to null).<br/>If available, this function will be called only after the basic validators all return true, and will be passed the<br/>current field value and expected to return boolean true if the value is valid or a string error message if invalid.
1483 <td class="msource">
1485 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1491 <tr class="config-row expandable config-row-alt1">
1492 <td class="micon"><a class="exi" href="#expand"> </a></td>
1495 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1496 <div class="fixedFont">
1497 <b class="itemname">value</b> : Mixed
1503 <div class="short">A value to initialize this field with.</div>
1508 A value to initialize this field with.
1516 <td class="msource">
1518 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1524 <tr class="config-row expandable config-row-alt0">
1525 <td class="micon"><a class="exi" href="#expand"> </a></td>
1528 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1529 <div class="fixedFont">
1530 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1536 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1541 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1549 <td class="msource">
1551 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1557 <tr class="config-row expandable config-row-alt1">
1558 <td class="micon"><a class="exi" href="#expand"> </a></td>
1561 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1562 <div class="fixedFont">
1563 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1569 <div class="short">width (optional) size of component</div>
1574 width (optional) size of component
1582 <td class="msource">
1584 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1600 <!-- ============================== public properties ==================== -->
1604 <a id="Roo.form.TextArea-props"></a>
1610 <table cellspacing="0" class="member-table">
1611 <caption class="Empty">Public Properties - Has None</caption>
1617 <!-- ============================== methods summary / details ======================== -->
1620 <a id="Roo.form.TextArea-methods"></a>
1621 <!-- constructor?? -->
1628 <!-- then dynamics first -->
1635 <table cellspacing="0" class="member-table">
1636 <caption>Public Methods</caption>
1638 <th class="sig-header" colspan="2">Method</th>
1639 <th class="msource-header">Defined By</th>
1649 <tr class="method-row config-row-alt0 expandable notInherited">
1650 <td class="micon"><a class="exi" href="#expand"> </a></td>
1654 <a id="Roo.form-method-TextArea" name=".TextArea"></a>
1655 <div class="fixedFont">
1656 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">TextArea</b>
1658 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1666 <div class="short">Create a new Roo.form.TextArea</div>
1673 Create a new Roo.form.TextArea
1676 <dl class="detailList">
1677 <dt class="heading">Parameters:</dt>
1680 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
1683 <dd>Configuration options</dd>
1701 <td class="msource">
1707 <tr class="method-row config-row-alt1 expandable">
1708 <td class="micon"><a class="exi" href="#expand"> </a></td>
1712 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1713 <div class="fixedFont">
1714 <span class="attributes"></span><b class="itemname">addEvents</b>
1716 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1723 <div class="short">Used to define events on this Observable</div>
1729 Used to define events on this Observable
1736 <dl class="detailList">
1737 <dt class="heading">Parameters:</dt>
1740 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
1743 <dd>The object with the events defined</dd>
1761 <td class="msource">
1763 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1769 <tr class="method-row config-row-alt0 expandable">
1770 <td class="micon"><a class="exi" href="#expand"> </a></td>
1774 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1775 <div class="fixedFont">
1776 <span class="attributes"></span><b class="itemname">addListener</b>
1778 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
1785 <div class="short">Appends an event handler to this component</div>
1791 Appends an event handler to this component
1798 <dl class="detailList">
1799 <dt class="heading">Parameters:</dt>
1802 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1805 <dd>The type of event to listen for</dd>
1808 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1811 <dd>The method the event invokes</dd>
1814 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1817 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1820 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1823 <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/> <pre><code><br/> el.on('click', this.onClick, this, {<br/> single: true,<br/> delay: 100,<br/> forumId: 4<br/> });<br/> </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/> el.on({<br/> 'click': {<br/> fn: this.onClick,<br/> scope: this,<br/> delay: 100<br/> }, <br/> 'mouseover': {<br/> fn: this.onMouseOver,<br/> scope: this<br/> },<br/> 'mouseout': {<br/> fn: this.onMouseOut,<br/> scope: this<br/> }<br/> });<br/> </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/> <pre><code><br/> el.on({<br/> 'click': this.onClick,<br/> 'mouseover': this.onMouseOver,<br/> 'mouseout': this.onMouseOut,<br/> scope: this<br/> });<br/> </code></pre></dd>
1841 <td class="msource">
1843 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1849 <tr class="method-row config-row-alt1 expandable">
1850 <td class="micon"><a class="exi" href="#expand"> </a></td>
1854 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1855 <div class="fixedFont">
1856 <span class="attributes"></span><b class="itemname">applyTo</b>
1858 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1864 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1873 <div class="short">Apply the behaviors of this component to an existing element.</div>
1879 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1886 <dl class="detailList">
1887 <dt class="heading">Parameters:</dt>
1890 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1893 <dd>The id of the node, a DOM node or an existing Element</dd>
1901 <dl class="detailList">
1902 <dt class="heading">Returns:</dt>
1904 <dd><span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> this</dd>
1918 <td class="msource">
1920 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1926 <tr class="method-row config-row-alt0 expandable notInherited">
1927 <td class="micon"><a class="exi" href="#expand"> </a></td>
1931 <a id="Roo.form.TextArea-method-autoSize" name=".autoSize"></a>
1932 <div class="fixedFont">
1933 <span class="attributes"></span><b class="itemname">autoSize</b>
1942 <div class="short">Automatically grows the field to accomodate the height of the text up to the maximum field height allowed.</div>
1948 Automatically grows the field to accomodate the height of the text up to the maximum field height allowed.<br/>This only takes effect if grow = true, and fires the autosize event if the height changes.
1969 <td class="msource">
1977 <tr class="method-row config-row-alt1 expandable">
1978 <td class="micon"><a class="exi" href="#expand"> </a></td>
1982 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
1983 <div class="fixedFont">
1984 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1993 <div class="short">Clear any invalid styles/messages for this field</div>
1999 Clear any invalid styles/messages for this field
2020 <td class="msource">
2022 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2028 <tr class="method-row config-row-alt0 expandable">
2029 <td class="micon"><a class="exi" href="#expand"> </a></td>
2033 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2034 <div class="fixedFont">
2035 <span class="attributes"></span><b class="itemname">destroy</b>
2044 <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,<br/>removing the component from its {<b>link</b> Roo.Container} (if applicable) and unregistering it from {<b>link</b> Roo.ComponentMgr}.</div>
2050 Destroys this component by purging any event listeners, removing the component's element from the DOM,<br/>removing the component from its {<b>link</b> Roo.Container} (if applicable) and unregistering it from {<b>link</b> Roo.ComponentMgr}.
2071 <td class="msource">
2073 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2079 <tr class="method-row config-row-alt1 expandable">
2080 <td class="micon"><a class="exi" href="#expand"> </a></td>
2084 <a id="Roo.Component-method-disable" name=".disable"></a>
2085 <div class="fixedFont">
2086 <span class="attributes"></span><b class="itemname">disable</b>
2094 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2103 <div class="short">Disable this component.</div>
2109 Disable this component.
2120 <dl class="detailList">
2121 <dt class="heading">Returns:</dt>
2123 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2137 <td class="msource">
2139 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2145 <tr class="method-row config-row-alt0 expandable">
2146 <td class="micon"><a class="exi" href="#expand"> </a></td>
2150 <a id="Roo.Component-method-enable" name=".enable"></a>
2151 <div class="fixedFont">
2152 <span class="attributes"></span><b class="itemname">enable</b>
2160 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2169 <div class="short">Enable this component.</div>
2175 Enable this component.
2186 <dl class="detailList">
2187 <dt class="heading">Returns:</dt>
2189 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2203 <td class="msource">
2205 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2211 <tr class="method-row config-row-alt1 expandable">
2212 <td class="micon"><a class="exi" href="#expand"> </a></td>
2216 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2217 <div class="fixedFont">
2218 <span class="attributes"></span><b class="itemname">fireEvent</b>
2220 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>)
2226 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2235 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2241 Fires the specified event with the passed parameters (minus the event name).
2248 <dl class="detailList">
2249 <dt class="heading">Parameters:</dt>
2252 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2258 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span> <b>args</b>
2261 <dd>Variable number of parameters are passed to handlers</dd>
2269 <dl class="detailList">
2270 <dt class="heading">Returns:</dt>
2272 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> returns false if any of the handlers return false otherwise it returns true</dd>
2286 <td class="msource">
2288 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2294 <tr class="method-row config-row-alt0 expandable">
2295 <td class="micon"><a class="exi" href="#expand"> </a></td>
2299 <a id="Roo.Component-method-focus" name=".focus"></a>
2300 <div class="fixedFont">
2301 <span class="attributes"></span><b class="itemname">focus</b>
2303 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2309 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2318 <div class="short">Try to focus this component.</div>
2324 Try to focus this component.
2331 <dl class="detailList">
2332 <dt class="heading">Parameters:</dt>
2335 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>selectText</b>
2338 <dd>True to also select the text in this component (if applicable)</dd>
2346 <dl class="detailList">
2347 <dt class="heading">Returns:</dt>
2349 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2363 <td class="msource">
2365 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2371 <tr class="method-row config-row-alt1 expandable">
2372 <td class="micon"><a class="exi" href="#expand"> </a></td>
2376 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2377 <div class="fixedFont">
2378 <span class="attributes"></span><b class="itemname">getBox</b>
2380 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2387 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2393 Gets the current box measurements of the component's underlying element.
2400 <dl class="detailList">
2401 <dt class="heading">Parameters:</dt>
2404 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>local</b>
2407 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2425 <td class="msource">
2427 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2433 <tr class="method-row config-row-alt0 expandable">
2434 <td class="micon"><a class="exi" href="#expand"> </a></td>
2438 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2439 <div class="fixedFont">
2440 <span class="attributes"></span><b class="itemname">getEl</b>
2448 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2457 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2463 Returns the underlying {<b>link</b> Roo.Element}.
2474 <dl class="detailList">
2475 <dt class="heading">Returns:</dt>
2477 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2491 <td class="msource">
2493 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2499 <tr class="method-row config-row-alt1 expandable">
2500 <td class="micon"><a class="exi" href="#expand"> </a></td>
2504 <a id="Roo.Component-method-getId" name=".getId"></a>
2505 <div class="fixedFont">
2506 <span class="attributes"></span><b class="itemname">getId</b>
2514 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2523 <div class="short">Returns the id of this component.</div>
2529 Returns the id of this component.
2540 <dl class="detailList">
2541 <dt class="heading">Returns:</dt>
2543 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2557 <td class="msource">
2559 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2565 <tr class="method-row config-row-alt0 expandable">
2566 <td class="micon"><a class="exi" href="#expand"> </a></td>
2570 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2571 <div class="fixedFont">
2572 <span class="attributes"></span><b class="itemname">getName</b>
2580 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2589 <div class="short">Returns the name attribute of the field if available</div>
2595 Returns the name attribute of the field if available
2606 <dl class="detailList">
2607 <dt class="heading">Returns:</dt>
2609 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2623 <td class="msource">
2625 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2631 <tr class="method-row config-row-alt1 expandable">
2632 <td class="micon"><a class="exi" href="#expand"> </a></td>
2636 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2637 <div class="fixedFont">
2638 <span class="attributes"></span><b class="itemname">getPosition</b>
2640 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2646 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2655 <div class="short">Gets the current XY position of the component's underlying element.</div>
2661 Gets the current XY position of the component's underlying element.
2668 <dl class="detailList">
2669 <dt class="heading">Parameters:</dt>
2672 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>local</b>
2675 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2683 <dl class="detailList">
2684 <dt class="heading">Returns:</dt>
2686 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> The XY position of the element (e.g., [100, 200])</dd>
2700 <td class="msource">
2702 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2708 <tr class="method-row config-row-alt0 expandable">
2709 <td class="micon"><a class="exi" href="#expand"> </a></td>
2713 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2714 <div class="fixedFont">
2715 <span class="attributes"></span><b class="itemname">getRawValue</b>
2732 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2738 Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see {<b>link</b> <b>getValue</b>}.
2749 <dl class="detailList">
2750 <dt class="heading">Returns:</dt>
2752 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2766 <td class="msource">
2768 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2774 <tr class="method-row config-row-alt1 expandable">
2775 <td class="micon"><a class="exi" href="#expand"> </a></td>
2779 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2780 <div class="fixedFont">
2781 <span class="attributes"></span><b class="itemname">getSize</b>
2789 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2798 <div class="short">Gets the current size of the component's underlying element.</div>
2804 Gets the current size of the component's underlying element.
2815 <dl class="detailList">
2816 <dt class="heading">Returns:</dt>
2818 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> An object containing the element's size {width: (element width), height: (element height)}</dd>
2832 <td class="msource">
2834 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2840 <tr class="method-row config-row-alt0 expandable">
2841 <td class="micon"><a class="exi" href="#expand"> </a></td>
2845 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2846 <div class="fixedFont">
2847 <span class="attributes"></span><b class="itemname">getValue</b>
2864 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2870 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2881 <dl class="detailList">
2882 <dt class="heading">Returns:</dt>
2884 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2898 <td class="msource">
2900 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2906 <tr class="method-row config-row-alt1 expandable">
2907 <td class="micon"><a class="exi" href="#expand"> </a></td>
2911 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2912 <div class="fixedFont">
2913 <span class="attributes"></span><b class="itemname">hasListener</b>
2915 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2921 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2930 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2936 Checks to see if this object has any listeners for a specified event
2943 <dl class="detailList">
2944 <dt class="heading">Parameters:</dt>
2947 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2950 <dd>The name of the event to check for</dd>
2958 <dl class="detailList">
2959 <dt class="heading">Returns:</dt>
2961 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the event is being listened for, else false</dd>
2975 <td class="msource">
2977 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2983 <tr class="method-row config-row-alt0 expandable">
2984 <td class="micon"><a class="exi" href="#expand"> </a></td>
2988 <a id="Roo.Component-method-hide" name=".hide"></a>
2989 <div class="fixedFont">
2990 <span class="attributes"></span><b class="itemname">hide</b>
2998 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3007 <div class="short">Hide this component.</div>
3013 Hide this component.
3024 <dl class="detailList">
3025 <dt class="heading">Returns:</dt>
3027 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3041 <td class="msource">
3043 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3049 <tr class="method-row config-row-alt1 expandable">
3050 <td class="micon"><a class="exi" href="#expand"> </a></td>
3054 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
3055 <div class="fixedFont">
3056 <span class="attributes"></span><b class="itemname">isDirty</b>
3065 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3071 Returns true if this field has been changed since it was originally loaded and is not disabled.
3092 <td class="msource">
3094 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3100 <tr class="method-row config-row-alt0 expandable">
3101 <td class="micon"><a class="exi" href="#expand"> </a></td>
3105 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3106 <div class="fixedFont">
3107 <span class="attributes"></span><b class="itemname">isValid</b>
3109 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3115 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3124 <div class="short">Returns whether or not the field value is currently valid</div>
3130 Returns whether or not the field value is currently valid
3137 <dl class="detailList">
3138 <dt class="heading">Parameters:</dt>
3141 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>preventMark</b>
3144 <dd>True to disable marking the field invalid</dd>
3152 <dl class="detailList">
3153 <dt class="heading">Returns:</dt>
3155 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the value is valid, else false</dd>
3169 <td class="msource">
3171 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3177 <tr class="method-row config-row-alt1 expandable">
3178 <td class="micon"><a class="exi" href="#expand"> </a></td>
3182 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3183 <div class="fixedFont">
3184 <span class="attributes"></span><b class="itemname">isVisible</b>
3193 <div class="short">Returns true if this component is visible.</div>
3199 Returns true if this component is visible.
3220 <td class="msource">
3222 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3228 <tr class="method-row config-row-alt0 expandable">
3229 <td class="micon"><a class="exi" href="#expand"> </a></td>
3233 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3234 <div class="fixedFont">
3235 <span class="attributes"></span><b class="itemname">markInvalid</b>
3237 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3244 <div class="short">Mark this field as invalid</div>
3250 Mark this field as invalid
3257 <dl class="detailList">
3258 <dt class="heading">Parameters:</dt>
3261 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3264 <dd>The validation message</dd>
3282 <td class="msource">
3284 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3290 <tr class="method-row config-row-alt1 expandable">
3291 <td class="micon"><a class="exi" href="#expand"> </a></td>
3295 <a id="Roo.util.Observable-method-on" name=".on"></a>
3296 <div class="fixedFont">
3297 <span class="attributes"></span><b class="itemname">on</b>
3299 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
3306 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3312 Appends an event handler to this element (shorthand for addListener)
3319 <dl class="detailList">
3320 <dt class="heading">Parameters:</dt>
3323 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3326 <dd>The type of event to listen for</dd>
3329 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3332 <dd>The method the event invokes</dd>
3335 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
3338 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3341 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
3362 <td class="msource">
3364 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3370 <tr class="method-row config-row-alt0 expandable">
3371 <td class="micon"><a class="exi" href="#expand"> </a></td>
3375 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3376 <div class="fixedFont">
3377 <span class="attributes"></span><b class="itemname">onPosition</b>
3379 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
3386 <div class="short">Called after the component is moved, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a move occurs.</div>
3392 Called after the component is moved, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a move occurs.
3399 <dl class="detailList">
3400 <dt class="heading">Parameters:</dt>
3403 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3406 <dd>The new x position</dd>
3409 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3412 <dd>The new y position</dd>
3430 <td class="msource">
3432 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3438 <tr class="method-row config-row-alt1 expandable">
3439 <td class="micon"><a class="exi" href="#expand"> </a></td>
3443 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3444 <div class="fixedFont">
3445 <span class="attributes"></span><b class="itemname">onResize</b>
3447 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjHeight</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawHeight</i></B>)
3454 <div class="short">Called after the component is resized, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a resize occurs.</div>
3460 Called after the component is resized, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a resize occurs.
3467 <dl class="detailList">
3468 <dt class="heading">Parameters:</dt>
3471 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3474 <dd>The box-adjusted width that was set</dd>
3477 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3480 <dd>The box-adjusted height that was set</dd>
3483 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3486 <dd>The width that was originally specified</dd>
3489 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3492 <dd>The height that was originally specified</dd>
3510 <td class="msource">
3512 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3518 <tr class="method-row config-row-alt0 expandable">
3519 <td class="micon"><a class="exi" href="#expand"> </a></td>
3523 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3524 <div class="fixedFont">
3525 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3534 <div class="short">Removes all listeners for this object</div>
3540 Removes all listeners for this object
3561 <td class="msource">
3563 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3569 <tr class="method-row config-row-alt1 expandable">
3570 <td class="micon"><a class="exi" href="#expand"> </a></td>
3574 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3575 <div class="fixedFont">
3576 <span class="attributes"></span><b class="itemname">removeListener</b>
3578 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
3585 <div class="short">Removes a listener</div>
3598 <dl class="detailList">
3599 <dt class="heading">Parameters:</dt>
3602 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3605 <dd>The type of event to listen for</dd>
3608 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3611 <dd>The handler to remove</dd>
3614 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
3617 <dd>(optional) The scope (this object) for the handler</dd>
3635 <td class="msource">
3637 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3643 <tr class="method-row config-row-alt0 expandable">
3644 <td class="micon"><a class="exi" href="#expand"> </a></td>
3648 <a id="Roo.Component-method-render" name=".render"></a>
3649 <div class="fixedFont">
3650 <span class="attributes"></span><b class="itemname">render</b>
3652 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3659 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3665 If this is a lazy rendering component, render it to its container element.
3672 <dl class="detailList">
3673 <dt class="heading">Parameters:</dt>
3676 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3679 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3697 <td class="msource">
3699 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3705 <tr class="method-row config-row-alt1 expandable">
3706 <td class="micon"><a class="exi" href="#expand"> </a></td>
3710 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3711 <div class="fixedFont">
3712 <span class="attributes"></span><b class="itemname">reset</b>
3721 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3727 Resets the current field value to the originally-loaded value and clears any validation messages.
3748 <td class="msource">
3750 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3756 <tr class="method-row config-row-alt0 expandable">
3757 <td class="micon"><a class="exi" href="#expand"> </a></td>
3761 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3762 <div class="fixedFont">
3763 <span class="attributes"></span><b class="itemname">selectText</b>
3765 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>start</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>end</i></B>)
3772 <div class="short">Selects text in this field</div>
3778 Selects text in this field
3785 <dl class="detailList">
3786 <dt class="heading">Parameters:</dt>
3789 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3792 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3795 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3798 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3816 <td class="msource">
3818 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3824 <tr class="method-row config-row-alt1 expandable">
3825 <td class="micon"><a class="exi" href="#expand"> </a></td>
3829 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3830 <div class="fixedFont">
3831 <span class="attributes"></span><b class="itemname">setDisabled</b>
3833 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3840 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3846 Convenience function for setting disabled/enabled by boolean.
3853 <dl class="detailList">
3854 <dt class="heading">Parameters:</dt>
3857 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>disabled</b>
3878 <td class="msource">
3880 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3886 <tr class="method-row config-row-alt0 expandable">
3887 <td class="micon"><a class="exi" href="#expand"> </a></td>
3891 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3892 <div class="fixedFont">
3893 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3895 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
3902 <div class="short">Sets the page XY position of the component.</div>
3908 Sets the page XY position of the component. To set the left and top instead, use {<b>link</b> <b>setPosition</b>}.<br/>This method fires the move event.
3915 <dl class="detailList">
3916 <dt class="heading">Parameters:</dt>
3919 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3922 <dd>The new x position</dd>
3925 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3928 <dd>The new y position</dd>
3946 <td class="msource">
3948 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3954 <tr class="method-row config-row-alt1 expandable">
3955 <td class="micon"><a class="exi" href="#expand"> </a></td>
3959 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
3960 <div class="fixedFont">
3961 <span class="attributes"></span><b class="itemname">setPosition</b>
3963 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>left</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>top</i></B>)
3970 <div class="short">Sets the left and top of the component.</div>
3976 Sets the left and top of the component. To set the page XY position instead, use {<b>link</b> <b>setPagePosition</b>}.<br/>This method fires the move event.
3983 <dl class="detailList">
3984 <dt class="heading">Parameters:</dt>
3987 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
3990 <dd>The new left</dd>
3993 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
3996 <dd>The new top</dd>
4014 <td class="msource">
4016 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4022 <tr class="method-row config-row-alt0 expandable">
4023 <td class="micon"><a class="exi" href="#expand"> </a></td>
4027 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4028 <div class="fixedFont">
4029 <span class="attributes"></span><b class="itemname">setRawValue</b>
4031 (Mixed <B><i>value</i></B>)
4038 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4044 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4051 <dl class="detailList">
4052 <dt class="heading">Parameters:</dt>
4055 <span class="fixedFont">Mixed</span> <b>value</b>
4058 <dd>The value to set</dd>
4076 <td class="msource">
4078 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4084 <tr class="method-row config-row-alt1 expandable">
4085 <td class="micon"><a class="exi" href="#expand"> </a></td>
4089 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4090 <div class="fixedFont">
4091 <span class="attributes"></span><b class="itemname">setSize</b>
4093 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
4099 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4108 <div class="short">Sets the width and height of the component.</div>
4114 Sets the width and height of the component. This method fires the resize event. This method can accept<br/>either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.
4121 <dl class="detailList">
4122 <dt class="heading">Parameters:</dt>
4125 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4128 <dd>The new width to set, or a size object in the format {width, height}</dd>
4131 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4134 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4142 <dl class="detailList">
4143 <dt class="heading">Returns:</dt>
4145 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4159 <td class="msource">
4161 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4167 <tr class="method-row config-row-alt0 expandable">
4168 <td class="micon"><a class="exi" href="#expand"> </a></td>
4172 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4173 <div class="fixedFont">
4174 <span class="attributes"></span><b class="itemname">setValue</b>
4176 (Mixed <B><i>value</i></B>)
4183 <div class="short">Sets a data value into the field and validates it.</div>
4189 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4196 <dl class="detailList">
4197 <dt class="heading">Parameters:</dt>
4200 <span class="fixedFont">Mixed</span> <b>value</b>
4203 <dd>The value to set</dd>
4221 <td class="msource">
4223 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4229 <tr class="method-row config-row-alt1 expandable">
4230 <td class="micon"><a class="exi" href="#expand"> </a></td>
4234 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4235 <div class="fixedFont">
4236 <span class="attributes"></span><b class="itemname">setVisible</b>
4238 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4244 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4253 <div class="short">Convenience function to hide or show this component by boolean.</div>
4259 Convenience function to hide or show this component by boolean.
4266 <dl class="detailList">
4267 <dt class="heading">Parameters:</dt>
4270 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>visible</b>
4273 <dd>True to show, false to hide</dd>
4281 <dl class="detailList">
4282 <dt class="heading">Returns:</dt>
4284 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4298 <td class="msource">
4300 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4306 <tr class="method-row config-row-alt0 expandable">
4307 <td class="micon"><a class="exi" href="#expand"> </a></td>
4311 <a id="Roo.Component-method-show" name=".show"></a>
4312 <div class="fixedFont">
4313 <span class="attributes"></span><b class="itemname">show</b>
4321 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4330 <div class="short">Show this component.</div>
4336 Show this component.
4347 <dl class="detailList">
4348 <dt class="heading">Returns:</dt>
4350 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4364 <td class="msource">
4366 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4372 <tr class="method-row config-row-alt1 expandable">
4373 <td class="micon"><a class="exi" href="#expand"> </a></td>
4377 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4378 <div class="fixedFont">
4379 <span class="attributes"></span><b class="itemname">syncSize</b>
4388 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4394 Force the component's size to recalculate based on the underlying element's current height and width.
4415 <td class="msource">
4417 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4423 <tr class="method-row config-row-alt0 expandable">
4424 <td class="micon"><a class="exi" href="#expand"> </a></td>
4428 <a id="Roo.util.Observable-method-un" name=".un"></a>
4429 <div class="fixedFont">
4430 <span class="attributes"></span><b class="itemname">un</b>
4432 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
4439 <div class="short">Removes a listener (shorthand for removeListener)</div>
4445 Removes a listener (shorthand for removeListener)
4452 <dl class="detailList">
4453 <dt class="heading">Parameters:</dt>
4456 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4459 <dd>The type of event to listen for</dd>
4462 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4465 <dd>The handler to remove</dd>
4468 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
4471 <dd>(optional) The scope (this object) for the handler</dd>
4489 <td class="msource">
4491 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4497 <tr class="method-row config-row-alt1 expandable">
4498 <td class="micon"><a class="exi" href="#expand"> </a></td>
4502 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4503 <div class="fixedFont">
4504 <span class="attributes"></span><b class="itemname">updateBox</b>
4506 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4513 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4519 Sets the current box measurements of the component's underlying element.
4526 <dl class="detailList">
4527 <dt class="heading">Parameters:</dt>
4530 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>box</b>
4533 <dd>An object in the format {x, y, width, height}</dd>
4551 <td class="msource">
4553 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4559 <tr class="method-row config-row-alt0 expandable">
4560 <td class="micon"><a class="exi" href="#expand"> </a></td>
4564 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4565 <div class="fixedFont">
4566 <span class="attributes"></span><b class="itemname">validate</b>
4574 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4583 <div class="short">Validates the field value</div>
4589 Validates the field value
4600 <dl class="detailList">
4601 <dt class="heading">Returns:</dt>
4603 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the value is valid, else false</dd>
4617 <td class="msource">
4619 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4625 <tr class="method-row config-row-alt1 expandable">
4626 <td class="micon"><a class="exi" href="#expand"> </a></td>
4630 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4631 <div class="fixedFont">
4632 <span class="attributes"></span><b class="itemname">validateValue</b>
4634 (Mixed <B><i>value</i></B>)
4640 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4649 <div class="short">Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails</div>
4655 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4662 <dl class="detailList">
4663 <dt class="heading">Parameters:</dt>
4666 <span class="fixedFont">Mixed</span> <b>value</b>
4669 <dd>The value to validate</dd>
4677 <dl class="detailList">
4678 <dt class="heading">Returns:</dt>
4680 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the value is valid, else false</dd>
4694 <td class="msource">
4696 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4705 <!-- ============================== events summary / details ======================== -->
4708 <a id="Roo.form.TextArea-events"></a>
4717 <table cellspacing="0" class="member-table">
4718 <caption>Events</caption>
4721 <th class="sig-header" colspan="2">Event</th>
4722 <th class="msource-header">Defined By</th>
4731 <tr class="method-row expandable config-row-alt0">
4732 <td class="micon"><a class="exi" href="#expand"> </a></td>
4735 <a id="Roo.form.TextField-event-*autosize"></a>
4737 <div class="fixedFont">
4738 <b class="itemname">autosize</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>)
4744 <div class="short">Fires when the autosize function is triggered.
4750 Fires when the autosize function is triggered. The field may or may not have actually changed size<br/>according to the default logic, but this event provides a hook for the developer to apply additional<br/>logic at runtime to resize the field if needed.
4756 <dl class="detailList">
4757 <dt class="heading">Parameters:</dt>
4760 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
4763 <dd>This text field</dd>
4766 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4769 <dd>The new field width</dd>
4787 <td class="msource">
4788 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4792 <tr class="method-row expandable config-row-alt1">
4793 <td class="micon"><a class="exi" href="#expand"> </a></td>
4796 <a id="Roo.Component-event-*beforedestroy"></a>
4798 <div class="fixedFont">
4799 <b class="itemname">beforedestroy</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4805 <div class="short">Fires before the component is destroyed.
4811 Fires before the component is destroyed. Return false to stop the destroy.
4817 <dl class="detailList">
4818 <dt class="heading">Parameters:</dt>
4821 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4842 <td class="msource">
4843 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4847 <tr class="method-row expandable config-row-alt0">
4848 <td class="micon"><a class="exi" href="#expand"> </a></td>
4851 <a id="Roo.Component-event-*beforehide"></a>
4853 <div class="fixedFont">
4854 <b class="itemname">beforehide</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4860 <div class="short">Fires before the component is hidden.
4866 Fires before the component is hidden. Return false to stop the hide.
4872 <dl class="detailList">
4873 <dt class="heading">Parameters:</dt>
4876 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4897 <td class="msource">
4898 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4902 <tr class="method-row expandable config-row-alt1">
4903 <td class="micon"><a class="exi" href="#expand"> </a></td>
4906 <a id="Roo.Component-event-*beforerender"></a>
4908 <div class="fixedFont">
4909 <b class="itemname">beforerender</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4915 <div class="short">Fires before the component is rendered.
4921 Fires before the component is rendered. Return false to stop the render.
4927 <dl class="detailList">
4928 <dt class="heading">Parameters:</dt>
4931 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4952 <td class="msource">
4953 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4957 <tr class="method-row expandable config-row-alt0">
4958 <td class="micon"><a class="exi" href="#expand"> </a></td>
4961 <a id="Roo.Component-event-*beforeshow"></a>
4963 <div class="fixedFont">
4964 <b class="itemname">beforeshow</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
4970 <div class="short">Fires before the component is shown.
4976 Fires before the component is shown. Return false to stop the show.
4982 <dl class="detailList">
4983 <dt class="heading">Parameters:</dt>
4986 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5007 <td class="msource">
5008 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5012 <tr class="method-row expandable config-row-alt1">
5013 <td class="micon"><a class="exi" href="#expand"> </a></td>
5016 <a id="Roo.form.Field-event-*blur"></a>
5018 <div class="fixedFont">
5019 <b class="itemname">blur</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>)
5025 <div class="short">Fires when this field loses input focus.
5031 Fires when this field loses input focus.
5037 <dl class="detailList">
5038 <dt class="heading">Parameters:</dt>
5041 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5062 <td class="msource">
5063 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5067 <tr class="method-row expandable config-row-alt0">
5068 <td class="micon"><a class="exi" href="#expand"> </a></td>
5071 <a id="Roo.form.Field-event-*change"></a>
5073 <div class="fixedFont">
5074 <b class="itemname">change</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, Mixed <B><i>newValue</i></B>, Mixed <B><i>oldValue</i></B>)
5080 <div class="short">Fires just before the field blurs if the field value has changed.
5086 Fires just before the field blurs if the field value has changed.
5092 <dl class="detailList">
5093 <dt class="heading">Parameters:</dt>
5096 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5102 <span class="fixedFont">Mixed</span> <b>newValue</b>
5105 <dd>The new value</dd>
5108 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5111 <dd>The original value</dd>
5129 <td class="msource">
5130 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5134 <tr class="method-row expandable config-row-alt1">
5135 <td class="micon"><a class="exi" href="#expand"> </a></td>
5138 <a id="Roo.Component-event-*destroy"></a>
5140 <div class="fixedFont">
5141 <b class="itemname">destroy</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
5147 <div class="short">Fires after the component is destroyed.
5153 Fires after the component is destroyed.
5159 <dl class="detailList">
5160 <dt class="heading">Parameters:</dt>
5163 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5184 <td class="msource">
5185 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5189 <tr class="method-row expandable config-row-alt0">
5190 <td class="micon"><a class="exi" href="#expand"> </a></td>
5193 <a id="Roo.Component-event-*disable"></a>
5195 <div class="fixedFont">
5196 <b class="itemname">disable</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
5202 <div class="short">Fires after the component is disabled.
5208 Fires after the component is disabled.
5214 <dl class="detailList">
5215 <dt class="heading">Parameters:</dt>
5218 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5239 <td class="msource">
5240 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5244 <tr class="method-row expandable config-row-alt1">
5245 <td class="micon"><a class="exi" href="#expand"> </a></td>
5248 <a id="Roo.Component-event-*enable"></a>
5250 <div class="fixedFont">
5251 <b class="itemname">enable</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
5257 <div class="short">Fires after the component is enabled.
5263 Fires after the component is enabled.
5269 <dl class="detailList">
5270 <dt class="heading">Parameters:</dt>
5273 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5294 <td class="msource">
5295 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5299 <tr class="method-row expandable config-row-alt0">
5300 <td class="micon"><a class="exi" href="#expand"> </a></td>
5303 <a id="Roo.form.Field-event-*focus"></a>
5305 <div class="fixedFont">
5306 <b class="itemname">focus</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>)
5312 <div class="short">Fires when this field receives input focus.
5318 Fires when this field receives input focus.
5324 <dl class="detailList">
5325 <dt class="heading">Parameters:</dt>
5328 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5349 <td class="msource">
5350 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5354 <tr class="method-row expandable config-row-alt1">
5355 <td class="micon"><a class="exi" href="#expand"> </a></td>
5358 <a id="Roo.Component-event-*hide"></a>
5360 <div class="fixedFont">
5361 <b class="itemname">hide</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
5367 <div class="short">Fires after the component is hidden.
5373 Fires after the component is hidden.
5379 <dl class="detailList">
5380 <dt class="heading">Parameters:</dt>
5383 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5404 <td class="msource">
5405 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5409 <tr class="method-row expandable config-row-alt0">
5410 <td class="micon"><a class="exi" href="#expand"> </a></td>
5413 <a id="Roo.form.Field-event-*invalid"></a>
5415 <div class="fixedFont">
5416 <b class="itemname">invalid</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
5422 <div class="short">Fires after the field has been marked as invalid.
5428 Fires after the field has been marked as invalid.
5434 <dl class="detailList">
5435 <dt class="heading">Parameters:</dt>
5438 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5444 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5447 <dd>The validation message</dd>
5465 <td class="msource">
5466 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5470 <tr class="method-row expandable config-row-alt1">
5471 <td class="micon"><a class="exi" href="#expand"> </a></td>
5474 <a id="Roo.form.Field-event-*keyup"></a>
5476 <div class="fixedFont">
5477 <b class="itemname">keyup</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
5483 <div class="short">Fires after the key up
5489 Fires after the key up
5495 <dl class="detailList">
5496 <dt class="heading">Parameters:</dt>
5499 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5505 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5508 <dd>The event Object</dd>
5526 <td class="msource">
5527 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5531 <tr class="method-row expandable config-row-alt0">
5532 <td class="micon"><a class="exi" href="#expand"> </a></td>
5535 <a id="Roo.BoxComponent-event-*move"></a>
5537 <div class="fixedFont">
5538 <b class="itemname">move</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
5544 <div class="short">Fires after the component is moved.
5550 Fires after the component is moved.
5556 <dl class="detailList">
5557 <dt class="heading">Parameters:</dt>
5560 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5566 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5569 <dd>The new x position</dd>
5572 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5575 <dd>The new y position</dd>
5593 <td class="msource">
5594 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5598 <tr class="method-row expandable config-row-alt1">
5599 <td class="micon"><a class="exi" href="#expand"> </a></td>
5602 <a id="Roo.Component-event-*render"></a>
5604 <div class="fixedFont">
5605 <b class="itemname">render</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
5611 <div class="short">Fires after the component is rendered.
5617 Fires after the component is rendered.
5623 <dl class="detailList">
5624 <dt class="heading">Parameters:</dt>
5627 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5648 <td class="msource">
5649 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5653 <tr class="method-row expandable config-row-alt0">
5654 <td class="micon"><a class="exi" href="#expand"> </a></td>
5657 <a id="Roo.BoxComponent-event-*resize"></a>
5659 <div class="fixedFont">
5660 <b class="itemname">resize</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjHeight</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawHeight</i></B>)
5666 <div class="short">Fires after the component is resized.
5672 Fires after the component is resized.
5678 <dl class="detailList">
5679 <dt class="heading">Parameters:</dt>
5682 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5688 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5691 <dd>The box-adjusted width that was set</dd>
5694 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5697 <dd>The box-adjusted height that was set</dd>
5700 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5703 <dd>The width that was originally specified</dd>
5706 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5709 <dd>The height that was originally specified</dd>
5727 <td class="msource">
5728 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5732 <tr class="method-row expandable config-row-alt1">
5733 <td class="micon"><a class="exi" href="#expand"> </a></td>
5736 <a id="Roo.Component-event-*show"></a>
5738 <div class="fixedFont">
5739 <b class="itemname">show</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
5745 <div class="short">Fires after the component is shown.
5751 Fires after the component is shown.
5757 <dl class="detailList">
5758 <dt class="heading">Parameters:</dt>
5761 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5782 <td class="msource">
5783 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5787 <tr class="method-row expandable config-row-alt0">
5788 <td class="micon"><a class="exi" href="#expand"> </a></td>
5791 <a id="Roo.form.Field-event-*specialkey"></a>
5793 <div class="fixedFont">
5794 <b class="itemname">specialkey</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
5800 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5806 Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check<br/>{<b>link</b> Roo.EventObject<b>getKey</b>} to determine which key was pressed.
5812 <dl class="detailList">
5813 <dt class="heading">Parameters:</dt>
5816 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5822 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5825 <dd>The event object</dd>
5843 <td class="msource">
5844 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5848 <tr class="method-row expandable config-row-alt1">
5849 <td class="micon"><a class="exi" href="#expand"> </a></td>
5852 <a id="Roo.form.Field-event-*valid"></a>
5854 <div class="fixedFont">
5855 <b class="itemname">valid</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>)
5861 <div class="short">Fires after the field has been validated with no errors.
5867 Fires after the field has been validated with no errors.
5873 <dl class="detailList">
5874 <dt class="heading">Parameters:</dt>
5877 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5898 <td class="msource">
5899 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5910 <!-- ============================== footer ================================= -->
5911 <div class="fineprint" style="clear:both">
5913 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Oct 09 2015 12:59:38 GMT+0800 (HKT)
5915 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>