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>
149 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
159 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
165 <tr class="config-row expandable config-row-alt1">
166 <td class="micon"><a class="exi" href="#expand"> </a></td>
169 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
170 <div class="fixedFont">
171 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
177 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
182 False to validate that the value length > 0 (defaults to true)
192 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
198 <tr class="config-row expandable config-row-alt0">
199 <td class="micon"><a class="exi" href="#expand"> </a></td>
202 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
203 <div class="fixedFont">
204 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
210 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
215 Whether the component can move the Dom node when rendering (defaults to true).
225 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
231 <tr class="config-row expandable config-row-alt1 notInherited">
232 <td class="micon"><a class="exi" href="#expand"> </a></td>
235 <a id="Roo.form.DateField-cfg-altFormats" name=".altFormats"></a>
236 <div class="fixedFont">
237 <b class="itemname">altFormats</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
243 <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>
248 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').
264 <tr class="config-row expandable config-row-alt0 notInherited">
265 <td class="micon"><a class="exi" href="#expand"> </a></td>
268 <a id="Roo.form.DateField-cfg-autoCreate" name=".autoCreate"></a>
269 <div class="fixedFont">
270 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
276 <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>
281 A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "10", autocomplete: "off"})
297 <tr class="config-row expandable config-row-alt1">
298 <td class="micon"><a class="exi" href="#expand"> </a></td>
301 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
302 <div class="fixedFont">
303 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
309 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
314 Error text to display if the allow blank validation fails (defaults to "This field is required")
324 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
330 <tr class="config-row expandable config-row-alt0">
331 <td class="micon"><a class="exi" href="#expand"> </a></td>
334 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
335 <div class="fixedFont">
336 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
342 <div class="short">A CSS class to apply to the field's underlying element.</div>
347 A CSS class to apply to the field's underlying element.
357 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
363 <tr class="config-row expandable config-row-alt1">
364 <td class="micon"><a class="exi" href="#expand"> </a></td>
367 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
368 <div class="fixedFont">
369 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
375 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
380 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
390 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
396 <tr class="config-row expandable config-row-alt0">
397 <td class="micon"><a class="exi" href="#expand"> </a></td>
400 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
401 <div class="fixedFont">
402 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
408 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
413 True to disable input keystroke filtering (defaults to false)
423 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
429 <tr class="config-row expandable config-row-alt1">
430 <td class="micon"><a class="exi" href="#expand"> </a></td>
433 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
434 <div class="fixedFont">
435 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
441 <div class="short">True to disable the field (defaults to false).</div>
446 True to disable the field (defaults to false).
456 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
462 <tr class="config-row expandable config-row-alt0 notInherited">
463 <td class="micon"><a class="exi" href="#expand"> </a></td>
466 <a id="Roo.form.DateField-cfg-disabledDates" name=".disabledDates"></a>
467 <div class="fixedFont">
468 <b class="itemname">disabledDates</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
474 <div class="short">An array of "dates" to disable, as strings.</div>
479 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"].
495 <tr class="config-row expandable config-row-alt1 notInherited">
496 <td class="micon"><a class="exi" href="#expand"> </a></td>
499 <a id="Roo.form.DateField-cfg-disabledDatesText" name=".disabledDatesText"></a>
500 <div class="fixedFont">
501 <b class="itemname">disabledDatesText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
507 <div class="short">The tooltip text to display when the date falls on a disabled date (defaults to 'Disabled')</div>
512 The tooltip text to display when the date falls on a disabled date (defaults to 'Disabled')
528 <tr class="config-row expandable config-row-alt0 notInherited">
529 <td class="micon"><a class="exi" href="#expand"> </a></td>
532 <a id="Roo.form.DateField-cfg-disabledDays" name=".disabledDays"></a>
533 <div class="fixedFont">
534 <b class="itemname">disabledDays</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
540 <div class="short">An array of days to disable, 0 based.</div>
545 An array of days to disable, 0 based. For example, [0, 6] disables Sunday and Saturday (defaults to null).
561 <tr class="config-row expandable config-row-alt1 notInherited">
562 <td class="micon"><a class="exi" href="#expand"> </a></td>
565 <a id="Roo.form.DateField-cfg-disabledDaysText" name=".disabledDaysText"></a>
566 <div class="fixedFont">
567 <b class="itemname">disabledDaysText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
573 <div class="short">The tooltip to display when the date falls on a disabled day (defaults to 'Disabled')</div>
578 The tooltip to display when the date falls on a disabled day (defaults to 'Disabled')
594 <tr class="config-row expandable config-row-alt0">
595 <td class="micon"><a class="exi" href="#expand"> </a></td>
598 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
599 <div class="fixedFont">
600 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
606 <div class="short">The default text to display in an empty field - placeholder.</div>
611 The default text to display in an empty field - placeholder... (defaults to null).
621 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
627 <tr class="config-row expandable config-row-alt1">
628 <td class="micon"><a class="exi" href="#expand"> </a></td>
631 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
632 <div class="fixedFont">
633 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
639 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
644 The default CSS class for the field (defaults to "x-form-field")
654 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
660 <tr class="config-row expandable config-row-alt0">
661 <td class="micon"><a class="exi" href="#expand"> </a></td>
664 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
665 <div class="fixedFont">
666 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
672 <div class="short">Label to use when rendering a form.</div>
677 Label to use when rendering a form.
687 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
693 <tr class="config-row expandable config-row-alt1">
694 <td class="micon"><a class="exi" href="#expand"> </a></td>
697 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
698 <div class="fixedFont">
699 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
705 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
710 The CSS class to use when the field receives focus (defaults to "x-form-focus")
720 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
726 <tr class="config-row expandable config-row-alt0 notInherited">
727 <td class="micon"><a class="exi" href="#expand"> </a></td>
730 <a id="Roo.form.DateField-cfg-format" name=".format"></a>
731 <div class="fixedFont">
732 <b class="itemname">format</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
738 <div class="short">The default date format string which can be overriden for localization support.</div>
743 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').
759 <tr class="config-row expandable config-row-alt1">
760 <td class="micon"><a class="exi" href="#expand"> </a></td>
763 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
764 <div class="fixedFont">
765 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
771 <div class="short">height (optional) size of component</div>
776 height (optional) size of component
786 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</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.Component-cfg-hideMode" name=".hideMode"></a>
797 <div class="fixedFont">
798 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
804 <div class="short">How this component should hidden.</div>
809 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
810 <BR/>Possible Values: display, visibility
819 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
825 <tr class="config-row expandable config-row-alt1">
826 <td class="micon"><a class="exi" href="#expand"> </a></td>
829 <a id="Roo.form.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
830 <div class="fixedFont">
831 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
837 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
842 True to hide the trigger element and display only the base text field (defaults to false)
852 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
858 <tr class="config-row expandable config-row-alt0">
859 <td class="micon"><a class="exi" href="#expand"> </a></td>
862 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
863 <div class="fixedFont">
864 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
870 <div class="short">The type attribute for input fields -- e.g.</div>
875 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
885 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
891 <tr class="config-row expandable config-row-alt1">
892 <td class="micon"><a class="exi" href="#expand"> </a></td>
895 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
896 <div class="fixedFont">
897 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
903 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
908 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
918 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
924 <tr class="config-row expandable config-row-alt0 notInherited">
925 <td class="micon"><a class="exi" href="#expand"> </a></td>
928 <a id="Roo.form.DateField-cfg-invalidText" name=".invalidText"></a>
929 <div class="fixedFont">
930 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
936 <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>
941 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}').
957 <tr class="config-row expandable config-row-alt1">
958 <td class="micon"><a class="exi" href="#expand"> </a></td>
961 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
962 <div class="fixedFont">
963 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
969 <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>
974 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>
984 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
990 <tr class="config-row expandable config-row-alt0">
991 <td class="micon"><a class="exi" href="#expand"> </a></td>
994 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
995 <div class="fixedFont">
996 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1002 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
1007 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
1015 <td class="msource">
1017 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1023 <tr class="config-row expandable config-row-alt1">
1024 <td class="micon"><a class="exi" href="#expand"> </a></td>
1027 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
1028 <div class="fixedFont">
1029 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1035 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
1040 Maximum input field length allowed (defaults to Number.MAX_VALUE)
1048 <td class="msource">
1050 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1056 <tr class="config-row expandable config-row-alt0">
1057 <td class="micon"><a class="exi" href="#expand"> </a></td>
1060 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
1061 <div class="fixedFont">
1062 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1068 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1073 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
1081 <td class="msource">
1083 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1089 <tr class="config-row expandable config-row-alt1 notInherited">
1090 <td class="micon"><a class="exi" href="#expand"> </a></td>
1093 <a id="Roo.form.DateField-cfg-maxText" name=".maxText"></a>
1094 <div class="fixedFont">
1095 <b class="itemname">maxText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1101 <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>
1106 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}').
1114 <td class="msource">
1122 <tr class="config-row expandable config-row-alt0 notInherited">
1123 <td class="micon"><a class="exi" href="#expand"> </a></td>
1126 <a id="Roo.form.DateField-cfg-maxValue" name=".maxValue"></a>
1127 <div class="fixedFont">
1128 <b class="itemname">maxValue</b> : <a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a>/String
1134 <div class="short">The maximum allowed date.</div>
1139 The maximum allowed date. Can be either a Javascript date object or a string date in a<br/>valid format (defaults to null).
1147 <td class="msource">
1155 <tr class="config-row expandable config-row-alt1">
1156 <td class="micon"><a class="exi" href="#expand"> </a></td>
1159 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
1160 <div class="fixedFont">
1161 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1167 <div class="short">Minimum input field length required (defaults to 0)</div>
1172 Minimum input field length required (defaults to 0)
1180 <td class="msource">
1182 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1188 <tr class="config-row expandable config-row-alt0">
1189 <td class="micon"><a class="exi" href="#expand"> </a></td>
1192 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1193 <div class="fixedFont">
1194 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1200 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1205 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1213 <td class="msource">
1215 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1221 <tr class="config-row expandable config-row-alt1 notInherited">
1222 <td class="micon"><a class="exi" href="#expand"> </a></td>
1225 <a id="Roo.form.DateField-cfg-minText" name=".minText"></a>
1226 <div class="fixedFont">
1227 <b class="itemname">minText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1233 <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>
1238 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}').
1246 <td class="msource">
1254 <tr class="config-row expandable config-row-alt0 notInherited">
1255 <td class="micon"><a class="exi" href="#expand"> </a></td>
1258 <a id="Roo.form.DateField-cfg-minValue" name=".minValue"></a>
1259 <div class="fixedFont">
1260 <b class="itemname">minValue</b> : <a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a>/String
1266 <div class="short">The minimum allowed date.</div>
1271 The minimum allowed date. Can be either a Javascript date object or a string date in a<br/>valid format (defaults to null).
1279 <td class="msource">
1287 <tr class="config-row expandable config-row-alt1">
1288 <td class="micon"><a class="exi" href="#expand"> </a></td>
1291 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1292 <div class="fixedFont">
1293 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1299 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1304 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
1312 <td class="msource">
1314 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1320 <tr class="config-row expandable config-row-alt0">
1321 <td class="micon"><a class="exi" href="#expand"> </a></td>
1324 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1325 <div class="fixedFont">
1326 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1332 <div class="short">The location where error text should display.</div>
1337 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>
1345 <td class="msource">
1347 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1353 <tr class="config-row expandable config-row-alt1">
1354 <td class="micon"><a class="exi" href="#expand"> </a></td>
1357 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1358 <div class="fixedFont">
1359 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1365 <div class="short">The field's HTML name attribute.</div>
1370 The field's HTML name attribute.
1378 <td class="msource">
1380 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1386 <tr class="config-row expandable config-row-alt0">
1387 <td class="micon"><a class="exi" href="#expand"> </a></td>
1390 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1391 <div class="fixedFont">
1392 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1398 <div class="short">Mouse over tip</div>
1411 <td class="msource">
1413 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1419 <tr class="config-row expandable config-row-alt1">
1420 <td class="micon"><a class="exi" href="#expand"> </a></td>
1423 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1424 <div class="fixedFont">
1425 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1431 <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>
1436 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1444 <td class="msource">
1446 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</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.TextField-cfg-regex" name=".regex"></a>
1457 <div class="fixedFont">
1458 <b class="itemname">regex</b> : RegExp
1464 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1469 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>}.
1477 <td class="msource">
1479 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1485 <tr class="config-row expandable config-row-alt1">
1486 <td class="micon"><a class="exi" href="#expand"> </a></td>
1489 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1490 <div class="fixedFont">
1491 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1497 <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>
1502 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
1510 <td class="msource">
1512 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1518 <tr class="config-row expandable config-row-alt0">
1519 <td class="micon"><a class="exi" href="#expand"> </a></td>
1522 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1523 <div class="fixedFont">
1524 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1530 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1535 True to automatically select any existing field text when the field receives input focus (defaults to false)
1543 <td class="msource">
1545 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1551 <tr class="config-row expandable config-row-alt1">
1552 <td class="micon"><a class="exi" href="#expand"> </a></td>
1555 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1556 <div class="fixedFont">
1557 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1563 <div class="short">The tabIndex for this field.</div>
1568 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
1576 <td class="msource">
1578 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1584 <tr class="config-row expandable config-row-alt0 notInherited">
1585 <td class="micon"><a class="exi" href="#expand"> </a></td>
1588 <a id="Roo.form.DateField-cfg-triggerClass" name=".triggerClass"></a>
1589 <div class="fixedFont">
1590 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1596 <div class="short">An additional CSS class used to style the trigger button.</div>
1601 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).
1609 <td class="msource">
1617 <tr class="config-row expandable config-row-alt1 notInherited">
1618 <td class="micon"><a class="exi" href="#expand"> </a></td>
1621 <a id="Roo.form.DateField-cfg-useIso" name=".useIso"></a>
1622 <div class="fixedFont">
1623 <b class="itemname">useIso</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1629 <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>
1634 if enabled, then the date field will use a hidden field to store the <br/>real value as iso formated date. default (false)
1642 <td class="msource">
1650 <tr class="config-row expandable config-row-alt0">
1651 <td class="micon"><a class="exi" href="#expand"> </a></td>
1654 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1655 <div class="fixedFont">
1656 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1662 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1667 Whether the field should validate when it loses focus (defaults to true).
1675 <td class="msource">
1677 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1683 <tr class="config-row expandable config-row-alt1">
1684 <td class="micon"><a class="exi" href="#expand"> </a></td>
1687 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1688 <div class="fixedFont">
1689 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1695 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1700 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1708 <td class="msource">
1710 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1716 <tr class="config-row expandable config-row-alt0">
1717 <td class="micon"><a class="exi" href="#expand"> </a></td>
1720 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1721 <div class="fixedFont">
1722 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1728 <div class="short">The event that should initiate field validation.</div>
1733 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1741 <td class="msource">
1743 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1749 <tr class="config-row expandable config-row-alt1">
1750 <td class="micon"><a class="exi" href="#expand"> </a></td>
1753 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1754 <div class="fixedFont">
1755 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1761 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1766 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.
1774 <td class="msource">
1776 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1782 <tr class="config-row expandable config-row-alt0">
1783 <td class="micon"><a class="exi" href="#expand"> </a></td>
1786 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1787 <div class="fixedFont">
1788 <b class="itemname">value</b> : Mixed
1794 <div class="short">A value to initialize this field with.</div>
1799 A value to initialize this field with.
1807 <td class="msource">
1809 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1815 <tr class="config-row expandable config-row-alt1">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1819 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1820 <div class="fixedFont">
1821 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1827 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1832 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1840 <td class="msource">
1842 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1848 <tr class="config-row expandable config-row-alt0">
1849 <td class="micon"><a class="exi" href="#expand"> </a></td>
1852 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1853 <div class="fixedFont">
1854 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1860 <div class="short">width (optional) size of component</div>
1865 width (optional) size of component
1873 <td class="msource">
1875 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1891 <!-- ============================== public properties ==================== -->
1895 <a id="Roo.form.DateField-props"></a>
1901 <table cellspacing="0" class="member-table">
1902 <caption class="Empty">Public Properties - Has None</caption>
1908 <!-- ============================== methods summary / details ======================== -->
1911 <a id="Roo.form.DateField-methods"></a>
1912 <!-- constructor?? -->
1919 <!-- then dynamics first -->
1926 <table cellspacing="0" class="member-table">
1927 <caption>Public Methods</caption>
1929 <th class="sig-header" colspan="2">Method</th>
1930 <th class="msource-header">Defined By</th>
1940 <tr class="method-row config-row-alt0 expandable notInherited">
1941 <td class="micon"><a class="exi" href="#expand"> </a></td>
1945 <a id="Roo.form-method-DateField" name=".DateField"></a>
1946 <div class="fixedFont">
1947 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">DateField</b>
1949 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1957 <div class="short">Create a new Roo.form.DateField</div>
1964 Create a new Roo.form.DateField
1967 <dl class="detailList">
1968 <dt class="heading">Parameters:</dt>
1971 <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>
1992 <td class="msource">
1998 <tr class="method-row config-row-alt1 expandable">
1999 <td class="micon"><a class="exi" href="#expand"> </a></td>
2003 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
2004 <div class="fixedFont">
2005 <span class="attributes"></span><b class="itemname">addEvents</b>
2007 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
2014 <div class="short">Used to define events on this Observable</div>
2020 Used to define events on this Observable
2027 <dl class="detailList">
2028 <dt class="heading">Parameters:</dt>
2031 <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>
2034 <dd>The object with the events defined</dd>
2052 <td class="msource">
2054 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2060 <tr class="method-row config-row-alt0 expandable">
2061 <td class="micon"><a class="exi" href="#expand"> </a></td>
2065 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
2066 <div class="fixedFont">
2067 <span class="attributes"></span><b class="itemname">addListener</b>
2069 (<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>)
2076 <div class="short">Appends an event handler to this component</div>
2082 Appends an event handler to this component
2089 <dl class="detailList">
2090 <dt class="heading">Parameters:</dt>
2093 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2096 <dd>The type of event to listen for</dd>
2099 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2102 <dd>The method the event invokes</dd>
2105 <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>
2108 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2111 <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>
2114 <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>
2132 <td class="msource">
2134 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2140 <tr class="method-row config-row-alt1 expandable">
2141 <td class="micon"><a class="exi" href="#expand"> </a></td>
2145 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
2146 <div class="fixedFont">
2147 <span class="attributes"></span><b class="itemname">applyTo</b>
2149 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
2155 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2164 <div class="short">Apply the behaviors of this component to an existing element.</div>
2170 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
2177 <dl class="detailList">
2178 <dt class="heading">Parameters:</dt>
2181 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
2184 <dd>The id of the node, a DOM node or an existing Element</dd>
2192 <dl class="detailList">
2193 <dt class="heading">Returns:</dt>
2195 <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>
2209 <td class="msource">
2211 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2217 <tr class="method-row config-row-alt0 expandable">
2218 <td class="micon"><a class="exi" href="#expand"> </a></td>
2222 <a id="Roo.form.TriggerField-method-autoSize" name=".autoSize"></a>
2223 <div class="fixedFont">
2224 <span class="attributes"></span><b class="itemname">autoSize</b>
2233 <div class="short"></div>
2260 <td class="msource">
2262 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
2268 <tr class="method-row config-row-alt1 expandable">
2269 <td class="micon"><a class="exi" href="#expand"> </a></td>
2273 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
2274 <div class="fixedFont">
2275 <span class="attributes"></span><b class="itemname">clearInvalid</b>
2284 <div class="short">Clear any invalid styles/messages for this field</div>
2290 Clear any invalid styles/messages for this field
2311 <td class="msource">
2313 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2319 <tr class="method-row config-row-alt0 expandable">
2320 <td class="micon"><a class="exi" href="#expand"> </a></td>
2324 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2325 <div class="fixedFont">
2326 <span class="attributes"></span><b class="itemname">destroy</b>
2335 <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>
2341 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}.
2362 <td class="msource">
2364 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2370 <tr class="method-row config-row-alt1 expandable">
2371 <td class="micon"><a class="exi" href="#expand"> </a></td>
2375 <a id="Roo.Component-method-disable" name=".disable"></a>
2376 <div class="fixedFont">
2377 <span class="attributes"></span><b class="itemname">disable</b>
2385 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2394 <div class="short">Disable this component.</div>
2400 Disable this component.
2411 <dl class="detailList">
2412 <dt class="heading">Returns:</dt>
2414 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2428 <td class="msource">
2430 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2436 <tr class="method-row config-row-alt0 expandable">
2437 <td class="micon"><a class="exi" href="#expand"> </a></td>
2441 <a id="Roo.Component-method-enable" name=".enable"></a>
2442 <div class="fixedFont">
2443 <span class="attributes"></span><b class="itemname">enable</b>
2451 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2460 <div class="short">Enable this component.</div>
2466 Enable this component.
2477 <dl class="detailList">
2478 <dt class="heading">Returns:</dt>
2480 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2494 <td class="msource">
2496 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2502 <tr class="method-row config-row-alt1 expandable">
2503 <td class="micon"><a class="exi" href="#expand"> </a></td>
2507 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2508 <div class="fixedFont">
2509 <span class="attributes"></span><b class="itemname">fireEvent</b>
2511 (<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>)
2517 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2526 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2532 Fires the specified event with the passed parameters (minus the event name).
2539 <dl class="detailList">
2540 <dt class="heading">Parameters:</dt>
2543 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2549 <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>
2552 <dd>Variable number of parameters are passed to handlers</dd>
2560 <dl class="detailList">
2561 <dt class="heading">Returns:</dt>
2563 <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>
2577 <td class="msource">
2579 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2585 <tr class="method-row config-row-alt0 expandable">
2586 <td class="micon"><a class="exi" href="#expand"> </a></td>
2590 <a id="Roo.Component-method-focus" name=".focus"></a>
2591 <div class="fixedFont">
2592 <span class="attributes"></span><b class="itemname">focus</b>
2594 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2600 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2609 <div class="short">Try to focus this component.</div>
2615 Try to focus this component.
2622 <dl class="detailList">
2623 <dt class="heading">Parameters:</dt>
2626 <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>
2629 <dd>True to also select the text in this component (if applicable)</dd>
2637 <dl class="detailList">
2638 <dt class="heading">Returns:</dt>
2640 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2654 <td class="msource">
2656 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2662 <tr class="method-row config-row-alt1 expandable">
2663 <td class="micon"><a class="exi" href="#expand"> </a></td>
2667 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2668 <div class="fixedFont">
2669 <span class="attributes"></span><b class="itemname">getBox</b>
2671 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2678 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2684 Gets the current box measurements of the component's underlying element.
2691 <dl class="detailList">
2692 <dt class="heading">Parameters:</dt>
2695 <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>
2698 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2716 <td class="msource">
2718 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2724 <tr class="method-row config-row-alt0 expandable">
2725 <td class="micon"><a class="exi" href="#expand"> </a></td>
2729 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2730 <div class="fixedFont">
2731 <span class="attributes"></span><b class="itemname">getEl</b>
2739 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2748 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2754 Returns the underlying {<b>link</b> Roo.Element}.
2765 <dl class="detailList">
2766 <dt class="heading">Returns:</dt>
2768 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2782 <td class="msource">
2784 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2790 <tr class="method-row config-row-alt1 expandable">
2791 <td class="micon"><a class="exi" href="#expand"> </a></td>
2795 <a id="Roo.Component-method-getId" name=".getId"></a>
2796 <div class="fixedFont">
2797 <span class="attributes"></span><b class="itemname">getId</b>
2805 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2814 <div class="short">Returns the id of this component.</div>
2820 Returns the id of this component.
2831 <dl class="detailList">
2832 <dt class="heading">Returns:</dt>
2834 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2848 <td class="msource">
2850 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2856 <tr class="method-row config-row-alt0 expandable">
2857 <td class="micon"><a class="exi" href="#expand"> </a></td>
2861 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2862 <div class="fixedFont">
2863 <span class="attributes"></span><b class="itemname">getName</b>
2871 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2880 <div class="short">Returns the name attribute of the field if available</div>
2886 Returns the name attribute of the field if available
2897 <dl class="detailList">
2898 <dt class="heading">Returns:</dt>
2900 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2914 <td class="msource">
2916 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2922 <tr class="method-row config-row-alt1 expandable">
2923 <td class="micon"><a class="exi" href="#expand"> </a></td>
2927 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2928 <div class="fixedFont">
2929 <span class="attributes"></span><b class="itemname">getPosition</b>
2931 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2937 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2946 <div class="short">Gets the current XY position of the component's underlying element.</div>
2952 Gets the current XY position of the component's underlying element.
2959 <dl class="detailList">
2960 <dt class="heading">Parameters:</dt>
2963 <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>
2966 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2974 <dl class="detailList">
2975 <dt class="heading">Returns:</dt>
2977 <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>
2991 <td class="msource">
2993 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2999 <tr class="method-row config-row-alt0 expandable">
3000 <td class="micon"><a class="exi" href="#expand"> </a></td>
3004 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
3005 <div class="fixedFont">
3006 <span class="attributes"></span><b class="itemname">getRawValue</b>
3023 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
3029 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>}.
3040 <dl class="detailList">
3041 <dt class="heading">Returns:</dt>
3043 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
3057 <td class="msource">
3059 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3065 <tr class="method-row config-row-alt1 expandable">
3066 <td class="micon"><a class="exi" href="#expand"> </a></td>
3070 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
3071 <div class="fixedFont">
3072 <span class="attributes"></span><b class="itemname">getSize</b>
3080 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
3089 <div class="short">Gets the current size of the component's underlying element.</div>
3095 Gets the current size of the component's underlying element.
3106 <dl class="detailList">
3107 <dt class="heading">Returns:</dt>
3109 <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>
3123 <td class="msource">
3125 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3131 <tr class="method-row config-row-alt0 expandable notInherited">
3132 <td class="micon"><a class="exi" href="#expand"> </a></td>
3136 <a id="Roo.form.DateField-method-getValue" name=".getValue"></a>
3137 <div class="fixedFont">
3138 <span class="attributes"></span><b class="itemname">getValue</b>
3146 <a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a>
3155 <div class="short">Returns the current date value of the date field.</div>
3161 Returns the current date value of the date field.
3172 <dl class="detailList">
3173 <dt class="heading">Returns:</dt>
3175 <dd><span class="fixedFont"><a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a></span> The date value</dd>
3189 <td class="msource">
3197 <tr class="method-row config-row-alt1 expandable">
3198 <td class="micon"><a class="exi" href="#expand"> </a></td>
3202 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
3203 <div class="fixedFont">
3204 <span class="attributes"></span><b class="itemname">hasListener</b>
3206 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
3212 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3221 <div class="short">Checks to see if this object has any listeners for a specified event</div>
3227 Checks to see if this object has any listeners for a specified event
3234 <dl class="detailList">
3235 <dt class="heading">Parameters:</dt>
3238 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3241 <dd>The name of the event to check for</dd>
3249 <dl class="detailList">
3250 <dt class="heading">Returns:</dt>
3252 <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>
3266 <td class="msource">
3268 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3274 <tr class="method-row config-row-alt0 expandable">
3275 <td class="micon"><a class="exi" href="#expand"> </a></td>
3279 <a id="Roo.Component-method-hide" name=".hide"></a>
3280 <div class="fixedFont">
3281 <span class="attributes"></span><b class="itemname">hide</b>
3289 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3298 <div class="short">Hide this component.</div>
3304 Hide this component.
3315 <dl class="detailList">
3316 <dt class="heading">Returns:</dt>
3318 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3332 <td class="msource">
3334 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3340 <tr class="method-row config-row-alt1 expandable">
3341 <td class="micon"><a class="exi" href="#expand"> </a></td>
3345 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
3346 <div class="fixedFont">
3347 <span class="attributes"></span><b class="itemname">isDirty</b>
3356 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3362 Returns true if this field has been changed since it was originally loaded and is not disabled.
3383 <td class="msource">
3385 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3391 <tr class="method-row config-row-alt0 expandable">
3392 <td class="micon"><a class="exi" href="#expand"> </a></td>
3396 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3397 <div class="fixedFont">
3398 <span class="attributes"></span><b class="itemname">isValid</b>
3400 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3406 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3415 <div class="short">Returns whether or not the field value is currently valid</div>
3421 Returns whether or not the field value is currently valid
3428 <dl class="detailList">
3429 <dt class="heading">Parameters:</dt>
3432 <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>
3435 <dd>True to disable marking the field invalid</dd>
3443 <dl class="detailList">
3444 <dt class="heading">Returns:</dt>
3446 <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>
3460 <td class="msource">
3462 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3468 <tr class="method-row config-row-alt1 expandable">
3469 <td class="micon"><a class="exi" href="#expand"> </a></td>
3473 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3474 <div class="fixedFont">
3475 <span class="attributes"></span><b class="itemname">isVisible</b>
3484 <div class="short">Returns true if this component is visible.</div>
3490 Returns true if this component is visible.
3511 <td class="msource">
3513 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3519 <tr class="method-row config-row-alt0 expandable">
3520 <td class="micon"><a class="exi" href="#expand"> </a></td>
3524 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3525 <div class="fixedFont">
3526 <span class="attributes"></span><b class="itemname">markInvalid</b>
3528 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3535 <div class="short">Mark this field as invalid</div>
3541 Mark this field as invalid
3548 <dl class="detailList">
3549 <dt class="heading">Parameters:</dt>
3552 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3555 <dd>The validation message</dd>
3573 <td class="msource">
3575 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3581 <tr class="method-row config-row-alt1 expandable">
3582 <td class="micon"><a class="exi" href="#expand"> </a></td>
3586 <a id="Roo.util.Observable-method-on" name=".on"></a>
3587 <div class="fixedFont">
3588 <span class="attributes"></span><b class="itemname">on</b>
3590 (<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>)
3597 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3603 Appends an event handler to this element (shorthand for addListener)
3610 <dl class="detailList">
3611 <dt class="heading">Parameters:</dt>
3614 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3617 <dd>The type of event to listen for</dd>
3620 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3623 <dd>The method the event invokes</dd>
3626 <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>
3629 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3632 <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>
3653 <td class="msource">
3655 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3661 <tr class="method-row config-row-alt0 expandable">
3662 <td class="micon"><a class="exi" href="#expand"> </a></td>
3666 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3667 <div class="fixedFont">
3668 <span class="attributes"></span><b class="itemname">onPosition</b>
3670 (<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>)
3677 <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>
3683 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.
3690 <dl class="detailList">
3691 <dt class="heading">Parameters:</dt>
3694 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3697 <dd>The new x position</dd>
3700 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3703 <dd>The new y position</dd>
3721 <td class="msource">
3723 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3729 <tr class="method-row config-row-alt1 expandable">
3730 <td class="micon"><a class="exi" href="#expand"> </a></td>
3734 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3735 <div class="fixedFont">
3736 <span class="attributes"></span><b class="itemname">onResize</b>
3738 (<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>)
3745 <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>
3751 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.
3758 <dl class="detailList">
3759 <dt class="heading">Parameters:</dt>
3762 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3765 <dd>The box-adjusted width that was set</dd>
3768 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3771 <dd>The box-adjusted height that was set</dd>
3774 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3777 <dd>The width that was originally specified</dd>
3780 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3783 <dd>The height that was originally specified</dd>
3801 <td class="msource">
3803 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3809 <tr class="method-row config-row-alt0 expandable">
3810 <td class="micon"><a class="exi" href="#expand"> </a></td>
3814 <a id="Roo.form.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
3815 <div class="fixedFont">
3816 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
3818 (EventObject <B><i>e</i></B>)
3825 <div class="short">The function that should handle the trigger's click event.</div>
3831 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
3838 <dl class="detailList">
3839 <dt class="heading">Parameters:</dt>
3842 <span class="fixedFont">EventObject</span> <b>e</b>
3863 <td class="msource">
3865 <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
3871 <tr class="method-row config-row-alt1 expandable">
3872 <td class="micon"><a class="exi" href="#expand"> </a></td>
3876 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3877 <div class="fixedFont">
3878 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3887 <div class="short">Removes all listeners for this object</div>
3893 Removes all listeners for this object
3914 <td class="msource">
3916 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3922 <tr class="method-row config-row-alt0 expandable">
3923 <td class="micon"><a class="exi" href="#expand"> </a></td>
3927 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3928 <div class="fixedFont">
3929 <span class="attributes"></span><b class="itemname">removeListener</b>
3931 (<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>)
3938 <div class="short">Removes a listener</div>
3951 <dl class="detailList">
3952 <dt class="heading">Parameters:</dt>
3955 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3958 <dd>The type of event to listen for</dd>
3961 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3964 <dd>The handler to remove</dd>
3967 <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>
3970 <dd>(optional) The scope (this object) for the handler</dd>
3988 <td class="msource">
3990 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3996 <tr class="method-row config-row-alt1 expandable">
3997 <td class="micon"><a class="exi" href="#expand"> </a></td>
4001 <a id="Roo.Component-method-render" name=".render"></a>
4002 <div class="fixedFont">
4003 <span class="attributes"></span><b class="itemname">render</b>
4005 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
4012 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
4018 If this is a lazy rendering component, render it to its container element.
4025 <dl class="detailList">
4026 <dt class="heading">Parameters:</dt>
4029 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
4032 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
4050 <td class="msource">
4052 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4058 <tr class="method-row config-row-alt0 expandable">
4059 <td class="micon"><a class="exi" href="#expand"> </a></td>
4063 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
4064 <div class="fixedFont">
4065 <span class="attributes"></span><b class="itemname">reset</b>
4074 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
4080 Resets the current field value to the originally-loaded value and clears any validation messages.
4101 <td class="msource">
4103 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4109 <tr class="method-row config-row-alt1 expandable">
4110 <td class="micon"><a class="exi" href="#expand"> </a></td>
4114 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
4115 <div class="fixedFont">
4116 <span class="attributes"></span><b class="itemname">selectText</b>
4118 (<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>)
4125 <div class="short">Selects text in this field</div>
4131 Selects text in this field
4138 <dl class="detailList">
4139 <dt class="heading">Parameters:</dt>
4142 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
4145 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
4148 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
4151 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
4169 <td class="msource">
4171 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4177 <tr class="method-row config-row-alt0 expandable">
4178 <td class="micon"><a class="exi" href="#expand"> </a></td>
4182 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
4183 <div class="fixedFont">
4184 <span class="attributes"></span><b class="itemname">setDisabled</b>
4186 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
4193 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
4199 Convenience function for setting disabled/enabled by boolean.
4206 <dl class="detailList">
4207 <dt class="heading">Parameters:</dt>
4210 <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>
4231 <td class="msource">
4233 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4239 <tr class="method-row config-row-alt1 expandable">
4240 <td class="micon"><a class="exi" href="#expand"> </a></td>
4244 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
4245 <div class="fixedFont">
4246 <span class="attributes"></span><b class="itemname">setPagePosition</b>
4248 (<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>)
4255 <div class="short">Sets the page XY position of the component.</div>
4261 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.
4268 <dl class="detailList">
4269 <dt class="heading">Parameters:</dt>
4272 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4275 <dd>The new x position</dd>
4278 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4281 <dd>The new y position</dd>
4299 <td class="msource">
4301 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4307 <tr class="method-row config-row-alt0 expandable">
4308 <td class="micon"><a class="exi" href="#expand"> </a></td>
4312 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
4313 <div class="fixedFont">
4314 <span class="attributes"></span><b class="itemname">setPosition</b>
4316 (<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>)
4323 <div class="short">Sets the left and top of the component.</div>
4329 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.
4336 <dl class="detailList">
4337 <dt class="heading">Parameters:</dt>
4340 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
4343 <dd>The new left</dd>
4346 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
4349 <dd>The new top</dd>
4367 <td class="msource">
4369 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4375 <tr class="method-row config-row-alt1 expandable">
4376 <td class="micon"><a class="exi" href="#expand"> </a></td>
4380 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4381 <div class="fixedFont">
4382 <span class="attributes"></span><b class="itemname">setRawValue</b>
4384 (Mixed <B><i>value</i></B>)
4391 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4397 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4404 <dl class="detailList">
4405 <dt class="heading">Parameters:</dt>
4408 <span class="fixedFont">Mixed</span> <b>value</b>
4411 <dd>The value to set</dd>
4429 <td class="msource">
4431 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4437 <tr class="method-row config-row-alt0 expandable">
4438 <td class="micon"><a class="exi" href="#expand"> </a></td>
4442 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4443 <div class="fixedFont">
4444 <span class="attributes"></span><b class="itemname">setSize</b>
4446 (<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>)
4452 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4461 <div class="short">Sets the width and height of the component.</div>
4467 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}.
4474 <dl class="detailList">
4475 <dt class="heading">Parameters:</dt>
4478 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4481 <dd>The new width to set, or a size object in the format {width, height}</dd>
4484 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4487 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4495 <dl class="detailList">
4496 <dt class="heading">Returns:</dt>
4498 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4512 <td class="msource">
4514 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4520 <tr class="method-row config-row-alt1 expandable notInherited">
4521 <td class="micon"><a class="exi" href="#expand"> </a></td>
4525 <a id="Roo.form.DateField-method-setValue" name=".setValue"></a>
4526 <div class="fixedFont">
4527 <span class="attributes"></span><b class="itemname">setValue</b>
4529 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Date <B><i>date</i></B>)
4536 <div class="short">Sets the value of the date field.</div>
4542 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>
4549 <dl class="detailList">
4550 <dt class="heading">Parameters:</dt>
4553 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Date</span> <b>date</b>
4556 <dd>The date or valid date string</dd>
4574 <td class="msource">
4582 <tr class="method-row config-row-alt0 expandable">
4583 <td class="micon"><a class="exi" href="#expand"> </a></td>
4587 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4588 <div class="fixedFont">
4589 <span class="attributes"></span><b class="itemname">setVisible</b>
4591 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4597 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4606 <div class="short">Convenience function to hide or show this component by boolean.</div>
4612 Convenience function to hide or show this component by boolean.
4619 <dl class="detailList">
4620 <dt class="heading">Parameters:</dt>
4623 <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>
4626 <dd>True to show, false to hide</dd>
4634 <dl class="detailList">
4635 <dt class="heading">Returns:</dt>
4637 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4651 <td class="msource">
4653 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4659 <tr class="method-row config-row-alt1 expandable">
4660 <td class="micon"><a class="exi" href="#expand"> </a></td>
4664 <a id="Roo.Component-method-show" name=".show"></a>
4665 <div class="fixedFont">
4666 <span class="attributes"></span><b class="itemname">show</b>
4674 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4683 <div class="short">Show this component.</div>
4689 Show this component.
4700 <dl class="detailList">
4701 <dt class="heading">Returns:</dt>
4703 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4717 <td class="msource">
4719 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4725 <tr class="method-row config-row-alt0 expandable">
4726 <td class="micon"><a class="exi" href="#expand"> </a></td>
4730 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4731 <div class="fixedFont">
4732 <span class="attributes"></span><b class="itemname">syncSize</b>
4741 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4747 Force the component's size to recalculate based on the underlying element's current height and width.
4768 <td class="msource">
4770 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4776 <tr class="method-row config-row-alt1 expandable">
4777 <td class="micon"><a class="exi" href="#expand"> </a></td>
4781 <a id="Roo.util.Observable-method-un" name=".un"></a>
4782 <div class="fixedFont">
4783 <span class="attributes"></span><b class="itemname">un</b>
4785 (<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>)
4792 <div class="short">Removes a listener (shorthand for removeListener)</div>
4798 Removes a listener (shorthand for removeListener)
4805 <dl class="detailList">
4806 <dt class="heading">Parameters:</dt>
4809 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4812 <dd>The type of event to listen for</dd>
4815 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4818 <dd>The handler to remove</dd>
4821 <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>
4824 <dd>(optional) The scope (this object) for the handler</dd>
4842 <td class="msource">
4844 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4850 <tr class="method-row config-row-alt0 expandable">
4851 <td class="micon"><a class="exi" href="#expand"> </a></td>
4855 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4856 <div class="fixedFont">
4857 <span class="attributes"></span><b class="itemname">updateBox</b>
4859 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4866 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4872 Sets the current box measurements of the component's underlying element.
4879 <dl class="detailList">
4880 <dt class="heading">Parameters:</dt>
4883 <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>
4886 <dd>An object in the format {x, y, width, height}</dd>
4904 <td class="msource">
4906 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4912 <tr class="method-row config-row-alt1 expandable">
4913 <td class="micon"><a class="exi" href="#expand"> </a></td>
4917 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4918 <div class="fixedFont">
4919 <span class="attributes"></span><b class="itemname">validate</b>
4927 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4936 <div class="short">Validates the field value</div>
4942 Validates the field value
4953 <dl class="detailList">
4954 <dt class="heading">Returns:</dt>
4956 <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>
4970 <td class="msource">
4972 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4978 <tr class="method-row config-row-alt0 expandable">
4979 <td class="micon"><a class="exi" href="#expand"> </a></td>
4983 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4984 <div class="fixedFont">
4985 <span class="attributes"></span><b class="itemname">validateValue</b>
4987 (Mixed <B><i>value</i></B>)
4993 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
5002 <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>
5008 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
5015 <dl class="detailList">
5016 <dt class="heading">Parameters:</dt>
5019 <span class="fixedFont">Mixed</span> <b>value</b>
5022 <dd>The value to validate</dd>
5030 <dl class="detailList">
5031 <dt class="heading">Returns:</dt>
5033 <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>
5047 <td class="msource">
5049 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5058 <!-- ============================== events summary / details ======================== -->
5061 <a id="Roo.form.DateField-events"></a>
5070 <table cellspacing="0" class="member-table">
5071 <caption>Events</caption>
5074 <th class="sig-header" colspan="2">Event</th>
5075 <th class="msource-header">Defined By</th>
5084 <tr class="method-row expandable config-row-alt0">
5085 <td class="micon"><a class="exi" href="#expand"> </a></td>
5088 <a id="Roo.form.TextField-event-*autosize"></a>
5090 <div class="fixedFont">
5091 <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>)
5097 <div class="short">Fires when the autosize function is triggered.
5103 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.
5109 <dl class="detailList">
5110 <dt class="heading">Parameters:</dt>
5113 <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>
5116 <dd>This text field</dd>
5119 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
5122 <dd>The new field width</dd>
5140 <td class="msource">
5141 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5145 <tr class="method-row expandable config-row-alt1">
5146 <td class="micon"><a class="exi" href="#expand"> </a></td>
5149 <a id="Roo.Component-event-*beforedestroy"></a>
5151 <div class="fixedFont">
5152 <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>)
5158 <div class="short">Fires before the component is destroyed.
5164 Fires before the component is destroyed. Return false to stop the destroy.
5170 <dl class="detailList">
5171 <dt class="heading">Parameters:</dt>
5174 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5195 <td class="msource">
5196 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5200 <tr class="method-row expandable config-row-alt0">
5201 <td class="micon"><a class="exi" href="#expand"> </a></td>
5204 <a id="Roo.Component-event-*beforehide"></a>
5206 <div class="fixedFont">
5207 <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>)
5213 <div class="short">Fires before the component is hidden.
5219 Fires before the component is hidden. Return false to stop the hide.
5225 <dl class="detailList">
5226 <dt class="heading">Parameters:</dt>
5229 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5250 <td class="msource">
5251 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5255 <tr class="method-row expandable config-row-alt1">
5256 <td class="micon"><a class="exi" href="#expand"> </a></td>
5259 <a id="Roo.Component-event-*beforerender"></a>
5261 <div class="fixedFont">
5262 <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>)
5268 <div class="short">Fires before the component is rendered.
5274 Fires before the component is rendered. Return false to stop the render.
5280 <dl class="detailList">
5281 <dt class="heading">Parameters:</dt>
5284 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5305 <td class="msource">
5306 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5310 <tr class="method-row expandable config-row-alt0">
5311 <td class="micon"><a class="exi" href="#expand"> </a></td>
5314 <a id="Roo.Component-event-*beforeshow"></a>
5316 <div class="fixedFont">
5317 <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>)
5323 <div class="short">Fires before the component is shown.
5329 Fires before the component is shown. Return false to stop the show.
5335 <dl class="detailList">
5336 <dt class="heading">Parameters:</dt>
5339 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5360 <td class="msource">
5361 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5365 <tr class="method-row expandable config-row-alt1">
5366 <td class="micon"><a class="exi" href="#expand"> </a></td>
5369 <a id="Roo.form.Field-event-*blur"></a>
5371 <div class="fixedFont">
5372 <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>)
5378 <div class="short">Fires when this field loses input focus.
5384 Fires when this field loses input focus.
5390 <dl class="detailList">
5391 <dt class="heading">Parameters:</dt>
5394 <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>
5415 <td class="msource">
5416 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5420 <tr class="method-row expandable config-row-alt0">
5421 <td class="micon"><a class="exi" href="#expand"> </a></td>
5424 <a id="Roo.form.Field-event-*change"></a>
5426 <div class="fixedFont">
5427 <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>)
5433 <div class="short">Fires just before the field blurs if the field value has changed.
5439 Fires just before the field blurs if the field value has changed.
5445 <dl class="detailList">
5446 <dt class="heading">Parameters:</dt>
5449 <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>
5455 <span class="fixedFont">Mixed</span> <b>newValue</b>
5458 <dd>The new value</dd>
5461 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5464 <dd>The original value</dd>
5482 <td class="msource">
5483 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5487 <tr class="method-row expandable config-row-alt1">
5488 <td class="micon"><a class="exi" href="#expand"> </a></td>
5491 <a id="Roo.Component-event-*destroy"></a>
5493 <div class="fixedFont">
5494 <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>)
5500 <div class="short">Fires after the component is destroyed.
5506 Fires after the component is destroyed.
5512 <dl class="detailList">
5513 <dt class="heading">Parameters:</dt>
5516 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5537 <td class="msource">
5538 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5542 <tr class="method-row expandable config-row-alt0">
5543 <td class="micon"><a class="exi" href="#expand"> </a></td>
5546 <a id="Roo.Component-event-*disable"></a>
5548 <div class="fixedFont">
5549 <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>)
5555 <div class="short">Fires after the component is disabled.
5561 Fires after the component is disabled.
5567 <dl class="detailList">
5568 <dt class="heading">Parameters:</dt>
5571 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5592 <td class="msource">
5593 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5597 <tr class="method-row expandable config-row-alt1">
5598 <td class="micon"><a class="exi" href="#expand"> </a></td>
5601 <a id="Roo.Component-event-*enable"></a>
5603 <div class="fixedFont">
5604 <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>)
5610 <div class="short">Fires after the component is enabled.
5616 Fires after the component is enabled.
5622 <dl class="detailList">
5623 <dt class="heading">Parameters:</dt>
5626 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5647 <td class="msource">
5648 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5652 <tr class="method-row expandable config-row-alt0">
5653 <td class="micon"><a class="exi" href="#expand"> </a></td>
5656 <a id="Roo.form.Field-event-*focus"></a>
5658 <div class="fixedFont">
5659 <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>)
5665 <div class="short">Fires when this field receives input focus.
5671 Fires when this field receives input focus.
5677 <dl class="detailList">
5678 <dt class="heading">Parameters:</dt>
5681 <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>
5702 <td class="msource">
5703 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5707 <tr class="method-row expandable config-row-alt1">
5708 <td class="micon"><a class="exi" href="#expand"> </a></td>
5711 <a id="Roo.Component-event-*hide"></a>
5713 <div class="fixedFont">
5714 <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>)
5720 <div class="short">Fires after the component is hidden.
5726 Fires after the component is hidden.
5732 <dl class="detailList">
5733 <dt class="heading">Parameters:</dt>
5736 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5757 <td class="msource">
5758 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5762 <tr class="method-row expandable config-row-alt0">
5763 <td class="micon"><a class="exi" href="#expand"> </a></td>
5766 <a id="Roo.form.Field-event-*invalid"></a>
5768 <div class="fixedFont">
5769 <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>)
5775 <div class="short">Fires after the field has been marked as invalid.
5781 Fires after the field has been marked as invalid.
5787 <dl class="detailList">
5788 <dt class="heading">Parameters:</dt>
5791 <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>
5797 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5800 <dd>The validation message</dd>
5818 <td class="msource">
5819 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5823 <tr class="method-row expandable config-row-alt1">
5824 <td class="micon"><a class="exi" href="#expand"> </a></td>
5827 <a id="Roo.form.Field-event-*keyup"></a>
5829 <div class="fixedFont">
5830 <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>)
5836 <div class="short">Fires after the key up
5842 Fires after the key up
5848 <dl class="detailList">
5849 <dt class="heading">Parameters:</dt>
5852 <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>
5858 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5861 <dd>The event Object</dd>
5879 <td class="msource">
5880 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5884 <tr class="method-row expandable config-row-alt0">
5885 <td class="micon"><a class="exi" href="#expand"> </a></td>
5888 <a id="Roo.BoxComponent-event-*move"></a>
5890 <div class="fixedFont">
5891 <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>)
5897 <div class="short">Fires after the component is moved.
5903 Fires after the component is moved.
5909 <dl class="detailList">
5910 <dt class="heading">Parameters:</dt>
5913 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5919 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5922 <dd>The new x position</dd>
5925 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5928 <dd>The new y position</dd>
5946 <td class="msource">
5947 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5951 <tr class="method-row expandable config-row-alt1">
5952 <td class="micon"><a class="exi" href="#expand"> </a></td>
5955 <a id="Roo.Component-event-*render"></a>
5957 <div class="fixedFont">
5958 <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>)
5964 <div class="short">Fires after the component is rendered.
5970 Fires after the component is rendered.
5976 <dl class="detailList">
5977 <dt class="heading">Parameters:</dt>
5980 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6001 <td class="msource">
6002 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6006 <tr class="method-row expandable config-row-alt0">
6007 <td class="micon"><a class="exi" href="#expand"> </a></td>
6010 <a id="Roo.BoxComponent-event-*resize"></a>
6012 <div class="fixedFont">
6013 <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>)
6019 <div class="short">Fires after the component is resized.
6025 Fires after the component is resized.
6031 <dl class="detailList">
6032 <dt class="heading">Parameters:</dt>
6035 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6041 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
6044 <dd>The box-adjusted width that was set</dd>
6047 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
6050 <dd>The box-adjusted height that was set</dd>
6053 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
6056 <dd>The width that was originally specified</dd>
6059 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
6062 <dd>The height that was originally specified</dd>
6080 <td class="msource">
6081 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
6085 <tr class="method-row expandable config-row-alt1 notInherited">
6086 <td class="micon"><a class="exi" href="#expand"> </a></td>
6089 <a id="Roo.form.DateField-event-*select"></a>
6091 <div class="fixedFont">
6092 <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>)
6098 <div class="short">Fires when a date is selected
6104 Fires when a date is selected
6110 <dl class="detailList">
6111 <dt class="heading">Parameters:</dt>
6114 <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>
6117 <dd>This combo box</dd>
6120 <span class="fixedFont"><a href="./Date.html#constructor" roo:cls="Date.html#constructor">Date</a></span> <b>date</b>
6123 <dd>The date selected</dd>
6141 <td class="msource">
6146 <tr class="method-row expandable config-row-alt0">
6147 <td class="micon"><a class="exi" href="#expand"> </a></td>
6150 <a id="Roo.Component-event-*show"></a>
6152 <div class="fixedFont">
6153 <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>)
6159 <div class="short">Fires after the component is shown.
6165 Fires after the component is shown.
6171 <dl class="detailList">
6172 <dt class="heading">Parameters:</dt>
6175 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6196 <td class="msource">
6197 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6201 <tr class="method-row expandable config-row-alt1">
6202 <td class="micon"><a class="exi" href="#expand"> </a></td>
6205 <a id="Roo.form.Field-event-*specialkey"></a>
6207 <div class="fixedFont">
6208 <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>)
6214 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
6220 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.
6226 <dl class="detailList">
6227 <dt class="heading">Parameters:</dt>
6230 <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>
6236 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
6239 <dd>The event object</dd>
6257 <td class="msource">
6258 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6262 <tr class="method-row expandable config-row-alt0">
6263 <td class="micon"><a class="exi" href="#expand"> </a></td>
6266 <a id="Roo.form.Field-event-*valid"></a>
6268 <div class="fixedFont">
6269 <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>)
6275 <div class="short">Fires after the field has been validated with no errors.
6281 Fires after the field has been validated with no errors.
6287 <dl class="detailList">
6288 <dt class="heading">Parameters:</dt>
6291 <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>
6312 <td class="msource">
6313 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6324 <!-- ============================== footer ================================= -->
6325 <div class="fineprint" style="clear:both">
6327 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Nov 09 2015 15:44:42 GMT+0800 (HKT)
6329 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>