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.Select</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.Select-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.Select-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.Select-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.Select-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
51 <img src="../../images/default/s.gif" height="1" width="100"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
52 <img src="../../images/default/s.gif" height="1" width="120"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.Select
57 <!-- ============================== class title / details ============================ -->
60 <h1 class="classTitle">
65 <table cellspacing="0" class="class-summary-table">
67 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
69 <tr><td class="label">Defined In:</td><td class="hd-info">
71 <a href="./src/Roo_form_Select.js.html">Roo/form/Select.js</a>.
74 <tr><td class="label">Class:</td><td class="hd-info">Select</td></tr>
79 <tr><td class="label">Extends:</td><td class="hd-info">
80 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
88 <!-- ============================== class summary ========================== -->
89 <div class="description">
90 A combobox control with support for autocomplete, remote-loading, paging and many other features.
94 <!-- ============================== Class comment block... ========================== -->
96 <div class="comments">
97 <b>Class Comments / Notes</B> =>
98 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.Select';">[Add Your comment/notes about this class]</u>
100 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
101 src="/blog.php/GtkDjsComments/Roo.form.Select.html"></iframe>
106 <!-- ============================== config options ========================== -->
111 <div class="hr"></div>
112 <a id="Roo.form.Select-configs"></a>
118 <table cellspacing="0" class="member-table">
119 <caption>Config Options (Usually are also Properties)</caption>
123 <th class="sig-header" colspan="2">Options</th>
125 <th class="msource-header">Defined By</th>
132 <tr class="config-row expandable config-row-alt0">
133 <td class="micon"><a class="exi" href="#expand"> </a></td>
136 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
137 <div class="fixedFont">
138 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
144 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
149 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
159 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
165 <tr class="config-row expandable config-row-alt1 notInherited">
166 <td class="micon"><a class="exi" href="#expand"> </a></td>
169 <a id="Roo.form.Select-cfg-allQuery" name=".allQuery"></a>
170 <div class="fixedFont">
171 <b class="itemname">allQuery</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
177 <div class="short">The text query to send to the server to return all records for the list with no filtering (defaults to '')</div>
182 The text query to send to the server to return all records for the list with no filtering (defaults to '')
198 <tr class="config-row expandable config-row-alt0">
199 <td class="micon"><a class="exi" href="#expand"> </a></td>
202 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
203 <div class="fixedFont">
204 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
210 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
215 False to validate that the value length > 0 (defaults to true)
225 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
231 <tr class="config-row expandable config-row-alt1">
232 <td class="micon"><a class="exi" href="#expand"> </a></td>
235 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
236 <div class="fixedFont">
237 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
243 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
248 Whether the component can move the Dom node when rendering (defaults to true).
258 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
264 <tr class="config-row expandable config-row-alt0 notInherited">
265 <td class="micon"><a class="exi" href="#expand"> </a></td>
268 <a id="Roo.form.Select-cfg-alwaysQuery" name=".alwaysQuery"></a>
269 <div class="fixedFont">
270 <b class="itemname">alwaysQuery</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
276 <div class="short">Disable caching of results, and always send query</div>
281 Disable caching of results, and always send query
297 <tr class="config-row expandable config-row-alt1 notInherited">
298 <td class="micon"><a class="exi" href="#expand"> </a></td>
301 <a id="Roo.form.Select-cfg-autoCreate" name=".autoCreate"></a>
302 <div class="fixedFont">
303 <b class="itemname">autoCreate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object
309 <div class="short">A DomHelper element spec, or true for a default element spec (defaults to:<br/>{tag: "input", type: "text", size: "24", autocomplete: "off"})</div>
314 A DomHelper element spec, or true for a default element spec (defaults to:<br/>{tag: "input", type: "text", size: "24", autocomplete: "off"})
330 <tr class="config-row expandable config-row-alt0">
331 <td class="micon"><a class="exi" href="#expand"> </a></td>
334 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
335 <div class="fixedFont">
336 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
342 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
347 Error text to display if the allow blank validation fails (defaults to "This field is required")
357 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
363 <tr class="config-row expandable config-row-alt1 notInherited">
364 <td class="micon"><a class="exi" href="#expand"> </a></td>
367 <a id="Roo.form.Select-cfg-blockFocus" name=".blockFocus"></a>
368 <div class="fixedFont">
369 <b class="itemname">blockFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
375 <div class="short">Prevents all focus calls, so it can work with things like HTML edtor bar</div>
380 Prevents all focus calls, so it can work with things like HTML edtor bar
396 <tr class="config-row expandable config-row-alt0">
397 <td class="micon"><a class="exi" href="#expand"> </a></td>
400 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
401 <div class="fixedFont">
402 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
408 <div class="short">A CSS class to apply to the field's underlying element.</div>
413 A CSS class to apply to the field's underlying element.
423 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
429 <tr class="config-row expandable config-row-alt1 notInherited">
430 <td class="micon"><a class="exi" href="#expand"> </a></td>
433 <a id="Roo.form.Select-cfg-defaultValue" name=".defaultValue"></a>
434 <div class="fixedFont">
435 <b class="itemname">defaultValue</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
441 <div class="short">The value displayed after loading the store.</div>
446 The value displayed after loading the store.
462 <tr class="config-row expandable config-row-alt0">
463 <td class="micon"><a class="exi" href="#expand"> </a></td>
466 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
467 <div class="fixedFont">
468 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
474 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
479 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
489 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
495 <tr class="config-row expandable config-row-alt1 notInherited">
496 <td class="micon"><a class="exi" href="#expand"> </a></td>
499 <a id="Roo.form.Select-cfg-disableClear" name=".disableClear"></a>
500 <div class="fixedFont">
501 <b class="itemname">disableClear</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
507 <div class="short">Disable showing of clear button.</div>
512 Disable showing of clear button.
528 <tr class="config-row expandable config-row-alt0">
529 <td class="micon"><a class="exi" href="#expand"> </a></td>
532 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
533 <div class="fixedFont">
534 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
540 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
545 True to disable input keystroke filtering (defaults to false)
555 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
561 <tr class="config-row expandable config-row-alt1">
562 <td class="micon"><a class="exi" href="#expand"> </a></td>
565 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
566 <div class="fixedFont">
567 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
573 <div class="short">True to disable the field (defaults to false).</div>
578 True to disable the field (defaults to false).
588 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
594 <tr class="config-row expandable config-row-alt0 notInherited">
595 <td class="micon"><a class="exi" href="#expand"> </a></td>
598 <a id="Roo.form.Select-cfg-displayField" name=".displayField"></a>
599 <div class="fixedFont">
600 <b class="itemname">displayField</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
606 <div class="short">The underlying data field name to bind to this CombBox (defaults to undefined if<br/>mode = 'remote' or 'text' if mode = 'local')</div>
611 The underlying data field name to bind to this CombBox (defaults to undefined if<br/>mode = 'remote' or 'text' if mode = 'local')
627 <tr class="config-row expandable config-row-alt1 notInherited">
628 <td class="micon"><a class="exi" href="#expand"> </a></td>
631 <a id="Roo.form.Select-cfg-editable" name=".editable"></a>
632 <div class="fixedFont">
633 <b class="itemname">editable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
639 <div class="short">False to prevent the user from typing text directly into the field, just like a<br/>traditional select (defaults to true)</div>
644 False to prevent the user from typing text directly into the field, just like a<br/>traditional select (defaults to true)
660 <tr class="config-row expandable config-row-alt0">
661 <td class="micon"><a class="exi" href="#expand"> </a></td>
664 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
665 <div class="fixedFont">
666 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
672 <div class="short">The default text to display in an empty field - placeholder.</div>
677 The default text to display in an empty field - placeholder... (defaults to null).
687 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
693 <tr class="config-row expandable config-row-alt1">
694 <td class="micon"><a class="exi" href="#expand"> </a></td>
697 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
698 <div class="fixedFont">
699 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
705 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
710 The default CSS class for the field (defaults to "x-form-field")
720 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
726 <tr class="config-row expandable config-row-alt0">
727 <td class="micon"><a class="exi" href="#expand"> </a></td>
730 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
731 <div class="fixedFont">
732 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
738 <div class="short">Label to use when rendering a form.</div>
743 Label to use when rendering a form.
753 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
759 <tr class="config-row expandable config-row-alt1">
760 <td class="micon"><a class="exi" href="#expand"> </a></td>
763 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
764 <div class="fixedFont">
765 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
771 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
776 The CSS class to use when the field receives focus (defaults to "x-form-focus")
786 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
792 <tr class="config-row expandable config-row-alt0 notInherited">
793 <td class="micon"><a class="exi" href="#expand"> </a></td>
796 <a id="Roo.form.Select-cfg-forceSelection" name=".forceSelection"></a>
797 <div class="fixedFont">
798 <b class="itemname">forceSelection</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
804 <div class="short">True to restrict the selected value to one of the values in the list, false to<br/>allow the user to set arbitrary text into the field (defaults to false)</div>
809 True to restrict the selected value to one of the values in the list, false to<br/>allow the user to set arbitrary text into the field (defaults to false)
825 <tr class="config-row expandable config-row-alt1 notInherited">
826 <td class="micon"><a class="exi" href="#expand"> </a></td>
829 <a id="Roo.form.Select-cfg-grow" name=".grow"></a>
830 <div class="fixedFont">
831 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
837 <div class="short"></div>
858 <tr class="config-row expandable config-row-alt0 notInherited">
859 <td class="micon"><a class="exi" href="#expand"> </a></td>
862 <a id="Roo.form.Select-cfg-growMax" name=".growMax"></a>
863 <div class="fixedFont">
864 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
870 <div class="short"></div>
891 <tr class="config-row expandable config-row-alt1 notInherited">
892 <td class="micon"><a class="exi" href="#expand"> </a></td>
895 <a id="Roo.form.Select-cfg-growMin" name=".growMin"></a>
896 <div class="fixedFont">
897 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
903 <div class="short"></div>
924 <tr class="config-row expandable config-row-alt0 notInherited">
925 <td class="micon"><a class="exi" href="#expand"> </a></td>
928 <a id="Roo.form.Select-cfg-handleHeight" name=".handleHeight"></a>
929 <div class="fixedFont">
930 <b class="itemname">handleHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
936 <div class="short">The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)</div>
941 The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)
957 <tr class="config-row expandable config-row-alt1">
958 <td class="micon"><a class="exi" href="#expand"> </a></td>
961 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
962 <div class="fixedFont">
963 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
969 <div class="short">height (optional) size of component</div>
974 height (optional) size of component
984 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
990 <tr class="config-row expandable config-row-alt0 notInherited">
991 <td class="micon"><a class="exi" href="#expand"> </a></td>
994 <a id="Roo.form.Select-cfg-hiddenName" name=".hiddenName"></a>
995 <div class="fixedFont">
996 <b class="itemname">hiddenName</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1002 <div class="short">If specified, a hidden form field with this name is dynamically generated to store the<br/>field's data value (defaults to the underlying DOM element's name)</div>
1007 If specified, a hidden form field with this name is dynamically generated to store the<br/>field's data value (defaults to the underlying DOM element's name)
1015 <td class="msource">
1023 <tr class="config-row expandable config-row-alt1">
1024 <td class="micon"><a class="exi" href="#expand"> </a></td>
1027 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
1028 <div class="fixedFont">
1029 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1035 <div class="short">How this component should hidden.</div>
1040 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
1041 <BR/>Possible Values: display, visibility
1048 <td class="msource">
1050 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1056 <tr class="config-row expandable config-row-alt0">
1057 <td class="micon"><a class="exi" href="#expand"> </a></td>
1060 <a id="Roo.form.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
1061 <div class="fixedFont">
1062 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1068 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
1073 True to hide the trigger element and display only the base text field (defaults to false)
1081 <td class="msource">
1083 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
1089 <tr class="config-row expandable config-row-alt1">
1090 <td class="micon"><a class="exi" href="#expand"> </a></td>
1093 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
1094 <div class="fixedFont">
1095 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1101 <div class="short">The type attribute for input fields -- e.g.</div>
1106 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
1114 <td class="msource">
1116 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1122 <tr class="config-row expandable config-row-alt0">
1123 <td class="micon"><a class="exi" href="#expand"> </a></td>
1126 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
1127 <div class="fixedFont">
1128 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1134 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
1139 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
1147 <td class="msource">
1149 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1155 <tr class="config-row expandable config-row-alt1">
1156 <td class="micon"><a class="exi" href="#expand"> </a></td>
1159 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
1160 <div class="fixedFont">
1161 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1167 <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>
1172 The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
1180 <td class="msource">
1182 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1188 <tr class="config-row expandable config-row-alt0 notInherited">
1189 <td class="micon"><a class="exi" href="#expand"> </a></td>
1192 <a id="Roo.form.Select-cfg-lazyRender" name=".lazyRender"></a>
1193 <div class="fixedFont">
1194 <b class="itemname">lazyRender</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1200 <div class="short">True to prevent the ComboBox from rendering until requested (should always be used when<br/>rendering into an Roo.Editor, defaults to false)</div>
1205 True to prevent the ComboBox from rendering until requested (should always be used when<br/>rendering into an Roo.Editor, defaults to false)
1213 <td class="msource">
1221 <tr class="config-row expandable config-row-alt1 notInherited">
1222 <td class="micon"><a class="exi" href="#expand"> </a></td>
1225 <a id="Roo.form.Select-cfg-listAlign" name=".listAlign"></a>
1226 <div class="fixedFont">
1227 <b class="itemname">listAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1233 <div class="short">A valid anchor position value.</div>
1238 A valid anchor position value. See {<b>link</b> Roo.Element<b>alignTo</b>} for details on supported<br/>anchor positions (defaults to 'tl-bl')
1246 <td class="msource">
1254 <tr class="config-row expandable config-row-alt0 notInherited">
1255 <td class="micon"><a class="exi" href="#expand"> </a></td>
1258 <a id="Roo.form.Select-cfg-listClass" name=".listClass"></a>
1259 <div class="fixedFont">
1260 <b class="itemname">listClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1266 <div class="short">CSS class to apply to the dropdown list element (defaults to '')</div>
1271 CSS class to apply to the dropdown list element (defaults to '')
1279 <td class="msource">
1287 <tr class="config-row expandable config-row-alt1 notInherited">
1288 <td class="micon"><a class="exi" href="#expand"> </a></td>
1291 <a id="Roo.form.Select-cfg-listWidth" name=".listWidth"></a>
1292 <div class="fixedFont">
1293 <b class="itemname">listWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1299 <div class="short">The width in pixels of the dropdown list (defaults to the width of the ComboBox field)</div>
1304 The width in pixels of the dropdown list (defaults to the width of the ComboBox field)
1312 <td class="msource">
1320 <tr class="config-row expandable config-row-alt0">
1321 <td class="micon"><a class="exi" href="#expand"> </a></td>
1324 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
1325 <div class="fixedFont">
1326 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1332 <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>
1337 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>
1345 <td class="msource">
1347 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1353 <tr class="config-row expandable config-row-alt1 notInherited">
1354 <td class="micon"><a class="exi" href="#expand"> </a></td>
1357 <a id="Roo.form.Select-cfg-loadingText" name=".loadingText"></a>
1358 <div class="fixedFont">
1359 <b class="itemname">loadingText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1365 <div class="short">The text to display in the dropdown list while data is loading.</div>
1370 The text to display in the dropdown list while data is loading. Only applies<br/>when mode = 'remote' (defaults to 'Loading...')
1378 <td class="msource">
1386 <tr class="config-row expandable config-row-alt0">
1387 <td class="micon"><a class="exi" href="#expand"> </a></td>
1390 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
1391 <div class="fixedFont">
1392 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1398 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
1403 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
1411 <td class="msource">
1413 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1419 <tr class="config-row expandable config-row-alt1 notInherited">
1420 <td class="micon"><a class="exi" href="#expand"> </a></td>
1423 <a id="Roo.form.Select-cfg-maxHeight" name=".maxHeight"></a>
1424 <div class="fixedFont">
1425 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1431 <div class="short">The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)</div>
1436 The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)
1444 <td class="msource">
1452 <tr class="config-row expandable config-row-alt0">
1453 <td class="micon"><a class="exi" href="#expand"> </a></td>
1456 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
1457 <div class="fixedFont">
1458 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1464 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
1469 Maximum input field length allowed (defaults to Number.MAX_VALUE)
1477 <td class="msource">
1479 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1485 <tr class="config-row expandable config-row-alt1">
1486 <td class="micon"><a class="exi" href="#expand"> </a></td>
1489 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
1490 <div class="fixedFont">
1491 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1497 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1502 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
1510 <td class="msource">
1512 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1518 <tr class="config-row expandable config-row-alt0 notInherited">
1519 <td class="micon"><a class="exi" href="#expand"> </a></td>
1522 <a id="Roo.form.Select-cfg-minChars" name=".minChars"></a>
1523 <div class="fixedFont">
1524 <b class="itemname">minChars</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1530 <div class="short">The minimum number of characters the user must type before autocomplete and typeahead activate<br/>(defaults to 4, does not apply if editable = false)</div>
1535 The minimum number of characters the user must type before autocomplete and typeahead activate<br/>(defaults to 4, does not apply if editable = false)
1543 <td class="msource">
1551 <tr class="config-row expandable config-row-alt1">
1552 <td class="micon"><a class="exi" href="#expand"> </a></td>
1555 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
1556 <div class="fixedFont">
1557 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1563 <div class="short">Minimum input field length required (defaults to 0)</div>
1568 Minimum input field length required (defaults to 0)
1576 <td class="msource">
1578 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1584 <tr class="config-row expandable config-row-alt0">
1585 <td class="micon"><a class="exi" href="#expand"> </a></td>
1588 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1589 <div class="fixedFont">
1590 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1596 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1601 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1609 <td class="msource">
1611 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1617 <tr class="config-row expandable config-row-alt1 notInherited">
1618 <td class="micon"><a class="exi" href="#expand"> </a></td>
1621 <a id="Roo.form.Select-cfg-minListWidth" name=".minListWidth"></a>
1622 <div class="fixedFont">
1623 <b class="itemname">minListWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1629 <div class="short">The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if<br/>listWidth has a higher value)</div>
1634 The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if<br/>listWidth has a higher value)
1642 <td class="msource">
1650 <tr class="config-row expandable config-row-alt0 notInherited">
1651 <td class="micon"><a class="exi" href="#expand"> </a></td>
1654 <a id="Roo.form.Select-cfg-mode" name=".mode"></a>
1655 <div class="fixedFont">
1656 <b class="itemname">mode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1662 <div class="short">Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)</div>
1667 Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)
1675 <td class="msource">
1683 <tr class="config-row expandable config-row-alt1">
1684 <td class="micon"><a class="exi" href="#expand"> </a></td>
1687 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1688 <div class="fixedFont">
1689 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1695 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1700 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
1708 <td class="msource">
1710 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1716 <tr class="config-row expandable config-row-alt0">
1717 <td class="micon"><a class="exi" href="#expand"> </a></td>
1720 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1721 <div class="fixedFont">
1722 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1728 <div class="short">The location where error text should display.</div>
1733 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>
1741 <td class="msource">
1743 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1749 <tr class="config-row expandable config-row-alt1">
1750 <td class="micon"><a class="exi" href="#expand"> </a></td>
1753 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1754 <div class="fixedFont">
1755 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1761 <div class="short">The field's HTML name attribute.</div>
1766 The field's HTML name attribute.
1774 <td class="msource">
1776 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1782 <tr class="config-row expandable config-row-alt0 notInherited">
1783 <td class="micon"><a class="exi" href="#expand"> </a></td>
1786 <a id="Roo.form.Select-cfg-pageSize" name=".pageSize"></a>
1787 <div class="fixedFont">
1788 <b class="itemname">pageSize</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1794 <div class="short">If greater than 0, a paging toolbar is displayed in the footer of the dropdown list and the<br/>filter queries will execute with page start and limit parameters.</div>
1799 If greater than 0, a paging toolbar is displayed in the footer of the dropdown list and the<br/>filter queries will execute with page start and limit parameters. Only applies when mode = 'remote' (defaults to 0)
1807 <td class="msource">
1815 <tr class="config-row expandable config-row-alt1">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1819 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1820 <div class="fixedFont">
1821 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1827 <div class="short">Mouse over tip</div>
1840 <td class="msource">
1842 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1848 <tr class="config-row expandable config-row-alt0 notInherited">
1849 <td class="micon"><a class="exi" href="#expand"> </a></td>
1852 <a id="Roo.form.Select-cfg-queryDelay" name=".queryDelay"></a>
1853 <div class="fixedFont">
1854 <b class="itemname">queryDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1860 <div class="short">The length of time in milliseconds to delay between the start of typing and sending the<br/>query to filter the dropdown list (defaults to 500 if mode = 'remote' or 10 if mode = 'local')</div>
1865 The length of time in milliseconds to delay between the start of typing and sending the<br/>query to filter the dropdown list (defaults to 500 if mode = 'remote' or 10 if mode = 'local')
1873 <td class="msource">
1881 <tr class="config-row expandable config-row-alt1 notInherited">
1882 <td class="micon"><a class="exi" href="#expand"> </a></td>
1885 <a id="Roo.form.Select-cfg-queryParam" name=".queryParam"></a>
1886 <div class="fixedFont">
1887 <b class="itemname">queryParam</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1893 <div class="short">Name of the query as it will be passed on the querystring (defaults to 'query')</div>
1898 Name of the query as it will be passed on the querystring (defaults to 'query')
1906 <td class="msource">
1914 <tr class="config-row expandable config-row-alt0">
1915 <td class="micon"><a class="exi" href="#expand"> </a></td>
1918 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1919 <div class="fixedFont">
1920 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1926 <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>
1931 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1939 <td class="msource">
1941 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1947 <tr class="config-row expandable config-row-alt1">
1948 <td class="micon"><a class="exi" href="#expand"> </a></td>
1951 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1952 <div class="fixedFont">
1953 <b class="itemname">regex</b> : RegExp
1959 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1964 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>}.
1972 <td class="msource">
1974 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1980 <tr class="config-row expandable config-row-alt0">
1981 <td class="micon"><a class="exi" href="#expand"> </a></td>
1984 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1985 <div class="fixedFont">
1986 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1992 <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>
1997 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
2005 <td class="msource">
2007 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
2013 <tr class="config-row expandable config-row-alt1 notInherited">
2014 <td class="micon"><a class="exi" href="#expand"> </a></td>
2017 <a id="Roo.form.Select-cfg-resizable" name=".resizable"></a>
2018 <div class="fixedFont">
2019 <b class="itemname">resizable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2025 <div class="short">True to add a resize handle to the bottom of the dropdown list (defaults to false)</div>
2030 True to add a resize handle to the bottom of the dropdown list (defaults to false)
2038 <td class="msource">
2046 <tr class="config-row expandable config-row-alt0 notInherited">
2047 <td class="micon"><a class="exi" href="#expand"> </a></td>
2050 <a id="Roo.form.Select-cfg-selectOnFocus" name=".selectOnFocus"></a>
2051 <div class="fixedFont">
2052 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2058 <div class="short">True to select any existing text in the field immediately on focus.</div>
2063 True to select any existing text in the field immediately on focus. Only applies<br/>when editable = true (defaults to false)
2071 <td class="msource">
2079 <tr class="config-row expandable config-row-alt1 notInherited">
2080 <td class="micon"><a class="exi" href="#expand"> </a></td>
2083 <a id="Roo.form.Select-cfg-selectedClass" name=".selectedClass"></a>
2084 <div class="fixedFont">
2085 <b class="itemname">selectedClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2091 <div class="short">CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')</div>
2096 CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')
2104 <td class="msource">
2112 <tr class="config-row expandable config-row-alt0 notInherited">
2113 <td class="micon"><a class="exi" href="#expand"> </a></td>
2116 <a id="Roo.form.Select-cfg-shadow" name=".shadow"></a>
2117 <div class="fixedFont">
2118 <b class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
2124 <div class="short">True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right</div>
2129 True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right
2137 <td class="msource">
2145 <tr class="config-row expandable config-row-alt1 notInherited">
2146 <td class="micon"><a class="exi" href="#expand"> </a></td>
2149 <a id="Roo.form.Select-cfg-store" name=".store"></a>
2150 <div class="fixedFont">
2151 <b class="itemname">store</b> : <a href="./Roo.data.Store.html#constructor" roo:cls="Roo.data.Store.html#constructor">Roo.data.Store</a>
2157 <div class="short">The data store to which this combo is bound (defaults to undefined)</div>
2162 The data store to which this combo is bound (defaults to undefined)
2170 <td class="msource">
2178 <tr class="config-row expandable config-row-alt0">
2179 <td class="micon"><a class="exi" href="#expand"> </a></td>
2182 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
2183 <div class="fixedFont">
2184 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2190 <div class="short">The tabIndex for this field.</div>
2195 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
2203 <td class="msource">
2205 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2211 <tr class="config-row expandable config-row-alt1 notInherited">
2212 <td class="micon"><a class="exi" href="#expand"> </a></td>
2215 <a id="Roo.form.Select-cfg-title" name=".title"></a>
2216 <div class="fixedFont">
2217 <b class="itemname">title</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2223 <div class="short">If supplied, a header element is created containing this text and added into the top of<br/>the dropdown list (defaults to undefined, with no header element)</div>
2228 If supplied, a header element is created containing this text and added into the top of<br/>the dropdown list (defaults to undefined, with no header element)
2236 <td class="msource">
2244 <tr class="config-row expandable config-row-alt0 notInherited">
2245 <td class="micon"><a class="exi" href="#expand"> </a></td>
2248 <a id="Roo.form.Select-cfg-tpl" name=".tpl"></a>
2249 <div class="fixedFont">
2250 <b class="itemname">tpl</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Roo.Template
2256 <div class="short">The template to use to render the output</div>
2261 The template to use to render the output
2269 <td class="msource">
2277 <tr class="config-row expandable config-row-alt1 notInherited">
2278 <td class="micon"><a class="exi" href="#expand"> </a></td>
2281 <a id="Roo.form.Select-cfg-transform" name=".transform"></a>
2282 <div class="fixedFont">
2283 <b class="itemname">transform</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element
2289 <div class="short">The id, DOM node or element of an existing select to convert to a ComboBox</div>
2294 The id, DOM node or element of an existing select to convert to a ComboBox
2302 <td class="msource">
2310 <tr class="config-row expandable config-row-alt0 notInherited">
2311 <td class="micon"><a class="exi" href="#expand"> </a></td>
2314 <a id="Roo.form.Select-cfg-triggerAction" name=".triggerAction"></a>
2315 <div class="fixedFont">
2316 <b class="itemname">triggerAction</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2322 <div class="short">The action to execute when the trigger field is activated.</div>
2327 The action to execute when the trigger field is activated. Use 'all' to run the<br/>query specified by the allQuery config option (defaults to 'query')
2335 <td class="msource">
2343 <tr class="config-row expandable config-row-alt1 notInherited">
2344 <td class="micon"><a class="exi" href="#expand"> </a></td>
2347 <a id="Roo.form.Select-cfg-triggerClass" name=".triggerClass"></a>
2348 <div class="fixedFont">
2349 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2355 <div class="short">An additional CSS class used to style the trigger button.</div>
2360 An additional CSS class used to style the trigger button. The trigger will always get the<br/>class 'x-form-trigger' and triggerClass will be <b>appended</b> if specified (defaults to 'x-form-arrow-trigger'<br/>which displays a downward arrow icon).
2368 <td class="msource">
2376 <tr class="config-row expandable config-row-alt0 notInherited">
2377 <td class="micon"><a class="exi" href="#expand"> </a></td>
2380 <a id="Roo.form.Select-cfg-typeAhead" name=".typeAhead"></a>
2381 <div class="fixedFont">
2382 <b class="itemname">typeAhead</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2388 <div class="short">True to populate and autoselect the remainder of the text being typed after a configurable<br/>delay (typeAheadDelay) if it matches a known value (defaults to false)</div>
2393 True to populate and autoselect the remainder of the text being typed after a configurable<br/>delay (typeAheadDelay) if it matches a known value (defaults to false)
2401 <td class="msource">
2409 <tr class="config-row expandable config-row-alt1 notInherited">
2410 <td class="micon"><a class="exi" href="#expand"> </a></td>
2413 <a id="Roo.form.Select-cfg-typeAheadDelay" name=".typeAheadDelay"></a>
2414 <div class="fixedFont">
2415 <b class="itemname">typeAheadDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2421 <div class="short">The length of time in milliseconds to wait until the typeahead text is displayed<br/>if typeAhead = true (defaults to 250)</div>
2426 The length of time in milliseconds to wait until the typeahead text is displayed<br/>if typeAhead = true (defaults to 250)
2434 <td class="msource">
2442 <tr class="config-row expandable config-row-alt0">
2443 <td class="micon"><a class="exi" href="#expand"> </a></td>
2446 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
2447 <div class="fixedFont">
2448 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2454 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
2459 Whether the field should validate when it loses focus (defaults to true).
2467 <td class="msource">
2469 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2475 <tr class="config-row expandable config-row-alt1">
2476 <td class="micon"><a class="exi" href="#expand"> </a></td>
2479 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
2480 <div class="fixedFont">
2481 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2487 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
2492 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
2500 <td class="msource">
2502 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2508 <tr class="config-row expandable config-row-alt0">
2509 <td class="micon"><a class="exi" href="#expand"> </a></td>
2512 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
2513 <div class="fixedFont">
2514 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
2520 <div class="short">The event that should initiate field validation.</div>
2525 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
2533 <td class="msource">
2535 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2541 <tr class="config-row expandable config-row-alt1">
2542 <td class="micon"><a class="exi" href="#expand"> </a></td>
2545 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
2546 <div class="fixedFont">
2547 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
2553 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
2558 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.
2566 <td class="msource">
2568 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
2574 <tr class="config-row expandable config-row-alt0">
2575 <td class="micon"><a class="exi" href="#expand"> </a></td>
2578 <a id="Roo.form.Field-cfg-value" name=".value"></a>
2579 <div class="fixedFont">
2580 <b class="itemname">value</b> : Mixed
2586 <div class="short">A value to initialize this field with.</div>
2591 A value to initialize this field with.
2599 <td class="msource">
2601 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2607 <tr class="config-row expandable config-row-alt1 notInherited">
2608 <td class="micon"><a class="exi" href="#expand"> </a></td>
2611 <a id="Roo.form.Select-cfg-valueField" name=".valueField"></a>
2612 <div class="fixedFont">
2613 <b class="itemname">valueField</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2619 <div class="short">The underlying data value name to bind to this CombBox (defaults to undefined if<br/>mode = 'remote' or 'value' if mode = 'local').</div>
2624 The underlying data value name to bind to this CombBox (defaults to undefined if<br/>mode = 'remote' or 'value' if mode = 'local'). <br/>Note: use of a valueField requires the user make a selection<br/>in order for a value to be mapped.
2632 <td class="msource">
2640 <tr class="config-row expandable config-row-alt0 notInherited">
2641 <td class="micon"><a class="exi" href="#expand"> </a></td>
2644 <a id="Roo.form.Select-cfg-valueNotFoundText" name=".valueNotFoundText"></a>
2645 <div class="fixedFont">
2646 <b class="itemname">valueNotFoundText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2652 <div class="short">When using a name/value combo, if the value passed to setValue is not found in<br/>the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined)</div>
2657 When using a name/value combo, if the value passed to setValue is not found in<br/>the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined)
2665 <td class="msource">
2673 <tr class="config-row expandable config-row-alt1">
2674 <td class="micon"><a class="exi" href="#expand"> </a></td>
2677 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
2678 <div class="fixedFont">
2679 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2685 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
2690 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
2698 <td class="msource">
2700 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
2706 <tr class="config-row expandable config-row-alt0">
2707 <td class="micon"><a class="exi" href="#expand"> </a></td>
2710 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
2711 <div class="fixedFont">
2712 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2718 <div class="short">width (optional) size of component</div>
2723 width (optional) size of component
2731 <td class="msource">
2733 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2749 <!-- ============================== public properties ==================== -->
2753 <a id="Roo.form.Select-props"></a>
2759 <table cellspacing="0" class="member-table">
2760 <caption class="Empty">Public Properties - Has None</caption>
2766 <!-- ============================== methods summary / details ======================== -->
2769 <a id="Roo.form.Select-methods"></a>
2770 <!-- constructor?? -->
2777 <!-- then dynamics first -->
2784 <table cellspacing="0" class="member-table">
2785 <caption>Public Methods</caption>
2787 <th class="sig-header" colspan="2">Method</th>
2788 <th class="msource-header">Defined By</th>
2798 <tr class="method-row config-row-alt0 expandable notInherited">
2799 <td class="micon"><a class="exi" href="#expand"> </a></td>
2803 <a id="Roo.form-method-Select" name=".Select"></a>
2804 <div class="fixedFont">
2805 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">Select</b>
2807 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
2815 <div class="short">Create a new Roo.form.Select</div>
2822 Create a new Roo.form.Select
2825 <dl class="detailList">
2826 <dt class="heading">Parameters:</dt>
2829 <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>
2832 <dd>Configuration options</dd>
2850 <td class="msource">
2856 <tr class="method-row config-row-alt1 expandable">
2857 <td class="micon"><a class="exi" href="#expand"> </a></td>
2861 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
2862 <div class="fixedFont">
2863 <span class="attributes"></span><b class="itemname">addEvents</b>
2865 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
2872 <div class="short">Used to define events on this Observable</div>
2878 Used to define events on this Observable
2885 <dl class="detailList">
2886 <dt class="heading">Parameters:</dt>
2889 <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>
2892 <dd>The object with the events defined</dd>
2910 <td class="msource">
2912 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2918 <tr class="method-row config-row-alt0 expandable">
2919 <td class="micon"><a class="exi" href="#expand"> </a></td>
2923 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
2924 <div class="fixedFont">
2925 <span class="attributes"></span><b class="itemname">addListener</b>
2927 (<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>)
2934 <div class="short">Appends an event handler to this component</div>
2940 Appends an event handler to this component
2947 <dl class="detailList">
2948 <dt class="heading">Parameters:</dt>
2951 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2954 <dd>The type of event to listen for</dd>
2957 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2960 <dd>The method the event invokes</dd>
2963 <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>
2966 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2969 <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>
2972 <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>
2990 <td class="msource">
2992 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2998 <tr class="method-row config-row-alt1 expandable">
2999 <td class="micon"><a class="exi" href="#expand"> </a></td>
3003 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
3004 <div class="fixedFont">
3005 <span class="attributes"></span><b class="itemname">applyTo</b>
3007 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
3013 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3022 <div class="short">Apply the behaviors of this component to an existing element.</div>
3028 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
3035 <dl class="detailList">
3036 <dt class="heading">Parameters:</dt>
3039 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
3042 <dd>The id of the node, a DOM node or an existing Element</dd>
3050 <dl class="detailList">
3051 <dt class="heading">Returns:</dt>
3053 <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>
3067 <td class="msource">
3069 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3075 <tr class="method-row config-row-alt0 expandable">
3076 <td class="micon"><a class="exi" href="#expand"> </a></td>
3080 <a id="Roo.form.TriggerField-method-autoSize" name=".autoSize"></a>
3081 <div class="fixedFont">
3082 <span class="attributes"></span><b class="itemname">autoSize</b>
3091 <div class="short"></div>
3118 <td class="msource">
3120 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
3126 <tr class="method-row config-row-alt1 expandable">
3127 <td class="micon"><a class="exi" href="#expand"> </a></td>
3131 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
3132 <div class="fixedFont">
3133 <span class="attributes"></span><b class="itemname">clearInvalid</b>
3142 <div class="short">Clear any invalid styles/messages for this field</div>
3148 Clear any invalid styles/messages for this field
3169 <td class="msource">
3171 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3177 <tr class="method-row config-row-alt0 expandable notInherited">
3178 <td class="micon"><a class="exi" href="#expand"> </a></td>
3182 <a id="Roo.form.Select-method-clearValue" name=".clearValue"></a>
3183 <div class="fixedFont">
3184 <span class="attributes"></span><b class="itemname">clearValue</b>
3193 <div class="short">Clears any text/value currently set in the field</div>
3199 Clears any text/value currently set in the field
3220 <td class="msource">
3228 <tr class="method-row config-row-alt1 expandable notInherited">
3229 <td class="micon"><a class="exi" href="#expand"> </a></td>
3233 <a id="Roo.form.Select-method-collapse" name=".collapse"></a>
3234 <div class="fixedFont">
3235 <span class="attributes"></span><b class="itemname">collapse</b>
3244 <div class="short">Hides the dropdown list if it is currently expanded.</div>
3250 Hides the dropdown list if it is currently expanded. Fires the 'collapse' event on completion.
3271 <td class="msource">
3279 <tr class="method-row config-row-alt0 expandable">
3280 <td class="micon"><a class="exi" href="#expand"> </a></td>
3284 <a id="Roo.Component-method-destroy" name=".destroy"></a>
3285 <div class="fixedFont">
3286 <span class="attributes"></span><b class="itemname">destroy</b>
3295 <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>
3301 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}.
3322 <td class="msource">
3324 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3330 <tr class="method-row config-row-alt1 expandable">
3331 <td class="micon"><a class="exi" href="#expand"> </a></td>
3335 <a id="Roo.Component-method-disable" name=".disable"></a>
3336 <div class="fixedFont">
3337 <span class="attributes"></span><b class="itemname">disable</b>
3345 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3354 <div class="short">Disable this component.</div>
3360 Disable this component.
3371 <dl class="detailList">
3372 <dt class="heading">Returns:</dt>
3374 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3388 <td class="msource">
3390 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3396 <tr class="method-row config-row-alt0 expandable notInherited">
3397 <td class="micon"><a class="exi" href="#expand"> </a></td>
3401 <a id="Roo.form.Select-method-doQuery" name=".doQuery"></a>
3402 <div class="fixedFont">
3403 <span class="attributes"></span><b class="itemname">doQuery</b>
3405 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>query</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>forceAll</i></B>)
3412 <div class="short">Execute a query to filter the dropdown list.</div>
3418 Execute a query to filter the dropdown list. Fires the beforequery event prior to performing the<br/>query allowing the query action to be canceled if needed.
3425 <dl class="detailList">
3426 <dt class="heading">Parameters:</dt>
3429 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>query</b>
3432 <dd>The SQL query to execute</dd>
3435 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>forceAll</b>
3438 <dd>True to force the query to execute even if there are currently fewer characters<br/>in the field than the minimum specified by the minChars config option. It also clears any filter previously<br/>saved in the current store (defaults to false)</dd>
3456 <td class="msource">
3464 <tr class="method-row config-row-alt1 expandable">
3465 <td class="micon"><a class="exi" href="#expand"> </a></td>
3469 <a id="Roo.Component-method-enable" name=".enable"></a>
3470 <div class="fixedFont">
3471 <span class="attributes"></span><b class="itemname">enable</b>
3479 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3488 <div class="short">Enable this component.</div>
3494 Enable this component.
3505 <dl class="detailList">
3506 <dt class="heading">Returns:</dt>
3508 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3522 <td class="msource">
3524 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3530 <tr class="method-row config-row-alt0 expandable notInherited">
3531 <td class="micon"><a class="exi" href="#expand"> </a></td>
3535 <a id="Roo.form.Select-method-expand" name=".expand"></a>
3536 <div class="fixedFont">
3537 <span class="attributes"></span><b class="itemname">expand</b>
3546 <div class="short">Expands the dropdown list if it is currently hidden.</div>
3552 Expands the dropdown list if it is currently hidden. Fires the 'expand' event on completion.
3573 <td class="msource">
3581 <tr class="method-row config-row-alt1 expandable">
3582 <td class="micon"><a class="exi" href="#expand"> </a></td>
3586 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
3587 <div class="fixedFont">
3588 <span class="attributes"></span><b class="itemname">fireEvent</b>
3590 (<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>)
3596 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3605 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
3611 Fires the specified event with the passed parameters (minus the event name).
3618 <dl class="detailList">
3619 <dt class="heading">Parameters:</dt>
3622 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3628 <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>
3631 <dd>Variable number of parameters are passed to handlers</dd>
3639 <dl class="detailList">
3640 <dt class="heading">Returns:</dt>
3642 <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>
3656 <td class="msource">
3658 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3664 <tr class="method-row config-row-alt0 expandable">
3665 <td class="micon"><a class="exi" href="#expand"> </a></td>
3669 <a id="Roo.Component-method-focus" name=".focus"></a>
3670 <div class="fixedFont">
3671 <span class="attributes"></span><b class="itemname">focus</b>
3673 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
3679 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3688 <div class="short">Try to focus this component.</div>
3694 Try to focus this component.
3701 <dl class="detailList">
3702 <dt class="heading">Parameters:</dt>
3705 <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>
3708 <dd>True to also select the text in this component (if applicable)</dd>
3716 <dl class="detailList">
3717 <dt class="heading">Returns:</dt>
3719 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3733 <td class="msource">
3735 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3741 <tr class="method-row config-row-alt1 expandable">
3742 <td class="micon"><a class="exi" href="#expand"> </a></td>
3746 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
3747 <div class="fixedFont">
3748 <span class="attributes"></span><b class="itemname">getBox</b>
3750 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
3757 <div class="short">Gets the current box measurements of the component's underlying element.</div>
3763 Gets the current box measurements of the component's underlying element.
3770 <dl class="detailList">
3771 <dt class="heading">Parameters:</dt>
3774 <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>
3777 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
3795 <td class="msource">
3797 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3803 <tr class="method-row config-row-alt0 expandable">
3804 <td class="micon"><a class="exi" href="#expand"> </a></td>
3808 <a id="Roo.Component-method-getEl" name=".getEl"></a>
3809 <div class="fixedFont">
3810 <span class="attributes"></span><b class="itemname">getEl</b>
3818 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
3827 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
3833 Returns the underlying {<b>link</b> Roo.Element}.
3844 <dl class="detailList">
3845 <dt class="heading">Returns:</dt>
3847 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
3861 <td class="msource">
3863 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3869 <tr class="method-row config-row-alt1 expandable">
3870 <td class="micon"><a class="exi" href="#expand"> </a></td>
3874 <a id="Roo.Component-method-getId" name=".getId"></a>
3875 <div class="fixedFont">
3876 <span class="attributes"></span><b class="itemname">getId</b>
3884 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
3893 <div class="short">Returns the id of this component.</div>
3899 Returns the id of this component.
3910 <dl class="detailList">
3911 <dt class="heading">Returns:</dt>
3913 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
3927 <td class="msource">
3929 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3935 <tr class="method-row config-row-alt0 expandable">
3936 <td class="micon"><a class="exi" href="#expand"> </a></td>
3940 <a id="Roo.form.Field-method-getName" name=".getName"></a>
3941 <div class="fixedFont">
3942 <span class="attributes"></span><b class="itemname">getName</b>
3950 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
3959 <div class="short">Returns the name attribute of the field if available</div>
3965 Returns the name attribute of the field if available
3976 <dl class="detailList">
3977 <dt class="heading">Returns:</dt>
3979 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
3993 <td class="msource">
3995 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4001 <tr class="method-row config-row-alt1 expandable">
4002 <td class="micon"><a class="exi" href="#expand"> </a></td>
4006 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
4007 <div class="fixedFont">
4008 <span class="attributes"></span><b class="itemname">getPosition</b>
4010 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
4016 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
4025 <div class="short">Gets the current XY position of the component's underlying element.</div>
4031 Gets the current XY position of the component's underlying element.
4038 <dl class="detailList">
4039 <dt class="heading">Parameters:</dt>
4042 <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>
4045 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
4053 <dl class="detailList">
4054 <dt class="heading">Returns:</dt>
4056 <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>
4070 <td class="msource">
4072 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4078 <tr class="method-row config-row-alt0 expandable">
4079 <td class="micon"><a class="exi" href="#expand"> </a></td>
4083 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
4084 <div class="fixedFont">
4085 <span class="attributes"></span><b class="itemname">getRawValue</b>
4102 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
4108 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>}.
4119 <dl class="detailList">
4120 <dt class="heading">Returns:</dt>
4122 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
4136 <td class="msource">
4138 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4144 <tr class="method-row config-row-alt1 expandable">
4145 <td class="micon"><a class="exi" href="#expand"> </a></td>
4149 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
4150 <div class="fixedFont">
4151 <span class="attributes"></span><b class="itemname">getSize</b>
4159 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
4168 <div class="short">Gets the current size of the component's underlying element.</div>
4174 Gets the current size of the component's underlying element.
4185 <dl class="detailList">
4186 <dt class="heading">Returns:</dt>
4188 <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>
4202 <td class="msource">
4204 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4210 <tr class="method-row config-row-alt0 expandable notInherited">
4211 <td class="micon"><a class="exi" href="#expand"> </a></td>
4215 <a id="Roo.form.Select-method-getValue" name=".getValue"></a>
4216 <div class="fixedFont">
4217 <span class="attributes"></span><b class="itemname">getValue</b>
4225 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
4234 <div class="short">Returns the currently selected field value or empty string if no value is set.</div>
4240 Returns the currently selected field value or empty string if no value is set.
4251 <dl class="detailList">
4252 <dt class="heading">Returns:</dt>
4254 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> value The selected value</dd>
4268 <td class="msource">
4276 <tr class="method-row config-row-alt1 expandable">
4277 <td class="micon"><a class="exi" href="#expand"> </a></td>
4281 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
4282 <div class="fixedFont">
4283 <span class="attributes"></span><b class="itemname">hasListener</b>
4285 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
4291 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4300 <div class="short">Checks to see if this object has any listeners for a specified event</div>
4306 Checks to see if this object has any listeners for a specified event
4313 <dl class="detailList">
4314 <dt class="heading">Parameters:</dt>
4317 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4320 <dd>The name of the event to check for</dd>
4328 <dl class="detailList">
4329 <dt class="heading">Returns:</dt>
4331 <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>
4345 <td class="msource">
4347 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4353 <tr class="method-row config-row-alt0 expandable">
4354 <td class="micon"><a class="exi" href="#expand"> </a></td>
4358 <a id="Roo.Component-method-hide" name=".hide"></a>
4359 <div class="fixedFont">
4360 <span class="attributes"></span><b class="itemname">hide</b>
4368 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4377 <div class="short">Hide this component.</div>
4383 Hide this component.
4394 <dl class="detailList">
4395 <dt class="heading">Returns:</dt>
4397 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4411 <td class="msource">
4413 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4419 <tr class="method-row config-row-alt1 expandable">
4420 <td class="micon"><a class="exi" href="#expand"> </a></td>
4424 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
4425 <div class="fixedFont">
4426 <span class="attributes"></span><b class="itemname">isDirty</b>
4435 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
4441 Returns true if this field has been changed since it was originally loaded and is not disabled.
4462 <td class="msource">
4464 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4470 <tr class="method-row config-row-alt0 expandable notInherited">
4471 <td class="micon"><a class="exi" href="#expand"> </a></td>
4475 <a id="Roo.form.Select-method-isExpanded" name=".isExpanded"></a>
4476 <div class="fixedFont">
4477 <span class="attributes"></span><b class="itemname">isExpanded</b>
4486 <div class="short">Returns true if the dropdown list is expanded, else false.</div>
4492 Returns true if the dropdown list is expanded, else false.
4513 <td class="msource">
4521 <tr class="method-row config-row-alt1 expandable">
4522 <td class="micon"><a class="exi" href="#expand"> </a></td>
4526 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
4527 <div class="fixedFont">
4528 <span class="attributes"></span><b class="itemname">isValid</b>
4530 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
4536 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4545 <div class="short">Returns whether or not the field value is currently valid</div>
4551 Returns whether or not the field value is currently valid
4558 <dl class="detailList">
4559 <dt class="heading">Parameters:</dt>
4562 <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>
4565 <dd>True to disable marking the field invalid</dd>
4573 <dl class="detailList">
4574 <dt class="heading">Returns:</dt>
4576 <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>
4590 <td class="msource">
4592 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4598 <tr class="method-row config-row-alt0 expandable">
4599 <td class="micon"><a class="exi" href="#expand"> </a></td>
4603 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
4604 <div class="fixedFont">
4605 <span class="attributes"></span><b class="itemname">isVisible</b>
4614 <div class="short">Returns true if this component is visible.</div>
4620 Returns true if this component is visible.
4641 <td class="msource">
4643 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4649 <tr class="method-row config-row-alt1 expandable">
4650 <td class="micon"><a class="exi" href="#expand"> </a></td>
4654 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
4655 <div class="fixedFont">
4656 <span class="attributes"></span><b class="itemname">markInvalid</b>
4658 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
4665 <div class="short">Mark this field as invalid</div>
4671 Mark this field as invalid
4678 <dl class="detailList">
4679 <dt class="heading">Parameters:</dt>
4682 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4685 <dd>The validation message</dd>
4703 <td class="msource">
4705 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4711 <tr class="method-row config-row-alt0 expandable">
4712 <td class="micon"><a class="exi" href="#expand"> </a></td>
4716 <a id="Roo.util.Observable-method-on" name=".on"></a>
4717 <div class="fixedFont">
4718 <span class="attributes"></span><b class="itemname">on</b>
4720 (<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>)
4727 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
4733 Appends an event handler to this element (shorthand for addListener)
4740 <dl class="detailList">
4741 <dt class="heading">Parameters:</dt>
4744 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4747 <dd>The type of event to listen for</dd>
4750 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4753 <dd>The method the event invokes</dd>
4756 <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>
4759 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
4762 <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>
4783 <td class="msource">
4785 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4791 <tr class="method-row config-row-alt1 expandable">
4792 <td class="micon"><a class="exi" href="#expand"> </a></td>
4796 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
4797 <div class="fixedFont">
4798 <span class="attributes"></span><b class="itemname">onPosition</b>
4800 (<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>)
4807 <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>
4813 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.
4820 <dl class="detailList">
4821 <dt class="heading">Parameters:</dt>
4824 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4827 <dd>The new x position</dd>
4830 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4833 <dd>The new y position</dd>
4851 <td class="msource">
4853 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4859 <tr class="method-row config-row-alt0 expandable">
4860 <td class="micon"><a class="exi" href="#expand"> </a></td>
4864 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
4865 <div class="fixedFont">
4866 <span class="attributes"></span><b class="itemname">onResize</b>
4868 (<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>)
4875 <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>
4881 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.
4888 <dl class="detailList">
4889 <dt class="heading">Parameters:</dt>
4892 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
4895 <dd>The box-adjusted width that was set</dd>
4898 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
4901 <dd>The box-adjusted height that was set</dd>
4904 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
4907 <dd>The width that was originally specified</dd>
4910 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
4913 <dd>The height that was originally specified</dd>
4931 <td class="msource">
4933 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4939 <tr class="method-row config-row-alt1 expandable">
4940 <td class="micon"><a class="exi" href="#expand"> </a></td>
4944 <a id="Roo.form.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
4945 <div class="fixedFont">
4946 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
4948 (EventObject <B><i>e</i></B>)
4955 <div class="short">The function that should handle the trigger's click event.</div>
4961 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
4968 <dl class="detailList">
4969 <dt class="heading">Parameters:</dt>
4972 <span class="fixedFont">EventObject</span> <b>e</b>
4993 <td class="msource">
4995 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
5001 <tr class="method-row config-row-alt0 expandable">
5002 <td class="micon"><a class="exi" href="#expand"> </a></td>
5006 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
5007 <div class="fixedFont">
5008 <span class="attributes"></span><b class="itemname">purgeListeners</b>
5017 <div class="short">Removes all listeners for this object</div>
5023 Removes all listeners for this object
5044 <td class="msource">
5046 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
5052 <tr class="method-row config-row-alt1 expandable">
5053 <td class="micon"><a class="exi" href="#expand"> </a></td>
5057 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
5058 <div class="fixedFont">
5059 <span class="attributes"></span><b class="itemname">removeListener</b>
5061 (<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>)
5068 <div class="short">Removes a listener</div>
5081 <dl class="detailList">
5082 <dt class="heading">Parameters:</dt>
5085 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
5088 <dd>The type of event to listen for</dd>
5091 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
5094 <dd>The handler to remove</dd>
5097 <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>
5100 <dd>(optional) The scope (this object) for the handler</dd>
5118 <td class="msource">
5120 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
5126 <tr class="method-row config-row-alt0 expandable">
5127 <td class="micon"><a class="exi" href="#expand"> </a></td>
5131 <a id="Roo.Component-method-render" name=".render"></a>
5132 <div class="fixedFont">
5133 <span class="attributes"></span><b class="itemname">render</b>
5135 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
5142 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
5148 If this is a lazy rendering component, render it to its container element.
5155 <dl class="detailList">
5156 <dt class="heading">Parameters:</dt>
5159 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
5162 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
5180 <td class="msource">
5182 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5188 <tr class="method-row config-row-alt1 expandable">
5189 <td class="micon"><a class="exi" href="#expand"> </a></td>
5193 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
5194 <div class="fixedFont">
5195 <span class="attributes"></span><b class="itemname">reset</b>
5204 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
5210 Resets the current field value to the originally-loaded value and clears any validation messages.
5231 <td class="msource">
5233 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5239 <tr class="method-row config-row-alt0 expandable notInherited">
5240 <td class="micon"><a class="exi" href="#expand"> </a></td>
5244 <a id="Roo.form.Select-method-select" name=".select"></a>
5245 <div class="fixedFont">
5246 <span class="attributes"></span><b class="itemname">select</b>
5248 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>scrollIntoView</i></B>)
5255 <div class="short">Select an item in the dropdown list by its numeric index in the list.</div>
5261 Select an item in the dropdown list by its numeric index in the list. This function does NOT cause the select event to fire.<br/>The store must be loaded and the list expanded for this function to work, otherwise use setValue.
5268 <dl class="detailList">
5269 <dt class="heading">Parameters:</dt>
5272 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
5275 <dd>The zero-based index of the list item to select</dd>
5278 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>scrollIntoView</b>
5281 <dd>False to prevent the dropdown list from autoscrolling to display the<br/>selected item if it is not currently in view (defaults to true)</dd>
5299 <td class="msource">
5307 <tr class="method-row config-row-alt1 expandable notInherited">
5308 <td class="micon"><a class="exi" href="#expand"> </a></td>
5312 <a id="Roo.form.Select-method-selectByValue" name=".selectByValue"></a>
5313 <div class="fixedFont">
5314 <span class="attributes"></span><b class="itemname">selectByValue</b>
5316 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>value</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>scrollIntoView</i></B>)
5322 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
5331 <div class="short">Select an item in the dropdown list by its data value.</div>
5337 Select an item in the dropdown list by its data value. This function does NOT cause the select event to fire.<br/>The store must be loaded and the list expanded for this function to work, otherwise use setValue.
5344 <dl class="detailList">
5345 <dt class="heading">Parameters:</dt>
5348 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
5351 <dd>The data value of the item to select</dd>
5354 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>scrollIntoView</b>
5357 <dd>False to prevent the dropdown list from autoscrolling to display the<br/>selected item if it is not currently in view (defaults to true)</dd>
5365 <dl class="detailList">
5366 <dt class="heading">Returns:</dt>
5368 <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 matched an item in the list, else false</dd>
5382 <td class="msource">
5390 <tr class="method-row config-row-alt0 expandable">
5391 <td class="micon"><a class="exi" href="#expand"> </a></td>
5395 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
5396 <div class="fixedFont">
5397 <span class="attributes"></span><b class="itemname">selectText</b>
5399 (<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>)
5406 <div class="short">Selects text in this field</div>
5412 Selects text in this field
5419 <dl class="detailList">
5420 <dt class="heading">Parameters:</dt>
5423 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
5426 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
5429 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
5432 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
5450 <td class="msource">
5452 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5458 <tr class="method-row config-row-alt1 expandable">
5459 <td class="micon"><a class="exi" href="#expand"> </a></td>
5463 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
5464 <div class="fixedFont">
5465 <span class="attributes"></span><b class="itemname">setDisabled</b>
5467 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
5474 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
5480 Convenience function for setting disabled/enabled by boolean.
5487 <dl class="detailList">
5488 <dt class="heading">Parameters:</dt>
5491 <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>
5512 <td class="msource">
5514 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5520 <tr class="method-row config-row-alt0 expandable notInherited">
5521 <td class="micon"><a class="exi" href="#expand"> </a></td>
5525 <a id="Roo.form.Select-method-setEditable" name=".setEditable"></a>
5526 <div class="fixedFont">
5527 <span class="attributes"></span><b class="itemname">setEditable</b>
5529 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>value</i></B>)
5536 <div class="short">Allow or prevent the user from directly editing the field text.</div>
5542 Allow or prevent the user from directly editing the field text. If false is passed,<br/>the user will only be able to select from the items defined in the dropdown list. This method<br/>is the runtime equivalent of setting the 'editable' config option at config time.
5549 <dl class="detailList">
5550 <dt class="heading">Parameters:</dt>
5553 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>value</b>
5556 <dd>True to allow the user to directly edit the field text</dd>
5574 <td class="msource">
5582 <tr class="method-row config-row-alt1 expandable notInherited">
5583 <td class="micon"><a class="exi" href="#expand"> </a></td>
5587 <a id="Roo.form.Select-method-setFromData" name=".setFromData"></a>
5588 <div class="fixedFont">
5589 <span class="attributes"></span><b class="itemname">setFromData</b>
5591 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>value</i></B>)
5598 <div class="short">Sets the value of the field based on a object which is related to the record format for the store.</div>
5604 Sets the value of the field based on a object which is related to the record format for the store.
5611 <dl class="detailList">
5612 <dt class="heading">Parameters:</dt>
5615 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>value</b>
5618 <dd>the value to set as. or false on reset?</dd>
5636 <td class="msource">
5644 <tr class="method-row config-row-alt0 expandable">
5645 <td class="micon"><a class="exi" href="#expand"> </a></td>
5649 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
5650 <div class="fixedFont">
5651 <span class="attributes"></span><b class="itemname">setPagePosition</b>
5653 (<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>)
5660 <div class="short">Sets the page XY position of the component.</div>
5666 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.
5673 <dl class="detailList">
5674 <dt class="heading">Parameters:</dt>
5677 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5680 <dd>The new x position</dd>
5683 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5686 <dd>The new y position</dd>
5704 <td class="msource">
5706 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5712 <tr class="method-row config-row-alt1 expandable">
5713 <td class="micon"><a class="exi" href="#expand"> </a></td>
5717 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
5718 <div class="fixedFont">
5719 <span class="attributes"></span><b class="itemname">setPosition</b>
5721 (<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>)
5728 <div class="short">Sets the left and top of the component.</div>
5734 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.
5741 <dl class="detailList">
5742 <dt class="heading">Parameters:</dt>
5745 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
5748 <dd>The new left</dd>
5751 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
5754 <dd>The new top</dd>
5772 <td class="msource">
5774 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5780 <tr class="method-row config-row-alt0 expandable">
5781 <td class="micon"><a class="exi" href="#expand"> </a></td>
5785 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
5786 <div class="fixedFont">
5787 <span class="attributes"></span><b class="itemname">setRawValue</b>
5789 (Mixed <B><i>value</i></B>)
5796 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
5802 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
5809 <dl class="detailList">
5810 <dt class="heading">Parameters:</dt>
5813 <span class="fixedFont">Mixed</span> <b>value</b>
5816 <dd>The value to set</dd>
5834 <td class="msource">
5836 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5842 <tr class="method-row config-row-alt1 expandable">
5843 <td class="micon"><a class="exi" href="#expand"> </a></td>
5847 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
5848 <div class="fixedFont">
5849 <span class="attributes"></span><b class="itemname">setSize</b>
5851 (<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>)
5857 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5866 <div class="short">Sets the width and height of the component.</div>
5872 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}.
5879 <dl class="detailList">
5880 <dt class="heading">Parameters:</dt>
5883 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
5886 <dd>The new width to set, or a size object in the format {width, height}</dd>
5889 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
5892 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
5900 <dl class="detailList">
5901 <dt class="heading">Returns:</dt>
5903 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
5917 <td class="msource">
5919 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5925 <tr class="method-row config-row-alt0 expandable notInherited">
5926 <td class="micon"><a class="exi" href="#expand"> </a></td>
5930 <a id="Roo.form.Select-method-setValue" name=".setValue"></a>
5931 <div class="fixedFont">
5932 <span class="attributes"></span><b class="itemname">setValue</b>
5934 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>value</i></B>)
5941 <div class="short">Sets the specified value into the field.</div>
5947 Sets the specified value into the field. If the value finds a match, the corresponding record text<br/>will be displayed in the field. If the value does not match the data value of an existing item,<br/>and the valueNotFoundText config option is defined, it will be displayed as the default field text.<br/>Otherwise the field will be blank (although the value will still be set).
5954 <dl class="detailList">
5955 <dt class="heading">Parameters:</dt>
5958 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
5961 <dd>The value to match</dd>
5979 <td class="msource">
5987 <tr class="method-row config-row-alt1 expandable">
5988 <td class="micon"><a class="exi" href="#expand"> </a></td>
5992 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
5993 <div class="fixedFont">
5994 <span class="attributes"></span><b class="itemname">setVisible</b>
5996 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
6002 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6011 <div class="short">Convenience function to hide or show this component by boolean.</div>
6017 Convenience function to hide or show this component by boolean.
6024 <dl class="detailList">
6025 <dt class="heading">Parameters:</dt>
6028 <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>
6031 <dd>True to show, false to hide</dd>
6039 <dl class="detailList">
6040 <dt class="heading">Returns:</dt>
6042 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
6056 <td class="msource">
6058 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6064 <tr class="method-row config-row-alt0 expandable notInherited">
6065 <td class="micon"><a class="exi" href="#expand"> </a></td>
6069 <a id="Roo.form.Select-method-setWidth" name=".setWidth"></a>
6070 <div class="fixedFont">
6071 <span class="attributes"></span><b class="itemname">setWidth</b>
6080 <div class="short"></div>
6107 <td class="msource">
6115 <tr class="method-row config-row-alt1 expandable">
6116 <td class="micon"><a class="exi" href="#expand"> </a></td>
6120 <a id="Roo.Component-method-show" name=".show"></a>
6121 <div class="fixedFont">
6122 <span class="attributes"></span><b class="itemname">show</b>
6130 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6139 <div class="short">Show this component.</div>
6145 Show this component.
6156 <dl class="detailList">
6157 <dt class="heading">Returns:</dt>
6159 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
6173 <td class="msource">
6175 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6181 <tr class="method-row config-row-alt0 expandable">
6182 <td class="micon"><a class="exi" href="#expand"> </a></td>
6186 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
6187 <div class="fixedFont">
6188 <span class="attributes"></span><b class="itemname">syncSize</b>
6197 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
6203 Force the component's size to recalculate based on the underlying element's current height and width.
6224 <td class="msource">
6226 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
6232 <tr class="method-row config-row-alt1 expandable">
6233 <td class="micon"><a class="exi" href="#expand"> </a></td>
6237 <a id="Roo.util.Observable-method-un" name=".un"></a>
6238 <div class="fixedFont">
6239 <span class="attributes"></span><b class="itemname">un</b>
6241 (<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>)
6248 <div class="short">Removes a listener (shorthand for removeListener)</div>
6254 Removes a listener (shorthand for removeListener)
6261 <dl class="detailList">
6262 <dt class="heading">Parameters:</dt>
6265 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
6268 <dd>The type of event to listen for</dd>
6271 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
6274 <dd>The handler to remove</dd>
6277 <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>
6280 <dd>(optional) The scope (this object) for the handler</dd>
6298 <td class="msource">
6300 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
6306 <tr class="method-row config-row-alt0 expandable">
6307 <td class="micon"><a class="exi" href="#expand"> </a></td>
6311 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
6312 <div class="fixedFont">
6313 <span class="attributes"></span><b class="itemname">updateBox</b>
6315 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
6322 <div class="short">Sets the current box measurements of the component's underlying element.</div>
6328 Sets the current box measurements of the component's underlying element.
6335 <dl class="detailList">
6336 <dt class="heading">Parameters:</dt>
6339 <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>
6342 <dd>An object in the format {x, y, width, height}</dd>
6360 <td class="msource">
6362 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
6368 <tr class="method-row config-row-alt1 expandable">
6369 <td class="micon"><a class="exi" href="#expand"> </a></td>
6373 <a id="Roo.form.Field-method-validate" name=".validate"></a>
6374 <div class="fixedFont">
6375 <span class="attributes"></span><b class="itemname">validate</b>
6383 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6392 <div class="short">Validates the field value</div>
6398 Validates the field value
6409 <dl class="detailList">
6410 <dt class="heading">Returns:</dt>
6412 <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>
6426 <td class="msource">
6428 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6434 <tr class="method-row config-row-alt0 expandable">
6435 <td class="micon"><a class="exi" href="#expand"> </a></td>
6439 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
6440 <div class="fixedFont">
6441 <span class="attributes"></span><b class="itemname">validateValue</b>
6443 (Mixed <B><i>value</i></B>)
6449 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6458 <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>
6464 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
6471 <dl class="detailList">
6472 <dt class="heading">Parameters:</dt>
6475 <span class="fixedFont">Mixed</span> <b>value</b>
6478 <dd>The value to validate</dd>
6486 <dl class="detailList">
6487 <dt class="heading">Returns:</dt>
6489 <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>
6503 <td class="msource">
6505 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
6514 <!-- ============================== events summary / details ======================== -->
6517 <a id="Roo.form.Select-events"></a>
6526 <table cellspacing="0" class="member-table">
6527 <caption>Events</caption>
6530 <th class="sig-header" colspan="2">Event</th>
6531 <th class="msource-header">Defined By</th>
6540 <tr class="method-row expandable config-row-alt0">
6541 <td class="micon"><a class="exi" href="#expand"> </a></td>
6544 <a id="Roo.form.TextField-event-*autosize"></a>
6546 <div class="fixedFont">
6547 <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>)
6553 <div class="short">Fires when the autosize function is triggered.
6559 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.
6565 <dl class="detailList">
6566 <dt class="heading">Parameters:</dt>
6569 <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>
6572 <dd>This text field</dd>
6575 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
6578 <dd>The new field width</dd>
6596 <td class="msource">
6597 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
6601 <tr class="method-row expandable config-row-alt1">
6602 <td class="micon"><a class="exi" href="#expand"> </a></td>
6605 <a id="Roo.Component-event-*beforedestroy"></a>
6607 <div class="fixedFont">
6608 <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>)
6614 <div class="short">Fires before the component is destroyed.
6620 Fires before the component is destroyed. Return false to stop the destroy.
6626 <dl class="detailList">
6627 <dt class="heading">Parameters:</dt>
6630 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6651 <td class="msource">
6652 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6656 <tr class="method-row expandable config-row-alt0">
6657 <td class="micon"><a class="exi" href="#expand"> </a></td>
6660 <a id="Roo.Component-event-*beforehide"></a>
6662 <div class="fixedFont">
6663 <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>)
6669 <div class="short">Fires before the component is hidden.
6675 Fires before the component is hidden. Return false to stop the hide.
6681 <dl class="detailList">
6682 <dt class="heading">Parameters:</dt>
6685 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6706 <td class="msource">
6707 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6711 <tr class="method-row expandable config-row-alt1">
6712 <td class="micon"><a class="exi" href="#expand"> </a></td>
6715 <a id="Roo.Component-event-*beforerender"></a>
6717 <div class="fixedFont">
6718 <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>)
6724 <div class="short">Fires before the component is rendered.
6730 Fires before the component is rendered. Return false to stop the render.
6736 <dl class="detailList">
6737 <dt class="heading">Parameters:</dt>
6740 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6761 <td class="msource">
6762 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6766 <tr class="method-row expandable config-row-alt0">
6767 <td class="micon"><a class="exi" href="#expand"> </a></td>
6770 <a id="Roo.Component-event-*beforeshow"></a>
6772 <div class="fixedFont">
6773 <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>)
6779 <div class="short">Fires before the component is shown.
6785 Fires before the component is shown. Return false to stop the show.
6791 <dl class="detailList">
6792 <dt class="heading">Parameters:</dt>
6795 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6816 <td class="msource">
6817 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6821 <tr class="method-row expandable config-row-alt1">
6822 <td class="micon"><a class="exi" href="#expand"> </a></td>
6825 <a id="Roo.form.Field-event-*blur"></a>
6827 <div class="fixedFont">
6828 <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>)
6834 <div class="short">Fires when this field loses input focus.
6840 Fires when this field loses input focus.
6846 <dl class="detailList">
6847 <dt class="heading">Parameters:</dt>
6850 <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>
6871 <td class="msource">
6872 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6876 <tr class="method-row expandable config-row-alt0">
6877 <td class="micon"><a class="exi" href="#expand"> </a></td>
6880 <a id="Roo.form.Field-event-*change"></a>
6882 <div class="fixedFont">
6883 <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>)
6889 <div class="short">Fires just before the field blurs if the field value has changed.
6895 Fires just before the field blurs if the field value has changed.
6901 <dl class="detailList">
6902 <dt class="heading">Parameters:</dt>
6905 <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>
6911 <span class="fixedFont">Mixed</span> <b>newValue</b>
6914 <dd>The new value</dd>
6917 <span class="fixedFont">Mixed</span> <b>oldValue</b>
6920 <dd>The original value</dd>
6938 <td class="msource">
6939 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6943 <tr class="method-row expandable config-row-alt1">
6944 <td class="micon"><a class="exi" href="#expand"> </a></td>
6947 <a id="Roo.Component-event-*destroy"></a>
6949 <div class="fixedFont">
6950 <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>)
6956 <div class="short">Fires after the component is destroyed.
6962 Fires after the component is destroyed.
6968 <dl class="detailList">
6969 <dt class="heading">Parameters:</dt>
6972 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6993 <td class="msource">
6994 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6998 <tr class="method-row expandable config-row-alt0">
6999 <td class="micon"><a class="exi" href="#expand"> </a></td>
7002 <a id="Roo.Component-event-*disable"></a>
7004 <div class="fixedFont">
7005 <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>)
7011 <div class="short">Fires after the component is disabled.
7017 Fires after the component is disabled.
7023 <dl class="detailList">
7024 <dt class="heading">Parameters:</dt>
7027 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7048 <td class="msource">
7049 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7053 <tr class="method-row expandable config-row-alt1">
7054 <td class="micon"><a class="exi" href="#expand"> </a></td>
7057 <a id="Roo.Component-event-*enable"></a>
7059 <div class="fixedFont">
7060 <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>)
7066 <div class="short">Fires after the component is enabled.
7072 Fires after the component is enabled.
7078 <dl class="detailList">
7079 <dt class="heading">Parameters:</dt>
7082 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7103 <td class="msource">
7104 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7108 <tr class="method-row expandable config-row-alt0">
7109 <td class="micon"><a class="exi" href="#expand"> </a></td>
7112 <a id="Roo.form.Field-event-*focus"></a>
7114 <div class="fixedFont">
7115 <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>)
7121 <div class="short">Fires when this field receives input focus.
7127 Fires when this field receives input focus.
7133 <dl class="detailList">
7134 <dt class="heading">Parameters:</dt>
7137 <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>
7158 <td class="msource">
7159 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7163 <tr class="method-row expandable config-row-alt1">
7164 <td class="micon"><a class="exi" href="#expand"> </a></td>
7167 <a id="Roo.Component-event-*hide"></a>
7169 <div class="fixedFont">
7170 <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>)
7176 <div class="short">Fires after the component is hidden.
7182 Fires after the component is hidden.
7188 <dl class="detailList">
7189 <dt class="heading">Parameters:</dt>
7192 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7213 <td class="msource">
7214 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7218 <tr class="method-row expandable config-row-alt0">
7219 <td class="micon"><a class="exi" href="#expand"> </a></td>
7222 <a id="Roo.form.Field-event-*invalid"></a>
7224 <div class="fixedFont">
7225 <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>)
7231 <div class="short">Fires after the field has been marked as invalid.
7237 Fires after the field has been marked as invalid.
7243 <dl class="detailList">
7244 <dt class="heading">Parameters:</dt>
7247 <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>
7253 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
7256 <dd>The validation message</dd>
7274 <td class="msource">
7275 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7279 <tr class="method-row expandable config-row-alt1">
7280 <td class="micon"><a class="exi" href="#expand"> </a></td>
7283 <a id="Roo.form.Field-event-*keyup"></a>
7285 <div class="fixedFont">
7286 <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>)
7292 <div class="short">Fires after the key up
7298 Fires after the key up
7304 <dl class="detailList">
7305 <dt class="heading">Parameters:</dt>
7308 <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>
7314 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
7317 <dd>The event Object</dd>
7335 <td class="msource">
7336 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7340 <tr class="method-row expandable config-row-alt0">
7341 <td class="micon"><a class="exi" href="#expand"> </a></td>
7344 <a id="Roo.BoxComponent-event-*move"></a>
7346 <div class="fixedFont">
7347 <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>)
7353 <div class="short">Fires after the component is moved.
7359 Fires after the component is moved.
7365 <dl class="detailList">
7366 <dt class="heading">Parameters:</dt>
7369 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7375 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
7378 <dd>The new x position</dd>
7381 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
7384 <dd>The new y position</dd>
7402 <td class="msource">
7403 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
7407 <tr class="method-row expandable config-row-alt1">
7408 <td class="micon"><a class="exi" href="#expand"> </a></td>
7411 <a id="Roo.Component-event-*render"></a>
7413 <div class="fixedFont">
7414 <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>)
7420 <div class="short">Fires after the component is rendered.
7426 Fires after the component is rendered.
7432 <dl class="detailList">
7433 <dt class="heading">Parameters:</dt>
7436 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7457 <td class="msource">
7458 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7462 <tr class="method-row expandable config-row-alt0">
7463 <td class="micon"><a class="exi" href="#expand"> </a></td>
7466 <a id="Roo.BoxComponent-event-*resize"></a>
7468 <div class="fixedFont">
7469 <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>)
7475 <div class="short">Fires after the component is resized.
7481 Fires after the component is resized.
7487 <dl class="detailList">
7488 <dt class="heading">Parameters:</dt>
7491 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7497 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
7500 <dd>The box-adjusted width that was set</dd>
7503 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
7506 <dd>The box-adjusted height that was set</dd>
7509 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
7512 <dd>The width that was originally specified</dd>
7515 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
7518 <dd>The height that was originally specified</dd>
7536 <td class="msource">
7537 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
7541 <tr class="method-row expandable config-row-alt1">
7542 <td class="micon"><a class="exi" href="#expand"> </a></td>
7545 <a id="Roo.Component-event-*show"></a>
7547 <div class="fixedFont">
7548 <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>)
7554 <div class="short">Fires after the component is shown.
7560 Fires after the component is shown.
7566 <dl class="detailList">
7567 <dt class="heading">Parameters:</dt>
7570 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7591 <td class="msource">
7592 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7596 <tr class="method-row expandable config-row-alt0">
7597 <td class="micon"><a class="exi" href="#expand"> </a></td>
7600 <a id="Roo.form.Field-event-*specialkey"></a>
7602 <div class="fixedFont">
7603 <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>)
7609 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
7615 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.
7621 <dl class="detailList">
7622 <dt class="heading">Parameters:</dt>
7625 <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>
7631 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
7634 <dd>The event object</dd>
7652 <td class="msource">
7653 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7657 <tr class="method-row expandable config-row-alt1">
7658 <td class="micon"><a class="exi" href="#expand"> </a></td>
7661 <a id="Roo.form.Field-event-*valid"></a>
7663 <div class="fixedFont">
7664 <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>)
7670 <div class="short">Fires after the field has been validated with no errors.
7676 Fires after the field has been validated with no errors.
7682 <dl class="detailList">
7683 <dt class="heading">Parameters:</dt>
7686 <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>
7707 <td class="msource">
7708 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7719 <!-- ============================== footer ================================= -->
7720 <div class="fineprint" style="clear:both">
7722 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Sep 18 2015 12:41:23 GMT+0800 (HKT)
7724 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>