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.ComboBox</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.ComboBox-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.ComboBox-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.ComboBox-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.ComboBox-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.ComboBox
57 <!-- ============================== class title / details ============================ -->
60 <h1 class="classTitle">
62 Class Roo.form.ComboBox
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_ComboBox.js.html">Roo/form/ComboBox.js</a>.
74 <tr><td class="label">Class:</td><td class="hd-info">ComboBox</td></tr>
77 <tr><td class="label">Subclasses:</td><td class="hd-info">
78 <a href="./Roo.form.ComboCheck.html#constructor" roo:cls="Roo.form.ComboCheck.html#constructor">Roo.form.ComboCheck</a>
86 <tr><td class="label">Extends:</td><td class="hd-info">
87 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
95 <!-- ============================== class summary ========================== -->
96 <div class="description">
97 A combobox control with support for autocomplete, remote-loading, paging and many other features.
101 <!-- ============================== Class comment block... ========================== -->
103 <div class="comments">
104 <b>Class Comments / Notes</B> =>
105 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.ComboBox';">[Add Your comment/notes about this class]</u>
107 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
108 src="/blog.php/GtkDjsComments/Roo.form.ComboBox.html"></iframe>
113 <!-- ============================== config options ========================== -->
118 <div class="hr"></div>
119 <a id="Roo.form.ComboBox-configs"></a>
125 <table cellspacing="0" class="member-table">
126 <caption>Config Options (Usually are also Properties)</caption>
130 <th class="sig-header" colspan="2">Options</th>
132 <th class="msource-header">Defined By</th>
139 <tr class="config-row expandable config-row-alt0">
140 <td class="micon"><a class="exi" href="#expand"> </a></td>
143 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
144 <div class="fixedFont">
145 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
151 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
156 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
166 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
172 <tr class="config-row expandable config-row-alt1 notInherited">
173 <td class="micon"><a class="exi" href="#expand"> </a></td>
176 <a id="Roo.form.ComboBox-cfg-allQuery" name=".allQuery"></a>
177 <div class="fixedFont">
178 <b class="itemname">allQuery</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
184 <div class="short">The text query to send to the server to return all records for the list with no filtering (defaults to '')</div>
189 The text query to send to the server to return all records for the list with no filtering (defaults to '')
205 <tr class="config-row expandable config-row-alt0">
206 <td class="micon"><a class="exi" href="#expand"> </a></td>
209 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
210 <div class="fixedFont">
211 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
217 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
222 False to validate that the value length > 0 (defaults to true)
232 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
238 <tr class="config-row expandable config-row-alt1">
239 <td class="micon"><a class="exi" href="#expand"> </a></td>
242 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
243 <div class="fixedFont">
244 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
250 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
255 Whether the component can move the Dom node when rendering (defaults to true).
265 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
271 <tr class="config-row expandable config-row-alt0 notInherited">
272 <td class="micon"><a class="exi" href="#expand"> </a></td>
275 <a id="Roo.form.ComboBox-cfg-alwaysQuery" name=".alwaysQuery"></a>
276 <div class="fixedFont">
277 <b class="itemname">alwaysQuery</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
283 <div class="short">Disable caching of results, and always send query</div>
288 Disable caching of results, and always send query
304 <tr class="config-row expandable config-row-alt1 notInherited">
305 <td class="micon"><a class="exi" href="#expand"> </a></td>
308 <a id="Roo.form.ComboBox-cfg-autoCreate" name=".autoCreate"></a>
309 <div class="fixedFont">
310 <b class="itemname">autoCreate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/Object
316 <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>
321 A DomHelper element spec, or true for a default element spec (defaults to:<br/>{tag: "input", type: "text", size: "24", autocomplete: "off"})
337 <tr class="config-row expandable config-row-alt0">
338 <td class="micon"><a class="exi" href="#expand"> </a></td>
341 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
342 <div class="fixedFont">
343 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
349 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
354 Error text to display if the allow blank validation fails (defaults to "This field is required")
364 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
370 <tr class="config-row expandable config-row-alt1 notInherited">
371 <td class="micon"><a class="exi" href="#expand"> </a></td>
374 <a id="Roo.form.ComboBox-cfg-blockFocus" name=".blockFocus"></a>
375 <div class="fixedFont">
376 <b class="itemname">blockFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
382 <div class="short">Prevents all focus calls, so it can work with things like HTML edtor bar</div>
387 Prevents all focus calls, so it can work with things like HTML edtor bar
403 <tr class="config-row expandable config-row-alt0">
404 <td class="micon"><a class="exi" href="#expand"> </a></td>
407 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
408 <div class="fixedFont">
409 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
415 <div class="short">A CSS class to apply to the field's underlying element.</div>
420 A CSS class to apply to the field's underlying element.
430 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
436 <tr class="config-row expandable config-row-alt1">
437 <td class="micon"><a class="exi" href="#expand"> </a></td>
440 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
441 <div class="fixedFont">
442 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
448 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
453 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
463 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
469 <tr class="config-row expandable config-row-alt0 notInherited">
470 <td class="micon"><a class="exi" href="#expand"> </a></td>
473 <a id="Roo.form.ComboBox-cfg-disableClear" name=".disableClear"></a>
474 <div class="fixedFont">
475 <b class="itemname">disableClear</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
481 <div class="short">Disable showing of clear button.</div>
486 Disable showing of clear button.
502 <tr class="config-row expandable config-row-alt1">
503 <td class="micon"><a class="exi" href="#expand"> </a></td>
506 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
507 <div class="fixedFont">
508 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
514 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
519 True to disable input keystroke filtering (defaults to false)
529 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
535 <tr class="config-row expandable config-row-alt0">
536 <td class="micon"><a class="exi" href="#expand"> </a></td>
539 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
540 <div class="fixedFont">
541 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
547 <div class="short">True to disable the field (defaults to false).</div>
552 True to disable the field (defaults to false).
562 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
568 <tr class="config-row expandable config-row-alt1 notInherited">
569 <td class="micon"><a class="exi" href="#expand"> </a></td>
572 <a id="Roo.form.ComboBox-cfg-displayField" name=".displayField"></a>
573 <div class="fixedFont">
574 <b class="itemname">displayField</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
580 <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>
585 The underlying data field name to bind to this CombBox (defaults to undefined if<br/>mode = 'remote' or 'text' if mode = 'local')
601 <tr class="config-row expandable config-row-alt0 notInherited">
602 <td class="micon"><a class="exi" href="#expand"> </a></td>
605 <a id="Roo.form.ComboBox-cfg-editable" name=".editable"></a>
606 <div class="fixedFont">
607 <b class="itemname">editable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
613 <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>
618 False to prevent the user from typing text directly into the field, just like a<br/>traditional select (defaults to true)
634 <tr class="config-row expandable config-row-alt1">
635 <td class="micon"><a class="exi" href="#expand"> </a></td>
638 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
639 <div class="fixedFont">
640 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
646 <div class="short">The default text to display in an empty field - placeholder.</div>
651 The default text to display in an empty field - placeholder... (defaults to null).
661 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
667 <tr class="config-row expandable config-row-alt0">
668 <td class="micon"><a class="exi" href="#expand"> </a></td>
671 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
672 <div class="fixedFont">
673 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
679 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
684 The default CSS class for the field (defaults to "x-form-field")
694 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
700 <tr class="config-row expandable config-row-alt1">
701 <td class="micon"><a class="exi" href="#expand"> </a></td>
704 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
705 <div class="fixedFont">
706 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
712 <div class="short">Label to use when rendering a form.</div>
717 Label to use when rendering a form.
727 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
733 <tr class="config-row expandable config-row-alt0">
734 <td class="micon"><a class="exi" href="#expand"> </a></td>
737 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
738 <div class="fixedFont">
739 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
745 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
750 The CSS class to use when the field receives focus (defaults to "x-form-focus")
760 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
766 <tr class="config-row expandable config-row-alt1 notInherited">
767 <td class="micon"><a class="exi" href="#expand"> </a></td>
770 <a id="Roo.form.ComboBox-cfg-forceSelection" name=".forceSelection"></a>
771 <div class="fixedFont">
772 <b class="itemname">forceSelection</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
778 <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>
783 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)
799 <tr class="config-row expandable config-row-alt0 notInherited">
800 <td class="micon"><a class="exi" href="#expand"> </a></td>
803 <a id="Roo.form.ComboBox-cfg-grow" name=".grow"></a>
804 <div class="fixedFont">
805 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
811 <div class="short"></div>
832 <tr class="config-row expandable config-row-alt1 notInherited">
833 <td class="micon"><a class="exi" href="#expand"> </a></td>
836 <a id="Roo.form.ComboBox-cfg-growMax" name=".growMax"></a>
837 <div class="fixedFont">
838 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
844 <div class="short"></div>
865 <tr class="config-row expandable config-row-alt0 notInherited">
866 <td class="micon"><a class="exi" href="#expand"> </a></td>
869 <a id="Roo.form.ComboBox-cfg-growMin" name=".growMin"></a>
870 <div class="fixedFont">
871 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
877 <div class="short"></div>
898 <tr class="config-row expandable config-row-alt1 notInherited">
899 <td class="micon"><a class="exi" href="#expand"> </a></td>
902 <a id="Roo.form.ComboBox-cfg-handleHeight" name=".handleHeight"></a>
903 <div class="fixedFont">
904 <b class="itemname">handleHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
910 <div class="short">The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)</div>
915 The height in pixels of the dropdown list resize handle if resizable = true (defaults to 8)
931 <tr class="config-row expandable config-row-alt0">
932 <td class="micon"><a class="exi" href="#expand"> </a></td>
935 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
936 <div class="fixedFont">
937 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
943 <div class="short">height (optional) size of component</div>
948 height (optional) size of component
958 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
964 <tr class="config-row expandable config-row-alt1 notInherited">
965 <td class="micon"><a class="exi" href="#expand"> </a></td>
968 <a id="Roo.form.ComboBox-cfg-hiddenName" name=".hiddenName"></a>
969 <div class="fixedFont">
970 <b class="itemname">hiddenName</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
976 <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>
981 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)
997 <tr class="config-row expandable config-row-alt0">
998 <td class="micon"><a class="exi" href="#expand"> </a></td>
1001 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
1002 <div class="fixedFont">
1003 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1009 <div class="short">How this component should hidden.</div>
1014 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
1015 <BR/>Possible Values: display, visibility
1022 <td class="msource">
1024 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1030 <tr class="config-row expandable config-row-alt1">
1031 <td class="micon"><a class="exi" href="#expand"> </a></td>
1034 <a id="Roo.form.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
1035 <div class="fixedFont">
1036 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1042 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
1047 True to hide the trigger element and display only the base text field (defaults to false)
1055 <td class="msource">
1057 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
1063 <tr class="config-row expandable config-row-alt0">
1064 <td class="micon"><a class="exi" href="#expand"> </a></td>
1067 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
1068 <div class="fixedFont">
1069 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1075 <div class="short">The type attribute for input fields -- e.g.</div>
1080 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
1088 <td class="msource">
1090 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1096 <tr class="config-row expandable config-row-alt1">
1097 <td class="micon"><a class="exi" href="#expand"> </a></td>
1100 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
1101 <div class="fixedFont">
1102 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1108 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
1113 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
1121 <td class="msource">
1123 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1129 <tr class="config-row expandable config-row-alt0">
1130 <td class="micon"><a class="exi" href="#expand"> </a></td>
1133 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
1134 <div class="fixedFont">
1135 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1141 <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>
1146 The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
1154 <td class="msource">
1156 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1162 <tr class="config-row expandable config-row-alt1 notInherited">
1163 <td class="micon"><a class="exi" href="#expand"> </a></td>
1166 <a id="Roo.form.ComboBox-cfg-lazyRender" name=".lazyRender"></a>
1167 <div class="fixedFont">
1168 <b class="itemname">lazyRender</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1174 <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>
1179 True to prevent the ComboBox from rendering until requested (should always be used when<br/>rendering into an Roo.Editor, defaults to false)
1187 <td class="msource">
1195 <tr class="config-row expandable config-row-alt0 notInherited">
1196 <td class="micon"><a class="exi" href="#expand"> </a></td>
1199 <a id="Roo.form.ComboBox-cfg-listAlign" name=".listAlign"></a>
1200 <div class="fixedFont">
1201 <b class="itemname">listAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1207 <div class="short">A valid anchor position value.</div>
1212 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')
1220 <td class="msource">
1228 <tr class="config-row expandable config-row-alt1 notInherited">
1229 <td class="micon"><a class="exi" href="#expand"> </a></td>
1232 <a id="Roo.form.ComboBox-cfg-listClass" name=".listClass"></a>
1233 <div class="fixedFont">
1234 <b class="itemname">listClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1240 <div class="short">CSS class to apply to the dropdown list element (defaults to '')</div>
1245 CSS class to apply to the dropdown list element (defaults to '')
1253 <td class="msource">
1261 <tr class="config-row expandable config-row-alt0 notInherited">
1262 <td class="micon"><a class="exi" href="#expand"> </a></td>
1265 <a id="Roo.form.ComboBox-cfg-listWidth" name=".listWidth"></a>
1266 <div class="fixedFont">
1267 <b class="itemname">listWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1273 <div class="short">The width in pixels of the dropdown list (defaults to the width of the ComboBox field)</div>
1278 The width in pixels of the dropdown list (defaults to the width of the ComboBox field)
1286 <td class="msource">
1294 <tr class="config-row expandable config-row-alt1">
1295 <td class="micon"><a class="exi" href="#expand"> </a></td>
1298 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
1299 <div class="fixedFont">
1300 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1306 <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>
1311 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>
1319 <td class="msource">
1321 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1327 <tr class="config-row expandable config-row-alt0 notInherited">
1328 <td class="micon"><a class="exi" href="#expand"> </a></td>
1331 <a id="Roo.form.ComboBox-cfg-loadingText" name=".loadingText"></a>
1332 <div class="fixedFont">
1333 <b class="itemname">loadingText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1339 <div class="short">The text to display in the dropdown list while data is loading.</div>
1344 The text to display in the dropdown list while data is loading. Only applies<br/>when mode = 'remote' (defaults to 'Loading...')
1352 <td class="msource">
1360 <tr class="config-row expandable config-row-alt1">
1361 <td class="micon"><a class="exi" href="#expand"> </a></td>
1364 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
1365 <div class="fixedFont">
1366 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1372 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
1377 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
1385 <td class="msource">
1387 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1393 <tr class="config-row expandable config-row-alt0 notInherited">
1394 <td class="micon"><a class="exi" href="#expand"> </a></td>
1397 <a id="Roo.form.ComboBox-cfg-maxHeight" name=".maxHeight"></a>
1398 <div class="fixedFont">
1399 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1405 <div class="short">The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)</div>
1410 The maximum height in pixels of the dropdown list before scrollbars are shown (defaults to 300)
1418 <td class="msource">
1426 <tr class="config-row expandable config-row-alt1">
1427 <td class="micon"><a class="exi" href="#expand"> </a></td>
1430 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
1431 <div class="fixedFont">
1432 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1438 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
1443 Maximum input field length allowed (defaults to Number.MAX_VALUE)
1451 <td class="msource">
1453 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1459 <tr class="config-row expandable config-row-alt0">
1460 <td class="micon"><a class="exi" href="#expand"> </a></td>
1463 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
1464 <div class="fixedFont">
1465 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1471 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1476 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
1484 <td class="msource">
1486 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1492 <tr class="config-row expandable config-row-alt1 notInherited">
1493 <td class="micon"><a class="exi" href="#expand"> </a></td>
1496 <a id="Roo.form.ComboBox-cfg-minChars" name=".minChars"></a>
1497 <div class="fixedFont">
1498 <b class="itemname">minChars</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1504 <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>
1509 The minimum number of characters the user must type before autocomplete and typeahead activate<br/>(defaults to 4, does not apply if editable = false)
1517 <td class="msource">
1525 <tr class="config-row expandable config-row-alt0">
1526 <td class="micon"><a class="exi" href="#expand"> </a></td>
1529 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
1530 <div class="fixedFont">
1531 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1537 <div class="short">Minimum input field length required (defaults to 0)</div>
1542 Minimum input field length required (defaults to 0)
1550 <td class="msource">
1552 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1558 <tr class="config-row expandable config-row-alt1">
1559 <td class="micon"><a class="exi" href="#expand"> </a></td>
1562 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1563 <div class="fixedFont">
1564 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1570 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1575 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1583 <td class="msource">
1585 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1591 <tr class="config-row expandable config-row-alt0 notInherited">
1592 <td class="micon"><a class="exi" href="#expand"> </a></td>
1595 <a id="Roo.form.ComboBox-cfg-minListWidth" name=".minListWidth"></a>
1596 <div class="fixedFont">
1597 <b class="itemname">minListWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1603 <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>
1608 The minimum width of the dropdown list in pixels (defaults to 70, will be ignored if<br/>listWidth has a higher value)
1616 <td class="msource">
1624 <tr class="config-row expandable config-row-alt1 notInherited">
1625 <td class="micon"><a class="exi" href="#expand"> </a></td>
1628 <a id="Roo.form.ComboBox-cfg-mode" name=".mode"></a>
1629 <div class="fixedFont">
1630 <b class="itemname">mode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1636 <div class="short">Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)</div>
1641 Set to 'local' if the ComboBox loads local data (defaults to 'remote' which loads from the server)
1649 <td class="msource">
1657 <tr class="config-row expandable config-row-alt0">
1658 <td class="micon"><a class="exi" href="#expand"> </a></td>
1661 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1662 <div class="fixedFont">
1663 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1669 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1674 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
1682 <td class="msource">
1684 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1690 <tr class="config-row expandable config-row-alt1">
1691 <td class="micon"><a class="exi" href="#expand"> </a></td>
1694 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1695 <div class="fixedFont">
1696 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1702 <div class="short">The location where error text should display.</div>
1707 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>
1715 <td class="msource">
1717 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1723 <tr class="config-row expandable config-row-alt0">
1724 <td class="micon"><a class="exi" href="#expand"> </a></td>
1727 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1728 <div class="fixedFont">
1729 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1735 <div class="short">The field's HTML name attribute.</div>
1740 The field's HTML name attribute.
1748 <td class="msource">
1750 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1756 <tr class="config-row expandable config-row-alt1 notInherited">
1757 <td class="micon"><a class="exi" href="#expand"> </a></td>
1760 <a id="Roo.form.ComboBox-cfg-pageSize" name=".pageSize"></a>
1761 <div class="fixedFont">
1762 <b class="itemname">pageSize</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1768 <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>
1773 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)
1781 <td class="msource">
1789 <tr class="config-row expandable config-row-alt0">
1790 <td class="micon"><a class="exi" href="#expand"> </a></td>
1793 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1794 <div class="fixedFont">
1795 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1801 <div class="short">Mouse over tip</div>
1814 <td class="msource">
1816 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1822 <tr class="config-row expandable config-row-alt1 notInherited">
1823 <td class="micon"><a class="exi" href="#expand"> </a></td>
1826 <a id="Roo.form.ComboBox-cfg-queryDelay" name=".queryDelay"></a>
1827 <div class="fixedFont">
1828 <b class="itemname">queryDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1834 <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>
1839 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')
1847 <td class="msource">
1855 <tr class="config-row expandable config-row-alt0 notInherited">
1856 <td class="micon"><a class="exi" href="#expand"> </a></td>
1859 <a id="Roo.form.ComboBox-cfg-queryParam" name=".queryParam"></a>
1860 <div class="fixedFont">
1861 <b class="itemname">queryParam</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1867 <div class="short">Name of the query as it will be passed on the querystring (defaults to 'query')</div>
1872 Name of the query as it will be passed on the querystring (defaults to 'query')
1880 <td class="msource">
1888 <tr class="config-row expandable config-row-alt1">
1889 <td class="micon"><a class="exi" href="#expand"> </a></td>
1892 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1893 <div class="fixedFont">
1894 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1900 <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>
1905 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1913 <td class="msource">
1915 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1921 <tr class="config-row expandable config-row-alt0">
1922 <td class="micon"><a class="exi" href="#expand"> </a></td>
1925 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1926 <div class="fixedFont">
1927 <b class="itemname">regex</b> : RegExp
1933 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1938 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>}.
1946 <td class="msource">
1948 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1954 <tr class="config-row expandable config-row-alt1">
1955 <td class="micon"><a class="exi" href="#expand"> </a></td>
1958 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1959 <div class="fixedFont">
1960 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1966 <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>
1971 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
1979 <td class="msource">
1981 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1987 <tr class="config-row expandable config-row-alt0 notInherited">
1988 <td class="micon"><a class="exi" href="#expand"> </a></td>
1991 <a id="Roo.form.ComboBox-cfg-resizable" name=".resizable"></a>
1992 <div class="fixedFont">
1993 <b class="itemname">resizable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1999 <div class="short">True to add a resize handle to the bottom of the dropdown list (defaults to false)</div>
2004 True to add a resize handle to the bottom of the dropdown list (defaults to false)
2012 <td class="msource">
2020 <tr class="config-row expandable config-row-alt1 notInherited">
2021 <td class="micon"><a class="exi" href="#expand"> </a></td>
2024 <a id="Roo.form.ComboBox-cfg-selectOnFocus" name=".selectOnFocus"></a>
2025 <div class="fixedFont">
2026 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2032 <div class="short">True to select any existing text in the field immediately on focus.</div>
2037 True to select any existing text in the field immediately on focus. Only applies<br/>when editable = true (defaults to false)
2045 <td class="msource">
2053 <tr class="config-row expandable config-row-alt0 notInherited">
2054 <td class="micon"><a class="exi" href="#expand"> </a></td>
2057 <a id="Roo.form.ComboBox-cfg-selectedClass" name=".selectedClass"></a>
2058 <div class="fixedFont">
2059 <b class="itemname">selectedClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2065 <div class="short">CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')</div>
2070 CSS class to apply to the selected item in the dropdown list (defaults to 'x-combo-selected')
2078 <td class="msource">
2086 <tr class="config-row expandable config-row-alt1 notInherited">
2087 <td class="micon"><a class="exi" href="#expand"> </a></td>
2090 <a id="Roo.form.ComboBox-cfg-shadow" name=".shadow"></a>
2091 <div class="fixedFont">
2092 <b class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
2098 <div class="short">True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right</div>
2103 True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right
2111 <td class="msource">
2119 <tr class="config-row expandable config-row-alt0 notInherited">
2120 <td class="micon"><a class="exi" href="#expand"> </a></td>
2123 <a id="Roo.form.ComboBox-cfg-store" name=".store"></a>
2124 <div class="fixedFont">
2125 <b class="itemname">store</b> : <a href="./Roo.data.Store.html#constructor" roo:cls="Roo.data.Store.html#constructor">Roo.data.Store</a>
2131 <div class="short">The data store to which this combo is bound (defaults to undefined)</div>
2136 The data store to which this combo is bound (defaults to undefined)
2144 <td class="msource">
2152 <tr class="config-row expandable config-row-alt1">
2153 <td class="micon"><a class="exi" href="#expand"> </a></td>
2156 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
2157 <div class="fixedFont">
2158 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2164 <div class="short">The tabIndex for this field.</div>
2169 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
2177 <td class="msource">
2179 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2185 <tr class="config-row expandable config-row-alt0 notInherited">
2186 <td class="micon"><a class="exi" href="#expand"> </a></td>
2189 <a id="Roo.form.ComboBox-cfg-title" name=".title"></a>
2190 <div class="fixedFont">
2191 <b class="itemname">title</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2197 <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>
2202 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)
2210 <td class="msource">
2218 <tr class="config-row expandable config-row-alt1 notInherited">
2219 <td class="micon"><a class="exi" href="#expand"> </a></td>
2222 <a id="Roo.form.ComboBox-cfg-tpl" name=".tpl"></a>
2223 <div class="fixedFont">
2224 <b class="itemname">tpl</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Roo.Template
2230 <div class="short">The template to use to render the output</div>
2235 The template to use to render the output
2243 <td class="msource">
2251 <tr class="config-row expandable config-row-alt0 notInherited">
2252 <td class="micon"><a class="exi" href="#expand"> </a></td>
2255 <a id="Roo.form.ComboBox-cfg-transform" name=".transform"></a>
2256 <div class="fixedFont">
2257 <b class="itemname">transform</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element
2263 <div class="short">The id, DOM node or element of an existing select to convert to a ComboBox</div>
2268 The id, DOM node or element of an existing select to convert to a ComboBox
2276 <td class="msource">
2284 <tr class="config-row expandable config-row-alt1 notInherited">
2285 <td class="micon"><a class="exi" href="#expand"> </a></td>
2288 <a id="Roo.form.ComboBox-cfg-triggerAction" name=".triggerAction"></a>
2289 <div class="fixedFont">
2290 <b class="itemname">triggerAction</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2296 <div class="short">The action to execute when the trigger field is activated.</div>
2301 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')
2309 <td class="msource">
2317 <tr class="config-row expandable config-row-alt0 notInherited">
2318 <td class="micon"><a class="exi" href="#expand"> </a></td>
2321 <a id="Roo.form.ComboBox-cfg-triggerClass" name=".triggerClass"></a>
2322 <div class="fixedFont">
2323 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2329 <div class="short">An additional CSS class used to style the trigger button.</div>
2334 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).
2342 <td class="msource">
2350 <tr class="config-row expandable config-row-alt1 notInherited">
2351 <td class="micon"><a class="exi" href="#expand"> </a></td>
2354 <a id="Roo.form.ComboBox-cfg-typeAhead" name=".typeAhead"></a>
2355 <div class="fixedFont">
2356 <b class="itemname">typeAhead</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2362 <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>
2367 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)
2375 <td class="msource">
2383 <tr class="config-row expandable config-row-alt0 notInherited">
2384 <td class="micon"><a class="exi" href="#expand"> </a></td>
2387 <a id="Roo.form.ComboBox-cfg-typeAheadDelay" name=".typeAheadDelay"></a>
2388 <div class="fixedFont">
2389 <b class="itemname">typeAheadDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2395 <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>
2400 The length of time in milliseconds to wait until the typeahead text is displayed<br/>if typeAhead = true (defaults to 250)
2408 <td class="msource">
2416 <tr class="config-row expandable config-row-alt1">
2417 <td class="micon"><a class="exi" href="#expand"> </a></td>
2420 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
2421 <div class="fixedFont">
2422 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2428 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
2433 Whether the field should validate when it loses focus (defaults to true).
2441 <td class="msource">
2443 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2449 <tr class="config-row expandable config-row-alt0">
2450 <td class="micon"><a class="exi" href="#expand"> </a></td>
2453 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
2454 <div class="fixedFont">
2455 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2461 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
2466 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
2474 <td class="msource">
2476 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2482 <tr class="config-row expandable config-row-alt1">
2483 <td class="micon"><a class="exi" href="#expand"> </a></td>
2486 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
2487 <div class="fixedFont">
2488 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
2494 <div class="short">The event that should initiate field validation.</div>
2499 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
2507 <td class="msource">
2509 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2515 <tr class="config-row expandable config-row-alt0">
2516 <td class="micon"><a class="exi" href="#expand"> </a></td>
2519 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
2520 <div class="fixedFont">
2521 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
2527 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
2532 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.
2540 <td class="msource">
2542 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
2548 <tr class="config-row expandable config-row-alt1">
2549 <td class="micon"><a class="exi" href="#expand"> </a></td>
2552 <a id="Roo.form.Field-cfg-value" name=".value"></a>
2553 <div class="fixedFont">
2554 <b class="itemname">value</b> : Mixed
2560 <div class="short">A value to initialize this field with.</div>
2565 A value to initialize this field with.
2573 <td class="msource">
2575 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2581 <tr class="config-row expandable config-row-alt0 notInherited">
2582 <td class="micon"><a class="exi" href="#expand"> </a></td>
2585 <a id="Roo.form.ComboBox-cfg-valueField" name=".valueField"></a>
2586 <div class="fixedFont">
2587 <b class="itemname">valueField</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2593 <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>
2598 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.
2606 <td class="msource">
2614 <tr class="config-row expandable config-row-alt1 notInherited">
2615 <td class="micon"><a class="exi" href="#expand"> </a></td>
2618 <a id="Roo.form.ComboBox-cfg-valueNotFoundText" name=".valueNotFoundText"></a>
2619 <div class="fixedFont">
2620 <b class="itemname">valueNotFoundText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2626 <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>
2631 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)
2639 <td class="msource">
2647 <tr class="config-row expandable config-row-alt0">
2648 <td class="micon"><a class="exi" href="#expand"> </a></td>
2651 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
2652 <div class="fixedFont">
2653 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2659 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
2664 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
2672 <td class="msource">
2674 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
2680 <tr class="config-row expandable config-row-alt1">
2681 <td class="micon"><a class="exi" href="#expand"> </a></td>
2684 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
2685 <div class="fixedFont">
2686 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2692 <div class="short">width (optional) size of component</div>
2697 width (optional) size of component
2705 <td class="msource">
2707 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2723 <!-- ============================== public properties ==================== -->
2727 <a id="Roo.form.ComboBox-props"></a>
2733 <table cellspacing="0" class="member-table">
2734 <caption class="Empty">Public Properties - Has None</caption>
2740 <!-- ============================== methods summary / details ======================== -->
2743 <a id="Roo.form.ComboBox-methods"></a>
2744 <!-- constructor?? -->
2751 <!-- then dynamics first -->
2758 <table cellspacing="0" class="member-table">
2759 <caption>Public Methods</caption>
2761 <th class="sig-header" colspan="2">Method</th>
2762 <th class="msource-header">Defined By</th>
2772 <tr class="method-row config-row-alt0 expandable notInherited">
2773 <td class="micon"><a class="exi" href="#expand"> </a></td>
2777 <a id="Roo.form-method-ComboBox" name=".ComboBox"></a>
2778 <div class="fixedFont">
2779 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">ComboBox</b>
2781 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
2789 <div class="short">Create a new Roo.form.ComboBox</div>
2796 Create a new Roo.form.ComboBox
2799 <dl class="detailList">
2800 <dt class="heading">Parameters:</dt>
2803 <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>
2806 <dd>Configuration options</dd>
2824 <td class="msource">
2830 <tr class="method-row config-row-alt1 expandable">
2831 <td class="micon"><a class="exi" href="#expand"> </a></td>
2835 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
2836 <div class="fixedFont">
2837 <span class="attributes"></span><b class="itemname">addEvents</b>
2839 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
2846 <div class="short">Used to define events on this Observable</div>
2852 Used to define events on this Observable
2859 <dl class="detailList">
2860 <dt class="heading">Parameters:</dt>
2863 <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>
2866 <dd>The object with the events defined</dd>
2884 <td class="msource">
2886 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2892 <tr class="method-row config-row-alt0 expandable">
2893 <td class="micon"><a class="exi" href="#expand"> </a></td>
2897 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
2898 <div class="fixedFont">
2899 <span class="attributes"></span><b class="itemname">addListener</b>
2901 (<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>)
2908 <div class="short">Appends an event handler to this component</div>
2914 Appends an event handler to this component
2921 <dl class="detailList">
2922 <dt class="heading">Parameters:</dt>
2925 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2928 <dd>The type of event to listen for</dd>
2931 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2934 <dd>The method the event invokes</dd>
2937 <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>
2940 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2943 <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>
2946 <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>
2964 <td class="msource">
2966 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2972 <tr class="method-row config-row-alt1 expandable">
2973 <td class="micon"><a class="exi" href="#expand"> </a></td>
2977 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
2978 <div class="fixedFont">
2979 <span class="attributes"></span><b class="itemname">applyTo</b>
2981 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
2987 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2996 <div class="short">Apply the behaviors of this component to an existing element.</div>
3002 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
3009 <dl class="detailList">
3010 <dt class="heading">Parameters:</dt>
3013 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
3016 <dd>The id of the node, a DOM node or an existing Element</dd>
3024 <dl class="detailList">
3025 <dt class="heading">Returns:</dt>
3027 <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>
3041 <td class="msource">
3043 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3049 <tr class="method-row config-row-alt0 expandable">
3050 <td class="micon"><a class="exi" href="#expand"> </a></td>
3054 <a id="Roo.form.TriggerField-method-autoSize" name=".autoSize"></a>
3055 <div class="fixedFont">
3056 <span class="attributes"></span><b class="itemname">autoSize</b>
3065 <div class="short"></div>
3092 <td class="msource">
3094 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
3100 <tr class="method-row config-row-alt1 expandable">
3101 <td class="micon"><a class="exi" href="#expand"> </a></td>
3105 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
3106 <div class="fixedFont">
3107 <span class="attributes"></span><b class="itemname">clearInvalid</b>
3116 <div class="short">Clear any invalid styles/messages for this field</div>
3122 Clear any invalid styles/messages for this field
3143 <td class="msource">
3145 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3151 <tr class="method-row config-row-alt0 expandable notInherited">
3152 <td class="micon"><a class="exi" href="#expand"> </a></td>
3156 <a id="Roo.form.ComboBox-method-clearValue" name=".clearValue"></a>
3157 <div class="fixedFont">
3158 <span class="attributes"></span><b class="itemname">clearValue</b>
3167 <div class="short">Clears any text/value currently set in the field</div>
3173 Clears any text/value currently set in the field
3194 <td class="msource">
3202 <tr class="method-row config-row-alt1 expandable notInherited">
3203 <td class="micon"><a class="exi" href="#expand"> </a></td>
3207 <a id="Roo.form.ComboBox-method-collapse" name=".collapse"></a>
3208 <div class="fixedFont">
3209 <span class="attributes"></span><b class="itemname">collapse</b>
3218 <div class="short">Hides the dropdown list if it is currently expanded.</div>
3224 Hides the dropdown list if it is currently expanded. Fires the 'collapse' event on completion.
3245 <td class="msource">
3253 <tr class="method-row config-row-alt0 expandable">
3254 <td class="micon"><a class="exi" href="#expand"> </a></td>
3258 <a id="Roo.Component-method-destroy" name=".destroy"></a>
3259 <div class="fixedFont">
3260 <span class="attributes"></span><b class="itemname">destroy</b>
3269 <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>
3275 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}.
3296 <td class="msource">
3298 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3304 <tr class="method-row config-row-alt1 expandable">
3305 <td class="micon"><a class="exi" href="#expand"> </a></td>
3309 <a id="Roo.Component-method-disable" name=".disable"></a>
3310 <div class="fixedFont">
3311 <span class="attributes"></span><b class="itemname">disable</b>
3319 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3328 <div class="short">Disable this component.</div>
3334 Disable this component.
3345 <dl class="detailList">
3346 <dt class="heading">Returns:</dt>
3348 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3362 <td class="msource">
3364 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3370 <tr class="method-row config-row-alt0 expandable notInherited">
3371 <td class="micon"><a class="exi" href="#expand"> </a></td>
3375 <a id="Roo.form.ComboBox-method-doQuery" name=".doQuery"></a>
3376 <div class="fixedFont">
3377 <span class="attributes"></span><b class="itemname">doQuery</b>
3379 (<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>)
3386 <div class="short">Execute a query to filter the dropdown list.</div>
3392 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.
3399 <dl class="detailList">
3400 <dt class="heading">Parameters:</dt>
3403 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>query</b>
3406 <dd>The SQL query to execute</dd>
3409 <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>
3412 <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>
3430 <td class="msource">
3438 <tr class="method-row config-row-alt1 expandable">
3439 <td class="micon"><a class="exi" href="#expand"> </a></td>
3443 <a id="Roo.Component-method-enable" name=".enable"></a>
3444 <div class="fixedFont">
3445 <span class="attributes"></span><b class="itemname">enable</b>
3453 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3462 <div class="short">Enable this component.</div>
3468 Enable this component.
3479 <dl class="detailList">
3480 <dt class="heading">Returns:</dt>
3482 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3496 <td class="msource">
3498 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3504 <tr class="method-row config-row-alt0 expandable notInherited">
3505 <td class="micon"><a class="exi" href="#expand"> </a></td>
3509 <a id="Roo.form.ComboBox-method-expand" name=".expand"></a>
3510 <div class="fixedFont">
3511 <span class="attributes"></span><b class="itemname">expand</b>
3520 <div class="short">Expands the dropdown list if it is currently hidden.</div>
3526 Expands the dropdown list if it is currently hidden. Fires the 'expand' event on completion.
3547 <td class="msource">
3555 <tr class="method-row config-row-alt1 expandable">
3556 <td class="micon"><a class="exi" href="#expand"> </a></td>
3560 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
3561 <div class="fixedFont">
3562 <span class="attributes"></span><b class="itemname">fireEvent</b>
3564 (<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>)
3570 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3579 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
3585 Fires the specified event with the passed parameters (minus the event name).
3592 <dl class="detailList">
3593 <dt class="heading">Parameters:</dt>
3596 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3602 <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>
3605 <dd>Variable number of parameters are passed to handlers</dd>
3613 <dl class="detailList">
3614 <dt class="heading">Returns:</dt>
3616 <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>
3630 <td class="msource">
3632 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3638 <tr class="method-row config-row-alt0 expandable">
3639 <td class="micon"><a class="exi" href="#expand"> </a></td>
3643 <a id="Roo.Component-method-focus" name=".focus"></a>
3644 <div class="fixedFont">
3645 <span class="attributes"></span><b class="itemname">focus</b>
3647 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
3653 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3662 <div class="short">Try to focus this component.</div>
3668 Try to focus this component.
3675 <dl class="detailList">
3676 <dt class="heading">Parameters:</dt>
3679 <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>
3682 <dd>True to also select the text in this component (if applicable)</dd>
3690 <dl class="detailList">
3691 <dt class="heading">Returns:</dt>
3693 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3707 <td class="msource">
3709 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3715 <tr class="method-row config-row-alt1 expandable">
3716 <td class="micon"><a class="exi" href="#expand"> </a></td>
3720 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
3721 <div class="fixedFont">
3722 <span class="attributes"></span><b class="itemname">getBox</b>
3724 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
3731 <div class="short">Gets the current box measurements of the component's underlying element.</div>
3737 Gets the current box measurements of the component's underlying element.
3744 <dl class="detailList">
3745 <dt class="heading">Parameters:</dt>
3748 <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>
3751 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
3769 <td class="msource">
3771 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3777 <tr class="method-row config-row-alt0 expandable">
3778 <td class="micon"><a class="exi" href="#expand"> </a></td>
3782 <a id="Roo.Component-method-getEl" name=".getEl"></a>
3783 <div class="fixedFont">
3784 <span class="attributes"></span><b class="itemname">getEl</b>
3792 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
3801 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
3807 Returns the underlying {<b>link</b> Roo.Element}.
3818 <dl class="detailList">
3819 <dt class="heading">Returns:</dt>
3821 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
3835 <td class="msource">
3837 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3843 <tr class="method-row config-row-alt1 expandable">
3844 <td class="micon"><a class="exi" href="#expand"> </a></td>
3848 <a id="Roo.Component-method-getId" name=".getId"></a>
3849 <div class="fixedFont">
3850 <span class="attributes"></span><b class="itemname">getId</b>
3858 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
3867 <div class="short">Returns the id of this component.</div>
3873 Returns the id of this component.
3884 <dl class="detailList">
3885 <dt class="heading">Returns:</dt>
3887 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
3901 <td class="msource">
3903 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3909 <tr class="method-row config-row-alt0 expandable">
3910 <td class="micon"><a class="exi" href="#expand"> </a></td>
3914 <a id="Roo.form.Field-method-getName" name=".getName"></a>
3915 <div class="fixedFont">
3916 <span class="attributes"></span><b class="itemname">getName</b>
3924 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
3933 <div class="short">Returns the name attribute of the field if available</div>
3939 Returns the name attribute of the field if available
3950 <dl class="detailList">
3951 <dt class="heading">Returns:</dt>
3953 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
3967 <td class="msource">
3969 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3975 <tr class="method-row config-row-alt1 expandable">
3976 <td class="micon"><a class="exi" href="#expand"> </a></td>
3980 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
3981 <div class="fixedFont">
3982 <span class="attributes"></span><b class="itemname">getPosition</b>
3984 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
3990 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
3999 <div class="short">Gets the current XY position of the component's underlying element.</div>
4005 Gets the current XY position of the component's underlying element.
4012 <dl class="detailList">
4013 <dt class="heading">Parameters:</dt>
4016 <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>
4019 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
4027 <dl class="detailList">
4028 <dt class="heading">Returns:</dt>
4030 <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>
4044 <td class="msource">
4046 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4052 <tr class="method-row config-row-alt0 expandable">
4053 <td class="micon"><a class="exi" href="#expand"> </a></td>
4057 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
4058 <div class="fixedFont">
4059 <span class="attributes"></span><b class="itemname">getRawValue</b>
4076 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
4082 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>}.
4093 <dl class="detailList">
4094 <dt class="heading">Returns:</dt>
4096 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
4110 <td class="msource">
4112 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4118 <tr class="method-row config-row-alt1 expandable">
4119 <td class="micon"><a class="exi" href="#expand"> </a></td>
4123 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
4124 <div class="fixedFont">
4125 <span class="attributes"></span><b class="itemname">getSize</b>
4133 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
4142 <div class="short">Gets the current size of the component's underlying element.</div>
4148 Gets the current size of the component's underlying element.
4159 <dl class="detailList">
4160 <dt class="heading">Returns:</dt>
4162 <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>
4176 <td class="msource">
4178 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4184 <tr class="method-row config-row-alt0 expandable notInherited">
4185 <td class="micon"><a class="exi" href="#expand"> </a></td>
4189 <a id="Roo.form.ComboBox-method-getValue" name=".getValue"></a>
4190 <div class="fixedFont">
4191 <span class="attributes"></span><b class="itemname">getValue</b>
4199 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
4208 <div class="short">Returns the currently selected field value or empty string if no value is set.</div>
4214 Returns the currently selected field value or empty string if no value is set.
4225 <dl class="detailList">
4226 <dt class="heading">Returns:</dt>
4228 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> value The selected value</dd>
4242 <td class="msource">
4250 <tr class="method-row config-row-alt1 expandable">
4251 <td class="micon"><a class="exi" href="#expand"> </a></td>
4255 <a id="Roo.form.Field-method-hasChanged" name=".hasChanged"></a>
4256 <div class="fixedFont">
4257 <span class="attributes"></span><b class="itemname">hasChanged</b>
4266 <div class="short">checks the current value against the 'loaded' value.</div>
4272 checks the current value against the 'loaded' value.<br/>Note - will return false if 'resetHasChanged' has not been called first.
4293 <td class="msource">
4295 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4301 <tr class="method-row config-row-alt0 expandable">
4302 <td class="micon"><a class="exi" href="#expand"> </a></td>
4306 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
4307 <div class="fixedFont">
4308 <span class="attributes"></span><b class="itemname">hasListener</b>
4310 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
4316 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4325 <div class="short">Checks to see if this object has any listeners for a specified event</div>
4331 Checks to see if this object has any listeners for a specified event
4338 <dl class="detailList">
4339 <dt class="heading">Parameters:</dt>
4342 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4345 <dd>The name of the event to check for</dd>
4353 <dl class="detailList">
4354 <dt class="heading">Returns:</dt>
4356 <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>
4370 <td class="msource">
4372 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4378 <tr class="method-row config-row-alt1 expandable">
4379 <td class="micon"><a class="exi" href="#expand"> </a></td>
4383 <a id="Roo.Component-method-hide" name=".hide"></a>
4384 <div class="fixedFont">
4385 <span class="attributes"></span><b class="itemname">hide</b>
4393 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4402 <div class="short">Hide this component.</div>
4408 Hide this component.
4419 <dl class="detailList">
4420 <dt class="heading">Returns:</dt>
4422 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4436 <td class="msource">
4438 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4444 <tr class="method-row config-row-alt0 expandable">
4445 <td class="micon"><a class="exi" href="#expand"> </a></td>
4449 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
4450 <div class="fixedFont">
4451 <span class="attributes"></span><b class="itemname">isDirty</b>
4460 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
4466 Returns true if this field has been changed since it was originally loaded and is not disabled.<br/>DEPRICATED - it never worked well - use hasChanged/resetHasChanged.
4487 <td class="msource">
4489 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4495 <tr class="method-row config-row-alt1 expandable notInherited">
4496 <td class="micon"><a class="exi" href="#expand"> </a></td>
4500 <a id="Roo.form.ComboBox-method-isExpanded" name=".isExpanded"></a>
4501 <div class="fixedFont">
4502 <span class="attributes"></span><b class="itemname">isExpanded</b>
4511 <div class="short">Returns true if the dropdown list is expanded, else false.</div>
4517 Returns true if the dropdown list is expanded, else false.
4538 <td class="msource">
4546 <tr class="method-row config-row-alt0 expandable">
4547 <td class="micon"><a class="exi" href="#expand"> </a></td>
4551 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
4552 <div class="fixedFont">
4553 <span class="attributes"></span><b class="itemname">isValid</b>
4555 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
4561 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4570 <div class="short">Returns whether or not the field value is currently valid</div>
4576 Returns whether or not the field value is currently valid
4583 <dl class="detailList">
4584 <dt class="heading">Parameters:</dt>
4587 <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>
4590 <dd>True to disable marking the field invalid</dd>
4598 <dl class="detailList">
4599 <dt class="heading">Returns:</dt>
4601 <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>
4615 <td class="msource">
4617 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4623 <tr class="method-row config-row-alt1 expandable">
4624 <td class="micon"><a class="exi" href="#expand"> </a></td>
4628 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
4629 <div class="fixedFont">
4630 <span class="attributes"></span><b class="itemname">isVisible</b>
4639 <div class="short">Returns true if this component is visible.</div>
4645 Returns true if this component is visible.
4666 <td class="msource">
4668 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4674 <tr class="method-row config-row-alt0 expandable">
4675 <td class="micon"><a class="exi" href="#expand"> </a></td>
4679 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
4680 <div class="fixedFont">
4681 <span class="attributes"></span><b class="itemname">markInvalid</b>
4683 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
4690 <div class="short">Mark this field as invalid</div>
4696 Mark this field as invalid
4703 <dl class="detailList">
4704 <dt class="heading">Parameters:</dt>
4707 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4710 <dd>The validation message</dd>
4728 <td class="msource">
4730 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4736 <tr class="method-row config-row-alt1 expandable">
4737 <td class="micon"><a class="exi" href="#expand"> </a></td>
4741 <a id="Roo.util.Observable-method-on" name=".on"></a>
4742 <div class="fixedFont">
4743 <span class="attributes"></span><b class="itemname">on</b>
4745 (<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>)
4752 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
4758 Appends an event handler to this element (shorthand for addListener)
4765 <dl class="detailList">
4766 <dt class="heading">Parameters:</dt>
4769 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4772 <dd>The type of event to listen for</dd>
4775 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4778 <dd>The method the event invokes</dd>
4781 <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>
4784 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
4787 <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>
4808 <td class="msource">
4810 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4816 <tr class="method-row config-row-alt0 expandable">
4817 <td class="micon"><a class="exi" href="#expand"> </a></td>
4821 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
4822 <div class="fixedFont">
4823 <span class="attributes"></span><b class="itemname">onPosition</b>
4825 (<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>)
4832 <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>
4838 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.
4845 <dl class="detailList">
4846 <dt class="heading">Parameters:</dt>
4849 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4852 <dd>The new x position</dd>
4855 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4858 <dd>The new y position</dd>
4876 <td class="msource">
4878 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4884 <tr class="method-row config-row-alt1 expandable">
4885 <td class="micon"><a class="exi" href="#expand"> </a></td>
4889 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
4890 <div class="fixedFont">
4891 <span class="attributes"></span><b class="itemname">onResize</b>
4893 (<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>)
4900 <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>
4906 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.
4913 <dl class="detailList">
4914 <dt class="heading">Parameters:</dt>
4917 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
4920 <dd>The box-adjusted width that was set</dd>
4923 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
4926 <dd>The box-adjusted height that was set</dd>
4929 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
4932 <dd>The width that was originally specified</dd>
4935 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
4938 <dd>The height that was originally specified</dd>
4956 <td class="msource">
4958 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4964 <tr class="method-row config-row-alt0 expandable">
4965 <td class="micon"><a class="exi" href="#expand"> </a></td>
4969 <a id="Roo.form.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
4970 <div class="fixedFont">
4971 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
4973 (EventObject <B><i>e</i></B>)
4980 <div class="short">The function that should handle the trigger's click event.</div>
4986 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
4993 <dl class="detailList">
4994 <dt class="heading">Parameters:</dt>
4997 <span class="fixedFont">EventObject</span> <b>e</b>
5018 <td class="msource">
5020 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
5026 <tr class="method-row config-row-alt1 expandable">
5027 <td class="micon"><a class="exi" href="#expand"> </a></td>
5031 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
5032 <div class="fixedFont">
5033 <span class="attributes"></span><b class="itemname">purgeListeners</b>
5042 <div class="short">Removes all listeners for this object</div>
5048 Removes all listeners for this object
5069 <td class="msource">
5071 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
5077 <tr class="method-row config-row-alt0 expandable">
5078 <td class="micon"><a class="exi" href="#expand"> </a></td>
5082 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
5083 <div class="fixedFont">
5084 <span class="attributes"></span><b class="itemname">removeListener</b>
5086 (<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>)
5093 <div class="short">Removes a listener</div>
5106 <dl class="detailList">
5107 <dt class="heading">Parameters:</dt>
5110 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
5113 <dd>The type of event to listen for</dd>
5116 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
5119 <dd>The handler to remove</dd>
5122 <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>
5125 <dd>(optional) The scope (this object) for the handler</dd>
5143 <td class="msource">
5145 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
5151 <tr class="method-row config-row-alt1 expandable">
5152 <td class="micon"><a class="exi" href="#expand"> </a></td>
5156 <a id="Roo.Component-method-render" name=".render"></a>
5157 <div class="fixedFont">
5158 <span class="attributes"></span><b class="itemname">render</b>
5160 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
5167 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
5173 If this is a lazy rendering component, render it to its container element.
5180 <dl class="detailList">
5181 <dt class="heading">Parameters:</dt>
5184 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
5187 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
5205 <td class="msource">
5207 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5213 <tr class="method-row config-row-alt0 expandable">
5214 <td class="micon"><a class="exi" href="#expand"> </a></td>
5218 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
5219 <div class="fixedFont">
5220 <span class="attributes"></span><b class="itemname">reset</b>
5229 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
5235 Resets the current field value to the originally-loaded value and clears any validation messages.
5256 <td class="msource">
5258 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5264 <tr class="method-row config-row-alt1 expandable">
5265 <td class="micon"><a class="exi" href="#expand"> </a></td>
5269 <a id="Roo.form.Field-method-resetHasChanged" name=".resetHasChanged"></a>
5270 <div class="fixedFont">
5271 <span class="attributes"></span><b class="itemname">resetHasChanged</b>
5280 <div class="short">stores the current value in loadedValue</div>
5286 stores the current value in loadedValue
5307 <td class="msource">
5309 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5315 <tr class="method-row config-row-alt0 expandable notInherited">
5316 <td class="micon"><a class="exi" href="#expand"> </a></td>
5320 <a id="Roo.form.ComboBox-method-select" name=".select"></a>
5321 <div class="fixedFont">
5322 <span class="attributes"></span><b class="itemname">select</b>
5324 (<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>)
5331 <div class="short">Select an item in the dropdown list by its numeric index in the list.</div>
5337 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.
5344 <dl class="detailList">
5345 <dt class="heading">Parameters:</dt>
5348 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
5351 <dd>The zero-based index of the list 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>
5375 <td class="msource">
5383 <tr class="method-row config-row-alt1 expandable notInherited">
5384 <td class="micon"><a class="exi" href="#expand"> </a></td>
5388 <a id="Roo.form.ComboBox-method-selectByValue" name=".selectByValue"></a>
5389 <div class="fixedFont">
5390 <span class="attributes"></span><b class="itemname">selectByValue</b>
5392 (<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>)
5398 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
5407 <div class="short">Select an item in the dropdown list by its data value.</div>
5413 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.
5420 <dl class="detailList">
5421 <dt class="heading">Parameters:</dt>
5424 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
5427 <dd>The data value of the item to select</dd>
5430 <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>
5433 <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>
5441 <dl class="detailList">
5442 <dt class="heading">Returns:</dt>
5444 <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>
5458 <td class="msource">
5466 <tr class="method-row config-row-alt0 expandable">
5467 <td class="micon"><a class="exi" href="#expand"> </a></td>
5471 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
5472 <div class="fixedFont">
5473 <span class="attributes"></span><b class="itemname">selectText</b>
5475 (<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>)
5482 <div class="short">Selects text in this field</div>
5488 Selects text in this field
5495 <dl class="detailList">
5496 <dt class="heading">Parameters:</dt>
5499 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
5502 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
5505 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
5508 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
5526 <td class="msource">
5528 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5534 <tr class="method-row config-row-alt1 expandable">
5535 <td class="micon"><a class="exi" href="#expand"> </a></td>
5539 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
5540 <div class="fixedFont">
5541 <span class="attributes"></span><b class="itemname">setDisabled</b>
5543 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
5550 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
5556 Convenience function for setting disabled/enabled by boolean.
5563 <dl class="detailList">
5564 <dt class="heading">Parameters:</dt>
5567 <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>
5588 <td class="msource">
5590 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5596 <tr class="method-row config-row-alt0 expandable notInherited">
5597 <td class="micon"><a class="exi" href="#expand"> </a></td>
5601 <a id="Roo.form.ComboBox-method-setEditable" name=".setEditable"></a>
5602 <div class="fixedFont">
5603 <span class="attributes"></span><b class="itemname">setEditable</b>
5605 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>value</i></B>)
5612 <div class="short">Allow or prevent the user from directly editing the field text.</div>
5618 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.
5625 <dl class="detailList">
5626 <dt class="heading">Parameters:</dt>
5629 <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>
5632 <dd>True to allow the user to directly edit the field text</dd>
5650 <td class="msource">
5658 <tr class="method-row config-row-alt1 expandable notInherited">
5659 <td class="micon"><a class="exi" href="#expand"> </a></td>
5663 <a id="Roo.form.ComboBox-method-setFromData" name=".setFromData"></a>
5664 <div class="fixedFont">
5665 <span class="attributes"></span><b class="itemname">setFromData</b>
5667 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>value</i></B>)
5674 <div class="short">Sets the value of the field based on a object which is related to the record format for the store.</div>
5680 Sets the value of the field based on a object which is related to the record format for the store.
5687 <dl class="detailList">
5688 <dt class="heading">Parameters:</dt>
5691 <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>
5694 <dd>the value to set as. or false on reset?</dd>
5712 <td class="msource">
5720 <tr class="method-row config-row-alt0 expandable">
5721 <td class="micon"><a class="exi" href="#expand"> </a></td>
5725 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
5726 <div class="fixedFont">
5727 <span class="attributes"></span><b class="itemname">setPagePosition</b>
5729 (<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>)
5736 <div class="short">Sets the page XY position of the component.</div>
5742 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.
5749 <dl class="detailList">
5750 <dt class="heading">Parameters:</dt>
5753 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5756 <dd>The new x position</dd>
5759 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5762 <dd>The new y position</dd>
5780 <td class="msource">
5782 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5788 <tr class="method-row config-row-alt1 expandable">
5789 <td class="micon"><a class="exi" href="#expand"> </a></td>
5793 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
5794 <div class="fixedFont">
5795 <span class="attributes"></span><b class="itemname">setPosition</b>
5797 (<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>)
5804 <div class="short">Sets the left and top of the component.</div>
5810 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.
5817 <dl class="detailList">
5818 <dt class="heading">Parameters:</dt>
5821 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
5824 <dd>The new left</dd>
5827 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
5830 <dd>The new top</dd>
5848 <td class="msource">
5850 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5856 <tr class="method-row config-row-alt0 expandable">
5857 <td class="micon"><a class="exi" href="#expand"> </a></td>
5861 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
5862 <div class="fixedFont">
5863 <span class="attributes"></span><b class="itemname">setRawValue</b>
5865 (Mixed <B><i>value</i></B>)
5872 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
5878 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
5885 <dl class="detailList">
5886 <dt class="heading">Parameters:</dt>
5889 <span class="fixedFont">Mixed</span> <b>value</b>
5892 <dd>The value to set</dd>
5910 <td class="msource">
5912 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5918 <tr class="method-row config-row-alt1 expandable">
5919 <td class="micon"><a class="exi" href="#expand"> </a></td>
5923 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
5924 <div class="fixedFont">
5925 <span class="attributes"></span><b class="itemname">setSize</b>
5927 (<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>)
5933 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5942 <div class="short">Sets the width and height of the component.</div>
5948 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}.
5955 <dl class="detailList">
5956 <dt class="heading">Parameters:</dt>
5959 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
5962 <dd>The new width to set, or a size object in the format {width, height}</dd>
5965 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
5968 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
5976 <dl class="detailList">
5977 <dt class="heading">Returns:</dt>
5979 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
5993 <td class="msource">
5995 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
6001 <tr class="method-row config-row-alt0 expandable notInherited">
6002 <td class="micon"><a class="exi" href="#expand"> </a></td>
6006 <a id="Roo.form.ComboBox-method-setValue" name=".setValue"></a>
6007 <div class="fixedFont">
6008 <span class="attributes"></span><b class="itemname">setValue</b>
6010 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>value</i></B>)
6017 <div class="short">Sets the specified value into the field.</div>
6023 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).
6030 <dl class="detailList">
6031 <dt class="heading">Parameters:</dt>
6034 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
6037 <dd>The value to match</dd>
6055 <td class="msource">
6063 <tr class="method-row config-row-alt1 expandable">
6064 <td class="micon"><a class="exi" href="#expand"> </a></td>
6068 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
6069 <div class="fixedFont">
6070 <span class="attributes"></span><b class="itemname">setVisible</b>
6072 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
6078 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6087 <div class="short">Convenience function to hide or show this component by boolean.</div>
6093 Convenience function to hide or show this component by boolean.
6100 <dl class="detailList">
6101 <dt class="heading">Parameters:</dt>
6104 <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>
6107 <dd>True to show, false to hide</dd>
6115 <dl class="detailList">
6116 <dt class="heading">Returns:</dt>
6118 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
6132 <td class="msource">
6134 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6140 <tr class="method-row config-row-alt0 expandable">
6141 <td class="micon"><a class="exi" href="#expand"> </a></td>
6145 <a id="Roo.Component-method-show" name=".show"></a>
6146 <div class="fixedFont">
6147 <span class="attributes"></span><b class="itemname">show</b>
6155 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6164 <div class="short">Show this component.</div>
6170 Show this component.
6181 <dl class="detailList">
6182 <dt class="heading">Returns:</dt>
6184 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
6198 <td class="msource">
6200 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6206 <tr class="method-row config-row-alt1 expandable">
6207 <td class="micon"><a class="exi" href="#expand"> </a></td>
6211 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
6212 <div class="fixedFont">
6213 <span class="attributes"></span><b class="itemname">syncSize</b>
6222 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
6228 Force the component's size to recalculate based on the underlying element's current height and width.
6249 <td class="msource">
6251 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
6257 <tr class="method-row config-row-alt0 expandable">
6258 <td class="micon"><a class="exi" href="#expand"> </a></td>
6262 <a id="Roo.util.Observable-method-un" name=".un"></a>
6263 <div class="fixedFont">
6264 <span class="attributes"></span><b class="itemname">un</b>
6266 (<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>)
6273 <div class="short">Removes a listener (shorthand for removeListener)</div>
6279 Removes a listener (shorthand for removeListener)
6286 <dl class="detailList">
6287 <dt class="heading">Parameters:</dt>
6290 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
6293 <dd>The type of event to listen for</dd>
6296 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
6299 <dd>The handler to remove</dd>
6302 <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>
6305 <dd>(optional) The scope (this object) for the handler</dd>
6323 <td class="msource">
6325 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
6331 <tr class="method-row config-row-alt1 expandable">
6332 <td class="micon"><a class="exi" href="#expand"> </a></td>
6336 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
6337 <div class="fixedFont">
6338 <span class="attributes"></span><b class="itemname">updateBox</b>
6340 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
6347 <div class="short">Sets the current box measurements of the component's underlying element.</div>
6353 Sets the current box measurements of the component's underlying element.
6360 <dl class="detailList">
6361 <dt class="heading">Parameters:</dt>
6364 <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>
6367 <dd>An object in the format {x, y, width, height}</dd>
6385 <td class="msource">
6387 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
6393 <tr class="method-row config-row-alt0 expandable">
6394 <td class="micon"><a class="exi" href="#expand"> </a></td>
6398 <a id="Roo.form.Field-method-validate" name=".validate"></a>
6399 <div class="fixedFont">
6400 <span class="attributes"></span><b class="itemname">validate</b>
6408 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6417 <div class="short">Validates the field value</div>
6423 Validates the field value
6434 <dl class="detailList">
6435 <dt class="heading">Returns:</dt>
6437 <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>
6451 <td class="msource">
6453 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6459 <tr class="method-row config-row-alt1 expandable">
6460 <td class="micon"><a class="exi" href="#expand"> </a></td>
6464 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
6465 <div class="fixedFont">
6466 <span class="attributes"></span><b class="itemname">validateValue</b>
6468 (Mixed <B><i>value</i></B>)
6474 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
6483 <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>
6489 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
6496 <dl class="detailList">
6497 <dt class="heading">Parameters:</dt>
6500 <span class="fixedFont">Mixed</span> <b>value</b>
6503 <dd>The value to validate</dd>
6511 <dl class="detailList">
6512 <dt class="heading">Returns:</dt>
6514 <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>
6528 <td class="msource">
6530 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
6539 <!-- ============================== events summary / details ======================== -->
6542 <a id="Roo.form.ComboBox-events"></a>
6551 <table cellspacing="0" class="member-table">
6552 <caption>Events</caption>
6555 <th class="sig-header" colspan="2">Event</th>
6556 <th class="msource-header">Defined By</th>
6565 <tr class="method-row expandable config-row-alt0 notInherited">
6566 <td class="micon"><a class="exi" href="#expand"> </a></td>
6569 <a id="Roo.form.ComboBox-event-*add"></a>
6571 <div class="fixedFont">
6572 <b class="itemname">add</b> (<a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a> <B><i>combo</i></B>)
6578 <div class="short">Fires when the 'add' icon is pressed (add a listener to enable add button)
6584 Fires when the 'add' icon is pressed (add a listener to enable add button)
6590 <dl class="detailList">
6591 <dt class="heading">Parameters:</dt>
6594 <span class="fixedFont"><a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a></span> <b>combo</b>
6597 <dd>This combo box</dd>
6615 <td class="msource">
6620 <tr class="method-row expandable config-row-alt1">
6621 <td class="micon"><a class="exi" href="#expand"> </a></td>
6624 <a id="Roo.form.TextField-event-*autosize"></a>
6626 <div class="fixedFont">
6627 <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>)
6633 <div class="short">Fires when the autosize function is triggered.
6639 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.
6645 <dl class="detailList">
6646 <dt class="heading">Parameters:</dt>
6649 <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>
6652 <dd>This text field</dd>
6655 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
6658 <dd>The new field width</dd>
6676 <td class="msource">
6677 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
6681 <tr class="method-row expandable config-row-alt0">
6682 <td class="micon"><a class="exi" href="#expand"> </a></td>
6685 <a id="Roo.Component-event-*beforedestroy"></a>
6687 <div class="fixedFont">
6688 <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>)
6694 <div class="short">Fires before the component is destroyed.
6700 Fires before the component is destroyed. Return false to stop the destroy.
6706 <dl class="detailList">
6707 <dt class="heading">Parameters:</dt>
6710 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6731 <td class="msource">
6732 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6736 <tr class="method-row expandable config-row-alt1">
6737 <td class="micon"><a class="exi" href="#expand"> </a></td>
6740 <a id="Roo.Component-event-*beforehide"></a>
6742 <div class="fixedFont">
6743 <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>)
6749 <div class="short">Fires before the component is hidden.
6755 Fires before the component is hidden. Return false to stop the hide.
6761 <dl class="detailList">
6762 <dt class="heading">Parameters:</dt>
6765 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6786 <td class="msource">
6787 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6791 <tr class="method-row expandable config-row-alt0 notInherited">
6792 <td class="micon"><a class="exi" href="#expand"> </a></td>
6795 <a id="Roo.form.ComboBox-event-*beforequery"></a>
6797 <div class="fixedFont">
6798 <b class="itemname">beforequery</b> (<a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a> <B><i>combo</i></B>, <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>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>cancel</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>e</i></B>)
6804 <div class="short">Fires before all queries are processed.
6810 Fires before all queries are processed. Return false to cancel the query or set cancel to true.<br/>The event object passed has these properties:
6816 <dl class="detailList">
6817 <dt class="heading">Parameters:</dt>
6820 <span class="fixedFont"><a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a></span> <b>combo</b>
6823 <dd>This combo box</dd>
6826 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>query</b>
6832 <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>
6835 <dd>true to force "all" query</dd>
6838 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>cancel</b>
6841 <dd>true to cancel the query</dd>
6844 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>e</b>
6847 <dd>The query event object</dd>
6865 <td class="msource">
6870 <tr class="method-row expandable config-row-alt1">
6871 <td class="micon"><a class="exi" href="#expand"> </a></td>
6874 <a id="Roo.Component-event-*beforerender"></a>
6876 <div class="fixedFont">
6877 <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>)
6883 <div class="short">Fires before the component is rendered.
6889 Fires before the component is rendered. Return false to stop the render.
6895 <dl class="detailList">
6896 <dt class="heading">Parameters:</dt>
6899 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6920 <td class="msource">
6921 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6925 <tr class="method-row expandable config-row-alt0 notInherited">
6926 <td class="micon"><a class="exi" href="#expand"> </a></td>
6929 <a id="Roo.form.ComboBox-event-*beforeselect"></a>
6931 <div class="fixedFont">
6932 <b class="itemname">beforeselect</b> (<a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a> <B><i>combo</i></B>, <a href="./Roo.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a> <B><i>record</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
6938 <div class="short">Fires before a list item is selected.
6944 Fires before a list item is selected. Return false to cancel the selection.
6950 <dl class="detailList">
6951 <dt class="heading">Parameters:</dt>
6954 <span class="fixedFont"><a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a></span> <b>combo</b>
6957 <dd>This combo box</dd>
6960 <span class="fixedFont"><a href="./Roo.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a></span> <b>record</b>
6963 <dd>The data record returned from the underlying store</dd>
6966 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
6969 <dd>The index of the selected item in the dropdown list</dd>
6987 <td class="msource">
6992 <tr class="method-row expandable config-row-alt1">
6993 <td class="micon"><a class="exi" href="#expand"> </a></td>
6996 <a id="Roo.Component-event-*beforeshow"></a>
6998 <div class="fixedFont">
6999 <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>)
7005 <div class="short">Fires before the component is shown.
7011 Fires before the component is shown. Return false to stop the show.
7017 <dl class="detailList">
7018 <dt class="heading">Parameters:</dt>
7021 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7042 <td class="msource">
7043 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7047 <tr class="method-row expandable config-row-alt0">
7048 <td class="micon"><a class="exi" href="#expand"> </a></td>
7051 <a id="Roo.form.Field-event-*blur"></a>
7053 <div class="fixedFont">
7054 <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>)
7060 <div class="short">Fires when this field loses input focus.
7066 Fires when this field loses input focus.
7072 <dl class="detailList">
7073 <dt class="heading">Parameters:</dt>
7076 <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>
7097 <td class="msource">
7098 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7102 <tr class="method-row expandable config-row-alt1">
7103 <td class="micon"><a class="exi" href="#expand"> </a></td>
7106 <a id="Roo.form.Field-event-*change"></a>
7108 <div class="fixedFont">
7109 <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>)
7115 <div class="short">Fires just before the field blurs if the field value has changed.
7121 Fires just before the field blurs if the field value has changed.
7127 <dl class="detailList">
7128 <dt class="heading">Parameters:</dt>
7131 <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>
7137 <span class="fixedFont">Mixed</span> <b>newValue</b>
7140 <dd>The new value</dd>
7143 <span class="fixedFont">Mixed</span> <b>oldValue</b>
7146 <dd>The original value</dd>
7164 <td class="msource">
7165 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7169 <tr class="method-row expandable config-row-alt0 notInherited">
7170 <td class="micon"><a class="exi" href="#expand"> </a></td>
7173 <a id="Roo.form.ComboBox-event-*collapse"></a>
7175 <div class="fixedFont">
7176 <b class="itemname">collapse</b> (<a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a> <B><i>combo</i></B>)
7182 <div class="short">Fires when the dropdown list is collapsed
7188 Fires when the dropdown list is collapsed
7194 <dl class="detailList">
7195 <dt class="heading">Parameters:</dt>
7198 <span class="fixedFont"><a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a></span> <b>combo</b>
7201 <dd>This combo box</dd>
7219 <td class="msource">
7224 <tr class="method-row expandable config-row-alt1">
7225 <td class="micon"><a class="exi" href="#expand"> </a></td>
7228 <a id="Roo.Component-event-*destroy"></a>
7230 <div class="fixedFont">
7231 <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>)
7237 <div class="short">Fires after the component is destroyed.
7243 Fires after the component is destroyed.
7249 <dl class="detailList">
7250 <dt class="heading">Parameters:</dt>
7253 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7274 <td class="msource">
7275 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7279 <tr class="method-row expandable config-row-alt0">
7280 <td class="micon"><a class="exi" href="#expand"> </a></td>
7283 <a id="Roo.Component-event-*disable"></a>
7285 <div class="fixedFont">
7286 <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>)
7292 <div class="short">Fires after the component is disabled.
7298 Fires after the component is disabled.
7304 <dl class="detailList">
7305 <dt class="heading">Parameters:</dt>
7308 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7329 <td class="msource">
7330 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7334 <tr class="method-row expandable config-row-alt1 notInherited">
7335 <td class="micon"><a class="exi" href="#expand"> </a></td>
7338 <a id="Roo.form.ComboBox-event-*edit"></a>
7340 <div class="fixedFont">
7341 <b class="itemname">edit</b> (<a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a> <B><i>combo</i></B>, <a href="./Roo.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a>|false <B><i>record</i></B>)
7347 <div class="short">Fires when the 'edit' icon is pressed (add a listener to enable add button)
7353 Fires when the 'edit' icon is pressed (add a listener to enable add button)
7359 <dl class="detailList">
7360 <dt class="heading">Parameters:</dt>
7363 <span class="fixedFont"><a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a></span> <b>combo</b>
7366 <dd>This combo box</dd>
7369 <span class="fixedFont"><a href="./Roo.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a>|false</span> <b>record</b>
7372 <dd>The data record returned from the underlying store (or false on nothing selected)</dd>
7390 <td class="msource">
7395 <tr class="method-row expandable config-row-alt0">
7396 <td class="micon"><a class="exi" href="#expand"> </a></td>
7399 <a id="Roo.Component-event-*enable"></a>
7401 <div class="fixedFont">
7402 <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>)
7408 <div class="short">Fires after the component is enabled.
7414 Fires after the component is enabled.
7420 <dl class="detailList">
7421 <dt class="heading">Parameters:</dt>
7424 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7445 <td class="msource">
7446 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7450 <tr class="method-row expandable config-row-alt1 notInherited">
7451 <td class="micon"><a class="exi" href="#expand"> </a></td>
7454 <a id="Roo.form.ComboBox-event-*expand"></a>
7456 <div class="fixedFont">
7457 <b class="itemname">expand</b> (<a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a> <B><i>combo</i></B>)
7463 <div class="short">Fires when the dropdown list is expanded
7469 Fires when the dropdown list is expanded
7475 <dl class="detailList">
7476 <dt class="heading">Parameters:</dt>
7479 <span class="fixedFont"><a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a></span> <b>combo</b>
7482 <dd>This combo box</dd>
7500 <td class="msource">
7505 <tr class="method-row expandable config-row-alt0">
7506 <td class="micon"><a class="exi" href="#expand"> </a></td>
7509 <a id="Roo.form.Field-event-*focus"></a>
7511 <div class="fixedFont">
7512 <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>)
7518 <div class="short">Fires when this field receives input focus.
7524 Fires when this field receives input focus.
7530 <dl class="detailList">
7531 <dt class="heading">Parameters:</dt>
7534 <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>
7555 <td class="msource">
7556 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7560 <tr class="method-row expandable config-row-alt1">
7561 <td class="micon"><a class="exi" href="#expand"> </a></td>
7564 <a id="Roo.Component-event-*hide"></a>
7566 <div class="fixedFont">
7567 <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>)
7573 <div class="short">Fires after the component is hidden.
7579 Fires after the component is hidden.
7585 <dl class="detailList">
7586 <dt class="heading">Parameters:</dt>
7589 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7610 <td class="msource">
7611 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7615 <tr class="method-row expandable config-row-alt0">
7616 <td class="micon"><a class="exi" href="#expand"> </a></td>
7619 <a id="Roo.form.Field-event-*invalid"></a>
7621 <div class="fixedFont">
7622 <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>)
7628 <div class="short">Fires after the field has been marked as invalid.
7634 Fires after the field has been marked as invalid.
7640 <dl class="detailList">
7641 <dt class="heading">Parameters:</dt>
7644 <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>
7650 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
7653 <dd>The validation message</dd>
7671 <td class="msource">
7672 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7676 <tr class="method-row expandable config-row-alt1">
7677 <td class="micon"><a class="exi" href="#expand"> </a></td>
7680 <a id="Roo.form.Field-event-*keyup"></a>
7682 <div class="fixedFont">
7683 <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>)
7689 <div class="short">Fires after the key up
7695 Fires after the key up
7701 <dl class="detailList">
7702 <dt class="heading">Parameters:</dt>
7705 <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>
7711 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
7714 <dd>The event Object</dd>
7732 <td class="msource">
7733 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
7737 <tr class="method-row expandable config-row-alt0">
7738 <td class="micon"><a class="exi" href="#expand"> </a></td>
7741 <a id="Roo.BoxComponent-event-*move"></a>
7743 <div class="fixedFont">
7744 <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>)
7750 <div class="short">Fires after the component is moved.
7756 Fires after the component is moved.
7762 <dl class="detailList">
7763 <dt class="heading">Parameters:</dt>
7766 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7772 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
7775 <dd>The new x position</dd>
7778 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
7781 <dd>The new y position</dd>
7799 <td class="msource">
7800 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
7804 <tr class="method-row expandable config-row-alt1">
7805 <td class="micon"><a class="exi" href="#expand"> </a></td>
7808 <a id="Roo.Component-event-*render"></a>
7810 <div class="fixedFont">
7811 <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>)
7817 <div class="short">Fires after the component is rendered.
7823 Fires after the component is rendered.
7829 <dl class="detailList">
7830 <dt class="heading">Parameters:</dt>
7833 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7854 <td class="msource">
7855 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
7859 <tr class="method-row expandable config-row-alt0">
7860 <td class="micon"><a class="exi" href="#expand"> </a></td>
7863 <a id="Roo.BoxComponent-event-*resize"></a>
7865 <div class="fixedFont">
7866 <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>)
7872 <div class="short">Fires after the component is resized.
7878 Fires after the component is resized.
7884 <dl class="detailList">
7885 <dt class="heading">Parameters:</dt>
7888 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
7894 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
7897 <dd>The box-adjusted width that was set</dd>
7900 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
7903 <dd>The box-adjusted height that was set</dd>
7906 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
7909 <dd>The width that was originally specified</dd>
7912 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
7915 <dd>The height that was originally specified</dd>
7933 <td class="msource">
7934 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
7938 <tr class="method-row expandable config-row-alt1 notInherited">
7939 <td class="micon"><a class="exi" href="#expand"> </a></td>
7942 <a id="Roo.form.ComboBox-event-*select"></a>
7944 <div class="fixedFont">
7945 <b class="itemname">select</b> (<a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a> <B><i>combo</i></B>, <a href="./Roo.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a> <B><i>record</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
7951 <div class="short">Fires when a list item is selected
7957 Fires when a list item is selected
7963 <dl class="detailList">
7964 <dt class="heading">Parameters:</dt>
7967 <span class="fixedFont"><a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a></span> <b>combo</b>
7970 <dd>This combo box</dd>
7973 <span class="fixedFont"><a href="./Roo.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a></span> <b>record</b>
7976 <dd>The data record returned from the underlying store (or false on clear)</dd>
7979 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
7982 <dd>The index of the selected item in the dropdown list</dd>
8000 <td class="msource">
8005 <tr class="method-row expandable config-row-alt0">
8006 <td class="micon"><a class="exi" href="#expand"> </a></td>
8009 <a id="Roo.Component-event-*show"></a>
8011 <div class="fixedFont">
8012 <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>)
8018 <div class="short">Fires after the component is shown.
8024 Fires after the component is shown.
8030 <dl class="detailList">
8031 <dt class="heading">Parameters:</dt>
8034 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
8055 <td class="msource">
8056 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
8060 <tr class="method-row expandable config-row-alt1">
8061 <td class="micon"><a class="exi" href="#expand"> </a></td>
8064 <a id="Roo.form.Field-event-*specialkey"></a>
8066 <div class="fixedFont">
8067 <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>)
8073 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
8079 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.
8085 <dl class="detailList">
8086 <dt class="heading">Parameters:</dt>
8089 <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>
8095 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
8098 <dd>The event object</dd>
8116 <td class="msource">
8117 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
8121 <tr class="method-row expandable config-row-alt0">
8122 <td class="micon"><a class="exi" href="#expand"> </a></td>
8125 <a id="Roo.form.Field-event-*valid"></a>
8127 <div class="fixedFont">
8128 <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>)
8134 <div class="short">Fires after the field has been validated with no errors.
8140 Fires after the field has been validated with no errors.
8146 <dl class="detailList">
8147 <dt class="heading">Parameters:</dt>
8150 <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>
8171 <td class="msource">
8172 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
8183 <!-- ============================== footer ================================= -->
8184 <div class="fineprint" style="clear:both">
8186 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Oct 14 2016 10:07:55 GMT+0800 (HKT)
8188 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>