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.TriggerField</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.TriggerField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.TriggerField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.TriggerField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.TriggerField-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
51 <img src="../../images/default/s.gif" height="1" width="100"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.TriggerField
56 <!-- ============================== class title / details ============================ -->
59 <h1 class="classTitle">
61 Class Roo.form.TriggerField
64 <table cellspacing="0" class="class-summary-table">
66 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
68 <tr><td class="label">Defined In:</td><td class="hd-info">
70 <a href="./src/Roo_form_TriggerField.js.html">Roo/form/TriggerField.js</a>.
73 <tr><td class="label">Class:</td><td class="hd-info">TriggerField</td></tr>
76 <tr><td class="label">Subclasses:</td><td class="hd-info">
77 <a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a>, <a href="./Roo.form.ComboCheck.html#constructor" roo:cls="Roo.form.ComboCheck.html#constructor">Roo.form.ComboCheck</a>, <a href="./Roo.form.DateField.html#constructor" roo:cls="Roo.form.DateField.html#constructor">Roo.form.DateField</a>, <a href="./Roo.form.MonthField.html#constructor" roo:cls="Roo.form.MonthField.html#constructor">Roo.form.MonthField</a>, <a href="./Roo.form.Select.html#constructor" roo:cls="Roo.form.Select.html#constructor">Roo.form.Select</a>
85 <tr><td class="label">Extends:</td><td class="hd-info">
86 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
94 <!-- ============================== class summary ========================== -->
95 <div class="description">
96 Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).<br/>The trigger has no default action, so you must assign a function to implement the trigger click handler by<br/>overriding {<b>link</b> <b>onTriggerClick</b>}. You can create a TriggerField directly, as it renders exactly like a combobox<br/>for which you can provide a custom implementation. For example:<br/><pre><code><br/>var trigger = new Roo.form.TriggerField();<br/>trigger.onTriggerClick = myTriggerFn;<br/>trigger.applyTo('my-field');<br/></code></pre><br/><br/>However, in general you will most likely want to use TriggerField as the base class for a reusable component.<br/>{<b>link</b> Roo.form.DateField} and {<b>link</b> Roo.form.ComboBox} are perfect examples of this.
100 <!-- ============================== Class comment block... ========================== -->
102 <div class="comments">
103 <b>Class Comments / Notes</B> =>
104 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.TriggerField';">[Add Your comment/notes about this class]</u>
106 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
107 src="/blog.php/GtkDjsComments/Roo.form.TriggerField.html"></iframe>
112 <!-- ============================== config options ========================== -->
117 <div class="hr"></div>
118 <a id="Roo.form.TriggerField-configs"></a>
124 <table cellspacing="0" class="member-table">
125 <caption>Config Options (Usually are also Properties)</caption>
129 <th class="sig-header" colspan="2">Options</th>
131 <th class="msource-header">Defined By</th>
138 <tr class="config-row expandable config-row-alt0">
139 <td class="micon"><a class="exi" href="#expand"> </a></td>
142 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
143 <div class="fixedFont">
144 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
150 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
155 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
165 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
171 <tr class="config-row expandable config-row-alt1">
172 <td class="micon"><a class="exi" href="#expand"> </a></td>
175 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
176 <div class="fixedFont">
177 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
183 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
188 False to validate that the value length > 0 (defaults to true)
198 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
204 <tr class="config-row expandable config-row-alt0">
205 <td class="micon"><a class="exi" href="#expand"> </a></td>
208 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
209 <div class="fixedFont">
210 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
216 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
221 Whether the component can move the Dom node when rendering (defaults to true).
231 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
237 <tr class="config-row expandable config-row-alt1 notInherited">
238 <td class="micon"><a class="exi" href="#expand"> </a></td>
241 <a id="Roo.form.TriggerField-cfg-autoCreate" name=".autoCreate"></a>
242 <div class="fixedFont">
243 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
249 <div class="short">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "16", autocomplete: "off"})</div>
254 A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "16", autocomplete: "off"})
264 Roo.form.TriggerField
270 <tr class="config-row expandable config-row-alt0">
271 <td class="micon"><a class="exi" href="#expand"> </a></td>
274 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
275 <div class="fixedFont">
276 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
282 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
287 Error text to display if the allow blank validation fails (defaults to "This field is required")
297 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
303 <tr class="config-row expandable config-row-alt1">
304 <td class="micon"><a class="exi" href="#expand"> </a></td>
307 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
308 <div class="fixedFont">
309 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
315 <div class="short">A CSS class to apply to the field's underlying element.</div>
320 A CSS class to apply to the field's underlying element.
330 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
336 <tr class="config-row expandable config-row-alt0">
337 <td class="micon"><a class="exi" href="#expand"> </a></td>
340 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
341 <div class="fixedFont">
342 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
348 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
353 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
363 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
369 <tr class="config-row expandable config-row-alt1">
370 <td class="micon"><a class="exi" href="#expand"> </a></td>
373 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
374 <div class="fixedFont">
375 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
381 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
386 True to disable input keystroke filtering (defaults to false)
396 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
402 <tr class="config-row expandable config-row-alt0">
403 <td class="micon"><a class="exi" href="#expand"> </a></td>
406 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
407 <div class="fixedFont">
408 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
414 <div class="short">True to disable the field (defaults to false).</div>
419 True to disable the field (defaults to false).
429 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
435 <tr class="config-row expandable config-row-alt1">
436 <td class="micon"><a class="exi" href="#expand"> </a></td>
439 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
440 <div class="fixedFont">
441 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
447 <div class="short">The default text to display in an empty field - placeholder.</div>
452 The default text to display in an empty field - placeholder... (defaults to null).
462 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
468 <tr class="config-row expandable config-row-alt0">
469 <td class="micon"><a class="exi" href="#expand"> </a></td>
472 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
473 <div class="fixedFont">
474 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
480 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
485 The default CSS class for the field (defaults to "x-form-field")
495 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
501 <tr class="config-row expandable config-row-alt1">
502 <td class="micon"><a class="exi" href="#expand"> </a></td>
505 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
506 <div class="fixedFont">
507 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
513 <div class="short">Label to use when rendering a form.</div>
518 Label to use when rendering a form.
528 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
534 <tr class="config-row expandable config-row-alt0">
535 <td class="micon"><a class="exi" href="#expand"> </a></td>
538 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
539 <div class="fixedFont">
540 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
546 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
551 The CSS class to use when the field receives focus (defaults to "x-form-focus")
561 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
567 <tr class="config-row expandable config-row-alt1">
568 <td class="micon"><a class="exi" href="#expand"> </a></td>
571 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
572 <div class="fixedFont">
573 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
579 <div class="short">height (optional) size of component</div>
584 height (optional) size of component
594 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
600 <tr class="config-row expandable config-row-alt0">
601 <td class="micon"><a class="exi" href="#expand"> </a></td>
604 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
605 <div class="fixedFont">
606 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
612 <div class="short">How this component should hidden.</div>
617 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
618 <BR/>Possible Values: display, visibility
627 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
633 <tr class="config-row expandable config-row-alt1 notInherited">
634 <td class="micon"><a class="exi" href="#expand"> </a></td>
637 <a id="Roo.form.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
638 <div class="fixedFont">
639 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
645 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
650 True to hide the trigger element and display only the base text field (defaults to false)
660 Roo.form.TriggerField
666 <tr class="config-row expandable config-row-alt0">
667 <td class="micon"><a class="exi" href="#expand"> </a></td>
670 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
671 <div class="fixedFont">
672 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
678 <div class="short">The type attribute for input fields -- e.g.</div>
683 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
693 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
699 <tr class="config-row expandable config-row-alt1">
700 <td class="micon"><a class="exi" href="#expand"> </a></td>
703 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
704 <div class="fixedFont">
705 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
711 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
716 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
726 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
732 <tr class="config-row expandable config-row-alt0">
733 <td class="micon"><a class="exi" href="#expand"> </a></td>
736 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
737 <div class="fixedFont">
738 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
744 <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>
749 The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
759 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
765 <tr class="config-row expandable config-row-alt1">
766 <td class="micon"><a class="exi" href="#expand"> </a></td>
769 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
770 <div class="fixedFont">
771 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
777 <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>
782 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>
792 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
798 <tr class="config-row expandable config-row-alt0">
799 <td class="micon"><a class="exi" href="#expand"> </a></td>
802 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
803 <div class="fixedFont">
804 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
810 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
815 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
825 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
831 <tr class="config-row expandable config-row-alt1">
832 <td class="micon"><a class="exi" href="#expand"> </a></td>
835 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
836 <div class="fixedFont">
837 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
843 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
848 Maximum input field length allowed (defaults to Number.MAX_VALUE)
858 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
864 <tr class="config-row expandable config-row-alt0">
865 <td class="micon"><a class="exi" href="#expand"> </a></td>
868 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
869 <div class="fixedFont">
870 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
876 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
881 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
891 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
897 <tr class="config-row expandable config-row-alt1">
898 <td class="micon"><a class="exi" href="#expand"> </a></td>
901 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
902 <div class="fixedFont">
903 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
909 <div class="short">Minimum input field length required (defaults to 0)</div>
914 Minimum input field length required (defaults to 0)
924 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
930 <tr class="config-row expandable config-row-alt0">
931 <td class="micon"><a class="exi" href="#expand"> </a></td>
934 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
935 <div class="fixedFont">
936 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
942 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
947 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
957 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
963 <tr class="config-row expandable config-row-alt1">
964 <td class="micon"><a class="exi" href="#expand"> </a></td>
967 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
968 <div class="fixedFont">
969 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
975 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
980 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
990 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
996 <tr class="config-row expandable config-row-alt0">
997 <td class="micon"><a class="exi" href="#expand"> </a></td>
1000 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1001 <div class="fixedFont">
1002 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1008 <div class="short">The location where error text should display.</div>
1013 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>
1021 <td class="msource">
1023 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1029 <tr class="config-row expandable config-row-alt1">
1030 <td class="micon"><a class="exi" href="#expand"> </a></td>
1033 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1034 <div class="fixedFont">
1035 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1041 <div class="short">The field's HTML name attribute.</div>
1046 The field's HTML name attribute.
1054 <td class="msource">
1056 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1062 <tr class="config-row expandable config-row-alt0">
1063 <td class="micon"><a class="exi" href="#expand"> </a></td>
1066 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1067 <div class="fixedFont">
1068 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1074 <div class="short">Mouse over tip</div>
1087 <td class="msource">
1089 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1095 <tr class="config-row expandable config-row-alt1">
1096 <td class="micon"><a class="exi" href="#expand"> </a></td>
1099 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1100 <div class="fixedFont">
1101 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1107 <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>
1112 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1120 <td class="msource">
1122 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1128 <tr class="config-row expandable config-row-alt0">
1129 <td class="micon"><a class="exi" href="#expand"> </a></td>
1132 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1133 <div class="fixedFont">
1134 <b class="itemname">regex</b> : RegExp
1140 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1145 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>}.
1153 <td class="msource">
1155 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1161 <tr class="config-row expandable config-row-alt1">
1162 <td class="micon"><a class="exi" href="#expand"> </a></td>
1165 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1166 <div class="fixedFont">
1167 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1173 <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>
1178 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
1186 <td class="msource">
1188 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1194 <tr class="config-row expandable config-row-alt0">
1195 <td class="micon"><a class="exi" href="#expand"> </a></td>
1198 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1199 <div class="fixedFont">
1200 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1206 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1211 True to automatically select any existing field text when the field receives input focus (defaults to false)
1219 <td class="msource">
1221 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1227 <tr class="config-row expandable config-row-alt1">
1228 <td class="micon"><a class="exi" href="#expand"> </a></td>
1231 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1232 <div class="fixedFont">
1233 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1239 <div class="short">The tabIndex for this field.</div>
1244 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
1252 <td class="msource">
1254 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1260 <tr class="config-row expandable config-row-alt0 notInherited">
1261 <td class="micon"><a class="exi" href="#expand"> </a></td>
1264 <a id="Roo.form.TriggerField-cfg-triggerClass" name=".triggerClass"></a>
1265 <div class="fixedFont">
1266 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1272 <div class="short">An additional CSS class used to style the trigger button.</div>
1277 An additional CSS class used to style the trigger button. The trigger will always get the<br/>class 'x-form-trigger' by default and triggerClass will be <b>appended</b> if specified.
1285 <td class="msource">
1287 Roo.form.TriggerField
1293 <tr class="config-row expandable config-row-alt1">
1294 <td class="micon"><a class="exi" href="#expand"> </a></td>
1297 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1298 <div class="fixedFont">
1299 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1305 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1310 Whether the field should validate when it loses focus (defaults to true).
1318 <td class="msource">
1320 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1326 <tr class="config-row expandable config-row-alt0">
1327 <td class="micon"><a class="exi" href="#expand"> </a></td>
1330 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1331 <div class="fixedFont">
1332 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1338 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1343 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1351 <td class="msource">
1353 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1359 <tr class="config-row expandable config-row-alt1">
1360 <td class="micon"><a class="exi" href="#expand"> </a></td>
1363 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1364 <div class="fixedFont">
1365 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1371 <div class="short">The event that should initiate field validation.</div>
1376 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1384 <td class="msource">
1386 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1392 <tr class="config-row expandable config-row-alt0">
1393 <td class="micon"><a class="exi" href="#expand"> </a></td>
1396 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1397 <div class="fixedFont">
1398 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1404 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1409 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.
1417 <td class="msource">
1419 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1425 <tr class="config-row expandable config-row-alt1">
1426 <td class="micon"><a class="exi" href="#expand"> </a></td>
1429 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1430 <div class="fixedFont">
1431 <b class="itemname">value</b> : Mixed
1437 <div class="short">A value to initialize this field with.</div>
1442 A value to initialize this field with.
1450 <td class="msource">
1452 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1458 <tr class="config-row expandable config-row-alt0">
1459 <td class="micon"><a class="exi" href="#expand"> </a></td>
1462 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1463 <div class="fixedFont">
1464 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1470 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1475 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1483 <td class="msource">
1485 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1491 <tr class="config-row expandable config-row-alt1">
1492 <td class="micon"><a class="exi" href="#expand"> </a></td>
1495 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1496 <div class="fixedFont">
1497 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1503 <div class="short">width (optional) size of component</div>
1508 width (optional) size of component
1516 <td class="msource">
1518 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1534 <!-- ============================== public properties ==================== -->
1538 <a id="Roo.form.TriggerField-props"></a>
1544 <table cellspacing="0" class="member-table">
1545 <caption class="Empty">Public Properties - Has None</caption>
1551 <!-- ============================== methods summary / details ======================== -->
1554 <a id="Roo.form.TriggerField-methods"></a>
1555 <!-- constructor?? -->
1562 <!-- then dynamics first -->
1569 <table cellspacing="0" class="member-table">
1570 <caption>Public Methods</caption>
1572 <th class="sig-header" colspan="2">Method</th>
1573 <th class="msource-header">Defined By</th>
1583 <tr class="method-row config-row-alt0 expandable notInherited">
1584 <td class="micon"><a class="exi" href="#expand"> </a></td>
1588 <a id="Roo.form-method-TriggerField" name=".TriggerField"></a>
1589 <div class="fixedFont">
1590 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">TriggerField</b>
1592 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1600 <div class="short">Create a new Roo.form.TriggerField</div>
1607 Create a new Roo.form.TriggerField
1610 <dl class="detailList">
1611 <dt class="heading">Parameters:</dt>
1614 <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>
1617 <dd>Configuration options (valid {<b>Roo</b>.form.TextField} config options will also be applied<br/>to the base TextField)</dd>
1635 <td class="msource">
1641 <tr class="method-row config-row-alt1 expandable">
1642 <td class="micon"><a class="exi" href="#expand"> </a></td>
1646 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1647 <div class="fixedFont">
1648 <span class="attributes"></span><b class="itemname">addEvents</b>
1650 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1657 <div class="short">Used to define events on this Observable</div>
1663 Used to define events on this Observable
1670 <dl class="detailList">
1671 <dt class="heading">Parameters:</dt>
1674 <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>
1677 <dd>The object with the events defined</dd>
1695 <td class="msource">
1697 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1703 <tr class="method-row config-row-alt0 expandable">
1704 <td class="micon"><a class="exi" href="#expand"> </a></td>
1708 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1709 <div class="fixedFont">
1710 <span class="attributes"></span><b class="itemname">addListener</b>
1712 (<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>)
1719 <div class="short">Appends an event handler to this component</div>
1725 Appends an event handler to this component
1732 <dl class="detailList">
1733 <dt class="heading">Parameters:</dt>
1736 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1739 <dd>The type of event to listen for</dd>
1742 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1745 <dd>The method the event invokes</dd>
1748 <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>
1751 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1754 <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>
1757 <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>
1775 <td class="msource">
1777 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1783 <tr class="method-row config-row-alt1 expandable">
1784 <td class="micon"><a class="exi" href="#expand"> </a></td>
1788 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1789 <div class="fixedFont">
1790 <span class="attributes"></span><b class="itemname">applyTo</b>
1792 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1798 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1807 <div class="short">Apply the behaviors of this component to an existing element.</div>
1813 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1820 <dl class="detailList">
1821 <dt class="heading">Parameters:</dt>
1824 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1827 <dd>The id of the node, a DOM node or an existing Element</dd>
1835 <dl class="detailList">
1836 <dt class="heading">Returns:</dt>
1838 <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>
1852 <td class="msource">
1854 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1860 <tr class="method-row config-row-alt0 expandable notInherited">
1861 <td class="micon"><a class="exi" href="#expand"> </a></td>
1865 <a id="Roo.form.TriggerField-method-autoSize" name=".autoSize"></a>
1866 <div class="fixedFont">
1867 <span class="attributes"></span><b class="itemname">autoSize</b>
1876 <div class="short"></div>
1903 <td class="msource">
1905 Roo.form.TriggerField
1911 <tr class="method-row config-row-alt1 expandable">
1912 <td class="micon"><a class="exi" href="#expand"> </a></td>
1916 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
1917 <div class="fixedFont">
1918 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1927 <div class="short">Clear any invalid styles/messages for this field</div>
1933 Clear any invalid styles/messages for this field
1954 <td class="msource">
1956 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1962 <tr class="method-row config-row-alt0 expandable">
1963 <td class="micon"><a class="exi" href="#expand"> </a></td>
1967 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1968 <div class="fixedFont">
1969 <span class="attributes"></span><b class="itemname">destroy</b>
1978 <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>
1984 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}.
2005 <td class="msource">
2007 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2013 <tr class="method-row config-row-alt1 expandable">
2014 <td class="micon"><a class="exi" href="#expand"> </a></td>
2018 <a id="Roo.Component-method-disable" name=".disable"></a>
2019 <div class="fixedFont">
2020 <span class="attributes"></span><b class="itemname">disable</b>
2028 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2037 <div class="short">Disable this component.</div>
2043 Disable this component.
2054 <dl class="detailList">
2055 <dt class="heading">Returns:</dt>
2057 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2071 <td class="msource">
2073 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2079 <tr class="method-row config-row-alt0 expandable">
2080 <td class="micon"><a class="exi" href="#expand"> </a></td>
2084 <a id="Roo.Component-method-enable" name=".enable"></a>
2085 <div class="fixedFont">
2086 <span class="attributes"></span><b class="itemname">enable</b>
2094 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2103 <div class="short">Enable this component.</div>
2109 Enable this component.
2120 <dl class="detailList">
2121 <dt class="heading">Returns:</dt>
2123 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2137 <td class="msource">
2139 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2145 <tr class="method-row config-row-alt1 expandable">
2146 <td class="micon"><a class="exi" href="#expand"> </a></td>
2150 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2151 <div class="fixedFont">
2152 <span class="attributes"></span><b class="itemname">fireEvent</b>
2154 (<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>)
2160 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2169 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2175 Fires the specified event with the passed parameters (minus the event name).
2182 <dl class="detailList">
2183 <dt class="heading">Parameters:</dt>
2186 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2192 <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>
2195 <dd>Variable number of parameters are passed to handlers</dd>
2203 <dl class="detailList">
2204 <dt class="heading">Returns:</dt>
2206 <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>
2220 <td class="msource">
2222 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2228 <tr class="method-row config-row-alt0 expandable">
2229 <td class="micon"><a class="exi" href="#expand"> </a></td>
2233 <a id="Roo.Component-method-focus" name=".focus"></a>
2234 <div class="fixedFont">
2235 <span class="attributes"></span><b class="itemname">focus</b>
2237 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2243 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2252 <div class="short">Try to focus this component.</div>
2258 Try to focus this component.
2265 <dl class="detailList">
2266 <dt class="heading">Parameters:</dt>
2269 <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>
2272 <dd>True to also select the text in this component (if applicable)</dd>
2280 <dl class="detailList">
2281 <dt class="heading">Returns:</dt>
2283 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2297 <td class="msource">
2299 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2305 <tr class="method-row config-row-alt1 expandable">
2306 <td class="micon"><a class="exi" href="#expand"> </a></td>
2310 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2311 <div class="fixedFont">
2312 <span class="attributes"></span><b class="itemname">getBox</b>
2314 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2321 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2327 Gets the current box measurements of the component's underlying element.
2334 <dl class="detailList">
2335 <dt class="heading">Parameters:</dt>
2338 <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>
2341 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2359 <td class="msource">
2361 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2367 <tr class="method-row config-row-alt0 expandable">
2368 <td class="micon"><a class="exi" href="#expand"> </a></td>
2372 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2373 <div class="fixedFont">
2374 <span class="attributes"></span><b class="itemname">getEl</b>
2382 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2391 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2397 Returns the underlying {<b>link</b> Roo.Element}.
2408 <dl class="detailList">
2409 <dt class="heading">Returns:</dt>
2411 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2425 <td class="msource">
2427 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2433 <tr class="method-row config-row-alt1 expandable">
2434 <td class="micon"><a class="exi" href="#expand"> </a></td>
2438 <a id="Roo.Component-method-getId" name=".getId"></a>
2439 <div class="fixedFont">
2440 <span class="attributes"></span><b class="itemname">getId</b>
2448 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2457 <div class="short">Returns the id of this component.</div>
2463 Returns the id of this component.
2474 <dl class="detailList">
2475 <dt class="heading">Returns:</dt>
2477 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2491 <td class="msource">
2493 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2499 <tr class="method-row config-row-alt0 expandable">
2500 <td class="micon"><a class="exi" href="#expand"> </a></td>
2504 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2505 <div class="fixedFont">
2506 <span class="attributes"></span><b class="itemname">getName</b>
2514 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2523 <div class="short">Returns the name attribute of the field if available</div>
2529 Returns the name attribute of the field if available
2540 <dl class="detailList">
2541 <dt class="heading">Returns:</dt>
2543 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2557 <td class="msource">
2559 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2565 <tr class="method-row config-row-alt1 expandable">
2566 <td class="micon"><a class="exi" href="#expand"> </a></td>
2570 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2571 <div class="fixedFont">
2572 <span class="attributes"></span><b class="itemname">getPosition</b>
2574 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2580 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2589 <div class="short">Gets the current XY position of the component's underlying element.</div>
2595 Gets the current XY position of the component's underlying element.
2602 <dl class="detailList">
2603 <dt class="heading">Parameters:</dt>
2606 <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>
2609 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2617 <dl class="detailList">
2618 <dt class="heading">Returns:</dt>
2620 <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>
2634 <td class="msource">
2636 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2642 <tr class="method-row config-row-alt0 expandable">
2643 <td class="micon"><a class="exi" href="#expand"> </a></td>
2647 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2648 <div class="fixedFont">
2649 <span class="attributes"></span><b class="itemname">getRawValue</b>
2666 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2672 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>}.
2683 <dl class="detailList">
2684 <dt class="heading">Returns:</dt>
2686 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2700 <td class="msource">
2702 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2708 <tr class="method-row config-row-alt1 expandable">
2709 <td class="micon"><a class="exi" href="#expand"> </a></td>
2713 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2714 <div class="fixedFont">
2715 <span class="attributes"></span><b class="itemname">getSize</b>
2723 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2732 <div class="short">Gets the current size of the component's underlying element.</div>
2738 Gets the current size of the component's underlying element.
2749 <dl class="detailList">
2750 <dt class="heading">Returns:</dt>
2752 <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>
2766 <td class="msource">
2768 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2774 <tr class="method-row config-row-alt0 expandable">
2775 <td class="micon"><a class="exi" href="#expand"> </a></td>
2779 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2780 <div class="fixedFont">
2781 <span class="attributes"></span><b class="itemname">getValue</b>
2798 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2804 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2815 <dl class="detailList">
2816 <dt class="heading">Returns:</dt>
2818 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2832 <td class="msource">
2834 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2840 <tr class="method-row config-row-alt1 expandable">
2841 <td class="micon"><a class="exi" href="#expand"> </a></td>
2845 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2846 <div class="fixedFont">
2847 <span class="attributes"></span><b class="itemname">hasListener</b>
2849 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2855 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2864 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2870 Checks to see if this object has any listeners for a specified event
2877 <dl class="detailList">
2878 <dt class="heading">Parameters:</dt>
2881 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2884 <dd>The name of the event to check for</dd>
2892 <dl class="detailList">
2893 <dt class="heading">Returns:</dt>
2895 <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>
2909 <td class="msource">
2911 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2917 <tr class="method-row config-row-alt0 expandable">
2918 <td class="micon"><a class="exi" href="#expand"> </a></td>
2922 <a id="Roo.Component-method-hide" name=".hide"></a>
2923 <div class="fixedFont">
2924 <span class="attributes"></span><b class="itemname">hide</b>
2932 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2941 <div class="short">Hide this component.</div>
2947 Hide this component.
2958 <dl class="detailList">
2959 <dt class="heading">Returns:</dt>
2961 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2975 <td class="msource">
2977 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2983 <tr class="method-row config-row-alt1 expandable">
2984 <td class="micon"><a class="exi" href="#expand"> </a></td>
2988 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
2989 <div class="fixedFont">
2990 <span class="attributes"></span><b class="itemname">isDirty</b>
2999 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3005 Returns true if this field has been changed since it was originally loaded and is not disabled.
3026 <td class="msource">
3028 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3034 <tr class="method-row config-row-alt0 expandable">
3035 <td class="micon"><a class="exi" href="#expand"> </a></td>
3039 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3040 <div class="fixedFont">
3041 <span class="attributes"></span><b class="itemname">isValid</b>
3043 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3049 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3058 <div class="short">Returns whether or not the field value is currently valid</div>
3064 Returns whether or not the field value is currently valid
3071 <dl class="detailList">
3072 <dt class="heading">Parameters:</dt>
3075 <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>
3078 <dd>True to disable marking the field invalid</dd>
3086 <dl class="detailList">
3087 <dt class="heading">Returns:</dt>
3089 <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>
3103 <td class="msource">
3105 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3111 <tr class="method-row config-row-alt1 expandable">
3112 <td class="micon"><a class="exi" href="#expand"> </a></td>
3116 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3117 <div class="fixedFont">
3118 <span class="attributes"></span><b class="itemname">isVisible</b>
3127 <div class="short">Returns true if this component is visible.</div>
3133 Returns true if this component is visible.
3154 <td class="msource">
3156 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3162 <tr class="method-row config-row-alt0 expandable">
3163 <td class="micon"><a class="exi" href="#expand"> </a></td>
3167 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3168 <div class="fixedFont">
3169 <span class="attributes"></span><b class="itemname">markInvalid</b>
3171 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3178 <div class="short">Mark this field as invalid</div>
3184 Mark this field as invalid
3191 <dl class="detailList">
3192 <dt class="heading">Parameters:</dt>
3195 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3198 <dd>The validation message</dd>
3216 <td class="msource">
3218 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3224 <tr class="method-row config-row-alt1 expandable">
3225 <td class="micon"><a class="exi" href="#expand"> </a></td>
3229 <a id="Roo.util.Observable-method-on" name=".on"></a>
3230 <div class="fixedFont">
3231 <span class="attributes"></span><b class="itemname">on</b>
3233 (<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>)
3240 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3246 Appends an event handler to this element (shorthand for addListener)
3253 <dl class="detailList">
3254 <dt class="heading">Parameters:</dt>
3257 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3260 <dd>The type of event to listen for</dd>
3263 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3266 <dd>The method the event invokes</dd>
3269 <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>
3272 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3275 <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>
3296 <td class="msource">
3298 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3304 <tr class="method-row config-row-alt0 expandable">
3305 <td class="micon"><a class="exi" href="#expand"> </a></td>
3309 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3310 <div class="fixedFont">
3311 <span class="attributes"></span><b class="itemname">onPosition</b>
3313 (<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>)
3320 <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>
3326 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.
3333 <dl class="detailList">
3334 <dt class="heading">Parameters:</dt>
3337 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3340 <dd>The new x position</dd>
3343 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3346 <dd>The new y position</dd>
3364 <td class="msource">
3366 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3372 <tr class="method-row config-row-alt1 expandable">
3373 <td class="micon"><a class="exi" href="#expand"> </a></td>
3377 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3378 <div class="fixedFont">
3379 <span class="attributes"></span><b class="itemname">onResize</b>
3381 (<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>)
3388 <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>
3394 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.
3401 <dl class="detailList">
3402 <dt class="heading">Parameters:</dt>
3405 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3408 <dd>The box-adjusted width that was set</dd>
3411 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3414 <dd>The box-adjusted height that was set</dd>
3417 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3420 <dd>The width that was originally specified</dd>
3423 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3426 <dd>The height that was originally specified</dd>
3444 <td class="msource">
3446 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3452 <tr class="method-row config-row-alt0 expandable notInherited">
3453 <td class="micon"><a class="exi" href="#expand"> </a></td>
3457 <a id="Roo.form.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
3458 <div class="fixedFont">
3459 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
3461 (EventObject <B><i>e</i></B>)
3468 <div class="short">The function that should handle the trigger's click event.</div>
3474 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
3481 <dl class="detailList">
3482 <dt class="heading">Parameters:</dt>
3485 <span class="fixedFont">EventObject</span> <b>e</b>
3506 <td class="msource">
3508 Roo.form.TriggerField
3514 <tr class="method-row config-row-alt1 expandable">
3515 <td class="micon"><a class="exi" href="#expand"> </a></td>
3519 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3520 <div class="fixedFont">
3521 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3530 <div class="short">Removes all listeners for this object</div>
3536 Removes all listeners for this object
3557 <td class="msource">
3559 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3565 <tr class="method-row config-row-alt0 expandable">
3566 <td class="micon"><a class="exi" href="#expand"> </a></td>
3570 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3571 <div class="fixedFont">
3572 <span class="attributes"></span><b class="itemname">removeListener</b>
3574 (<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>)
3581 <div class="short">Removes a listener</div>
3594 <dl class="detailList">
3595 <dt class="heading">Parameters:</dt>
3598 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3601 <dd>The type of event to listen for</dd>
3604 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3607 <dd>The handler to remove</dd>
3610 <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>
3613 <dd>(optional) The scope (this object) for the handler</dd>
3631 <td class="msource">
3633 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3639 <tr class="method-row config-row-alt1 expandable">
3640 <td class="micon"><a class="exi" href="#expand"> </a></td>
3644 <a id="Roo.Component-method-render" name=".render"></a>
3645 <div class="fixedFont">
3646 <span class="attributes"></span><b class="itemname">render</b>
3648 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3655 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3661 If this is a lazy rendering component, render it to its container element.
3668 <dl class="detailList">
3669 <dt class="heading">Parameters:</dt>
3672 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3675 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3693 <td class="msource">
3695 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3701 <tr class="method-row config-row-alt0 expandable">
3702 <td class="micon"><a class="exi" href="#expand"> </a></td>
3706 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3707 <div class="fixedFont">
3708 <span class="attributes"></span><b class="itemname">reset</b>
3717 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3723 Resets the current field value to the originally-loaded value and clears any validation messages.
3744 <td class="msource">
3746 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3752 <tr class="method-row config-row-alt1 expandable">
3753 <td class="micon"><a class="exi" href="#expand"> </a></td>
3757 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3758 <div class="fixedFont">
3759 <span class="attributes"></span><b class="itemname">selectText</b>
3761 (<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>)
3768 <div class="short">Selects text in this field</div>
3774 Selects text in this field
3781 <dl class="detailList">
3782 <dt class="heading">Parameters:</dt>
3785 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3788 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3791 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3794 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3812 <td class="msource">
3814 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3820 <tr class="method-row config-row-alt0 expandable">
3821 <td class="micon"><a class="exi" href="#expand"> </a></td>
3825 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3826 <div class="fixedFont">
3827 <span class="attributes"></span><b class="itemname">setDisabled</b>
3829 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3836 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3842 Convenience function for setting disabled/enabled by boolean.
3849 <dl class="detailList">
3850 <dt class="heading">Parameters:</dt>
3853 <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>
3874 <td class="msource">
3876 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3882 <tr class="method-row config-row-alt1 expandable">
3883 <td class="micon"><a class="exi" href="#expand"> </a></td>
3887 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3888 <div class="fixedFont">
3889 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3891 (<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>)
3898 <div class="short">Sets the page XY position of the component.</div>
3904 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.
3911 <dl class="detailList">
3912 <dt class="heading">Parameters:</dt>
3915 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3918 <dd>The new x position</dd>
3921 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3924 <dd>The new y position</dd>
3942 <td class="msource">
3944 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3950 <tr class="method-row config-row-alt0 expandable">
3951 <td class="micon"><a class="exi" href="#expand"> </a></td>
3955 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
3956 <div class="fixedFont">
3957 <span class="attributes"></span><b class="itemname">setPosition</b>
3959 (<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>)
3966 <div class="short">Sets the left and top of the component.</div>
3972 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.
3979 <dl class="detailList">
3980 <dt class="heading">Parameters:</dt>
3983 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
3986 <dd>The new left</dd>
3989 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
3992 <dd>The new top</dd>
4010 <td class="msource">
4012 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4018 <tr class="method-row config-row-alt1 expandable">
4019 <td class="micon"><a class="exi" href="#expand"> </a></td>
4023 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4024 <div class="fixedFont">
4025 <span class="attributes"></span><b class="itemname">setRawValue</b>
4027 (Mixed <B><i>value</i></B>)
4034 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4040 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4047 <dl class="detailList">
4048 <dt class="heading">Parameters:</dt>
4051 <span class="fixedFont">Mixed</span> <b>value</b>
4054 <dd>The value to set</dd>
4072 <td class="msource">
4074 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4080 <tr class="method-row config-row-alt0 expandable">
4081 <td class="micon"><a class="exi" href="#expand"> </a></td>
4085 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4086 <div class="fixedFont">
4087 <span class="attributes"></span><b class="itemname">setSize</b>
4089 (<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>)
4095 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4104 <div class="short">Sets the width and height of the component.</div>
4110 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}.
4117 <dl class="detailList">
4118 <dt class="heading">Parameters:</dt>
4121 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4124 <dd>The new width to set, or a size object in the format {width, height}</dd>
4127 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4130 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4138 <dl class="detailList">
4139 <dt class="heading">Returns:</dt>
4141 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4155 <td class="msource">
4157 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4163 <tr class="method-row config-row-alt1 expandable">
4164 <td class="micon"><a class="exi" href="#expand"> </a></td>
4168 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4169 <div class="fixedFont">
4170 <span class="attributes"></span><b class="itemname">setValue</b>
4172 (Mixed <B><i>value</i></B>)
4179 <div class="short">Sets a data value into the field and validates it.</div>
4185 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4192 <dl class="detailList">
4193 <dt class="heading">Parameters:</dt>
4196 <span class="fixedFont">Mixed</span> <b>value</b>
4199 <dd>The value to set</dd>
4217 <td class="msource">
4219 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4225 <tr class="method-row config-row-alt0 expandable">
4226 <td class="micon"><a class="exi" href="#expand"> </a></td>
4230 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4231 <div class="fixedFont">
4232 <span class="attributes"></span><b class="itemname">setVisible</b>
4234 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4240 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4249 <div class="short">Convenience function to hide or show this component by boolean.</div>
4255 Convenience function to hide or show this component by boolean.
4262 <dl class="detailList">
4263 <dt class="heading">Parameters:</dt>
4266 <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>
4269 <dd>True to show, false to hide</dd>
4277 <dl class="detailList">
4278 <dt class="heading">Returns:</dt>
4280 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4294 <td class="msource">
4296 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4302 <tr class="method-row config-row-alt1 expandable">
4303 <td class="micon"><a class="exi" href="#expand"> </a></td>
4307 <a id="Roo.Component-method-show" name=".show"></a>
4308 <div class="fixedFont">
4309 <span class="attributes"></span><b class="itemname">show</b>
4317 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4326 <div class="short">Show this component.</div>
4332 Show this component.
4343 <dl class="detailList">
4344 <dt class="heading">Returns:</dt>
4346 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4360 <td class="msource">
4362 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4368 <tr class="method-row config-row-alt0 expandable">
4369 <td class="micon"><a class="exi" href="#expand"> </a></td>
4373 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4374 <div class="fixedFont">
4375 <span class="attributes"></span><b class="itemname">syncSize</b>
4384 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4390 Force the component's size to recalculate based on the underlying element's current height and width.
4411 <td class="msource">
4413 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4419 <tr class="method-row config-row-alt1 expandable">
4420 <td class="micon"><a class="exi" href="#expand"> </a></td>
4424 <a id="Roo.util.Observable-method-un" name=".un"></a>
4425 <div class="fixedFont">
4426 <span class="attributes"></span><b class="itemname">un</b>
4428 (<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>)
4435 <div class="short">Removes a listener (shorthand for removeListener)</div>
4441 Removes a listener (shorthand for removeListener)
4448 <dl class="detailList">
4449 <dt class="heading">Parameters:</dt>
4452 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4455 <dd>The type of event to listen for</dd>
4458 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4461 <dd>The handler to remove</dd>
4464 <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>
4467 <dd>(optional) The scope (this object) for the handler</dd>
4485 <td class="msource">
4487 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4493 <tr class="method-row config-row-alt0 expandable">
4494 <td class="micon"><a class="exi" href="#expand"> </a></td>
4498 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4499 <div class="fixedFont">
4500 <span class="attributes"></span><b class="itemname">updateBox</b>
4502 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4509 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4515 Sets the current box measurements of the component's underlying element.
4522 <dl class="detailList">
4523 <dt class="heading">Parameters:</dt>
4526 <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>
4529 <dd>An object in the format {x, y, width, height}</dd>
4547 <td class="msource">
4549 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4555 <tr class="method-row config-row-alt1 expandable">
4556 <td class="micon"><a class="exi" href="#expand"> </a></td>
4560 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4561 <div class="fixedFont">
4562 <span class="attributes"></span><b class="itemname">validate</b>
4570 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4579 <div class="short">Validates the field value</div>
4585 Validates the field value
4596 <dl class="detailList">
4597 <dt class="heading">Returns:</dt>
4599 <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>
4613 <td class="msource">
4615 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4621 <tr class="method-row config-row-alt0 expandable">
4622 <td class="micon"><a class="exi" href="#expand"> </a></td>
4626 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4627 <div class="fixedFont">
4628 <span class="attributes"></span><b class="itemname">validateValue</b>
4630 (Mixed <B><i>value</i></B>)
4636 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4645 <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>
4651 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4658 <dl class="detailList">
4659 <dt class="heading">Parameters:</dt>
4662 <span class="fixedFont">Mixed</span> <b>value</b>
4665 <dd>The value to validate</dd>
4673 <dl class="detailList">
4674 <dt class="heading">Returns:</dt>
4676 <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>
4690 <td class="msource">
4692 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4701 <!-- ============================== events summary / details ======================== -->
4704 <a id="Roo.form.TriggerField-events"></a>
4713 <table cellspacing="0" class="member-table">
4714 <caption>Events</caption>
4717 <th class="sig-header" colspan="2">Event</th>
4718 <th class="msource-header">Defined By</th>
4727 <tr class="method-row expandable config-row-alt0">
4728 <td class="micon"><a class="exi" href="#expand"> </a></td>
4731 <a id="Roo.form.TextField-event-*autosize"></a>
4733 <div class="fixedFont">
4734 <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>)
4740 <div class="short">Fires when the autosize function is triggered.
4746 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.
4752 <dl class="detailList">
4753 <dt class="heading">Parameters:</dt>
4756 <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>
4759 <dd>This text field</dd>
4762 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4765 <dd>The new field width</dd>
4783 <td class="msource">
4784 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4788 <tr class="method-row expandable config-row-alt1">
4789 <td class="micon"><a class="exi" href="#expand"> </a></td>
4792 <a id="Roo.Component-event-*beforedestroy"></a>
4794 <div class="fixedFont">
4795 <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>)
4801 <div class="short">Fires before the component is destroyed.
4807 Fires before the component is destroyed. Return false to stop the destroy.
4813 <dl class="detailList">
4814 <dt class="heading">Parameters:</dt>
4817 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4838 <td class="msource">
4839 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4843 <tr class="method-row expandable config-row-alt0">
4844 <td class="micon"><a class="exi" href="#expand"> </a></td>
4847 <a id="Roo.Component-event-*beforehide"></a>
4849 <div class="fixedFont">
4850 <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>)
4856 <div class="short">Fires before the component is hidden.
4862 Fires before the component is hidden. Return false to stop the hide.
4868 <dl class="detailList">
4869 <dt class="heading">Parameters:</dt>
4872 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4893 <td class="msource">
4894 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4898 <tr class="method-row expandable config-row-alt1">
4899 <td class="micon"><a class="exi" href="#expand"> </a></td>
4902 <a id="Roo.Component-event-*beforerender"></a>
4904 <div class="fixedFont">
4905 <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>)
4911 <div class="short">Fires before the component is rendered.
4917 Fires before the component is rendered. Return false to stop the render.
4923 <dl class="detailList">
4924 <dt class="heading">Parameters:</dt>
4927 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4948 <td class="msource">
4949 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4953 <tr class="method-row expandable config-row-alt0">
4954 <td class="micon"><a class="exi" href="#expand"> </a></td>
4957 <a id="Roo.Component-event-*beforeshow"></a>
4959 <div class="fixedFont">
4960 <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>)
4966 <div class="short">Fires before the component is shown.
4972 Fires before the component is shown. Return false to stop the show.
4978 <dl class="detailList">
4979 <dt class="heading">Parameters:</dt>
4982 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5003 <td class="msource">
5004 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5008 <tr class="method-row expandable config-row-alt1">
5009 <td class="micon"><a class="exi" href="#expand"> </a></td>
5012 <a id="Roo.form.Field-event-*blur"></a>
5014 <div class="fixedFont">
5015 <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>)
5021 <div class="short">Fires when this field loses input focus.
5027 Fires when this field loses input focus.
5033 <dl class="detailList">
5034 <dt class="heading">Parameters:</dt>
5037 <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>
5058 <td class="msource">
5059 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5063 <tr class="method-row expandable config-row-alt0">
5064 <td class="micon"><a class="exi" href="#expand"> </a></td>
5067 <a id="Roo.form.Field-event-*change"></a>
5069 <div class="fixedFont">
5070 <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>)
5076 <div class="short">Fires just before the field blurs if the field value has changed.
5082 Fires just before the field blurs if the field value has changed.
5088 <dl class="detailList">
5089 <dt class="heading">Parameters:</dt>
5092 <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>
5098 <span class="fixedFont">Mixed</span> <b>newValue</b>
5101 <dd>The new value</dd>
5104 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5107 <dd>The original value</dd>
5125 <td class="msource">
5126 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5130 <tr class="method-row expandable config-row-alt1">
5131 <td class="micon"><a class="exi" href="#expand"> </a></td>
5134 <a id="Roo.Component-event-*destroy"></a>
5136 <div class="fixedFont">
5137 <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>)
5143 <div class="short">Fires after the component is destroyed.
5149 Fires after the component is destroyed.
5155 <dl class="detailList">
5156 <dt class="heading">Parameters:</dt>
5159 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5180 <td class="msource">
5181 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5185 <tr class="method-row expandable config-row-alt0">
5186 <td class="micon"><a class="exi" href="#expand"> </a></td>
5189 <a id="Roo.Component-event-*disable"></a>
5191 <div class="fixedFont">
5192 <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>)
5198 <div class="short">Fires after the component is disabled.
5204 Fires after the component is disabled.
5210 <dl class="detailList">
5211 <dt class="heading">Parameters:</dt>
5214 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5235 <td class="msource">
5236 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5240 <tr class="method-row expandable config-row-alt1">
5241 <td class="micon"><a class="exi" href="#expand"> </a></td>
5244 <a id="Roo.Component-event-*enable"></a>
5246 <div class="fixedFont">
5247 <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>)
5253 <div class="short">Fires after the component is enabled.
5259 Fires after the component is enabled.
5265 <dl class="detailList">
5266 <dt class="heading">Parameters:</dt>
5269 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5290 <td class="msource">
5291 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5295 <tr class="method-row expandable config-row-alt0">
5296 <td class="micon"><a class="exi" href="#expand"> </a></td>
5299 <a id="Roo.form.Field-event-*focus"></a>
5301 <div class="fixedFont">
5302 <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>)
5308 <div class="short">Fires when this field receives input focus.
5314 Fires when this field receives input focus.
5320 <dl class="detailList">
5321 <dt class="heading">Parameters:</dt>
5324 <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>
5345 <td class="msource">
5346 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5350 <tr class="method-row expandable config-row-alt1">
5351 <td class="micon"><a class="exi" href="#expand"> </a></td>
5354 <a id="Roo.Component-event-*hide"></a>
5356 <div class="fixedFont">
5357 <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>)
5363 <div class="short">Fires after the component is hidden.
5369 Fires after the component is hidden.
5375 <dl class="detailList">
5376 <dt class="heading">Parameters:</dt>
5379 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5400 <td class="msource">
5401 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5405 <tr class="method-row expandable config-row-alt0">
5406 <td class="micon"><a class="exi" href="#expand"> </a></td>
5409 <a id="Roo.form.Field-event-*invalid"></a>
5411 <div class="fixedFont">
5412 <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>)
5418 <div class="short">Fires after the field has been marked as invalid.
5424 Fires after the field has been marked as invalid.
5430 <dl class="detailList">
5431 <dt class="heading">Parameters:</dt>
5434 <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>
5440 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5443 <dd>The validation message</dd>
5461 <td class="msource">
5462 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5466 <tr class="method-row expandable config-row-alt1">
5467 <td class="micon"><a class="exi" href="#expand"> </a></td>
5470 <a id="Roo.form.Field-event-*keyup"></a>
5472 <div class="fixedFont">
5473 <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>)
5479 <div class="short">Fires after the key up
5485 Fires after the key up
5491 <dl class="detailList">
5492 <dt class="heading">Parameters:</dt>
5495 <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>
5501 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5504 <dd>The event Object</dd>
5522 <td class="msource">
5523 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5527 <tr class="method-row expandable config-row-alt0">
5528 <td class="micon"><a class="exi" href="#expand"> </a></td>
5531 <a id="Roo.BoxComponent-event-*move"></a>
5533 <div class="fixedFont">
5534 <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>)
5540 <div class="short">Fires after the component is moved.
5546 Fires after the component is moved.
5552 <dl class="detailList">
5553 <dt class="heading">Parameters:</dt>
5556 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5562 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5565 <dd>The new x position</dd>
5568 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5571 <dd>The new y position</dd>
5589 <td class="msource">
5590 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5594 <tr class="method-row expandable config-row-alt1">
5595 <td class="micon"><a class="exi" href="#expand"> </a></td>
5598 <a id="Roo.Component-event-*render"></a>
5600 <div class="fixedFont">
5601 <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>)
5607 <div class="short">Fires after the component is rendered.
5613 Fires after the component is rendered.
5619 <dl class="detailList">
5620 <dt class="heading">Parameters:</dt>
5623 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5644 <td class="msource">
5645 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5649 <tr class="method-row expandable config-row-alt0">
5650 <td class="micon"><a class="exi" href="#expand"> </a></td>
5653 <a id="Roo.BoxComponent-event-*resize"></a>
5655 <div class="fixedFont">
5656 <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>)
5662 <div class="short">Fires after the component is resized.
5668 Fires after the component is resized.
5674 <dl class="detailList">
5675 <dt class="heading">Parameters:</dt>
5678 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5684 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5687 <dd>The box-adjusted width that was set</dd>
5690 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5693 <dd>The box-adjusted height that was set</dd>
5696 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5699 <dd>The width that was originally specified</dd>
5702 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5705 <dd>The height that was originally specified</dd>
5723 <td class="msource">
5724 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5728 <tr class="method-row expandable config-row-alt1">
5729 <td class="micon"><a class="exi" href="#expand"> </a></td>
5732 <a id="Roo.Component-event-*show"></a>
5734 <div class="fixedFont">
5735 <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>)
5741 <div class="short">Fires after the component is shown.
5747 Fires after the component is shown.
5753 <dl class="detailList">
5754 <dt class="heading">Parameters:</dt>
5757 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5778 <td class="msource">
5779 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5783 <tr class="method-row expandable config-row-alt0">
5784 <td class="micon"><a class="exi" href="#expand"> </a></td>
5787 <a id="Roo.form.Field-event-*specialkey"></a>
5789 <div class="fixedFont">
5790 <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>)
5796 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5802 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.
5808 <dl class="detailList">
5809 <dt class="heading">Parameters:</dt>
5812 <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>
5818 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5821 <dd>The event object</dd>
5839 <td class="msource">
5840 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5844 <tr class="method-row expandable config-row-alt1">
5845 <td class="micon"><a class="exi" href="#expand"> </a></td>
5848 <a id="Roo.form.Field-event-*valid"></a>
5850 <div class="fixedFont">
5851 <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>)
5857 <div class="short">Fires after the field has been validated with no errors.
5863 Fires after the field has been validated with no errors.
5869 <dl class="detailList">
5870 <dt class="heading">Parameters:</dt>
5873 <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>
5894 <td class="msource">
5895 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5906 <!-- ============================== footer ================================= -->
5907 <div class="fineprint" style="clear:both">
5909 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu May 28 2015 21:05:20 GMT+0800 (HKT)
5911 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>