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.DateField</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.DateField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.DateField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.DateField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.DateField-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
51 <img src="../../images/default/s.gif" height="1" width="100"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
52 <img src="../../images/default/s.gif" height="1" width="120"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.DateField
57 <!-- ============================== class title / details ============================ -->
60 <h1 class="classTitle">
62 Class Roo.form.DateField
65 <table cellspacing="0" class="class-summary-table">
67 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
69 <tr><td class="label">Defined In:</td><td class="hd-info">
71 <a href="./src/Roo_form_DateField.js.html">Roo/form/DateField.js</a>.
74 <tr><td class="label">Class:</td><td class="hd-info">DateField</td></tr>
79 <tr><td class="label">Extends:</td><td class="hd-info">
80 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
88 <!-- ============================== class summary ========================== -->
89 <div class="description">
90 Provides a date input field with a {<b>link</b> Roo.DatePicker} dropdown and automatic date validation.
94 <!-- ============================== Class comment block... ========================== -->
96 <div class="comments">
97 <b>Class Comments / Notes</B> =>
98 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.DateField';">[Add Your comment/notes about this class]</u>
100 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
101 src="/blog.php/GtkDjsComments/Roo.form.DateField.html"></iframe>
106 <!-- ============================== config options ========================== -->
111 <div class="hr"></div>
112 <a id="Roo.form.DateField-configs"></a>
118 <table cellspacing="0" class="member-table">
119 <caption>Config Options (Usually are also Properties)</caption>
123 <th class="sig-header" colspan="2">Options</th>
125 <th class="msource-header">Defined By</th>
132 <tr class="config-row expandable config-row-alt0">
133 <td class="micon"><a class="exi" href="#expand"> </a></td>
136 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
137 <div class="fixedFont">
138 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
144 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
148 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
156 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
162 <tr class="config-row expandable config-row-alt1">
163 <td class="micon"><a class="exi" href="#expand"> </a></td>
166 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
167 <div class="fixedFont">
168 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
174 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
178 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
186 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
192 <tr class="config-row expandable config-row-alt0">
193 <td class="micon"><a class="exi" href="#expand"> </a></td>
196 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
197 <div class="fixedFont">
198 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
204 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
208 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
216 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
222 <tr class="config-row expandable config-row-alt1 notInherited">
223 <td class="micon"><a class="exi" href="#expand"> </a></td>
226 <a id="Roo.form.DateField-cfg-altFormats" name=".altFormats"></a>
227 <div class="fixedFont">
228 <b class="itemname">altFormats</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
234 <div class="short">Multiple date formats separated by "|" to try when parsing a user input value and it doesn't match the defined<br/>format (defaults to 'm/d/Y|m-d-y|m-d-Y|m/d|m-d|d').</div>
238 <div class="long">Multiple date formats separated by "|" to try when parsing a user input value and it doesn't match the defined<br/>format (defaults to 'm/d/Y|m-d-y|m-d-Y|m/d|m-d|d').</div>
252 <tr class="config-row expandable config-row-alt0 notInherited">
253 <td class="micon"><a class="exi" href="#expand"> </a></td>
256 <a id="Roo.form.DateField-cfg-autoCreate" name=".autoCreate"></a>
257 <div class="fixedFont">
258 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
264 <div class="short">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "10", autocomplete: "off"})</div>
268 <div class="long">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "10", autocomplete: "off"})</div>
282 <tr class="config-row expandable config-row-alt1">
283 <td class="micon"><a class="exi" href="#expand"> </a></td>
286 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
287 <div class="fixedFont">
288 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
294 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
298 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
306 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
312 <tr class="config-row expandable config-row-alt0">
313 <td class="micon"><a class="exi" href="#expand"> </a></td>
316 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
317 <div class="fixedFont">
318 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
324 <div class="short">A CSS class to apply to the field's underlying element.</div>
328 <div class="long">A CSS class to apply to the field's underlying element.</div>
336 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
342 <tr class="config-row expandable config-row-alt1">
343 <td class="micon"><a class="exi" href="#expand"> </a></td>
346 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
347 <div class="fixedFont">
348 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
354 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
358 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
366 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
372 <tr class="config-row expandable config-row-alt0">
373 <td class="micon"><a class="exi" href="#expand"> </a></td>
376 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
377 <div class="fixedFont">
378 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
384 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
388 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
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-alt1">
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>
418 <div class="long">True to disable the field (defaults to false).</div>
426 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
432 <tr class="config-row expandable config-row-alt0 notInherited">
433 <td class="micon"><a class="exi" href="#expand"> </a></td>
436 <a id="Roo.form.DateField-cfg-disabledDates" name=".disabledDates"></a>
437 <div class="fixedFont">
438 <b class="itemname">disabledDates</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
444 <div class="short">An array of "dates" to disable, as strings.</div>
448 <div class="long">An array of "dates" to disable, as strings. These strings will be used to build a dynamic regular<br/>expression so they are very powerful. Some examples:<br/><ul><br/><li>["03/08/2003", "09/16/2003"] would disable those exact dates</li><br/><li>["03/08", "09/16"] would disable those days for every year</li><br/><li>["^03/08"] would only match the beginning (useful if you are using short years)</li><br/><li>["03/../2006"] would disable every day in March 2006</li><br/><li>["^03"] would disable every day in every March</li><br/></ul><br/>In order to support regular expressions, if you are using a date format that has "." in it, you will have to<br/>escape the dot when restricting dates. For example: ["03\\.08\\.03"].</div>
462 <tr class="config-row expandable config-row-alt1 notInherited">
463 <td class="micon"><a class="exi" href="#expand"> </a></td>
466 <a id="Roo.form.DateField-cfg-disabledDatesText" name=".disabledDatesText"></a>
467 <div class="fixedFont">
468 <b class="itemname">disabledDatesText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
474 <div class="short">The tooltip text to display when the date falls on a disabled date (defaults to 'Disabled')</div>
478 <div class="long">The tooltip text to display when the date falls on a disabled date (defaults to 'Disabled')</div>
492 <tr class="config-row expandable config-row-alt0 notInherited">
493 <td class="micon"><a class="exi" href="#expand"> </a></td>
496 <a id="Roo.form.DateField-cfg-disabledDays" name=".disabledDays"></a>
497 <div class="fixedFont">
498 <b class="itemname">disabledDays</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
504 <div class="short">An array of days to disable, 0 based.</div>
508 <div class="long">An array of days to disable, 0 based. For example, [0, 6] disables Sunday and Saturday (defaults to null).</div>
522 <tr class="config-row expandable config-row-alt1 notInherited">
523 <td class="micon"><a class="exi" href="#expand"> </a></td>
526 <a id="Roo.form.DateField-cfg-disabledDaysText" name=".disabledDaysText"></a>
527 <div class="fixedFont">
528 <b class="itemname">disabledDaysText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
534 <div class="short">The tooltip to display when the date falls on a disabled day (defaults to 'Disabled')</div>
538 <div class="long">The tooltip to display when the date falls on a disabled day (defaults to 'Disabled')</div>
552 <tr class="config-row expandable config-row-alt0">
553 <td class="micon"><a class="exi" href="#expand"> </a></td>
556 <a id="Roo.form.TextField-cfg-emptyClass" name=".emptyClass"></a>
557 <div class="fixedFont">
558 <b class="itemname">emptyClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
564 <div class="short">The CSS class to apply to an empty field to style the {<b>link</b> <b>emptyText</b>} (defaults to<br/>'x-form-empty-field').</div>
568 <div class="long">The CSS class to apply to an empty field to style the {<b>link</b> <b>emptyText</b>} (defaults to<br/>'x-form-empty-field'). This class is automatically added and removed as needed depending on the current field value.</div>
576 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
582 <tr class="config-row expandable config-row-alt1">
583 <td class="micon"><a class="exi" href="#expand"> </a></td>
586 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
587 <div class="fixedFont">
588 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
594 <div class="short">The default text to display in an empty field (defaults to null).</div>
598 <div class="long">The default text to display in an empty field (defaults to null).</div>
606 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
612 <tr class="config-row expandable config-row-alt0">
613 <td class="micon"><a class="exi" href="#expand"> </a></td>
616 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
617 <div class="fixedFont">
618 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
624 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
628 <div class="long">The default CSS class for the field (defaults to "x-form-field")</div>
636 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
642 <tr class="config-row expandable config-row-alt1">
643 <td class="micon"><a class="exi" href="#expand"> </a></td>
646 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
647 <div class="fixedFont">
648 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
654 <div class="short">Label to use when rendering a form.</div>
658 <div class="long">Label to use when rendering a form.</div>
666 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
672 <tr class="config-row expandable config-row-alt0">
673 <td class="micon"><a class="exi" href="#expand"> </a></td>
676 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
677 <div class="fixedFont">
678 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
684 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
688 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
696 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
702 <tr class="config-row expandable config-row-alt1 notInherited">
703 <td class="micon"><a class="exi" href="#expand"> </a></td>
706 <a id="Roo.form.DateField-cfg-format" name=".format"></a>
707 <div class="fixedFont">
708 <b class="itemname">format</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
714 <div class="short">The default date format string which can be overriden for localization support.</div>
718 <div class="long">The default date format string which can be overriden for localization support. The format must be<br/>valid according to {<b>link</b> Date<b>parseDate</b>} (defaults to 'm/d/y').</div>
732 <tr class="config-row expandable config-row-alt0">
733 <td class="micon"><a class="exi" href="#expand"> </a></td>
736 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
737 <div class="fixedFont">
738 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
744 <div class="short">height (optional) size of component</div>
748 <div class="long">height (optional) size of component</div>
756 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
762 <tr class="config-row expandable config-row-alt1">
763 <td class="micon"><a class="exi" href="#expand"> </a></td>
766 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
767 <div class="fixedFont">
768 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
774 <div class="short">How this component should hidden.</div>
778 <div class="long">How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".</div>
786 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
792 <tr class="config-row expandable config-row-alt0">
793 <td class="micon"><a class="exi" href="#expand"> </a></td>
796 <a id="Roo.form.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
797 <div class="fixedFont">
798 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
804 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
808 <div class="long">True to hide the trigger element and display only the base text field (defaults to false)</div>
816 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
822 <tr class="config-row expandable config-row-alt1">
823 <td class="micon"><a class="exi" href="#expand"> </a></td>
826 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
827 <div class="fixedFont">
828 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
834 <div class="short">The type attribute for input fields -- e.g.</div>
838 <div class="long">The type attribute for input fields -- e.g. radio, text, password (defaults to "text").</div>
846 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
852 <tr class="config-row expandable config-row-alt0">
853 <td class="micon"><a class="exi" href="#expand"> </a></td>
856 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
857 <div class="fixedFont">
858 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
864 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
868 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
876 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
882 <tr class="config-row expandable config-row-alt1 notInherited">
883 <td class="micon"><a class="exi" href="#expand"> </a></td>
886 <a id="Roo.form.DateField-cfg-invalidText" name=".invalidText"></a>
887 <div class="fixedFont">
888 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
894 <div class="short">The error text to display when the date in the field is invalid (defaults to<br/>'{value} is not a valid date - it must be in the format {format}').</div>
898 <div class="long">The error text to display when the date in the field is invalid (defaults to<br/>'{value} is not a valid date - it must be in the format {format}').</div>
912 <tr class="config-row expandable config-row-alt0">
913 <td class="micon"><a class="exi" href="#expand"> </a></td>
916 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
917 <div class="fixedFont">
918 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
924 <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>
928 <div class="long">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></div>
936 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
942 <tr class="config-row expandable config-row-alt1">
943 <td class="micon"><a class="exi" href="#expand"> </a></td>
946 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
947 <div class="fixedFont">
948 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
954 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
958 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
966 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
972 <tr class="config-row expandable config-row-alt0">
973 <td class="micon"><a class="exi" href="#expand"> </a></td>
976 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
977 <div class="fixedFont">
978 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
984 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
988 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
996 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1002 <tr class="config-row expandable config-row-alt1">
1003 <td class="micon"><a class="exi" href="#expand"> </a></td>
1006 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
1007 <div class="fixedFont">
1008 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1014 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1018 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1024 <td class="msource">
1026 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1032 <tr class="config-row expandable config-row-alt0 notInherited">
1033 <td class="micon"><a class="exi" href="#expand"> </a></td>
1036 <a id="Roo.form.DateField-cfg-maxText" name=".maxText"></a>
1037 <div class="fixedFont">
1038 <b class="itemname">maxText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1044 <div class="short">The error text to display when the date in the cell is after maxValue (defaults to<br/>'The date in this field must be before {maxValue}').</div>
1048 <div class="long">The error text to display when the date in the cell is after maxValue (defaults to<br/>'The date in this field must be before {maxValue}').</div>
1054 <td class="msource">
1062 <tr class="config-row expandable config-row-alt1 notInherited">
1063 <td class="micon"><a class="exi" href="#expand"> </a></td>
1066 <a id="Roo.form.DateField-cfg-maxValue" name=".maxValue"></a>
1067 <div class="fixedFont">
1068 <b class="itemname">maxValue</b> : <a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a>/String
1074 <div class="short">The maximum allowed date.</div>
1078 <div class="long">The maximum allowed date. Can be either a Javascript date object or a string date in a<br/>valid format (defaults to null).</div>
1084 <td class="msource">
1092 <tr class="config-row expandable config-row-alt0">
1093 <td class="micon"><a class="exi" href="#expand"> </a></td>
1096 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
1097 <div class="fixedFont">
1098 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1104 <div class="short">Minimum input field length required (defaults to 0)</div>
1108 <div class="long">Minimum input field length required (defaults to 0)</div>
1114 <td class="msource">
1116 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1122 <tr class="config-row expandable config-row-alt1">
1123 <td class="micon"><a class="exi" href="#expand"> </a></td>
1126 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1127 <div class="fixedFont">
1128 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1134 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1138 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1144 <td class="msource">
1146 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1152 <tr class="config-row expandable config-row-alt0 notInherited">
1153 <td class="micon"><a class="exi" href="#expand"> </a></td>
1156 <a id="Roo.form.DateField-cfg-minText" name=".minText"></a>
1157 <div class="fixedFont">
1158 <b class="itemname">minText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1164 <div class="short">The error text to display when the date in the cell is before minValue (defaults to<br/>'The date in this field must be after {minValue}').</div>
1168 <div class="long">The error text to display when the date in the cell is before minValue (defaults to<br/>'The date in this field must be after {minValue}').</div>
1174 <td class="msource">
1182 <tr class="config-row expandable config-row-alt1 notInherited">
1183 <td class="micon"><a class="exi" href="#expand"> </a></td>
1186 <a id="Roo.form.DateField-cfg-minValue" name=".minValue"></a>
1187 <div class="fixedFont">
1188 <b class="itemname">minValue</b> : <a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a>/String
1194 <div class="short">The minimum allowed date.</div>
1198 <div class="long">The minimum allowed date. Can be either a Javascript date object or a string date in a<br/>valid format (defaults to null).</div>
1204 <td class="msource">
1212 <tr class="config-row expandable config-row-alt0">
1213 <td class="micon"><a class="exi" href="#expand"> </a></td>
1216 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1217 <div class="fixedFont">
1218 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1224 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1228 <div class="long"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1234 <td class="msource">
1236 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1242 <tr class="config-row expandable config-row-alt1">
1243 <td class="micon"><a class="exi" href="#expand"> </a></td>
1246 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1247 <div class="fixedFont">
1248 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1254 <div class="short">The location where error text should display.</div>
1258 <div class="long">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></div>
1264 <td class="msource">
1266 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1272 <tr class="config-row expandable config-row-alt0">
1273 <td class="micon"><a class="exi" href="#expand"> </a></td>
1276 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1277 <div class="fixedFont">
1278 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1284 <div class="short">The field's HTML name attribute.</div>
1288 <div class="long">The field's HTML name attribute.</div>
1294 <td class="msource">
1296 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1302 <tr class="config-row expandable config-row-alt1">
1303 <td class="micon"><a class="exi" href="#expand"> </a></td>
1306 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1307 <div class="fixedFont">
1308 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1314 <div class="short">Mouse over tip</div>
1318 <div class="long">Mouse over tip</div>
1324 <td class="msource">
1326 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1332 <tr class="config-row expandable config-row-alt0">
1333 <td class="micon"><a class="exi" href="#expand"> </a></td>
1336 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1337 <div class="fixedFont">
1338 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1344 <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>
1348 <div class="long">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.</div>
1354 <td class="msource">
1356 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1362 <tr class="config-row expandable config-row-alt1">
1363 <td class="micon"><a class="exi" href="#expand"> </a></td>
1366 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1367 <div class="fixedFont">
1368 <b class="itemname">regex</b> : RegExp
1374 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1378 <div class="long">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>}.</div>
1384 <td class="msource">
1386 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</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-regexText" name=".regexText"></a>
1397 <div class="fixedFont">
1398 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1404 <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>
1408 <div class="long">The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")</div>
1414 <td class="msource">
1416 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1422 <tr class="config-row expandable config-row-alt1">
1423 <td class="micon"><a class="exi" href="#expand"> </a></td>
1426 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1427 <div class="fixedFont">
1428 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1434 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1438 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1444 <td class="msource">
1446 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1452 <tr class="config-row expandable config-row-alt0">
1453 <td class="micon"><a class="exi" href="#expand"> </a></td>
1456 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1457 <div class="fixedFont">
1458 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1464 <div class="short">The tabIndex for this field.</div>
1468 <div class="long">The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).</div>
1474 <td class="msource">
1476 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1482 <tr class="config-row expandable config-row-alt1 notInherited">
1483 <td class="micon"><a class="exi" href="#expand"> </a></td>
1486 <a id="Roo.form.DateField-cfg-triggerClass" name=".triggerClass"></a>
1487 <div class="fixedFont">
1488 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1494 <div class="short">An additional CSS class used to style the trigger button.</div>
1498 <div class="long">An additional CSS class used to style the trigger button. The trigger will always get the<br/>class 'x-form-trigger' and triggerClass will be <b>appended</b> if specified (defaults to 'x-form-date-trigger'<br/>which displays a calendar icon).</div>
1504 <td class="msource">
1512 <tr class="config-row expandable config-row-alt0 notInherited">
1513 <td class="micon"><a class="exi" href="#expand"> </a></td>
1516 <a id="Roo.form.DateField-cfg-useIso" name=".useIso"></a>
1517 <div class="fixedFont">
1518 <b class="itemname">useIso</b> : bool
1524 <div class="short">if enabled, then the date field will use a hidden field to store the <br/>real value as iso formated date.</div>
1528 <div class="long">if enabled, then the date field will use a hidden field to store the <br/>real value as iso formated date. default (false)</div>
1534 <td class="msource">
1542 <tr class="config-row expandable config-row-alt1">
1543 <td class="micon"><a class="exi" href="#expand"> </a></td>
1546 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1547 <div class="fixedFont">
1548 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1554 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1558 <div class="long">Whether the field should validate when it loses focus (defaults to true).</div>
1564 <td class="msource">
1566 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1572 <tr class="config-row expandable config-row-alt0">
1573 <td class="micon"><a class="exi" href="#expand"> </a></td>
1576 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1577 <div class="fixedFont">
1578 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1584 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1588 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1594 <td class="msource">
1596 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1602 <tr class="config-row expandable config-row-alt1">
1603 <td class="micon"><a class="exi" href="#expand"> </a></td>
1606 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1607 <div class="fixedFont">
1608 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1614 <div class="short">The event that should initiate field validation.</div>
1618 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1624 <td class="msource">
1626 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1632 <tr class="config-row expandable config-row-alt0">
1633 <td class="micon"><a class="exi" href="#expand"> </a></td>
1636 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1637 <div class="fixedFont">
1638 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1644 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1648 <div class="long">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.</div>
1654 <td class="msource">
1656 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1662 <tr class="config-row expandable config-row-alt1">
1663 <td class="micon"><a class="exi" href="#expand"> </a></td>
1666 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1667 <div class="fixedFont">
1668 <b class="itemname">value</b> : Mixed
1674 <div class="short">A value to initialize this field with.</div>
1678 <div class="long">A value to initialize this field with.</div>
1684 <td class="msource">
1686 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1692 <tr class="config-row expandable config-row-alt0">
1693 <td class="micon"><a class="exi" href="#expand"> </a></td>
1696 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1697 <div class="fixedFont">
1698 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1704 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1708 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1714 <td class="msource">
1716 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1722 <tr class="config-row expandable config-row-alt1">
1723 <td class="micon"><a class="exi" href="#expand"> </a></td>
1726 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1727 <div class="fixedFont">
1728 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1734 <div class="short">width (optional) size of component</div>
1738 <div class="long">width (optional) size of component</div>
1744 <td class="msource">
1746 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1762 <!-- ============================== public properties ==================== -->
1766 <a id="Roo.form.DateField-props"></a>
1772 <table cellspacing="0" class="member-table">
1773 <caption class="Empty">Public Properties - Has None</caption>
1779 <!-- ============================== methods summary / details ======================== -->
1782 <a id="Roo.form.DateField-methods"></a>
1783 <!-- constructor?? -->
1790 <!-- then dynamics first -->
1797 <table cellspacing="0" class="member-table">
1798 <caption>Public Methods</caption>
1800 <th class="sig-header" colspan="2">Method</th>
1801 <th class="msource-header">Defined By</th>
1811 <tr class="method-row config-row-alt0 expandable notInherited">
1812 <td class="micon"><a class="exi" href="#expand"> </a></td>
1816 <a id="Roo.form-method-DateField" name=".DateField"></a>
1817 <div class="fixedFont">
1818 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">DateField</b>
1820 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1828 <div class="short">Create a new Roo.form.DateField</div>
1835 Create a new Roo.form.DateField
1838 <dl class="detailList">
1839 <dt class="heading">Parameters:</dt>
1842 <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>
1863 <td class="msource">
1869 <tr class="method-row config-row-alt1 expandable">
1870 <td class="micon"><a class="exi" href="#expand"> </a></td>
1874 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1875 <div class="fixedFont">
1876 <span class="attributes"></span><b class="itemname">addEvents</b>
1878 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1885 <div class="short">Used to define events on this Observable</div>
1891 Used to define events on this Observable
1898 <dl class="detailList">
1899 <dt class="heading">Parameters:</dt>
1902 <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>
1905 <dd>The object with the events defined</dd>
1923 <td class="msource">
1925 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1931 <tr class="method-row config-row-alt0 expandable">
1932 <td class="micon"><a class="exi" href="#expand"> </a></td>
1936 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1937 <div class="fixedFont">
1938 <span class="attributes"></span><b class="itemname">addListener</b>
1940 (<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>)
1947 <div class="short">Appends an event handler to this component</div>
1953 Appends an event handler to this component
1960 <dl class="detailList">
1961 <dt class="heading">Parameters:</dt>
1964 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1967 <dd>The type of event to listen for</dd>
1970 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1973 <dd>The method the event invokes</dd>
1976 <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>
1979 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1982 <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>
1985 <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>
2003 <td class="msource">
2005 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2011 <tr class="method-row config-row-alt1 expandable">
2012 <td class="micon"><a class="exi" href="#expand"> </a></td>
2016 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
2017 <div class="fixedFont">
2018 <span class="attributes"></span><b class="itemname">applyTo</b>
2020 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
2026 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2035 <div class="short">Apply the behaviors of this component to an existing element.</div>
2041 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
2048 <dl class="detailList">
2049 <dt class="heading">Parameters:</dt>
2052 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
2055 <dd>The id of the node, a DOM node or an existing Element</dd>
2063 <dl class="detailList">
2064 <dt class="heading">Returns:</dt>
2066 <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>
2080 <td class="msource">
2082 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2088 <tr class="method-row config-row-alt0 expandable">
2089 <td class="micon"><a class="exi" href="#expand"> </a></td>
2093 <a id="Roo.form.TriggerField-method-autoSize" name=".autoSize"></a>
2094 <div class="fixedFont">
2095 <span class="attributes"></span><b class="itemname">autoSize</b>
2104 <div class="short"></div>
2131 <td class="msource">
2133 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
2139 <tr class="method-row config-row-alt1 expandable">
2140 <td class="micon"><a class="exi" href="#expand"> </a></td>
2144 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
2145 <div class="fixedFont">
2146 <span class="attributes"></span><b class="itemname">clearInvalid</b>
2155 <div class="short">Clear any invalid styles/messages for this field</div>
2161 Clear any invalid styles/messages for this field
2182 <td class="msource">
2184 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2190 <tr class="method-row config-row-alt0 expandable">
2191 <td class="micon"><a class="exi" href="#expand"> </a></td>
2195 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2196 <div class="fixedFont">
2197 <span class="attributes"></span><b class="itemname">destroy</b>
2206 <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>
2212 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}.
2233 <td class="msource">
2235 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2241 <tr class="method-row config-row-alt1 expandable">
2242 <td class="micon"><a class="exi" href="#expand"> </a></td>
2246 <a id="Roo.Component-method-disable" name=".disable"></a>
2247 <div class="fixedFont">
2248 <span class="attributes"></span><b class="itemname">disable</b>
2256 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2265 <div class="short">Disable this component.</div>
2271 Disable this component.
2282 <dl class="detailList">
2283 <dt class="heading">Returns:</dt>
2285 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2299 <td class="msource">
2301 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2307 <tr class="method-row config-row-alt0 expandable">
2308 <td class="micon"><a class="exi" href="#expand"> </a></td>
2312 <a id="Roo.Component-method-enable" name=".enable"></a>
2313 <div class="fixedFont">
2314 <span class="attributes"></span><b class="itemname">enable</b>
2322 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2331 <div class="short">Enable this component.</div>
2337 Enable this component.
2348 <dl class="detailList">
2349 <dt class="heading">Returns:</dt>
2351 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2365 <td class="msource">
2367 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2373 <tr class="method-row config-row-alt1 expandable">
2374 <td class="micon"><a class="exi" href="#expand"> </a></td>
2378 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2379 <div class="fixedFont">
2380 <span class="attributes"></span><b class="itemname">fireEvent</b>
2382 (<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>)
2388 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2397 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2403 Fires the specified event with the passed parameters (minus the event name).
2410 <dl class="detailList">
2411 <dt class="heading">Parameters:</dt>
2414 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2420 <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>
2423 <dd>Variable number of parameters are passed to handlers</dd>
2431 <dl class="detailList">
2432 <dt class="heading">Returns:</dt>
2434 <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>
2448 <td class="msource">
2450 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2456 <tr class="method-row config-row-alt0 expandable">
2457 <td class="micon"><a class="exi" href="#expand"> </a></td>
2461 <a id="Roo.Component-method-focus" name=".focus"></a>
2462 <div class="fixedFont">
2463 <span class="attributes"></span><b class="itemname">focus</b>
2465 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2471 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2480 <div class="short">Try to focus this component.</div>
2486 Try to focus this component.
2493 <dl class="detailList">
2494 <dt class="heading">Parameters:</dt>
2497 <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>
2500 <dd>True to also select the text in this component (if applicable)</dd>
2508 <dl class="detailList">
2509 <dt class="heading">Returns:</dt>
2511 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2525 <td class="msource">
2527 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2533 <tr class="method-row config-row-alt1 expandable">
2534 <td class="micon"><a class="exi" href="#expand"> </a></td>
2538 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2539 <div class="fixedFont">
2540 <span class="attributes"></span><b class="itemname">getBox</b>
2542 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2549 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2555 Gets the current box measurements of the component's underlying element.
2562 <dl class="detailList">
2563 <dt class="heading">Parameters:</dt>
2566 <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>
2569 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2587 <td class="msource">
2589 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2595 <tr class="method-row config-row-alt0 expandable">
2596 <td class="micon"><a class="exi" href="#expand"> </a></td>
2600 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2601 <div class="fixedFont">
2602 <span class="attributes"></span><b class="itemname">getEl</b>
2610 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2619 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2625 Returns the underlying {<b>link</b> Roo.Element}.
2636 <dl class="detailList">
2637 <dt class="heading">Returns:</dt>
2639 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2653 <td class="msource">
2655 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2661 <tr class="method-row config-row-alt1 expandable">
2662 <td class="micon"><a class="exi" href="#expand"> </a></td>
2666 <a id="Roo.Component-method-getId" name=".getId"></a>
2667 <div class="fixedFont">
2668 <span class="attributes"></span><b class="itemname">getId</b>
2676 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2685 <div class="short">Returns the id of this component.</div>
2691 Returns the id of this component.
2702 <dl class="detailList">
2703 <dt class="heading">Returns:</dt>
2705 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2719 <td class="msource">
2721 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2727 <tr class="method-row config-row-alt0 expandable">
2728 <td class="micon"><a class="exi" href="#expand"> </a></td>
2732 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2733 <div class="fixedFont">
2734 <span class="attributes"></span><b class="itemname">getName</b>
2742 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2751 <div class="short">Returns the name attribute of the field if available</div>
2757 Returns the name attribute of the field if available
2768 <dl class="detailList">
2769 <dt class="heading">Returns:</dt>
2771 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2785 <td class="msource">
2787 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2793 <tr class="method-row config-row-alt1 expandable">
2794 <td class="micon"><a class="exi" href="#expand"> </a></td>
2798 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2799 <div class="fixedFont">
2800 <span class="attributes"></span><b class="itemname">getPosition</b>
2802 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2808 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2817 <div class="short">Gets the current XY position of the component's underlying element.</div>
2823 Gets the current XY position of the component's underlying element.
2830 <dl class="detailList">
2831 <dt class="heading">Parameters:</dt>
2834 <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>
2837 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2845 <dl class="detailList">
2846 <dt class="heading">Returns:</dt>
2848 <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>
2862 <td class="msource">
2864 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2870 <tr class="method-row config-row-alt0 expandable">
2871 <td class="micon"><a class="exi" href="#expand"> </a></td>
2875 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2876 <div class="fixedFont">
2877 <span class="attributes"></span><b class="itemname">getRawValue</b>
2894 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2900 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>}.
2911 <dl class="detailList">
2912 <dt class="heading">Returns:</dt>
2914 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2928 <td class="msource">
2930 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2936 <tr class="method-row config-row-alt1 expandable">
2937 <td class="micon"><a class="exi" href="#expand"> </a></td>
2941 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2942 <div class="fixedFont">
2943 <span class="attributes"></span><b class="itemname">getSize</b>
2951 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2960 <div class="short">Gets the current size of the component's underlying element.</div>
2966 Gets the current size of the component's underlying element.
2977 <dl class="detailList">
2978 <dt class="heading">Returns:</dt>
2980 <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>
2994 <td class="msource">
2996 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3002 <tr class="method-row config-row-alt0 expandable notInherited">
3003 <td class="micon"><a class="exi" href="#expand"> </a></td>
3007 <a id="Roo.form.DateField-method-getValue" name=".getValue"></a>
3008 <div class="fixedFont">
3009 <span class="attributes"></span><b class="itemname">getValue</b>
3017 <a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a>
3026 <div class="short">Returns the current date value of the date field.</div>
3032 Returns the current date value of the date field.
3043 <dl class="detailList">
3044 <dt class="heading">Returns:</dt>
3046 <dd><span class="fixedFont"><a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a></span> The date value</dd>
3060 <td class="msource">
3068 <tr class="method-row config-row-alt1 expandable">
3069 <td class="micon"><a class="exi" href="#expand"> </a></td>
3073 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
3074 <div class="fixedFont">
3075 <span class="attributes"></span><b class="itemname">hasListener</b>
3077 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
3083 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3092 <div class="short">Checks to see if this object has any listeners for a specified event</div>
3098 Checks to see if this object has any listeners for a specified event
3105 <dl class="detailList">
3106 <dt class="heading">Parameters:</dt>
3109 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3112 <dd>The name of the event to check for</dd>
3120 <dl class="detailList">
3121 <dt class="heading">Returns:</dt>
3123 <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>
3137 <td class="msource">
3139 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3145 <tr class="method-row config-row-alt0 expandable">
3146 <td class="micon"><a class="exi" href="#expand"> </a></td>
3150 <a id="Roo.Component-method-hide" name=".hide"></a>
3151 <div class="fixedFont">
3152 <span class="attributes"></span><b class="itemname">hide</b>
3160 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3169 <div class="short">Hide this component.</div>
3175 Hide this component.
3186 <dl class="detailList">
3187 <dt class="heading">Returns:</dt>
3189 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3203 <td class="msource">
3205 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3211 <tr class="method-row config-row-alt1 expandable">
3212 <td class="micon"><a class="exi" href="#expand"> </a></td>
3216 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
3217 <div class="fixedFont">
3218 <span class="attributes"></span><b class="itemname">isDirty</b>
3227 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3233 Returns true if this field has been changed since it was originally loaded and is not disabled.
3254 <td class="msource">
3256 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3262 <tr class="method-row config-row-alt0 expandable">
3263 <td class="micon"><a class="exi" href="#expand"> </a></td>
3267 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3268 <div class="fixedFont">
3269 <span class="attributes"></span><b class="itemname">isValid</b>
3271 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3277 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3286 <div class="short">Returns whether or not the field value is currently valid</div>
3292 Returns whether or not the field value is currently valid
3299 <dl class="detailList">
3300 <dt class="heading">Parameters:</dt>
3303 <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>
3306 <dd>True to disable marking the field invalid</dd>
3314 <dl class="detailList">
3315 <dt class="heading">Returns:</dt>
3317 <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>
3331 <td class="msource">
3333 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3339 <tr class="method-row config-row-alt1 expandable">
3340 <td class="micon"><a class="exi" href="#expand"> </a></td>
3344 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3345 <div class="fixedFont">
3346 <span class="attributes"></span><b class="itemname">isVisible</b>
3355 <div class="short">Returns true if this component is visible.</div>
3361 Returns true if this component is visible.
3382 <td class="msource">
3384 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3390 <tr class="method-row config-row-alt0 expandable">
3391 <td class="micon"><a class="exi" href="#expand"> </a></td>
3395 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3396 <div class="fixedFont">
3397 <span class="attributes"></span><b class="itemname">markInvalid</b>
3399 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3406 <div class="short">Mark this field as invalid</div>
3412 Mark this field as invalid
3419 <dl class="detailList">
3420 <dt class="heading">Parameters:</dt>
3423 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3426 <dd>The validation message</dd>
3444 <td class="msource">
3446 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3452 <tr class="method-row config-row-alt1 expandable">
3453 <td class="micon"><a class="exi" href="#expand"> </a></td>
3457 <a id="Roo.util.Observable-method-on" name=".on"></a>
3458 <div class="fixedFont">
3459 <span class="attributes"></span><b class="itemname">on</b>
3461 (<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>)
3468 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3474 Appends an event handler to this element (shorthand for addListener)
3481 <dl class="detailList">
3482 <dt class="heading">Parameters:</dt>
3485 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3488 <dd>The type of event to listen for</dd>
3491 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3494 <dd>The method the event invokes</dd>
3497 <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>
3500 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3503 <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>
3524 <td class="msource">
3526 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3532 <tr class="method-row config-row-alt0 expandable">
3533 <td class="micon"><a class="exi" href="#expand"> </a></td>
3537 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3538 <div class="fixedFont">
3539 <span class="attributes"></span><b class="itemname">onPosition</b>
3541 (<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>)
3548 <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>
3554 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.
3561 <dl class="detailList">
3562 <dt class="heading">Parameters:</dt>
3565 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3568 <dd>The new x position</dd>
3571 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3574 <dd>The new y position</dd>
3592 <td class="msource">
3594 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3600 <tr class="method-row config-row-alt1 expandable">
3601 <td class="micon"><a class="exi" href="#expand"> </a></td>
3605 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3606 <div class="fixedFont">
3607 <span class="attributes"></span><b class="itemname">onResize</b>
3609 (<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>)
3616 <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>
3622 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.
3629 <dl class="detailList">
3630 <dt class="heading">Parameters:</dt>
3633 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3636 <dd>The box-adjusted width that was set</dd>
3639 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3642 <dd>The box-adjusted height that was set</dd>
3645 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3648 <dd>The width that was originally specified</dd>
3651 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3654 <dd>The height that was originally specified</dd>
3672 <td class="msource">
3674 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3680 <tr class="method-row config-row-alt0 expandable">
3681 <td class="micon"><a class="exi" href="#expand"> </a></td>
3685 <a id="Roo.form.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
3686 <div class="fixedFont">
3687 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
3689 (EventObject <B><i>e</i></B>)
3696 <div class="short">The function that should handle the trigger's click event.</div>
3702 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
3709 <dl class="detailList">
3710 <dt class="heading">Parameters:</dt>
3713 <span class="fixedFont">EventObject</span> <b>e</b>
3734 <td class="msource">
3736 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
3742 <tr class="method-row config-row-alt1 expandable">
3743 <td class="micon"><a class="exi" href="#expand"> </a></td>
3747 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3748 <div class="fixedFont">
3749 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3758 <div class="short">Removes all listeners for this object</div>
3764 Removes all listeners for this object
3785 <td class="msource">
3787 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3793 <tr class="method-row config-row-alt0 expandable">
3794 <td class="micon"><a class="exi" href="#expand"> </a></td>
3798 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3799 <div class="fixedFont">
3800 <span class="attributes"></span><b class="itemname">removeListener</b>
3802 (<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>)
3809 <div class="short">Removes a listener</div>
3822 <dl class="detailList">
3823 <dt class="heading">Parameters:</dt>
3826 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3829 <dd>The type of event to listen for</dd>
3832 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3835 <dd>The handler to remove</dd>
3838 <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>
3841 <dd>(optional) The scope (this object) for the handler</dd>
3859 <td class="msource">
3861 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3867 <tr class="method-row config-row-alt1 expandable">
3868 <td class="micon"><a class="exi" href="#expand"> </a></td>
3872 <a id="Roo.Component-method-render" name=".render"></a>
3873 <div class="fixedFont">
3874 <span class="attributes"></span><b class="itemname">render</b>
3876 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3883 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3889 If this is a lazy rendering component, render it to its container element.
3896 <dl class="detailList">
3897 <dt class="heading">Parameters:</dt>
3900 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3903 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3921 <td class="msource">
3923 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3929 <tr class="method-row config-row-alt0 expandable">
3930 <td class="micon"><a class="exi" href="#expand"> </a></td>
3934 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3935 <div class="fixedFont">
3936 <span class="attributes"></span><b class="itemname">reset</b>
3945 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3951 Resets the current field value to the originally-loaded value and clears any validation messages.<br/>Also adds emptyText and emptyClass if the original value was blank.
3972 <td class="msource">
3974 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3980 <tr class="method-row config-row-alt1 expandable">
3981 <td class="micon"><a class="exi" href="#expand"> </a></td>
3985 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3986 <div class="fixedFont">
3987 <span class="attributes"></span><b class="itemname">selectText</b>
3989 (<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>)
3996 <div class="short">Selects text in this field</div>
4002 Selects text in this field
4009 <dl class="detailList">
4010 <dt class="heading">Parameters:</dt>
4013 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
4016 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
4019 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
4022 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
4040 <td class="msource">
4042 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4048 <tr class="method-row config-row-alt0 expandable">
4049 <td class="micon"><a class="exi" href="#expand"> </a></td>
4053 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
4054 <div class="fixedFont">
4055 <span class="attributes"></span><b class="itemname">setDisabled</b>
4057 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
4064 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
4070 Convenience function for setting disabled/enabled by boolean.
4077 <dl class="detailList">
4078 <dt class="heading">Parameters:</dt>
4081 <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>
4102 <td class="msource">
4104 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4110 <tr class="method-row config-row-alt1 expandable">
4111 <td class="micon"><a class="exi" href="#expand"> </a></td>
4115 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
4116 <div class="fixedFont">
4117 <span class="attributes"></span><b class="itemname">setPagePosition</b>
4119 (<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>)
4126 <div class="short">Sets the page XY position of the component.</div>
4132 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.
4139 <dl class="detailList">
4140 <dt class="heading">Parameters:</dt>
4143 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4146 <dd>The new x position</dd>
4149 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4152 <dd>The new y position</dd>
4170 <td class="msource">
4172 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4178 <tr class="method-row config-row-alt0 expandable">
4179 <td class="micon"><a class="exi" href="#expand"> </a></td>
4183 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
4184 <div class="fixedFont">
4185 <span class="attributes"></span><b class="itemname">setPosition</b>
4187 (<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>)
4194 <div class="short">Sets the left and top of the component.</div>
4200 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.
4207 <dl class="detailList">
4208 <dt class="heading">Parameters:</dt>
4211 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
4214 <dd>The new left</dd>
4217 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
4220 <dd>The new top</dd>
4238 <td class="msource">
4240 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4246 <tr class="method-row config-row-alt1 expandable">
4247 <td class="micon"><a class="exi" href="#expand"> </a></td>
4251 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4252 <div class="fixedFont">
4253 <span class="attributes"></span><b class="itemname">setRawValue</b>
4255 (Mixed <B><i>value</i></B>)
4262 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4268 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4275 <dl class="detailList">
4276 <dt class="heading">Parameters:</dt>
4279 <span class="fixedFont">Mixed</span> <b>value</b>
4282 <dd>The value to set</dd>
4300 <td class="msource">
4302 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4308 <tr class="method-row config-row-alt0 expandable">
4309 <td class="micon"><a class="exi" href="#expand"> </a></td>
4313 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4314 <div class="fixedFont">
4315 <span class="attributes"></span><b class="itemname">setSize</b>
4317 (<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>)
4323 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4332 <div class="short">Sets the width and height of the component.</div>
4338 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}.
4345 <dl class="detailList">
4346 <dt class="heading">Parameters:</dt>
4349 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4352 <dd>The new width to set, or a size object in the format {width, height}</dd>
4355 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4358 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4366 <dl class="detailList">
4367 <dt class="heading">Returns:</dt>
4369 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4383 <td class="msource">
4385 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4391 <tr class="method-row config-row-alt1 expandable notInherited">
4392 <td class="micon"><a class="exi" href="#expand"> </a></td>
4396 <a id="Roo.form.DateField-method-setValue" name=".setValue"></a>
4397 <div class="fixedFont">
4398 <span class="attributes"></span><b class="itemname">setValue</b>
4400 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Date <B><i>date</i></B>)
4407 <div class="short">Sets the value of the date field.</div>
4413 Sets the value of the date field. You can pass a date object or any string that can be parsed into a valid<br/>date, using DateField.format as the date format, according to the same rules as {<b>link</b> Date<b>parseDate</b>}<br/>(the default format used is "m/d/y").<br/><br />Usage:<br/><pre><code><br/>//All of these calls set the same date value (May 4, 2006)<br/><br/>//Pass a date object:<br/>var dt = new Date('5/4/06');<br/>dateField.setValue(dt);<br/><br/>//Pass a date string (default format):<br/>dateField.setValue('5/4/06');<br/><br/>//Pass a date string (custom format):<br/>dateField.format = 'Y-m-d';<br/>dateField.setValue('2006-5-4');<br/></code></pre>
4420 <dl class="detailList">
4421 <dt class="heading">Parameters:</dt>
4424 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Date</span> <b>date</b>
4427 <dd>The date or valid date string</dd>
4445 <td class="msource">
4453 <tr class="method-row config-row-alt0 expandable">
4454 <td class="micon"><a class="exi" href="#expand"> </a></td>
4458 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4459 <div class="fixedFont">
4460 <span class="attributes"></span><b class="itemname">setVisible</b>
4462 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4468 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4477 <div class="short">Convenience function to hide or show this component by boolean.</div>
4483 Convenience function to hide or show this component by boolean.
4490 <dl class="detailList">
4491 <dt class="heading">Parameters:</dt>
4494 <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>
4497 <dd>True to show, false to hide</dd>
4505 <dl class="detailList">
4506 <dt class="heading">Returns:</dt>
4508 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4522 <td class="msource">
4524 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4530 <tr class="method-row config-row-alt1 expandable">
4531 <td class="micon"><a class="exi" href="#expand"> </a></td>
4535 <a id="Roo.Component-method-show" name=".show"></a>
4536 <div class="fixedFont">
4537 <span class="attributes"></span><b class="itemname">show</b>
4545 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4554 <div class="short">Show this component.</div>
4560 Show this component.
4571 <dl class="detailList">
4572 <dt class="heading">Returns:</dt>
4574 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4588 <td class="msource">
4590 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4596 <tr class="method-row config-row-alt0 expandable">
4597 <td class="micon"><a class="exi" href="#expand"> </a></td>
4601 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4602 <div class="fixedFont">
4603 <span class="attributes"></span><b class="itemname">syncSize</b>
4612 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4618 Force the component's size to recalculate based on the underlying element's current height and width.
4639 <td class="msource">
4641 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4647 <tr class="method-row config-row-alt1 expandable">
4648 <td class="micon"><a class="exi" href="#expand"> </a></td>
4652 <a id="Roo.util.Observable-method-un" name=".un"></a>
4653 <div class="fixedFont">
4654 <span class="attributes"></span><b class="itemname">un</b>
4656 (<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>)
4663 <div class="short">Removes a listener (shorthand for removeListener)</div>
4669 Removes a listener (shorthand for removeListener)
4676 <dl class="detailList">
4677 <dt class="heading">Parameters:</dt>
4680 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4683 <dd>The type of event to listen for</dd>
4686 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4689 <dd>The handler to remove</dd>
4692 <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>
4695 <dd>(optional) The scope (this object) for the handler</dd>
4713 <td class="msource">
4715 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4721 <tr class="method-row config-row-alt0 expandable">
4722 <td class="micon"><a class="exi" href="#expand"> </a></td>
4726 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4727 <div class="fixedFont">
4728 <span class="attributes"></span><b class="itemname">updateBox</b>
4730 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4737 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4743 Sets the current box measurements of the component's underlying element.
4750 <dl class="detailList">
4751 <dt class="heading">Parameters:</dt>
4754 <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>
4757 <dd>An object in the format {x, y, width, height}</dd>
4775 <td class="msource">
4777 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4783 <tr class="method-row config-row-alt1 expandable">
4784 <td class="micon"><a class="exi" href="#expand"> </a></td>
4788 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4789 <div class="fixedFont">
4790 <span class="attributes"></span><b class="itemname">validate</b>
4798 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4807 <div class="short">Validates the field value</div>
4813 Validates the field value
4824 <dl class="detailList">
4825 <dt class="heading">Returns:</dt>
4827 <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>
4841 <td class="msource">
4843 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4849 <tr class="method-row config-row-alt0 expandable">
4850 <td class="micon"><a class="exi" href="#expand"> </a></td>
4854 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4855 <div class="fixedFont">
4856 <span class="attributes"></span><b class="itemname">validateValue</b>
4858 (Mixed <B><i>value</i></B>)
4864 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4873 <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>
4879 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4886 <dl class="detailList">
4887 <dt class="heading">Parameters:</dt>
4890 <span class="fixedFont">Mixed</span> <b>value</b>
4893 <dd>The value to validate</dd>
4901 <dl class="detailList">
4902 <dt class="heading">Returns:</dt>
4904 <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>
4918 <td class="msource">
4920 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4929 <!-- ============================== events summary / details ======================== -->
4932 <a id="Roo.form.DateField-events"></a>
4941 <table cellspacing="0" class="member-table">
4942 <caption>Events</caption>
4945 <th class="sig-header" colspan="2">Event</th>
4946 <th class="msource-header">Defined By</th>
4955 <tr class="method-row expandable config-row-alt0">
4956 <td class="micon"><a class="exi" href="#expand"> </a></td>
4959 <a id="Roo.form.TextField-event-*autosize"></a>
4961 <div class="fixedFont">
4962 <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>)
4968 <div class="short">Fires when the autosize function is triggered.
4974 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.
4980 <dl class="detailList">
4981 <dt class="heading">Parameters:</dt>
4984 <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>
4987 <dd>This text field</dd>
4990 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4993 <dd>The new field width</dd>
5011 <td class="msource">
5012 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5016 <tr class="method-row expandable config-row-alt1">
5017 <td class="micon"><a class="exi" href="#expand"> </a></td>
5020 <a id="Roo.Component-event-*beforedestroy"></a>
5022 <div class="fixedFont">
5023 <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>)
5029 <div class="short">Fires before the component is destroyed.
5035 Fires before the component is destroyed. Return false to stop the destroy.
5041 <dl class="detailList">
5042 <dt class="heading">Parameters:</dt>
5045 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5066 <td class="msource">
5067 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5071 <tr class="method-row expandable config-row-alt0">
5072 <td class="micon"><a class="exi" href="#expand"> </a></td>
5075 <a id="Roo.Component-event-*beforehide"></a>
5077 <div class="fixedFont">
5078 <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>)
5084 <div class="short">Fires before the component is hidden.
5090 Fires before the component is hidden. Return false to stop the hide.
5096 <dl class="detailList">
5097 <dt class="heading">Parameters:</dt>
5100 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5121 <td class="msource">
5122 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5126 <tr class="method-row expandable config-row-alt1">
5127 <td class="micon"><a class="exi" href="#expand"> </a></td>
5130 <a id="Roo.Component-event-*beforerender"></a>
5132 <div class="fixedFont">
5133 <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>)
5139 <div class="short">Fires before the component is rendered.
5145 Fires before the component is rendered. Return false to stop the render.
5151 <dl class="detailList">
5152 <dt class="heading">Parameters:</dt>
5155 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5176 <td class="msource">
5177 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5181 <tr class="method-row expandable config-row-alt0">
5182 <td class="micon"><a class="exi" href="#expand"> </a></td>
5185 <a id="Roo.Component-event-*beforeshow"></a>
5187 <div class="fixedFont">
5188 <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>)
5194 <div class="short">Fires before the component is shown.
5200 Fires before the component is shown. Return false to stop the show.
5206 <dl class="detailList">
5207 <dt class="heading">Parameters:</dt>
5210 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5231 <td class="msource">
5232 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5236 <tr class="method-row expandable config-row-alt1">
5237 <td class="micon"><a class="exi" href="#expand"> </a></td>
5240 <a id="Roo.form.Field-event-*blur"></a>
5242 <div class="fixedFont">
5243 <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>)
5249 <div class="short">Fires when this field loses input focus.
5255 Fires when this field loses input focus.
5261 <dl class="detailList">
5262 <dt class="heading">Parameters:</dt>
5265 <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>
5286 <td class="msource">
5287 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5291 <tr class="method-row expandable config-row-alt0">
5292 <td class="micon"><a class="exi" href="#expand"> </a></td>
5295 <a id="Roo.form.Field-event-*change"></a>
5297 <div class="fixedFont">
5298 <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>)
5304 <div class="short">Fires just before the field blurs if the field value has changed.
5310 Fires just before the field blurs if the field value has changed.
5316 <dl class="detailList">
5317 <dt class="heading">Parameters:</dt>
5320 <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>
5326 <span class="fixedFont">Mixed</span> <b>newValue</b>
5329 <dd>The new value</dd>
5332 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5335 <dd>The original value</dd>
5353 <td class="msource">
5354 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5358 <tr class="method-row expandable config-row-alt1">
5359 <td class="micon"><a class="exi" href="#expand"> </a></td>
5362 <a id="Roo.Component-event-*destroy"></a>
5364 <div class="fixedFont">
5365 <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>)
5371 <div class="short">Fires after the component is destroyed.
5377 Fires after the component is destroyed.
5383 <dl class="detailList">
5384 <dt class="heading">Parameters:</dt>
5387 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5408 <td class="msource">
5409 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5413 <tr class="method-row expandable config-row-alt0">
5414 <td class="micon"><a class="exi" href="#expand"> </a></td>
5417 <a id="Roo.Component-event-*disable"></a>
5419 <div class="fixedFont">
5420 <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>)
5426 <div class="short">Fires after the component is disabled.
5432 Fires after the component is disabled.
5438 <dl class="detailList">
5439 <dt class="heading">Parameters:</dt>
5442 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5463 <td class="msource">
5464 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5468 <tr class="method-row expandable config-row-alt1">
5469 <td class="micon"><a class="exi" href="#expand"> </a></td>
5472 <a id="Roo.Component-event-*enable"></a>
5474 <div class="fixedFont">
5475 <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>)
5481 <div class="short">Fires after the component is enabled.
5487 Fires after the component is enabled.
5493 <dl class="detailList">
5494 <dt class="heading">Parameters:</dt>
5497 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5518 <td class="msource">
5519 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5523 <tr class="method-row expandable config-row-alt0">
5524 <td class="micon"><a class="exi" href="#expand"> </a></td>
5527 <a id="Roo.form.Field-event-*focus"></a>
5529 <div class="fixedFont">
5530 <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>)
5536 <div class="short">Fires when this field receives input focus.
5542 Fires when this field receives input focus.
5548 <dl class="detailList">
5549 <dt class="heading">Parameters:</dt>
5552 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
5573 <td class="msource">
5574 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5578 <tr class="method-row expandable config-row-alt1">
5579 <td class="micon"><a class="exi" href="#expand"> </a></td>
5582 <a id="Roo.Component-event-*hide"></a>
5584 <div class="fixedFont">
5585 <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>)
5591 <div class="short">Fires after the component is hidden.
5597 Fires after the component is hidden.
5603 <dl class="detailList">
5604 <dt class="heading">Parameters:</dt>
5607 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5628 <td class="msource">
5629 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5633 <tr class="method-row expandable config-row-alt0">
5634 <td class="micon"><a class="exi" href="#expand"> </a></td>
5637 <a id="Roo.form.Field-event-*invalid"></a>
5639 <div class="fixedFont">
5640 <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>)
5646 <div class="short">Fires after the field has been marked as invalid.
5652 Fires after the field has been marked as invalid.
5658 <dl class="detailList">
5659 <dt class="heading">Parameters:</dt>
5662 <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>
5668 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5671 <dd>The validation message</dd>
5689 <td class="msource">
5690 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5694 <tr class="method-row expandable config-row-alt1">
5695 <td class="micon"><a class="exi" href="#expand"> </a></td>
5698 <a id="Roo.form.Field-event-*keyup"></a>
5700 <div class="fixedFont">
5701 <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>)
5707 <div class="short">Fires after the key up
5713 Fires after the key up
5719 <dl class="detailList">
5720 <dt class="heading">Parameters:</dt>
5723 <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>
5729 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5732 <dd>The event Object</dd>
5750 <td class="msource">
5751 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5755 <tr class="method-row expandable config-row-alt0">
5756 <td class="micon"><a class="exi" href="#expand"> </a></td>
5759 <a id="Roo.BoxComponent-event-*move"></a>
5761 <div class="fixedFont">
5762 <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>)
5768 <div class="short">Fires after the component is moved.
5774 Fires after the component is moved.
5780 <dl class="detailList">
5781 <dt class="heading">Parameters:</dt>
5784 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5790 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5793 <dd>The new x position</dd>
5796 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5799 <dd>The new y position</dd>
5817 <td class="msource">
5818 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5822 <tr class="method-row expandable config-row-alt1">
5823 <td class="micon"><a class="exi" href="#expand"> </a></td>
5826 <a id="Roo.Component-event-*render"></a>
5828 <div class="fixedFont">
5829 <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>)
5835 <div class="short">Fires after the component is rendered.
5841 Fires after the component is rendered.
5847 <dl class="detailList">
5848 <dt class="heading">Parameters:</dt>
5851 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5872 <td class="msource">
5873 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5877 <tr class="method-row expandable config-row-alt0">
5878 <td class="micon"><a class="exi" href="#expand"> </a></td>
5881 <a id="Roo.BoxComponent-event-*resize"></a>
5883 <div class="fixedFont">
5884 <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>)
5890 <div class="short">Fires after the component is resized.
5896 Fires after the component is resized.
5902 <dl class="detailList">
5903 <dt class="heading">Parameters:</dt>
5906 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5912 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5915 <dd>The box-adjusted width that was set</dd>
5918 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5921 <dd>The box-adjusted height that was set</dd>
5924 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5927 <dd>The width that was originally specified</dd>
5930 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5933 <dd>The height that was originally specified</dd>
5951 <td class="msource">
5952 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5956 <tr class="method-row expandable config-row-alt1 notInherited">
5957 <td class="micon"><a class="exi" href="#expand"> </a></td>
5960 <a id="Roo.form.DateField-event-*select"></a>
5962 <div class="fixedFont">
5963 <b class="itemname">select</b> (<a href="./Roo.form.DateField.html#constructor" roo:cls="Roo.form.DateField.html#constructor">Roo.form.DateField</a> <B><i>combo</i></B>, <a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a> <B><i>date</i></B>)
5969 <div class="short">Fires when a date is selected
5975 Fires when a date is selected
5981 <dl class="detailList">
5982 <dt class="heading">Parameters:</dt>
5985 <span class="fixedFont"><a href="./Roo.form.DateField.html#constructor" roo:cls="Roo.form.DateField.html#constructor">Roo.form.DateField</a></span> <b>combo</b>
5988 <dd>This combo box</dd>
5991 <span class="fixedFont"><a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a></span> <b>date</b>
5994 <dd>The date selected</dd>
6012 <td class="msource">
6017 <tr class="method-row expandable config-row-alt0">
6018 <td class="micon"><a class="exi" href="#expand"> </a></td>
6021 <a id="Roo.Component-event-*show"></a>
6023 <div class="fixedFont">
6024 <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>)
6030 <div class="short">Fires after the component is shown.
6036 Fires after the component is shown.
6042 <dl class="detailList">
6043 <dt class="heading">Parameters:</dt>
6046 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6067 <td class="msource">
6068 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6072 <tr class="method-row expandable config-row-alt1">
6073 <td class="micon"><a class="exi" href="#expand"> </a></td>
6076 <a id="Roo.form.Field-event-*specialkey"></a>
6078 <div class="fixedFont">
6079 <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>)
6085 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
6091 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.
6097 <dl class="detailList">
6098 <dt class="heading">Parameters:</dt>
6101 <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>
6107 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
6110 <dd>The event object</dd>
6128 <td class="msource">
6129 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6133 <tr class="method-row expandable config-row-alt0">
6134 <td class="micon"><a class="exi" href="#expand"> </a></td>
6137 <a id="Roo.form.Field-event-*valid"></a>
6139 <div class="fixedFont">
6140 <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>)
6146 <div class="short">Fires after the field has been validated with no errors.
6152 Fires after the field has been validated with no errors.
6158 <dl class="detailList">
6159 <dt class="heading">Parameters:</dt>
6162 <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>
6183 <td class="msource">
6184 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6195 <!-- ============================== footer ================================= -->
6196 <div class="fineprint" style="clear:both">
6198 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Apr 01 2011 15:12:59 GMT+0800 (HKT)
6200 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>