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.TextField</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.TextField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.TextField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.TextField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.TextField-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 class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.TextField
55 <!-- ============================== class title / details ============================ -->
58 <h1 class="classTitle">
60 Class Roo.form.TextField
63 <table cellspacing="0" class="class-summary-table">
65 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
67 <tr><td class="label">Defined In:</td><td class="hd-info">
69 <a href="./src/Roo_form_TextField.js.html">Roo/form/TextField.js</a>.
72 <tr><td class="label">Class:</td><td class="hd-info">TextField</td></tr>
75 <tr><td class="label">Subclasses:</td><td class="hd-info">
76 <a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a>, <a href="./Roo.form.ComboBoxArray.html#constructor" roo:cls="Roo.form.ComboBoxArray.html#constructor">Roo.form.ComboBoxArray</a>, <a href="./Roo.form.ComboCheck.html#constructor" roo:cls="Roo.form.ComboCheck.html#constructor">Roo.form.ComboCheck</a>, <a href="./Roo.form.DateField.html#constructor" roo:cls="Roo.form.DateField.html#constructor">Roo.form.DateField</a>, <a href="./Roo.form.FCKeditor.html#constructor" roo:cls="Roo.form.FCKeditor.html#constructor">Roo.form.FCKeditor</a>, <a href="./Roo.form.Hidden.html#constructor" roo:cls="Roo.form.Hidden.html#constructor">Roo.form.Hidden</a>, <a href="./Roo.form.MonthField.html#constructor" roo:cls="Roo.form.MonthField.html#constructor">Roo.form.MonthField</a>, <a href="./Roo.form.NumberField.html#constructor" roo:cls="Roo.form.NumberField.html#constructor">Roo.form.NumberField</a>, <a href="./Roo.form.Select.html#constructor" roo:cls="Roo.form.Select.html#constructor">Roo.form.Select</a>, <a href="./Roo.form.TextArea.html#constructor" roo:cls="Roo.form.TextArea.html#constructor">Roo.form.TextArea</a>, <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
84 <tr><td class="label">Extends:</td><td class="hd-info">
85 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
93 <!-- ============================== class summary ========================== -->
94 <div class="description">
95 Basic text field. Can be used as a direct replacement for traditional text inputs, or as the base<br/>class for more sophisticated input controls (like {<b>link</b> Roo.form.TextArea} and {<b>link</b> Roo.form.ComboBox}).
99 <!-- ============================== Class comment block... ========================== -->
101 <div class="comments">
102 <b>Class Comments / Notes</B> =>
103 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.TextField';">[Add Your comment/notes about this class]</u>
105 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
106 src="/blog.php/GtkDjsComments/Roo.form.TextField.html"></iframe>
111 <!-- ============================== config options ========================== -->
116 <div class="hr"></div>
117 <a id="Roo.form.TextField-configs"></a>
123 <table cellspacing="0" class="member-table">
124 <caption>Config Options (Usually are also Properties)</caption>
128 <th class="sig-header" colspan="2">Options</th>
130 <th class="msource-header">Defined By</th>
137 <tr class="config-row expandable config-row-alt0">
138 <td class="micon"><a class="exi" href="#expand"> </a></td>
141 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
142 <div class="fixedFont">
143 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
149 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
154 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
164 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
170 <tr class="config-row expandable config-row-alt1 notInherited">
171 <td class="micon"><a class="exi" href="#expand"> </a></td>
174 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
175 <div class="fixedFont">
176 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
182 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
187 False to validate that the value length > 0 (defaults to true)
203 <tr class="config-row expandable config-row-alt0">
204 <td class="micon"><a class="exi" href="#expand"> </a></td>
207 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
208 <div class="fixedFont">
209 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
215 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
220 Whether the component can move the Dom node when rendering (defaults to true).
230 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
236 <tr class="config-row expandable config-row-alt1">
237 <td class="micon"><a class="exi" href="#expand"> </a></td>
240 <a id="Roo.form.Field-cfg-autoCreate" name=".autoCreate"></a>
241 <div class="fixedFont">
242 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
248 <div class="short">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "20", autocomplete: "off"})</div>
253 A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "20", autocomplete: "off"})
263 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
269 <tr class="config-row expandable config-row-alt0 notInherited">
270 <td class="micon"><a class="exi" href="#expand"> </a></td>
273 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
274 <div class="fixedFont">
275 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
281 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
286 Error text to display if the allow blank validation fails (defaults to "This field is required")
302 <tr class="config-row expandable config-row-alt1">
303 <td class="micon"><a class="exi" href="#expand"> </a></td>
306 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
307 <div class="fixedFont">
308 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
314 <div class="short">A CSS class to apply to the field's underlying element.</div>
319 A CSS class to apply to the field's underlying element.
329 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
335 <tr class="config-row expandable config-row-alt0">
336 <td class="micon"><a class="exi" href="#expand"> </a></td>
339 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
340 <div class="fixedFont">
341 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
347 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
352 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
362 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
368 <tr class="config-row expandable config-row-alt1 notInherited">
369 <td class="micon"><a class="exi" href="#expand"> </a></td>
372 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
373 <div class="fixedFont">
374 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
380 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
385 True to disable input keystroke filtering (defaults to false)
401 <tr class="config-row expandable config-row-alt0">
402 <td class="micon"><a class="exi" href="#expand"> </a></td>
405 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
406 <div class="fixedFont">
407 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
413 <div class="short">True to disable the field (defaults to false).</div>
418 True to disable the field (defaults to false).
428 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
434 <tr class="config-row expandable config-row-alt1 notInherited">
435 <td class="micon"><a class="exi" href="#expand"> </a></td>
438 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
439 <div class="fixedFont">
440 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
446 <div class="short">The default text to display in an empty field - placeholder.</div>
451 The default text to display in an empty field - placeholder... (defaults to null).
467 <tr class="config-row expandable config-row-alt0">
468 <td class="micon"><a class="exi" href="#expand"> </a></td>
471 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
472 <div class="fixedFont">
473 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
479 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
484 The default CSS class for the field (defaults to "x-form-field")
494 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
500 <tr class="config-row expandable config-row-alt1">
501 <td class="micon"><a class="exi" href="#expand"> </a></td>
504 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
505 <div class="fixedFont">
506 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
512 <div class="short">Label to use when rendering a form.</div>
517 Label to use when rendering a form.
527 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
533 <tr class="config-row expandable config-row-alt0">
534 <td class="micon"><a class="exi" href="#expand"> </a></td>
537 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
538 <div class="fixedFont">
539 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
545 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
550 The CSS class to use when the field receives focus (defaults to "x-form-focus")
560 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
566 <tr class="config-row expandable config-row-alt1 notInherited">
567 <td class="micon"><a class="exi" href="#expand"> </a></td>
570 <a id="Roo.form.TextField-cfg-grow" name=".grow"></a>
571 <div class="fixedFont">
572 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
578 <div class="short">True if this field should automatically grow and shrink to its content</div>
583 True if this field should automatically grow and shrink to its content
599 <tr class="config-row expandable config-row-alt0 notInherited">
600 <td class="micon"><a class="exi" href="#expand"> </a></td>
603 <a id="Roo.form.TextField-cfg-growMax" name=".growMax"></a>
604 <div class="fixedFont">
605 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
611 <div class="short">The maximum width to allow when grow = true (defaults to 800)</div>
616 The maximum width to allow when grow = true (defaults to 800)
632 <tr class="config-row expandable config-row-alt1 notInherited">
633 <td class="micon"><a class="exi" href="#expand"> </a></td>
636 <a id="Roo.form.TextField-cfg-growMin" name=".growMin"></a>
637 <div class="fixedFont">
638 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
644 <div class="short">The minimum width to allow when grow = true (defaults to 30)</div>
649 The minimum width to allow when grow = true (defaults to 30)
665 <tr class="config-row expandable config-row-alt0">
666 <td class="micon"><a class="exi" href="#expand"> </a></td>
669 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
670 <div class="fixedFont">
671 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
677 <div class="short">height (optional) size of component</div>
682 height (optional) size of component
692 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
698 <tr class="config-row expandable config-row-alt1">
699 <td class="micon"><a class="exi" href="#expand"> </a></td>
702 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
703 <div class="fixedFont">
704 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
710 <div class="short">How this component should hidden.</div>
715 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
716 <BR/>Possible Values: display, visibility
725 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
731 <tr class="config-row expandable config-row-alt0">
732 <td class="micon"><a class="exi" href="#expand"> </a></td>
735 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
736 <div class="fixedFont">
737 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
743 <div class="short">The type attribute for input fields -- e.g.</div>
748 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
758 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
764 <tr class="config-row expandable config-row-alt1">
765 <td class="micon"><a class="exi" href="#expand"> </a></td>
768 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
769 <div class="fixedFont">
770 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
776 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
781 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
791 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
797 <tr class="config-row expandable config-row-alt0">
798 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
802 <div class="fixedFont">
803 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
809 <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>
814 The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
824 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
830 <tr class="config-row expandable config-row-alt1">
831 <td class="micon"><a class="exi" href="#expand"> </a></td>
834 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
835 <div class="fixedFont">
836 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
842 <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>
847 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>
857 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
863 <tr class="config-row expandable config-row-alt0 notInherited">
864 <td class="micon"><a class="exi" href="#expand"> </a></td>
867 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
868 <div class="fixedFont">
869 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
875 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
880 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
896 <tr class="config-row expandable config-row-alt1 notInherited">
897 <td class="micon"><a class="exi" href="#expand"> </a></td>
900 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
901 <div class="fixedFont">
902 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
908 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
913 Maximum input field length allowed (defaults to Number.MAX_VALUE)
929 <tr class="config-row expandable config-row-alt0 notInherited">
930 <td class="micon"><a class="exi" href="#expand"> </a></td>
933 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
934 <div class="fixedFont">
935 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
941 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
946 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
962 <tr class="config-row expandable config-row-alt1 notInherited">
963 <td class="micon"><a class="exi" href="#expand"> </a></td>
966 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
967 <div class="fixedFont">
968 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
974 <div class="short">Minimum input field length required (defaults to 0)</div>
979 Minimum input field length required (defaults to 0)
995 <tr class="config-row expandable config-row-alt0 notInherited">
996 <td class="micon"><a class="exi" href="#expand"> </a></td>
999 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1000 <div class="fixedFont">
1001 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1007 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1012 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1020 <td class="msource">
1028 <tr class="config-row expandable config-row-alt1">
1029 <td class="micon"><a class="exi" href="#expand"> </a></td>
1032 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1033 <div class="fixedFont">
1034 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1040 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1045 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
1053 <td class="msource">
1055 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1061 <tr class="config-row expandable config-row-alt0">
1062 <td class="micon"><a class="exi" href="#expand"> </a></td>
1065 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1066 <div class="fixedFont">
1067 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1073 <div class="short">The location where error text should display.</div>
1078 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>
1086 <td class="msource">
1088 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1094 <tr class="config-row expandable config-row-alt1">
1095 <td class="micon"><a class="exi" href="#expand"> </a></td>
1098 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1099 <div class="fixedFont">
1100 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1106 <div class="short">The field's HTML name attribute.</div>
1111 The field's HTML name attribute.
1119 <td class="msource">
1121 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1127 <tr class="config-row expandable config-row-alt0">
1128 <td class="micon"><a class="exi" href="#expand"> </a></td>
1131 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1139 <div class="short">Mouse over tip</div>
1152 <td class="msource">
1154 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1160 <tr class="config-row expandable config-row-alt1">
1161 <td class="micon"><a class="exi" href="#expand"> </a></td>
1164 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1165 <div class="fixedFont">
1166 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1172 <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>
1177 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1185 <td class="msource">
1187 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1193 <tr class="config-row expandable config-row-alt0 notInherited">
1194 <td class="micon"><a class="exi" href="#expand"> </a></td>
1197 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1198 <div class="fixedFont">
1199 <b class="itemname">regex</b> : RegExp
1205 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1210 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>}.
1218 <td class="msource">
1226 <tr class="config-row expandable config-row-alt1 notInherited">
1227 <td class="micon"><a class="exi" href="#expand"> </a></td>
1230 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1231 <div class="fixedFont">
1232 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1238 <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>
1243 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
1251 <td class="msource">
1259 <tr class="config-row expandable config-row-alt0 notInherited">
1260 <td class="micon"><a class="exi" href="#expand"> </a></td>
1263 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1264 <div class="fixedFont">
1265 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1271 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1276 True to automatically select any existing field text when the field receives input focus (defaults to false)
1284 <td class="msource">
1292 <tr class="config-row expandable config-row-alt1">
1293 <td class="micon"><a class="exi" href="#expand"> </a></td>
1296 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1297 <div class="fixedFont">
1298 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1304 <div class="short">The tabIndex for this field.</div>
1309 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
1317 <td class="msource">
1319 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1325 <tr class="config-row expandable config-row-alt0">
1326 <td class="micon"><a class="exi" href="#expand"> </a></td>
1329 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1330 <div class="fixedFont">
1331 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1337 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1342 Whether the field should validate when it loses focus (defaults to true).
1350 <td class="msource">
1352 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1358 <tr class="config-row expandable config-row-alt1">
1359 <td class="micon"><a class="exi" href="#expand"> </a></td>
1362 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1363 <div class="fixedFont">
1364 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1370 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1375 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1383 <td class="msource">
1385 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1391 <tr class="config-row expandable config-row-alt0">
1392 <td class="micon"><a class="exi" href="#expand"> </a></td>
1395 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1396 <div class="fixedFont">
1397 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1403 <div class="short">The event that should initiate field validation.</div>
1408 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1416 <td class="msource">
1418 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1424 <tr class="config-row expandable config-row-alt1 notInherited">
1425 <td class="micon"><a class="exi" href="#expand"> </a></td>
1428 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1429 <div class="fixedFont">
1430 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1436 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1441 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.
1449 <td class="msource">
1457 <tr class="config-row expandable config-row-alt0">
1458 <td class="micon"><a class="exi" href="#expand"> </a></td>
1461 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1462 <div class="fixedFont">
1463 <b class="itemname">value</b> : Mixed
1469 <div class="short">A value to initialize this field with.</div>
1474 A value to initialize this field with.
1482 <td class="msource">
1484 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1490 <tr class="config-row expandable config-row-alt1 notInherited">
1491 <td class="micon"><a class="exi" href="#expand"> </a></td>
1494 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1495 <div class="fixedFont">
1496 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1502 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1507 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1515 <td class="msource">
1523 <tr class="config-row expandable config-row-alt0">
1524 <td class="micon"><a class="exi" href="#expand"> </a></td>
1527 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1528 <div class="fixedFont">
1529 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1535 <div class="short">width (optional) size of component</div>
1540 width (optional) size of component
1548 <td class="msource">
1550 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1566 <!-- ============================== public properties ==================== -->
1570 <a id="Roo.form.TextField-props"></a>
1576 <table cellspacing="0" class="member-table">
1577 <caption class="Empty">Public Properties - Has None</caption>
1583 <!-- ============================== methods summary / details ======================== -->
1586 <a id="Roo.form.TextField-methods"></a>
1587 <!-- constructor?? -->
1594 <!-- then dynamics first -->
1601 <table cellspacing="0" class="member-table">
1602 <caption>Public Methods</caption>
1604 <th class="sig-header" colspan="2">Method</th>
1605 <th class="msource-header">Defined By</th>
1615 <tr class="method-row config-row-alt0 expandable notInherited">
1616 <td class="micon"><a class="exi" href="#expand"> </a></td>
1620 <a id="Roo.form-method-TextField" name=".TextField"></a>
1621 <div class="fixedFont">
1622 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">TextField</b>
1624 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1632 <div class="short">Create a new Roo.form.TextField</div>
1639 Create a new Roo.form.TextField
1642 <dl class="detailList">
1643 <dt class="heading">Parameters:</dt>
1646 <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>
1649 <dd>Configuration options</dd>
1667 <td class="msource">
1673 <tr class="method-row config-row-alt1 expandable">
1674 <td class="micon"><a class="exi" href="#expand"> </a></td>
1678 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1679 <div class="fixedFont">
1680 <span class="attributes"></span><b class="itemname">addEvents</b>
1682 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1689 <div class="short">Used to define events on this Observable</div>
1695 Used to define events on this Observable
1702 <dl class="detailList">
1703 <dt class="heading">Parameters:</dt>
1706 <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>
1709 <dd>The object with the events defined</dd>
1727 <td class="msource">
1729 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1735 <tr class="method-row config-row-alt0 expandable">
1736 <td class="micon"><a class="exi" href="#expand"> </a></td>
1740 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1741 <div class="fixedFont">
1742 <span class="attributes"></span><b class="itemname">addListener</b>
1744 (<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>)
1751 <div class="short">Appends an event handler to this component</div>
1757 Appends an event handler to this component
1764 <dl class="detailList">
1765 <dt class="heading">Parameters:</dt>
1768 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1771 <dd>The type of event to listen for</dd>
1774 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1777 <dd>The method the event invokes</dd>
1780 <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>
1783 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1786 <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>
1789 <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>
1807 <td class="msource">
1809 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1815 <tr class="method-row config-row-alt1 expandable">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1820 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1821 <div class="fixedFont">
1822 <span class="attributes"></span><b class="itemname">applyTo</b>
1824 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1830 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1839 <div class="short">Apply the behaviors of this component to an existing element.</div>
1845 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1852 <dl class="detailList">
1853 <dt class="heading">Parameters:</dt>
1856 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1859 <dd>The id of the node, a DOM node or an existing Element</dd>
1867 <dl class="detailList">
1868 <dt class="heading">Returns:</dt>
1870 <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>
1884 <td class="msource">
1886 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1892 <tr class="method-row config-row-alt0 expandable notInherited">
1893 <td class="micon"><a class="exi" href="#expand"> </a></td>
1897 <a id="Roo.form.TextField-method-autoSize" name=".autoSize"></a>
1898 <div class="fixedFont">
1899 <span class="attributes"></span><b class="itemname">autoSize</b>
1908 <div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.</div>
1914 Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.<br/>This only takes effect if grow = true, and fires the autosize event.
1935 <td class="msource">
1943 <tr class="method-row config-row-alt1 expandable">
1944 <td class="micon"><a class="exi" href="#expand"> </a></td>
1948 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
1949 <div class="fixedFont">
1950 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1959 <div class="short">Clear any invalid styles/messages for this field</div>
1965 Clear any invalid styles/messages for this field
1986 <td class="msource">
1988 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1994 <tr class="method-row config-row-alt0 expandable">
1995 <td class="micon"><a class="exi" href="#expand"> </a></td>
1999 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2000 <div class="fixedFont">
2001 <span class="attributes"></span><b class="itemname">destroy</b>
2010 <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>
2016 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}.
2037 <td class="msource">
2039 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2045 <tr class="method-row config-row-alt1 expandable">
2046 <td class="micon"><a class="exi" href="#expand"> </a></td>
2050 <a id="Roo.Component-method-disable" name=".disable"></a>
2051 <div class="fixedFont">
2052 <span class="attributes"></span><b class="itemname">disable</b>
2060 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2069 <div class="short">Disable this component.</div>
2075 Disable this component.
2086 <dl class="detailList">
2087 <dt class="heading">Returns:</dt>
2089 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2103 <td class="msource">
2105 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2111 <tr class="method-row config-row-alt0 expandable">
2112 <td class="micon"><a class="exi" href="#expand"> </a></td>
2116 <a id="Roo.Component-method-enable" name=".enable"></a>
2117 <div class="fixedFont">
2118 <span class="attributes"></span><b class="itemname">enable</b>
2126 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2135 <div class="short">Enable this component.</div>
2141 Enable this component.
2152 <dl class="detailList">
2153 <dt class="heading">Returns:</dt>
2155 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2169 <td class="msource">
2171 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2177 <tr class="method-row config-row-alt1 expandable">
2178 <td class="micon"><a class="exi" href="#expand"> </a></td>
2182 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2183 <div class="fixedFont">
2184 <span class="attributes"></span><b class="itemname">fireEvent</b>
2186 (<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>)
2192 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2201 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2207 Fires the specified event with the passed parameters (minus the event name).
2214 <dl class="detailList">
2215 <dt class="heading">Parameters:</dt>
2218 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2224 <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>
2227 <dd>Variable number of parameters are passed to handlers</dd>
2235 <dl class="detailList">
2236 <dt class="heading">Returns:</dt>
2238 <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>
2252 <td class="msource">
2254 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2260 <tr class="method-row config-row-alt0 expandable">
2261 <td class="micon"><a class="exi" href="#expand"> </a></td>
2265 <a id="Roo.Component-method-focus" name=".focus"></a>
2266 <div class="fixedFont">
2267 <span class="attributes"></span><b class="itemname">focus</b>
2269 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2275 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2284 <div class="short">Try to focus this component.</div>
2290 Try to focus this component.
2297 <dl class="detailList">
2298 <dt class="heading">Parameters:</dt>
2301 <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>
2304 <dd>True to also select the text in this component (if applicable)</dd>
2312 <dl class="detailList">
2313 <dt class="heading">Returns:</dt>
2315 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2329 <td class="msource">
2331 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2337 <tr class="method-row config-row-alt1 expandable">
2338 <td class="micon"><a class="exi" href="#expand"> </a></td>
2342 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2343 <div class="fixedFont">
2344 <span class="attributes"></span><b class="itemname">getBox</b>
2346 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2353 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2359 Gets the current box measurements of the component's underlying element.
2366 <dl class="detailList">
2367 <dt class="heading">Parameters:</dt>
2370 <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>
2373 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2391 <td class="msource">
2393 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2399 <tr class="method-row config-row-alt0 expandable">
2400 <td class="micon"><a class="exi" href="#expand"> </a></td>
2404 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2405 <div class="fixedFont">
2406 <span class="attributes"></span><b class="itemname">getEl</b>
2414 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2423 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2429 Returns the underlying {<b>link</b> Roo.Element}.
2440 <dl class="detailList">
2441 <dt class="heading">Returns:</dt>
2443 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2457 <td class="msource">
2459 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2465 <tr class="method-row config-row-alt1 expandable">
2466 <td class="micon"><a class="exi" href="#expand"> </a></td>
2470 <a id="Roo.Component-method-getId" name=".getId"></a>
2471 <div class="fixedFont">
2472 <span class="attributes"></span><b class="itemname">getId</b>
2480 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2489 <div class="short">Returns the id of this component.</div>
2495 Returns the id of this component.
2506 <dl class="detailList">
2507 <dt class="heading">Returns:</dt>
2509 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2523 <td class="msource">
2525 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2531 <tr class="method-row config-row-alt0 expandable">
2532 <td class="micon"><a class="exi" href="#expand"> </a></td>
2536 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2537 <div class="fixedFont">
2538 <span class="attributes"></span><b class="itemname">getName</b>
2546 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2555 <div class="short">Returns the name attribute of the field if available</div>
2561 Returns the name attribute of the field if available
2572 <dl class="detailList">
2573 <dt class="heading">Returns:</dt>
2575 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2589 <td class="msource">
2591 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2597 <tr class="method-row config-row-alt1 expandable">
2598 <td class="micon"><a class="exi" href="#expand"> </a></td>
2602 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2603 <div class="fixedFont">
2604 <span class="attributes"></span><b class="itemname">getPosition</b>
2606 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2612 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2621 <div class="short">Gets the current XY position of the component's underlying element.</div>
2627 Gets the current XY position of the component's underlying element.
2634 <dl class="detailList">
2635 <dt class="heading">Parameters:</dt>
2638 <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>
2641 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2649 <dl class="detailList">
2650 <dt class="heading">Returns:</dt>
2652 <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>
2666 <td class="msource">
2668 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2674 <tr class="method-row config-row-alt0 expandable">
2675 <td class="micon"><a class="exi" href="#expand"> </a></td>
2679 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2680 <div class="fixedFont">
2681 <span class="attributes"></span><b class="itemname">getRawValue</b>
2698 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2704 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>}.
2715 <dl class="detailList">
2716 <dt class="heading">Returns:</dt>
2718 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2732 <td class="msource">
2734 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2740 <tr class="method-row config-row-alt1 expandable">
2741 <td class="micon"><a class="exi" href="#expand"> </a></td>
2745 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2746 <div class="fixedFont">
2747 <span class="attributes"></span><b class="itemname">getSize</b>
2755 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2764 <div class="short">Gets the current size of the component's underlying element.</div>
2770 Gets the current size of the component's underlying element.
2781 <dl class="detailList">
2782 <dt class="heading">Returns:</dt>
2784 <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>
2798 <td class="msource">
2800 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2806 <tr class="method-row config-row-alt0 expandable">
2807 <td class="micon"><a class="exi" href="#expand"> </a></td>
2811 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2812 <div class="fixedFont">
2813 <span class="attributes"></span><b class="itemname">getValue</b>
2830 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2836 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2847 <dl class="detailList">
2848 <dt class="heading">Returns:</dt>
2850 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2864 <td class="msource">
2866 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2872 <tr class="method-row config-row-alt1 expandable">
2873 <td class="micon"><a class="exi" href="#expand"> </a></td>
2877 <a id="Roo.form.Field-method-hasChanged" name=".hasChanged"></a>
2878 <div class="fixedFont">
2879 <span class="attributes"></span><b class="itemname">hasChanged</b>
2888 <div class="short">checks the current value against the 'loaded' value.</div>
2894 checks the current value against the 'loaded' value.<br/>Note - will return false if 'resetHasChanged' has not been called first.
2915 <td class="msource">
2917 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2923 <tr class="method-row config-row-alt0 expandable">
2924 <td class="micon"><a class="exi" href="#expand"> </a></td>
2928 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2929 <div class="fixedFont">
2930 <span class="attributes"></span><b class="itemname">hasListener</b>
2932 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2938 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2947 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2953 Checks to see if this object has any listeners for a specified event
2960 <dl class="detailList">
2961 <dt class="heading">Parameters:</dt>
2964 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2967 <dd>The name of the event to check for</dd>
2975 <dl class="detailList">
2976 <dt class="heading">Returns:</dt>
2978 <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>
2992 <td class="msource">
2994 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3000 <tr class="method-row config-row-alt1 expandable">
3001 <td class="micon"><a class="exi" href="#expand"> </a></td>
3005 <a id="Roo.Component-method-hide" name=".hide"></a>
3006 <div class="fixedFont">
3007 <span class="attributes"></span><b class="itemname">hide</b>
3015 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3024 <div class="short">Hide this component.</div>
3030 Hide this component.
3041 <dl class="detailList">
3042 <dt class="heading">Returns:</dt>
3044 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3058 <td class="msource">
3060 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3066 <tr class="method-row config-row-alt0 expandable">
3067 <td class="micon"><a class="exi" href="#expand"> </a></td>
3071 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
3072 <div class="fixedFont">
3073 <span class="attributes"></span><b class="itemname">isDirty</b>
3082 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3088 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.
3109 <td class="msource">
3111 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3117 <tr class="method-row config-row-alt1 expandable">
3118 <td class="micon"><a class="exi" href="#expand"> </a></td>
3122 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3123 <div class="fixedFont">
3124 <span class="attributes"></span><b class="itemname">isValid</b>
3126 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3132 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3141 <div class="short">Returns whether or not the field value is currently valid</div>
3147 Returns whether or not the field value is currently valid
3154 <dl class="detailList">
3155 <dt class="heading">Parameters:</dt>
3158 <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>
3161 <dd>True to disable marking the field invalid</dd>
3169 <dl class="detailList">
3170 <dt class="heading">Returns:</dt>
3172 <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>
3186 <td class="msource">
3188 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3194 <tr class="method-row config-row-alt0 expandable">
3195 <td class="micon"><a class="exi" href="#expand"> </a></td>
3199 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3200 <div class="fixedFont">
3201 <span class="attributes"></span><b class="itemname">isVisible</b>
3210 <div class="short">Returns true if this component is visible.</div>
3216 Returns true if this component is visible.
3237 <td class="msource">
3239 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3245 <tr class="method-row config-row-alt1 expandable">
3246 <td class="micon"><a class="exi" href="#expand"> </a></td>
3250 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3251 <div class="fixedFont">
3252 <span class="attributes"></span><b class="itemname">markInvalid</b>
3254 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3261 <div class="short">Mark this field as invalid</div>
3267 Mark this field as invalid
3274 <dl class="detailList">
3275 <dt class="heading">Parameters:</dt>
3278 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3281 <dd>The validation message</dd>
3299 <td class="msource">
3301 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3307 <tr class="method-row config-row-alt0 expandable">
3308 <td class="micon"><a class="exi" href="#expand"> </a></td>
3312 <a id="Roo.util.Observable-method-on" name=".on"></a>
3313 <div class="fixedFont">
3314 <span class="attributes"></span><b class="itemname">on</b>
3316 (<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>)
3323 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3329 Appends an event handler to this element (shorthand for addListener)
3336 <dl class="detailList">
3337 <dt class="heading">Parameters:</dt>
3340 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3343 <dd>The type of event to listen for</dd>
3346 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3349 <dd>The method the event invokes</dd>
3352 <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>
3355 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3358 <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>
3379 <td class="msource">
3381 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3387 <tr class="method-row config-row-alt1 expandable">
3388 <td class="micon"><a class="exi" href="#expand"> </a></td>
3392 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3393 <div class="fixedFont">
3394 <span class="attributes"></span><b class="itemname">onPosition</b>
3396 (<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>)
3403 <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>
3409 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.
3416 <dl class="detailList">
3417 <dt class="heading">Parameters:</dt>
3420 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3423 <dd>The new x position</dd>
3426 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3429 <dd>The new y position</dd>
3447 <td class="msource">
3449 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3455 <tr class="method-row config-row-alt0 expandable">
3456 <td class="micon"><a class="exi" href="#expand"> </a></td>
3460 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3461 <div class="fixedFont">
3462 <span class="attributes"></span><b class="itemname">onResize</b>
3464 (<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>)
3471 <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>
3477 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.
3484 <dl class="detailList">
3485 <dt class="heading">Parameters:</dt>
3488 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3491 <dd>The box-adjusted width that was set</dd>
3494 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3497 <dd>The box-adjusted height that was set</dd>
3500 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3503 <dd>The width that was originally specified</dd>
3506 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3509 <dd>The height that was originally specified</dd>
3527 <td class="msource">
3529 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3535 <tr class="method-row config-row-alt1 expandable">
3536 <td class="micon"><a class="exi" href="#expand"> </a></td>
3540 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3541 <div class="fixedFont">
3542 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3551 <div class="short">Removes all listeners for this object</div>
3557 Removes all listeners for this object
3578 <td class="msource">
3580 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3586 <tr class="method-row config-row-alt0 expandable">
3587 <td class="micon"><a class="exi" href="#expand"> </a></td>
3591 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3592 <div class="fixedFont">
3593 <span class="attributes"></span><b class="itemname">removeListener</b>
3595 (<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>)
3602 <div class="short">Removes a listener</div>
3615 <dl class="detailList">
3616 <dt class="heading">Parameters:</dt>
3619 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3622 <dd>The type of event to listen for</dd>
3625 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3628 <dd>The handler to remove</dd>
3631 <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>
3634 <dd>(optional) The scope (this object) for the handler</dd>
3652 <td class="msource">
3654 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3660 <tr class="method-row config-row-alt1 expandable">
3661 <td class="micon"><a class="exi" href="#expand"> </a></td>
3665 <a id="Roo.Component-method-render" name=".render"></a>
3666 <div class="fixedFont">
3667 <span class="attributes"></span><b class="itemname">render</b>
3669 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3676 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3682 If this is a lazy rendering component, render it to its container element.
3689 <dl class="detailList">
3690 <dt class="heading">Parameters:</dt>
3693 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3696 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3714 <td class="msource">
3716 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3722 <tr class="method-row config-row-alt0 expandable notInherited">
3723 <td class="micon"><a class="exi" href="#expand"> </a></td>
3727 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3728 <div class="fixedFont">
3729 <span class="attributes"></span><b class="itemname">reset</b>
3738 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3744 Resets the current field value to the originally-loaded value and clears any validation messages.
3765 <td class="msource">
3773 <tr class="method-row config-row-alt1 expandable">
3774 <td class="micon"><a class="exi" href="#expand"> </a></td>
3778 <a id="Roo.form.Field-method-resetHasChanged" name=".resetHasChanged"></a>
3779 <div class="fixedFont">
3780 <span class="attributes"></span><b class="itemname">resetHasChanged</b>
3789 <div class="short">stores the current value in loadedValue</div>
3795 stores the current value in loadedValue
3816 <td class="msource">
3818 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3824 <tr class="method-row config-row-alt0 expandable notInherited">
3825 <td class="micon"><a class="exi" href="#expand"> </a></td>
3829 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3830 <div class="fixedFont">
3831 <span class="attributes"></span><b class="itemname">selectText</b>
3833 (<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>)
3840 <div class="short">Selects text in this field</div>
3846 Selects text in this field
3853 <dl class="detailList">
3854 <dt class="heading">Parameters:</dt>
3857 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3860 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3863 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3866 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3884 <td class="msource">
3892 <tr class="method-row config-row-alt1 expandable">
3893 <td class="micon"><a class="exi" href="#expand"> </a></td>
3897 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3898 <div class="fixedFont">
3899 <span class="attributes"></span><b class="itemname">setDisabled</b>
3901 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3908 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3914 Convenience function for setting disabled/enabled by boolean.
3921 <dl class="detailList">
3922 <dt class="heading">Parameters:</dt>
3925 <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>
3946 <td class="msource">
3948 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3954 <tr class="method-row config-row-alt0 expandable">
3955 <td class="micon"><a class="exi" href="#expand"> </a></td>
3959 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3960 <div class="fixedFont">
3961 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3963 (<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>)
3970 <div class="short">Sets the page XY position of the component.</div>
3976 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.
3983 <dl class="detailList">
3984 <dt class="heading">Parameters:</dt>
3987 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3990 <dd>The new x position</dd>
3993 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3996 <dd>The new y position</dd>
4014 <td class="msource">
4016 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4022 <tr class="method-row config-row-alt1 expandable">
4023 <td class="micon"><a class="exi" href="#expand"> </a></td>
4027 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
4028 <div class="fixedFont">
4029 <span class="attributes"></span><b class="itemname">setPosition</b>
4031 (<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>)
4038 <div class="short">Sets the left and top of the component.</div>
4044 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.
4051 <dl class="detailList">
4052 <dt class="heading">Parameters:</dt>
4055 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
4058 <dd>The new left</dd>
4061 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
4064 <dd>The new top</dd>
4082 <td class="msource">
4084 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4090 <tr class="method-row config-row-alt0 expandable">
4091 <td class="micon"><a class="exi" href="#expand"> </a></td>
4095 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4096 <div class="fixedFont">
4097 <span class="attributes"></span><b class="itemname">setRawValue</b>
4099 (Mixed <B><i>value</i></B>)
4106 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4112 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4119 <dl class="detailList">
4120 <dt class="heading">Parameters:</dt>
4123 <span class="fixedFont">Mixed</span> <b>value</b>
4126 <dd>The value to set</dd>
4144 <td class="msource">
4146 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4152 <tr class="method-row config-row-alt1 expandable">
4153 <td class="micon"><a class="exi" href="#expand"> </a></td>
4157 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4158 <div class="fixedFont">
4159 <span class="attributes"></span><b class="itemname">setSize</b>
4161 (<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>)
4167 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4176 <div class="short">Sets the width and height of the component.</div>
4182 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}.
4189 <dl class="detailList">
4190 <dt class="heading">Parameters:</dt>
4193 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4196 <dd>The new width to set, or a size object in the format {width, height}</dd>
4199 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4202 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4210 <dl class="detailList">
4211 <dt class="heading">Returns:</dt>
4213 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4227 <td class="msource">
4229 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4235 <tr class="method-row config-row-alt0 expandable">
4236 <td class="micon"><a class="exi" href="#expand"> </a></td>
4240 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4241 <div class="fixedFont">
4242 <span class="attributes"></span><b class="itemname">setValue</b>
4244 (Mixed <B><i>value</i></B>)
4251 <div class="short">Sets a data value into the field and validates it.</div>
4257 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4264 <dl class="detailList">
4265 <dt class="heading">Parameters:</dt>
4268 <span class="fixedFont">Mixed</span> <b>value</b>
4271 <dd>The value to set</dd>
4289 <td class="msource">
4291 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4297 <tr class="method-row config-row-alt1 expandable">
4298 <td class="micon"><a class="exi" href="#expand"> </a></td>
4302 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4303 <div class="fixedFont">
4304 <span class="attributes"></span><b class="itemname">setVisible</b>
4306 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4312 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4321 <div class="short">Convenience function to hide or show this component by boolean.</div>
4327 Convenience function to hide or show this component by boolean.
4334 <dl class="detailList">
4335 <dt class="heading">Parameters:</dt>
4338 <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>
4341 <dd>True to show, false to hide</dd>
4349 <dl class="detailList">
4350 <dt class="heading">Returns:</dt>
4352 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4366 <td class="msource">
4368 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4374 <tr class="method-row config-row-alt0 expandable">
4375 <td class="micon"><a class="exi" href="#expand"> </a></td>
4379 <a id="Roo.Component-method-show" name=".show"></a>
4380 <div class="fixedFont">
4381 <span class="attributes"></span><b class="itemname">show</b>
4389 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4398 <div class="short">Show this component.</div>
4404 Show this component.
4415 <dl class="detailList">
4416 <dt class="heading">Returns:</dt>
4418 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4432 <td class="msource">
4434 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4440 <tr class="method-row config-row-alt1 expandable">
4441 <td class="micon"><a class="exi" href="#expand"> </a></td>
4445 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4446 <div class="fixedFont">
4447 <span class="attributes"></span><b class="itemname">syncSize</b>
4456 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4462 Force the component's size to recalculate based on the underlying element's current height and width.
4483 <td class="msource">
4485 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4491 <tr class="method-row config-row-alt0 expandable">
4492 <td class="micon"><a class="exi" href="#expand"> </a></td>
4496 <a id="Roo.util.Observable-method-un" name=".un"></a>
4497 <div class="fixedFont">
4498 <span class="attributes"></span><b class="itemname">un</b>
4500 (<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>)
4507 <div class="short">Removes a listener (shorthand for removeListener)</div>
4513 Removes a listener (shorthand for removeListener)
4520 <dl class="detailList">
4521 <dt class="heading">Parameters:</dt>
4524 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4527 <dd>The type of event to listen for</dd>
4530 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4533 <dd>The handler to remove</dd>
4536 <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>
4539 <dd>(optional) The scope (this object) for the handler</dd>
4557 <td class="msource">
4559 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4565 <tr class="method-row config-row-alt1 expandable">
4566 <td class="micon"><a class="exi" href="#expand"> </a></td>
4570 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4571 <div class="fixedFont">
4572 <span class="attributes"></span><b class="itemname">updateBox</b>
4574 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4581 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4587 Sets the current box measurements of the component's underlying element.
4594 <dl class="detailList">
4595 <dt class="heading">Parameters:</dt>
4598 <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>
4601 <dd>An object in the format {x, y, width, height}</dd>
4619 <td class="msource">
4621 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4627 <tr class="method-row config-row-alt0 expandable">
4628 <td class="micon"><a class="exi" href="#expand"> </a></td>
4632 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4633 <div class="fixedFont">
4634 <span class="attributes"></span><b class="itemname">validate</b>
4642 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4651 <div class="short">Validates the field value</div>
4657 Validates the field value
4668 <dl class="detailList">
4669 <dt class="heading">Returns:</dt>
4671 <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>
4685 <td class="msource">
4687 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4693 <tr class="method-row config-row-alt1 expandable notInherited">
4694 <td class="micon"><a class="exi" href="#expand"> </a></td>
4698 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4699 <div class="fixedFont">
4700 <span class="attributes"></span><b class="itemname">validateValue</b>
4702 (Mixed <B><i>value</i></B>)
4708 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4717 <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>
4723 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4730 <dl class="detailList">
4731 <dt class="heading">Parameters:</dt>
4734 <span class="fixedFont">Mixed</span> <b>value</b>
4737 <dd>The value to validate</dd>
4745 <dl class="detailList">
4746 <dt class="heading">Returns:</dt>
4748 <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>
4762 <td class="msource">
4773 <!-- ============================== events summary / details ======================== -->
4776 <a id="Roo.form.TextField-events"></a>
4785 <table cellspacing="0" class="member-table">
4786 <caption>Events</caption>
4789 <th class="sig-header" colspan="2">Event</th>
4790 <th class="msource-header">Defined By</th>
4799 <tr class="method-row expandable config-row-alt0 notInherited">
4800 <td class="micon"><a class="exi" href="#expand"> </a></td>
4803 <a id="Roo.form.TextField-event-*autosize"></a>
4805 <div class="fixedFont">
4806 <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>)
4812 <div class="short">Fires when the autosize function is triggered.
4818 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.
4824 <dl class="detailList">
4825 <dt class="heading">Parameters:</dt>
4828 <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>
4831 <dd>This text field</dd>
4834 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4837 <dd>The new field width</dd>
4855 <td class="msource">
4860 <tr class="method-row expandable config-row-alt1">
4861 <td class="micon"><a class="exi" href="#expand"> </a></td>
4864 <a id="Roo.Component-event-*beforedestroy"></a>
4866 <div class="fixedFont">
4867 <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>)
4873 <div class="short">Fires before the component is destroyed.
4879 Fires before the component is destroyed. Return false to stop the destroy.
4885 <dl class="detailList">
4886 <dt class="heading">Parameters:</dt>
4889 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4910 <td class="msource">
4911 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4915 <tr class="method-row expandable config-row-alt0">
4916 <td class="micon"><a class="exi" href="#expand"> </a></td>
4919 <a id="Roo.Component-event-*beforehide"></a>
4921 <div class="fixedFont">
4922 <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>)
4928 <div class="short">Fires before the component is hidden.
4934 Fires before the component is hidden. Return false to stop the hide.
4940 <dl class="detailList">
4941 <dt class="heading">Parameters:</dt>
4944 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4965 <td class="msource">
4966 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4970 <tr class="method-row expandable config-row-alt1">
4971 <td class="micon"><a class="exi" href="#expand"> </a></td>
4974 <a id="Roo.Component-event-*beforerender"></a>
4976 <div class="fixedFont">
4977 <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>)
4983 <div class="short">Fires before the component is rendered.
4989 Fires before the component is rendered. Return false to stop the render.
4995 <dl class="detailList">
4996 <dt class="heading">Parameters:</dt>
4999 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5020 <td class="msource">
5021 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5025 <tr class="method-row expandable config-row-alt0">
5026 <td class="micon"><a class="exi" href="#expand"> </a></td>
5029 <a id="Roo.Component-event-*beforeshow"></a>
5031 <div class="fixedFont">
5032 <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>)
5038 <div class="short">Fires before the component is shown.
5044 Fires before the component is shown. Return false to stop the show.
5050 <dl class="detailList">
5051 <dt class="heading">Parameters:</dt>
5054 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5075 <td class="msource">
5076 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5080 <tr class="method-row expandable config-row-alt1">
5081 <td class="micon"><a class="exi" href="#expand"> </a></td>
5084 <a id="Roo.form.Field-event-*blur"></a>
5086 <div class="fixedFont">
5087 <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>)
5093 <div class="short">Fires when this field loses input focus.
5099 Fires when this field loses input focus.
5105 <dl class="detailList">
5106 <dt class="heading">Parameters:</dt>
5109 <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>
5130 <td class="msource">
5131 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5135 <tr class="method-row expandable config-row-alt0">
5136 <td class="micon"><a class="exi" href="#expand"> </a></td>
5139 <a id="Roo.form.Field-event-*change"></a>
5141 <div class="fixedFont">
5142 <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>)
5148 <div class="short">Fires just before the field blurs if the field value has changed.
5154 Fires just before the field blurs if the field value has changed.
5160 <dl class="detailList">
5161 <dt class="heading">Parameters:</dt>
5164 <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>
5170 <span class="fixedFont">Mixed</span> <b>newValue</b>
5173 <dd>The new value</dd>
5176 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5179 <dd>The original value</dd>
5197 <td class="msource">
5198 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5202 <tr class="method-row expandable config-row-alt1">
5203 <td class="micon"><a class="exi" href="#expand"> </a></td>
5206 <a id="Roo.Component-event-*destroy"></a>
5208 <div class="fixedFont">
5209 <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>)
5215 <div class="short">Fires after the component is destroyed.
5221 Fires after the component is destroyed.
5227 <dl class="detailList">
5228 <dt class="heading">Parameters:</dt>
5231 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5252 <td class="msource">
5253 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5257 <tr class="method-row expandable config-row-alt0">
5258 <td class="micon"><a class="exi" href="#expand"> </a></td>
5261 <a id="Roo.Component-event-*disable"></a>
5263 <div class="fixedFont">
5264 <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>)
5270 <div class="short">Fires after the component is disabled.
5276 Fires after the component is disabled.
5282 <dl class="detailList">
5283 <dt class="heading">Parameters:</dt>
5286 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5307 <td class="msource">
5308 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5312 <tr class="method-row expandable config-row-alt1">
5313 <td class="micon"><a class="exi" href="#expand"> </a></td>
5316 <a id="Roo.Component-event-*enable"></a>
5318 <div class="fixedFont">
5319 <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>)
5325 <div class="short">Fires after the component is enabled.
5331 Fires after the component is enabled.
5337 <dl class="detailList">
5338 <dt class="heading">Parameters:</dt>
5341 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5362 <td class="msource">
5363 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5367 <tr class="method-row expandable config-row-alt0">
5368 <td class="micon"><a class="exi" href="#expand"> </a></td>
5371 <a id="Roo.form.Field-event-*focus"></a>
5373 <div class="fixedFont">
5374 <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>)
5380 <div class="short">Fires when this field receives input focus.
5386 Fires when this field receives input focus.
5392 <dl class="detailList">
5393 <dt class="heading">Parameters:</dt>
5396 <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>
5417 <td class="msource">
5418 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5422 <tr class="method-row expandable config-row-alt1">
5423 <td class="micon"><a class="exi" href="#expand"> </a></td>
5426 <a id="Roo.Component-event-*hide"></a>
5428 <div class="fixedFont">
5429 <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>)
5435 <div class="short">Fires after the component is hidden.
5441 Fires after the component is hidden.
5447 <dl class="detailList">
5448 <dt class="heading">Parameters:</dt>
5451 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5472 <td class="msource">
5473 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5477 <tr class="method-row expandable config-row-alt0">
5478 <td class="micon"><a class="exi" href="#expand"> </a></td>
5481 <a id="Roo.form.Field-event-*invalid"></a>
5483 <div class="fixedFont">
5484 <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>)
5490 <div class="short">Fires after the field has been marked as invalid.
5496 Fires after the field has been marked as invalid.
5502 <dl class="detailList">
5503 <dt class="heading">Parameters:</dt>
5506 <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>
5512 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5515 <dd>The validation message</dd>
5533 <td class="msource">
5534 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5538 <tr class="method-row expandable config-row-alt1">
5539 <td class="micon"><a class="exi" href="#expand"> </a></td>
5542 <a id="Roo.form.Field-event-*keyup"></a>
5544 <div class="fixedFont">
5545 <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>)
5551 <div class="short">Fires after the key up
5557 Fires after the key up
5563 <dl class="detailList">
5564 <dt class="heading">Parameters:</dt>
5567 <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>
5573 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5576 <dd>The event Object</dd>
5594 <td class="msource">
5595 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5599 <tr class="method-row expandable config-row-alt0">
5600 <td class="micon"><a class="exi" href="#expand"> </a></td>
5603 <a id="Roo.BoxComponent-event-*move"></a>
5605 <div class="fixedFont">
5606 <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>)
5612 <div class="short">Fires after the component is moved.
5618 Fires after the component is moved.
5624 <dl class="detailList">
5625 <dt class="heading">Parameters:</dt>
5628 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5634 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5637 <dd>The new x position</dd>
5640 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5643 <dd>The new y position</dd>
5661 <td class="msource">
5662 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5666 <tr class="method-row expandable config-row-alt1">
5667 <td class="micon"><a class="exi" href="#expand"> </a></td>
5670 <a id="Roo.Component-event-*render"></a>
5672 <div class="fixedFont">
5673 <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>)
5679 <div class="short">Fires after the component is rendered.
5685 Fires after the component is rendered.
5691 <dl class="detailList">
5692 <dt class="heading">Parameters:</dt>
5695 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5716 <td class="msource">
5717 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5721 <tr class="method-row expandable config-row-alt0">
5722 <td class="micon"><a class="exi" href="#expand"> </a></td>
5725 <a id="Roo.BoxComponent-event-*resize"></a>
5727 <div class="fixedFont">
5728 <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>)
5734 <div class="short">Fires after the component is resized.
5740 Fires after the component is resized.
5746 <dl class="detailList">
5747 <dt class="heading">Parameters:</dt>
5750 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5756 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5759 <dd>The box-adjusted width that was set</dd>
5762 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5765 <dd>The box-adjusted height that was set</dd>
5768 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5771 <dd>The width that was originally specified</dd>
5774 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5777 <dd>The height that was originally specified</dd>
5795 <td class="msource">
5796 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5800 <tr class="method-row expandable config-row-alt1">
5801 <td class="micon"><a class="exi" href="#expand"> </a></td>
5804 <a id="Roo.Component-event-*show"></a>
5806 <div class="fixedFont">
5807 <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>)
5813 <div class="short">Fires after the component is shown.
5819 Fires after the component is shown.
5825 <dl class="detailList">
5826 <dt class="heading">Parameters:</dt>
5829 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5850 <td class="msource">
5851 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5855 <tr class="method-row expandable config-row-alt0">
5856 <td class="micon"><a class="exi" href="#expand"> </a></td>
5859 <a id="Roo.form.Field-event-*specialkey"></a>
5861 <div class="fixedFont">
5862 <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>)
5868 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5874 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.
5880 <dl class="detailList">
5881 <dt class="heading">Parameters:</dt>
5884 <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>
5890 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5893 <dd>The event object</dd>
5911 <td class="msource">
5912 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5916 <tr class="method-row expandable config-row-alt1">
5917 <td class="micon"><a class="exi" href="#expand"> </a></td>
5920 <a id="Roo.form.Field-event-*valid"></a>
5922 <div class="fixedFont">
5923 <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>)
5929 <div class="short">Fires after the field has been validated with no errors.
5935 Fires after the field has been validated with no errors.
5941 <dl class="detailList">
5942 <dt class="heading">Parameters:</dt>
5945 <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>
5966 <td class="msource">
5967 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5978 <!-- ============================== footer ================================= -->
5979 <div class="fineprint" style="clear:both">
5981 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Feb 17 2017 16:59:52 GMT+0800 (HKT)
5983 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>