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.form.Field-method-hasChanged" name=".hasChanged"></a>
2912 <div class="fixedFont">
2913 <span class="attributes"></span><b class="itemname">hasChanged</b>
2922 <div class="short">checks the current value against the 'loaded' value.</div>
2928 checks the current value against the 'loaded' value.<br/>Note - will return false if 'resetHasChanged' has not been called first.
2949 <td class="msource">
2951 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2957 <tr class="method-row config-row-alt0 expandable">
2958 <td class="micon"><a class="exi" href="#expand"> </a></td>
2962 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2963 <div class="fixedFont">
2964 <span class="attributes"></span><b class="itemname">hasListener</b>
2966 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2972 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2981 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2987 Checks to see if this object has any listeners for a specified event
2994 <dl class="detailList">
2995 <dt class="heading">Parameters:</dt>
2998 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3001 <dd>The name of the event to check for</dd>
3009 <dl class="detailList">
3010 <dt class="heading">Returns:</dt>
3012 <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>
3026 <td class="msource">
3028 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3034 <tr class="method-row config-row-alt1 expandable">
3035 <td class="micon"><a class="exi" href="#expand"> </a></td>
3039 <a id="Roo.Component-method-hide" name=".hide"></a>
3040 <div class="fixedFont">
3041 <span class="attributes"></span><b class="itemname">hide</b>
3049 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3058 <div class="short">Hide this component.</div>
3064 Hide this component.
3075 <dl class="detailList">
3076 <dt class="heading">Returns:</dt>
3078 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3092 <td class="msource">
3094 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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-isDirty" name=".isDirty"></a>
3106 <div class="fixedFont">
3107 <span class="attributes"></span><b class="itemname">isDirty</b>
3116 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3122 Returns true if this field has been changed since it was originally loaded and is not disabled.<br/>DEPRICATED - it never worked well - use hasChanged/resetHasChanged.
3143 <td class="msource">
3145 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3151 <tr class="method-row config-row-alt1 expandable">
3152 <td class="micon"><a class="exi" href="#expand"> </a></td>
3156 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3157 <div class="fixedFont">
3158 <span class="attributes"></span><b class="itemname">isValid</b>
3160 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3166 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3175 <div class="short">Returns whether or not the field value is currently valid</div>
3181 Returns whether or not the field value is currently valid
3188 <dl class="detailList">
3189 <dt class="heading">Parameters:</dt>
3192 <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>
3195 <dd>True to disable marking the field invalid</dd>
3203 <dl class="detailList">
3204 <dt class="heading">Returns:</dt>
3206 <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>
3220 <td class="msource">
3222 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</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.Component-method-isVisible" name=".isVisible"></a>
3234 <div class="fixedFont">
3235 <span class="attributes"></span><b class="itemname">isVisible</b>
3244 <div class="short">Returns true if this component is visible.</div>
3250 Returns true if this component is visible.
3271 <td class="msource">
3273 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3279 <tr class="method-row config-row-alt1 expandable">
3280 <td class="micon"><a class="exi" href="#expand"> </a></td>
3284 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3285 <div class="fixedFont">
3286 <span class="attributes"></span><b class="itemname">markInvalid</b>
3288 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3295 <div class="short">Mark this field as invalid</div>
3301 Mark this field as invalid
3308 <dl class="detailList">
3309 <dt class="heading">Parameters:</dt>
3312 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3315 <dd>The validation message</dd>
3333 <td class="msource">
3335 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3341 <tr class="method-row config-row-alt0 expandable">
3342 <td class="micon"><a class="exi" href="#expand"> </a></td>
3346 <a id="Roo.util.Observable-method-on" name=".on"></a>
3347 <div class="fixedFont">
3348 <span class="attributes"></span><b class="itemname">on</b>
3350 (<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>)
3357 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3363 Appends an event handler to this element (shorthand for addListener)
3370 <dl class="detailList">
3371 <dt class="heading">Parameters:</dt>
3374 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3377 <dd>The type of event to listen for</dd>
3380 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3383 <dd>The method the event invokes</dd>
3386 <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>
3389 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3392 <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>
3413 <td class="msource">
3415 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3421 <tr class="method-row config-row-alt1 expandable">
3422 <td class="micon"><a class="exi" href="#expand"> </a></td>
3426 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3427 <div class="fixedFont">
3428 <span class="attributes"></span><b class="itemname">onPosition</b>
3430 (<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>)
3437 <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>
3443 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.
3450 <dl class="detailList">
3451 <dt class="heading">Parameters:</dt>
3454 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3457 <dd>The new x position</dd>
3460 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3463 <dd>The new y position</dd>
3481 <td class="msource">
3483 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3489 <tr class="method-row config-row-alt0 expandable">
3490 <td class="micon"><a class="exi" href="#expand"> </a></td>
3494 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3495 <div class="fixedFont">
3496 <span class="attributes"></span><b class="itemname">onResize</b>
3498 (<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>)
3505 <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>
3511 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.
3518 <dl class="detailList">
3519 <dt class="heading">Parameters:</dt>
3522 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3525 <dd>The box-adjusted width that was set</dd>
3528 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3531 <dd>The box-adjusted height that was set</dd>
3534 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3537 <dd>The width that was originally specified</dd>
3540 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3543 <dd>The height that was originally specified</dd>
3561 <td class="msource">
3563 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</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-purgeListeners" name=".purgeListeners"></a>
3575 <div class="fixedFont">
3576 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3585 <div class="short">Removes all listeners for this object</div>
3591 Removes all listeners for this object
3612 <td class="msource">
3614 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3620 <tr class="method-row config-row-alt0 expandable">
3621 <td class="micon"><a class="exi" href="#expand"> </a></td>
3625 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3626 <div class="fixedFont">
3627 <span class="attributes"></span><b class="itemname">removeListener</b>
3629 (<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>)
3636 <div class="short">Removes a listener</div>
3649 <dl class="detailList">
3650 <dt class="heading">Parameters:</dt>
3653 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3656 <dd>The type of event to listen for</dd>
3659 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3662 <dd>The handler to remove</dd>
3665 <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>
3668 <dd>(optional) The scope (this object) for the handler</dd>
3686 <td class="msource">
3688 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3694 <tr class="method-row config-row-alt1 expandable">
3695 <td class="micon"><a class="exi" href="#expand"> </a></td>
3699 <a id="Roo.Component-method-render" name=".render"></a>
3700 <div class="fixedFont">
3701 <span class="attributes"></span><b class="itemname">render</b>
3703 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3710 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3716 If this is a lazy rendering component, render it to its container element.
3723 <dl class="detailList">
3724 <dt class="heading">Parameters:</dt>
3727 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3730 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3748 <td class="msource">
3750 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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-reset" name=".reset"></a>
3762 <div class="fixedFont">
3763 <span class="attributes"></span><b class="itemname">reset</b>
3772 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3778 Resets the current field value to the originally-loaded value and clears any validation messages.
3799 <td class="msource">
3801 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3807 <tr class="method-row config-row-alt1 expandable">
3808 <td class="micon"><a class="exi" href="#expand"> </a></td>
3812 <a id="Roo.form.Field-method-resetHasChanged" name=".resetHasChanged"></a>
3813 <div class="fixedFont">
3814 <span class="attributes"></span><b class="itemname">resetHasChanged</b>
3823 <div class="short">stores the current value in loadedValue</div>
3829 stores the current value in loadedValue
3850 <td class="msource">
3852 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3858 <tr class="method-row config-row-alt0 expandable">
3859 <td class="micon"><a class="exi" href="#expand"> </a></td>
3863 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3864 <div class="fixedFont">
3865 <span class="attributes"></span><b class="itemname">selectText</b>
3867 (<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>)
3874 <div class="short">Selects text in this field</div>
3880 Selects text in this field
3887 <dl class="detailList">
3888 <dt class="heading">Parameters:</dt>
3891 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3894 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3897 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3900 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3918 <td class="msource">
3920 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3926 <tr class="method-row config-row-alt1 expandable">
3927 <td class="micon"><a class="exi" href="#expand"> </a></td>
3931 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3932 <div class="fixedFont">
3933 <span class="attributes"></span><b class="itemname">setDisabled</b>
3935 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3942 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3948 Convenience function for setting disabled/enabled by boolean.
3955 <dl class="detailList">
3956 <dt class="heading">Parameters:</dt>
3959 <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>
3980 <td class="msource">
3982 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3988 <tr class="method-row config-row-alt0 expandable">
3989 <td class="micon"><a class="exi" href="#expand"> </a></td>
3993 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3994 <div class="fixedFont">
3995 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3997 (<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>)
4004 <div class="short">Sets the page XY position of the component.</div>
4010 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.
4017 <dl class="detailList">
4018 <dt class="heading">Parameters:</dt>
4021 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4024 <dd>The new x position</dd>
4027 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4030 <dd>The new y position</dd>
4048 <td class="msource">
4050 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4056 <tr class="method-row config-row-alt1 expandable">
4057 <td class="micon"><a class="exi" href="#expand"> </a></td>
4061 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
4062 <div class="fixedFont">
4063 <span class="attributes"></span><b class="itemname">setPosition</b>
4065 (<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>)
4072 <div class="short">Sets the left and top of the component.</div>
4078 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.
4085 <dl class="detailList">
4086 <dt class="heading">Parameters:</dt>
4089 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
4092 <dd>The new left</dd>
4095 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
4098 <dd>The new top</dd>
4116 <td class="msource">
4118 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4124 <tr class="method-row config-row-alt0 expandable">
4125 <td class="micon"><a class="exi" href="#expand"> </a></td>
4129 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4130 <div class="fixedFont">
4131 <span class="attributes"></span><b class="itemname">setRawValue</b>
4133 (Mixed <B><i>value</i></B>)
4140 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4146 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4153 <dl class="detailList">
4154 <dt class="heading">Parameters:</dt>
4157 <span class="fixedFont">Mixed</span> <b>value</b>
4160 <dd>The value to set</dd>
4178 <td class="msource">
4180 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4186 <tr class="method-row config-row-alt1 expandable">
4187 <td class="micon"><a class="exi" href="#expand"> </a></td>
4191 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4192 <div class="fixedFont">
4193 <span class="attributes"></span><b class="itemname">setSize</b>
4195 (<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>)
4201 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4210 <div class="short">Sets the width and height of the component.</div>
4216 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}.
4223 <dl class="detailList">
4224 <dt class="heading">Parameters:</dt>
4227 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4230 <dd>The new width to set, or a size object in the format {width, height}</dd>
4233 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4236 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4244 <dl class="detailList">
4245 <dt class="heading">Returns:</dt>
4247 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4261 <td class="msource">
4263 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4269 <tr class="method-row config-row-alt0 expandable">
4270 <td class="micon"><a class="exi" href="#expand"> </a></td>
4274 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4275 <div class="fixedFont">
4276 <span class="attributes"></span><b class="itemname">setValue</b>
4278 (Mixed <B><i>value</i></B>)
4285 <div class="short">Sets a data value into the field and validates it.</div>
4291 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4298 <dl class="detailList">
4299 <dt class="heading">Parameters:</dt>
4302 <span class="fixedFont">Mixed</span> <b>value</b>
4305 <dd>The value to set</dd>
4323 <td class="msource">
4325 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4331 <tr class="method-row config-row-alt1 expandable">
4332 <td class="micon"><a class="exi" href="#expand"> </a></td>
4336 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4337 <div class="fixedFont">
4338 <span class="attributes"></span><b class="itemname">setVisible</b>
4340 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4346 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4355 <div class="short">Convenience function to hide or show this component by boolean.</div>
4361 Convenience function to hide or show this component by boolean.
4368 <dl class="detailList">
4369 <dt class="heading">Parameters:</dt>
4372 <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>
4375 <dd>True to show, false to hide</dd>
4383 <dl class="detailList">
4384 <dt class="heading">Returns:</dt>
4386 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4400 <td class="msource">
4402 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4408 <tr class="method-row config-row-alt0 expandable">
4409 <td class="micon"><a class="exi" href="#expand"> </a></td>
4413 <a id="Roo.Component-method-show" name=".show"></a>
4414 <div class="fixedFont">
4415 <span class="attributes"></span><b class="itemname">show</b>
4423 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4432 <div class="short">Show this component.</div>
4438 Show this component.
4449 <dl class="detailList">
4450 <dt class="heading">Returns:</dt>
4452 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4466 <td class="msource">
4468 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4474 <tr class="method-row config-row-alt1 expandable">
4475 <td class="micon"><a class="exi" href="#expand"> </a></td>
4479 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4480 <div class="fixedFont">
4481 <span class="attributes"></span><b class="itemname">syncSize</b>
4490 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4496 Force the component's size to recalculate based on the underlying element's current height and width.
4517 <td class="msource">
4519 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4525 <tr class="method-row config-row-alt0 expandable">
4526 <td class="micon"><a class="exi" href="#expand"> </a></td>
4530 <a id="Roo.util.Observable-method-un" name=".un"></a>
4531 <div class="fixedFont">
4532 <span class="attributes"></span><b class="itemname">un</b>
4534 (<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>)
4541 <div class="short">Removes a listener (shorthand for removeListener)</div>
4547 Removes a listener (shorthand for removeListener)
4554 <dl class="detailList">
4555 <dt class="heading">Parameters:</dt>
4558 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4561 <dd>The type of event to listen for</dd>
4564 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4567 <dd>The handler to remove</dd>
4570 <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>
4573 <dd>(optional) The scope (this object) for the handler</dd>
4591 <td class="msource">
4593 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4599 <tr class="method-row config-row-alt1 expandable">
4600 <td class="micon"><a class="exi" href="#expand"> </a></td>
4604 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4605 <div class="fixedFont">
4606 <span class="attributes"></span><b class="itemname">updateBox</b>
4608 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4615 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4621 Sets the current box measurements of the component's underlying element.
4628 <dl class="detailList">
4629 <dt class="heading">Parameters:</dt>
4632 <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>
4635 <dd>An object in the format {x, y, width, height}</dd>
4653 <td class="msource">
4655 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4661 <tr class="method-row config-row-alt0 expandable">
4662 <td class="micon"><a class="exi" href="#expand"> </a></td>
4666 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4667 <div class="fixedFont">
4668 <span class="attributes"></span><b class="itemname">validate</b>
4676 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4685 <div class="short">Validates the field value</div>
4691 Validates the field value
4702 <dl class="detailList">
4703 <dt class="heading">Returns:</dt>
4705 <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>
4719 <td class="msource">
4721 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4727 <tr class="method-row config-row-alt1 expandable">
4728 <td class="micon"><a class="exi" href="#expand"> </a></td>
4732 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4733 <div class="fixedFont">
4734 <span class="attributes"></span><b class="itemname">validateValue</b>
4736 (Mixed <B><i>value</i></B>)
4742 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4751 <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>
4757 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4764 <dl class="detailList">
4765 <dt class="heading">Parameters:</dt>
4768 <span class="fixedFont">Mixed</span> <b>value</b>
4771 <dd>The value to validate</dd>
4779 <dl class="detailList">
4780 <dt class="heading">Returns:</dt>
4782 <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>
4796 <td class="msource">
4798 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4807 <!-- ============================== events summary / details ======================== -->
4810 <a id="Roo.form.TextArea-events"></a>
4819 <table cellspacing="0" class="member-table">
4820 <caption>Events</caption>
4823 <th class="sig-header" colspan="2">Event</th>
4824 <th class="msource-header">Defined By</th>
4833 <tr class="method-row expandable config-row-alt0">
4834 <td class="micon"><a class="exi" href="#expand"> </a></td>
4837 <a id="Roo.form.TextField-event-*autosize"></a>
4839 <div class="fixedFont">
4840 <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>)
4846 <div class="short">Fires when the autosize function is triggered.
4852 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.
4858 <dl class="detailList">
4859 <dt class="heading">Parameters:</dt>
4862 <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>
4865 <dd>This text field</dd>
4868 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4871 <dd>The new field width</dd>
4889 <td class="msource">
4890 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4894 <tr class="method-row expandable config-row-alt1">
4895 <td class="micon"><a class="exi" href="#expand"> </a></td>
4898 <a id="Roo.Component-event-*beforedestroy"></a>
4900 <div class="fixedFont">
4901 <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>)
4907 <div class="short">Fires before the component is destroyed.
4913 Fires before the component is destroyed. Return false to stop the destroy.
4919 <dl class="detailList">
4920 <dt class="heading">Parameters:</dt>
4923 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4944 <td class="msource">
4945 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4949 <tr class="method-row expandable config-row-alt0">
4950 <td class="micon"><a class="exi" href="#expand"> </a></td>
4953 <a id="Roo.Component-event-*beforehide"></a>
4955 <div class="fixedFont">
4956 <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>)
4962 <div class="short">Fires before the component is hidden.
4968 Fires before the component is hidden. Return false to stop the hide.
4974 <dl class="detailList">
4975 <dt class="heading">Parameters:</dt>
4978 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4999 <td class="msource">
5000 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5004 <tr class="method-row expandable config-row-alt1">
5005 <td class="micon"><a class="exi" href="#expand"> </a></td>
5008 <a id="Roo.Component-event-*beforerender"></a>
5010 <div class="fixedFont">
5011 <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>)
5017 <div class="short">Fires before the component is rendered.
5023 Fires before the component is rendered. Return false to stop the render.
5029 <dl class="detailList">
5030 <dt class="heading">Parameters:</dt>
5033 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5054 <td class="msource">
5055 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5059 <tr class="method-row expandable config-row-alt0">
5060 <td class="micon"><a class="exi" href="#expand"> </a></td>
5063 <a id="Roo.Component-event-*beforeshow"></a>
5065 <div class="fixedFont">
5066 <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>)
5072 <div class="short">Fires before the component is shown.
5078 Fires before the component is shown. Return false to stop the show.
5084 <dl class="detailList">
5085 <dt class="heading">Parameters:</dt>
5088 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5109 <td class="msource">
5110 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5114 <tr class="method-row expandable config-row-alt1">
5115 <td class="micon"><a class="exi" href="#expand"> </a></td>
5118 <a id="Roo.form.Field-event-*blur"></a>
5120 <div class="fixedFont">
5121 <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>)
5127 <div class="short">Fires when this field loses input focus.
5133 Fires when this field loses input focus.
5139 <dl class="detailList">
5140 <dt class="heading">Parameters:</dt>
5143 <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>
5164 <td class="msource">
5165 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5169 <tr class="method-row expandable config-row-alt0">
5170 <td class="micon"><a class="exi" href="#expand"> </a></td>
5173 <a id="Roo.form.Field-event-*change"></a>
5175 <div class="fixedFont">
5176 <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>)
5182 <div class="short">Fires just before the field blurs if the field value has changed.
5188 Fires just before the field blurs if the field value has changed.
5194 <dl class="detailList">
5195 <dt class="heading">Parameters:</dt>
5198 <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>
5204 <span class="fixedFont">Mixed</span> <b>newValue</b>
5207 <dd>The new value</dd>
5210 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5213 <dd>The original value</dd>
5231 <td class="msource">
5232 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5236 <tr class="method-row expandable config-row-alt1">
5237 <td class="micon"><a class="exi" href="#expand"> </a></td>
5240 <a id="Roo.Component-event-*destroy"></a>
5242 <div class="fixedFont">
5243 <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>)
5249 <div class="short">Fires after the component is destroyed.
5255 Fires after the component is destroyed.
5261 <dl class="detailList">
5262 <dt class="heading">Parameters:</dt>
5265 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5286 <td class="msource">
5287 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5291 <tr class="method-row expandable config-row-alt0">
5292 <td class="micon"><a class="exi" href="#expand"> </a></td>
5295 <a id="Roo.Component-event-*disable"></a>
5297 <div class="fixedFont">
5298 <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>)
5304 <div class="short">Fires after the component is disabled.
5310 Fires after the component is disabled.
5316 <dl class="detailList">
5317 <dt class="heading">Parameters:</dt>
5320 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5341 <td class="msource">
5342 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5346 <tr class="method-row expandable config-row-alt1">
5347 <td class="micon"><a class="exi" href="#expand"> </a></td>
5350 <a id="Roo.Component-event-*enable"></a>
5352 <div class="fixedFont">
5353 <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>)
5359 <div class="short">Fires after the component is enabled.
5365 Fires after the component is enabled.
5371 <dl class="detailList">
5372 <dt class="heading">Parameters:</dt>
5375 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5396 <td class="msource">
5397 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5401 <tr class="method-row expandable config-row-alt0">
5402 <td class="micon"><a class="exi" href="#expand"> </a></td>
5405 <a id="Roo.form.Field-event-*focus"></a>
5407 <div class="fixedFont">
5408 <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>)
5414 <div class="short">Fires when this field receives input focus.
5420 Fires when this field receives input focus.
5426 <dl class="detailList">
5427 <dt class="heading">Parameters:</dt>
5430 <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>
5451 <td class="msource">
5452 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5456 <tr class="method-row expandable config-row-alt1">
5457 <td class="micon"><a class="exi" href="#expand"> </a></td>
5460 <a id="Roo.Component-event-*hide"></a>
5462 <div class="fixedFont">
5463 <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>)
5469 <div class="short">Fires after the component is hidden.
5475 Fires after the component is hidden.
5481 <dl class="detailList">
5482 <dt class="heading">Parameters:</dt>
5485 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5506 <td class="msource">
5507 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5511 <tr class="method-row expandable config-row-alt0">
5512 <td class="micon"><a class="exi" href="#expand"> </a></td>
5515 <a id="Roo.form.Field-event-*invalid"></a>
5517 <div class="fixedFont">
5518 <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>)
5524 <div class="short">Fires after the field has been marked as invalid.
5530 Fires after the field has been marked as invalid.
5536 <dl class="detailList">
5537 <dt class="heading">Parameters:</dt>
5540 <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>
5546 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5549 <dd>The validation message</dd>
5567 <td class="msource">
5568 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5572 <tr class="method-row expandable config-row-alt1">
5573 <td class="micon"><a class="exi" href="#expand"> </a></td>
5576 <a id="Roo.form.Field-event-*keyup"></a>
5578 <div class="fixedFont">
5579 <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>)
5585 <div class="short">Fires after the key up
5591 Fires after the key up
5597 <dl class="detailList">
5598 <dt class="heading">Parameters:</dt>
5601 <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>
5607 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5610 <dd>The event Object</dd>
5628 <td class="msource">
5629 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5633 <tr class="method-row expandable config-row-alt0">
5634 <td class="micon"><a class="exi" href="#expand"> </a></td>
5637 <a id="Roo.BoxComponent-event-*move"></a>
5639 <div class="fixedFont">
5640 <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>)
5646 <div class="short">Fires after the component is moved.
5652 Fires after the component is moved.
5658 <dl class="detailList">
5659 <dt class="heading">Parameters:</dt>
5662 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5668 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5671 <dd>The new x position</dd>
5674 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5677 <dd>The new y position</dd>
5695 <td class="msource">
5696 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5700 <tr class="method-row expandable config-row-alt1">
5701 <td class="micon"><a class="exi" href="#expand"> </a></td>
5704 <a id="Roo.Component-event-*render"></a>
5706 <div class="fixedFont">
5707 <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>)
5713 <div class="short">Fires after the component is rendered.
5719 Fires after the component is rendered.
5725 <dl class="detailList">
5726 <dt class="heading">Parameters:</dt>
5729 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5750 <td class="msource">
5751 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5755 <tr class="method-row expandable config-row-alt0">
5756 <td class="micon"><a class="exi" href="#expand"> </a></td>
5759 <a id="Roo.BoxComponent-event-*resize"></a>
5761 <div class="fixedFont">
5762 <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>)
5768 <div class="short">Fires after the component is resized.
5774 Fires after the component is resized.
5780 <dl class="detailList">
5781 <dt class="heading">Parameters:</dt>
5784 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5790 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5793 <dd>The box-adjusted width that was set</dd>
5796 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5799 <dd>The box-adjusted height that was set</dd>
5802 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5805 <dd>The width that was originally specified</dd>
5808 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5811 <dd>The height that was originally specified</dd>
5829 <td class="msource">
5830 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5834 <tr class="method-row expandable config-row-alt1">
5835 <td class="micon"><a class="exi" href="#expand"> </a></td>
5838 <a id="Roo.Component-event-*show"></a>
5840 <div class="fixedFont">
5841 <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>)
5847 <div class="short">Fires after the component is shown.
5853 Fires after the component is shown.
5859 <dl class="detailList">
5860 <dt class="heading">Parameters:</dt>
5863 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5884 <td class="msource">
5885 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5889 <tr class="method-row expandable config-row-alt0">
5890 <td class="micon"><a class="exi" href="#expand"> </a></td>
5893 <a id="Roo.form.Field-event-*specialkey"></a>
5895 <div class="fixedFont">
5896 <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>)
5902 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5908 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.
5914 <dl class="detailList">
5915 <dt class="heading">Parameters:</dt>
5918 <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>
5924 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5927 <dd>The event object</dd>
5945 <td class="msource">
5946 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5950 <tr class="method-row expandable config-row-alt1">
5951 <td class="micon"><a class="exi" href="#expand"> </a></td>
5954 <a id="Roo.form.Field-event-*valid"></a>
5956 <div class="fixedFont">
5957 <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>)
5963 <div class="short">Fires after the field has been validated with no errors.
5969 Fires after the field has been validated with no errors.
5975 <dl class="detailList">
5976 <dt class="heading">Parameters:</dt>
5979 <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>
6000 <td class="msource">
6001 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6012 <!-- ============================== footer ================================= -->
6013 <div class="fineprint" style="clear:both">
6015 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Nov 17 2017 18:23:46 GMT+0800 (HKT)
6017 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>