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.NumberField</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.NumberField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.NumberField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.NumberField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.NumberField-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
51 <img src="../../images/default/s.gif" height="1" width="100"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.NumberField
56 <!-- ============================== class title / details ============================ -->
59 <h1 class="classTitle">
61 Class Roo.form.NumberField
64 <table cellspacing="0" class="class-summary-table">
66 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
68 <tr><td class="label">Defined In:</td><td class="hd-info">
70 <a href="./src/Roo_form_NumberField.js.html">Roo/form/NumberField.js</a>.
73 <tr><td class="label">Class:</td><td class="hd-info">NumberField</td></tr>
78 <tr><td class="label">Extends:</td><td class="hd-info">
79 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
87 <!-- ============================== class summary ========================== -->
88 <div class="description">
89 Numeric text field that provides automatic keystroke filtering and numeric validation.
93 <!-- ============================== Class comment block... ========================== -->
95 <div class="comments">
96 <b>Class Comments / Notes</B> =>
97 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.NumberField';">[Add Your comment/notes about this class]</u>
99 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
100 src="/blog.php/GtkDjsComments/Roo.form.NumberField.html"></iframe>
105 <!-- ============================== config options ========================== -->
110 <div class="hr"></div>
111 <a id="Roo.form.NumberField-configs"></a>
117 <table cellspacing="0" class="member-table">
118 <caption>Config Options (Usually are also Properties)</caption>
122 <th class="sig-header" colspan="2">Options</th>
124 <th class="msource-header">Defined By</th>
131 <tr class="config-row expandable config-row-alt0">
132 <td class="micon"><a class="exi" href="#expand"> </a></td>
135 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
136 <div class="fixedFont">
137 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
143 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
148 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
158 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
164 <tr class="config-row expandable config-row-alt1">
165 <td class="micon"><a class="exi" href="#expand"> </a></td>
168 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
169 <div class="fixedFont">
170 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
176 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
181 False to validate that the value length > 0 (defaults to true)
191 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
197 <tr class="config-row expandable config-row-alt0 notInherited">
198 <td class="micon"><a class="exi" href="#expand"> </a></td>
201 <a id="Roo.form.NumberField-cfg-allowDecimals" name=".allowDecimals"></a>
202 <div class="fixedFont">
203 <b class="itemname">allowDecimals</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
209 <div class="short">False to disallow decimal values (defaults to true)</div>
214 False to disallow decimal values (defaults to true)
230 <tr class="config-row expandable config-row-alt1">
231 <td class="micon"><a class="exi" href="#expand"> </a></td>
234 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
235 <div class="fixedFont">
236 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
242 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
247 Whether the component can move the Dom node when rendering (defaults to true).
257 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
263 <tr class="config-row expandable config-row-alt0 notInherited">
264 <td class="micon"><a class="exi" href="#expand"> </a></td>
267 <a id="Roo.form.NumberField-cfg-allowNegative" name=".allowNegative"></a>
268 <div class="fixedFont">
269 <b class="itemname">allowNegative</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
275 <div class="short">False to prevent entering a negative sign (defaults to true)</div>
280 False to prevent entering a negative sign (defaults to true)
296 <tr class="config-row expandable config-row-alt1">
297 <td class="micon"><a class="exi" href="#expand"> </a></td>
300 <a id="Roo.form.Field-cfg-autoCreate" name=".autoCreate"></a>
301 <div class="fixedFont">
302 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
308 <div class="short">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "20", autocomplete: "off"})</div>
313 A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "20", autocomplete: "off"})
323 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
329 <tr class="config-row expandable config-row-alt0">
330 <td class="micon"><a class="exi" href="#expand"> </a></td>
333 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
334 <div class="fixedFont">
335 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
341 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
346 Error text to display if the allow blank validation fails (defaults to "This field is required")
356 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
362 <tr class="config-row expandable config-row-alt1">
363 <td class="micon"><a class="exi" href="#expand"> </a></td>
366 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
367 <div class="fixedFont">
368 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
374 <div class="short">A CSS class to apply to the field's underlying element.</div>
379 A CSS class to apply to the field's underlying element.
389 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
395 <tr class="config-row expandable config-row-alt0 notInherited">
396 <td class="micon"><a class="exi" href="#expand"> </a></td>
399 <a id="Roo.form.NumberField-cfg-decimalPrecision" name=".decimalPrecision"></a>
400 <div class="fixedFont">
401 <b class="itemname">decimalPrecision</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
407 <div class="short">The maximum precision to display after the decimal separator (defaults to 2)</div>
412 The maximum precision to display after the decimal separator (defaults to 2)
428 <tr class="config-row expandable config-row-alt1 notInherited">
429 <td class="micon"><a class="exi" href="#expand"> </a></td>
432 <a id="Roo.form.NumberField-cfg-decimalSeparator" name=".decimalSeparator"></a>
433 <div class="fixedFont">
434 <b class="itemname">decimalSeparator</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
440 <div class="short">Character(s) to allow as the decimal separator (defaults to '.</div>
445 Character(s) to allow as the decimal separator (defaults to '.')
461 <tr class="config-row expandable config-row-alt0">
462 <td class="micon"><a class="exi" href="#expand"> </a></td>
465 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
466 <div class="fixedFont">
467 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
473 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
478 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
488 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
494 <tr class="config-row expandable config-row-alt1">
495 <td class="micon"><a class="exi" href="#expand"> </a></td>
498 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
499 <div class="fixedFont">
500 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
506 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
511 True to disable input keystroke filtering (defaults to false)
521 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
527 <tr class="config-row expandable config-row-alt0">
528 <td class="micon"><a class="exi" href="#expand"> </a></td>
531 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
532 <div class="fixedFont">
533 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
539 <div class="short">True to disable the field (defaults to false).</div>
544 True to disable the field (defaults to false).
554 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
560 <tr class="config-row expandable config-row-alt1">
561 <td class="micon"><a class="exi" href="#expand"> </a></td>
564 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
565 <div class="fixedFont">
566 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
572 <div class="short">The default text to display in an empty field - placeholder.</div>
577 The default text to display in an empty field - placeholder... (defaults to null).
587 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
593 <tr class="config-row expandable config-row-alt0 notInherited">
594 <td class="micon"><a class="exi" href="#expand"> </a></td>
597 <a id="Roo.form.NumberField-cfg-fieldClass" name=".fieldClass"></a>
598 <div class="fixedFont">
599 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
605 <div class="short">The default CSS class for the field (defaults to "x-form-field x-form-num-field")</div>
610 The default CSS class for the field (defaults to "x-form-field x-form-num-field")
626 <tr class="config-row expandable config-row-alt1">
627 <td class="micon"><a class="exi" href="#expand"> </a></td>
630 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
631 <div class="fixedFont">
632 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
638 <div class="short">Label to use when rendering a form.</div>
643 Label to use when rendering a form.
653 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
659 <tr class="config-row expandable config-row-alt0">
660 <td class="micon"><a class="exi" href="#expand"> </a></td>
663 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
664 <div class="fixedFont">
665 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
671 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
676 The CSS class to use when the field receives focus (defaults to "x-form-focus")
686 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
692 <tr class="config-row expandable config-row-alt1">
693 <td class="micon"><a class="exi" href="#expand"> </a></td>
696 <a id="Roo.form.TextField-cfg-grow" name=".grow"></a>
697 <div class="fixedFont">
698 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
704 <div class="short">True if this field should automatically grow and shrink to its content</div>
709 True if this field should automatically grow and shrink to its content
719 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
725 <tr class="config-row expandable config-row-alt0">
726 <td class="micon"><a class="exi" href="#expand"> </a></td>
729 <a id="Roo.form.TextField-cfg-growMax" name=".growMax"></a>
730 <div class="fixedFont">
731 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
737 <div class="short">The maximum width to allow when grow = true (defaults to 800)</div>
742 The maximum width to allow when grow = true (defaults to 800)
752 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
758 <tr class="config-row expandable config-row-alt1">
759 <td class="micon"><a class="exi" href="#expand"> </a></td>
762 <a id="Roo.form.TextField-cfg-growMin" name=".growMin"></a>
763 <div class="fixedFont">
764 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
770 <div class="short">The minimum width to allow when grow = true (defaults to 30)</div>
775 The minimum width to allow when grow = true (defaults to 30)
785 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
791 <tr class="config-row expandable config-row-alt0">
792 <td class="micon"><a class="exi" href="#expand"> </a></td>
795 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
796 <div class="fixedFont">
797 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
803 <div class="short">height (optional) size of component</div>
808 height (optional) size of component
818 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
824 <tr class="config-row expandable config-row-alt1">
825 <td class="micon"><a class="exi" href="#expand"> </a></td>
828 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
829 <div class="fixedFont">
830 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
836 <div class="short">How this component should hidden.</div>
841 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
842 <BR/>Possible Values: display, visibility
851 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
857 <tr class="config-row expandable config-row-alt0">
858 <td class="micon"><a class="exi" href="#expand"> </a></td>
861 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
862 <div class="fixedFont">
863 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
869 <div class="short">The type attribute for input fields -- e.g.</div>
874 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
884 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
890 <tr class="config-row expandable config-row-alt1">
891 <td class="micon"><a class="exi" href="#expand"> </a></td>
894 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
895 <div class="fixedFont">
896 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
902 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
907 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
917 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
923 <tr class="config-row expandable config-row-alt0">
924 <td class="micon"><a class="exi" href="#expand"> </a></td>
927 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
928 <div class="fixedFont">
929 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
935 <div class="short">The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")</div>
940 The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
950 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
956 <tr class="config-row expandable config-row-alt1">
957 <td class="micon"><a class="exi" href="#expand"> </a></td>
960 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
961 <div class="fixedFont">
962 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
968 <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>
973 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>
983 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
989 <tr class="config-row expandable config-row-alt0">
990 <td class="micon"><a class="exi" href="#expand"> </a></td>
993 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
994 <div class="fixedFont">
995 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1001 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
1006 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
1014 <td class="msource">
1016 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1022 <tr class="config-row expandable config-row-alt1">
1023 <td class="micon"><a class="exi" href="#expand"> </a></td>
1026 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
1027 <div class="fixedFont">
1028 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1034 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
1039 Maximum input field length allowed (defaults to Number.MAX_VALUE)
1047 <td class="msource">
1049 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1055 <tr class="config-row expandable config-row-alt0">
1056 <td class="micon"><a class="exi" href="#expand"> </a></td>
1059 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
1060 <div class="fixedFont">
1061 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1067 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1072 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
1080 <td class="msource">
1082 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1088 <tr class="config-row expandable config-row-alt1 notInherited">
1089 <td class="micon"><a class="exi" href="#expand"> </a></td>
1092 <a id="Roo.form.NumberField-cfg-maxText" name=".maxText"></a>
1093 <div class="fixedFont">
1094 <b class="itemname">maxText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1100 <div class="short">Error text to display if the maximum value validation fails (defaults to "The maximum value for this field is {maxValue}")</div>
1105 Error text to display if the maximum value validation fails (defaults to "The maximum value for this field is {maxValue}")
1113 <td class="msource">
1115 Roo.form.NumberField
1121 <tr class="config-row expandable config-row-alt0 notInherited">
1122 <td class="micon"><a class="exi" href="#expand"> </a></td>
1125 <a id="Roo.form.NumberField-cfg-maxValue" name=".maxValue"></a>
1126 <div class="fixedFont">
1127 <b class="itemname">maxValue</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1133 <div class="short">The maximum allowed value (defaults to Number.MAX_VALUE)</div>
1138 The maximum allowed value (defaults to Number.MAX_VALUE)
1146 <td class="msource">
1148 Roo.form.NumberField
1154 <tr class="config-row expandable config-row-alt1">
1155 <td class="micon"><a class="exi" href="#expand"> </a></td>
1158 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
1159 <div class="fixedFont">
1160 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1166 <div class="short">Minimum input field length required (defaults to 0)</div>
1171 Minimum input field length required (defaults to 0)
1179 <td class="msource">
1181 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1187 <tr class="config-row expandable config-row-alt0">
1188 <td class="micon"><a class="exi" href="#expand"> </a></td>
1191 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1192 <div class="fixedFont">
1193 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1199 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1204 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1212 <td class="msource">
1214 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1220 <tr class="config-row expandable config-row-alt1 notInherited">
1221 <td class="micon"><a class="exi" href="#expand"> </a></td>
1224 <a id="Roo.form.NumberField-cfg-minText" name=".minText"></a>
1225 <div class="fixedFont">
1226 <b class="itemname">minText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1232 <div class="short">Error text to display if the minimum value validation fails (defaults to "The minimum value for this field is {minValue}")</div>
1237 Error text to display if the minimum value validation fails (defaults to "The minimum value for this field is {minValue}")
1245 <td class="msource">
1247 Roo.form.NumberField
1253 <tr class="config-row expandable config-row-alt0 notInherited">
1254 <td class="micon"><a class="exi" href="#expand"> </a></td>
1257 <a id="Roo.form.NumberField-cfg-minValue" name=".minValue"></a>
1258 <div class="fixedFont">
1259 <b class="itemname">minValue</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1265 <div class="short">The minimum allowed value (defaults to Number.NEGATIVE_INFINITY)</div>
1270 The minimum allowed value (defaults to Number.NEGATIVE_INFINITY)
1278 <td class="msource">
1280 Roo.form.NumberField
1286 <tr class="config-row expandable config-row-alt1">
1287 <td class="micon"><a class="exi" href="#expand"> </a></td>
1290 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1291 <div class="fixedFont">
1292 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1298 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1303 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
1311 <td class="msource">
1313 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1319 <tr class="config-row expandable config-row-alt0">
1320 <td class="micon"><a class="exi" href="#expand"> </a></td>
1323 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1324 <div class="fixedFont">
1325 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1331 <div class="short">The location where error text should display.</div>
1336 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>
1344 <td class="msource">
1346 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1352 <tr class="config-row expandable config-row-alt1">
1353 <td class="micon"><a class="exi" href="#expand"> </a></td>
1356 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1357 <div class="fixedFont">
1358 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1364 <div class="short">The field's HTML name attribute.</div>
1369 The field's HTML name attribute.
1377 <td class="msource">
1379 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1385 <tr class="config-row expandable config-row-alt0 notInherited">
1386 <td class="micon"><a class="exi" href="#expand"> </a></td>
1389 <a id="Roo.form.NumberField-cfg-nanText" name=".nanText"></a>
1390 <div class="fixedFont">
1391 <b class="itemname">nanText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1397 <div class="short">Error text to display if the value is not a valid number.</div>
1402 Error text to display if the value is not a valid number. For example, this can happen<br/>if a valid character like '.' or '-' is left in the field with no number (defaults to "{value} is not a valid number")
1410 <td class="msource">
1412 Roo.form.NumberField
1418 <tr class="config-row expandable config-row-alt1">
1419 <td class="micon"><a class="exi" href="#expand"> </a></td>
1422 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1423 <div class="fixedFont">
1424 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1430 <div class="short">Mouse over tip</div>
1443 <td class="msource">
1445 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1451 <tr class="config-row expandable config-row-alt0">
1452 <td class="micon"><a class="exi" href="#expand"> </a></td>
1455 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1456 <div class="fixedFont">
1457 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1463 <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>
1468 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1476 <td class="msource">
1478 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1484 <tr class="config-row expandable config-row-alt1">
1485 <td class="micon"><a class="exi" href="#expand"> </a></td>
1488 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1489 <div class="fixedFont">
1490 <b class="itemname">regex</b> : RegExp
1496 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1501 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>}.
1509 <td class="msource">
1511 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1517 <tr class="config-row expandable config-row-alt0">
1518 <td class="micon"><a class="exi" href="#expand"> </a></td>
1521 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1522 <div class="fixedFont">
1523 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1529 <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>
1534 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
1542 <td class="msource">
1544 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1550 <tr class="config-row expandable config-row-alt1">
1551 <td class="micon"><a class="exi" href="#expand"> </a></td>
1554 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1555 <div class="fixedFont">
1556 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1562 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1567 True to automatically select any existing field text when the field receives input focus (defaults to false)
1575 <td class="msource">
1577 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1583 <tr class="config-row expandable config-row-alt0">
1584 <td class="micon"><a class="exi" href="#expand"> </a></td>
1587 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1588 <div class="fixedFont">
1589 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1595 <div class="short">The tabIndex for this field.</div>
1600 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
1608 <td class="msource">
1610 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1616 <tr class="config-row expandable config-row-alt1">
1617 <td class="micon"><a class="exi" href="#expand"> </a></td>
1620 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1621 <div class="fixedFont">
1622 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1628 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1633 Whether the field should validate when it loses focus (defaults to true).
1641 <td class="msource">
1643 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1649 <tr class="config-row expandable config-row-alt0">
1650 <td class="micon"><a class="exi" href="#expand"> </a></td>
1653 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1654 <div class="fixedFont">
1655 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1661 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1666 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1674 <td class="msource">
1676 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1682 <tr class="config-row expandable config-row-alt1">
1683 <td class="micon"><a class="exi" href="#expand"> </a></td>
1686 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1687 <div class="fixedFont">
1688 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1694 <div class="short">The event that should initiate field validation.</div>
1699 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1707 <td class="msource">
1709 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1715 <tr class="config-row expandable config-row-alt0">
1716 <td class="micon"><a class="exi" href="#expand"> </a></td>
1719 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1720 <div class="fixedFont">
1721 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1727 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1732 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.
1740 <td class="msource">
1742 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1748 <tr class="config-row expandable config-row-alt1">
1749 <td class="micon"><a class="exi" href="#expand"> </a></td>
1752 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1753 <div class="fixedFont">
1754 <b class="itemname">value</b> : Mixed
1760 <div class="short">A value to initialize this field with.</div>
1765 A value to initialize this field with.
1773 <td class="msource">
1775 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1781 <tr class="config-row expandable config-row-alt0">
1782 <td class="micon"><a class="exi" href="#expand"> </a></td>
1785 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1786 <div class="fixedFont">
1787 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1793 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1798 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1806 <td class="msource">
1808 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1814 <tr class="config-row expandable config-row-alt1">
1815 <td class="micon"><a class="exi" href="#expand"> </a></td>
1818 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1819 <div class="fixedFont">
1820 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1826 <div class="short">width (optional) size of component</div>
1831 width (optional) size of component
1839 <td class="msource">
1841 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1857 <!-- ============================== public properties ==================== -->
1861 <a id="Roo.form.NumberField-props"></a>
1867 <table cellspacing="0" class="member-table">
1868 <caption class="Empty">Public Properties - Has None</caption>
1874 <!-- ============================== methods summary / details ======================== -->
1877 <a id="Roo.form.NumberField-methods"></a>
1878 <!-- constructor?? -->
1885 <!-- then dynamics first -->
1892 <table cellspacing="0" class="member-table">
1893 <caption>Public Methods</caption>
1895 <th class="sig-header" colspan="2">Method</th>
1896 <th class="msource-header">Defined By</th>
1906 <tr class="method-row config-row-alt0 expandable notInherited">
1907 <td class="micon"><a class="exi" href="#expand"> </a></td>
1911 <a id="Roo.form-method-NumberField" name=".NumberField"></a>
1912 <div class="fixedFont">
1913 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">NumberField</b>
1915 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1923 <div class="short">Create a new Roo.form.NumberField</div>
1930 Create a new Roo.form.NumberField
1933 <dl class="detailList">
1934 <dt class="heading">Parameters:</dt>
1937 <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>
1940 <dd>Configuration options</dd>
1958 <td class="msource">
1964 <tr class="method-row config-row-alt1 expandable">
1965 <td class="micon"><a class="exi" href="#expand"> </a></td>
1969 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1970 <div class="fixedFont">
1971 <span class="attributes"></span><b class="itemname">addEvents</b>
1973 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1980 <div class="short">Used to define events on this Observable</div>
1986 Used to define events on this Observable
1993 <dl class="detailList">
1994 <dt class="heading">Parameters:</dt>
1997 <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>
2000 <dd>The object with the events defined</dd>
2018 <td class="msource">
2020 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2026 <tr class="method-row config-row-alt0 expandable">
2027 <td class="micon"><a class="exi" href="#expand"> </a></td>
2031 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
2032 <div class="fixedFont">
2033 <span class="attributes"></span><b class="itemname">addListener</b>
2035 (<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>)
2042 <div class="short">Appends an event handler to this component</div>
2048 Appends an event handler to this component
2055 <dl class="detailList">
2056 <dt class="heading">Parameters:</dt>
2059 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2062 <dd>The type of event to listen for</dd>
2065 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2068 <dd>The method the event invokes</dd>
2071 <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>
2074 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2077 <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>
2080 <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>
2098 <td class="msource">
2100 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2106 <tr class="method-row config-row-alt1 expandable">
2107 <td class="micon"><a class="exi" href="#expand"> </a></td>
2111 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
2112 <div class="fixedFont">
2113 <span class="attributes"></span><b class="itemname">applyTo</b>
2115 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
2121 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2130 <div class="short">Apply the behaviors of this component to an existing element.</div>
2136 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
2143 <dl class="detailList">
2144 <dt class="heading">Parameters:</dt>
2147 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
2150 <dd>The id of the node, a DOM node or an existing Element</dd>
2158 <dl class="detailList">
2159 <dt class="heading">Returns:</dt>
2161 <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>
2175 <td class="msource">
2177 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2183 <tr class="method-row config-row-alt0 expandable">
2184 <td class="micon"><a class="exi" href="#expand"> </a></td>
2188 <a id="Roo.form.TextField-method-autoSize" name=".autoSize"></a>
2189 <div class="fixedFont">
2190 <span class="attributes"></span><b class="itemname">autoSize</b>
2199 <div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.</div>
2205 Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.<br/>This only takes effect if grow = true, and fires the autosize event.
2226 <td class="msource">
2228 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
2234 <tr class="method-row config-row-alt1 expandable">
2235 <td class="micon"><a class="exi" href="#expand"> </a></td>
2239 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
2240 <div class="fixedFont">
2241 <span class="attributes"></span><b class="itemname">clearInvalid</b>
2250 <div class="short">Clear any invalid styles/messages for this field</div>
2256 Clear any invalid styles/messages for this field
2277 <td class="msource">
2279 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2285 <tr class="method-row config-row-alt0 expandable">
2286 <td class="micon"><a class="exi" href="#expand"> </a></td>
2290 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2291 <div class="fixedFont">
2292 <span class="attributes"></span><b class="itemname">destroy</b>
2301 <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>
2307 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}.
2328 <td class="msource">
2330 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2336 <tr class="method-row config-row-alt1 expandable">
2337 <td class="micon"><a class="exi" href="#expand"> </a></td>
2341 <a id="Roo.Component-method-disable" name=".disable"></a>
2342 <div class="fixedFont">
2343 <span class="attributes"></span><b class="itemname">disable</b>
2351 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2360 <div class="short">Disable this component.</div>
2366 Disable this component.
2377 <dl class="detailList">
2378 <dt class="heading">Returns:</dt>
2380 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2394 <td class="msource">
2396 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2402 <tr class="method-row config-row-alt0 expandable">
2403 <td class="micon"><a class="exi" href="#expand"> </a></td>
2407 <a id="Roo.Component-method-enable" name=".enable"></a>
2408 <div class="fixedFont">
2409 <span class="attributes"></span><b class="itemname">enable</b>
2417 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2426 <div class="short">Enable this component.</div>
2432 Enable this component.
2443 <dl class="detailList">
2444 <dt class="heading">Returns:</dt>
2446 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2460 <td class="msource">
2462 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2468 <tr class="method-row config-row-alt1 expandable">
2469 <td class="micon"><a class="exi" href="#expand"> </a></td>
2473 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2474 <div class="fixedFont">
2475 <span class="attributes"></span><b class="itemname">fireEvent</b>
2477 (<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>)
2483 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2492 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2498 Fires the specified event with the passed parameters (minus the event name).
2505 <dl class="detailList">
2506 <dt class="heading">Parameters:</dt>
2509 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2515 <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>
2518 <dd>Variable number of parameters are passed to handlers</dd>
2526 <dl class="detailList">
2527 <dt class="heading">Returns:</dt>
2529 <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>
2543 <td class="msource">
2545 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2551 <tr class="method-row config-row-alt0 expandable">
2552 <td class="micon"><a class="exi" href="#expand"> </a></td>
2556 <a id="Roo.Component-method-focus" name=".focus"></a>
2557 <div class="fixedFont">
2558 <span class="attributes"></span><b class="itemname">focus</b>
2560 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2566 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2575 <div class="short">Try to focus this component.</div>
2581 Try to focus this component.
2588 <dl class="detailList">
2589 <dt class="heading">Parameters:</dt>
2592 <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>
2595 <dd>True to also select the text in this component (if applicable)</dd>
2603 <dl class="detailList">
2604 <dt class="heading">Returns:</dt>
2606 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2620 <td class="msource">
2622 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2628 <tr class="method-row config-row-alt1 expandable">
2629 <td class="micon"><a class="exi" href="#expand"> </a></td>
2633 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2634 <div class="fixedFont">
2635 <span class="attributes"></span><b class="itemname">getBox</b>
2637 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2644 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2650 Gets the current box measurements of the component's underlying element.
2657 <dl class="detailList">
2658 <dt class="heading">Parameters:</dt>
2661 <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>
2664 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2682 <td class="msource">
2684 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2690 <tr class="method-row config-row-alt0 expandable">
2691 <td class="micon"><a class="exi" href="#expand"> </a></td>
2695 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2696 <div class="fixedFont">
2697 <span class="attributes"></span><b class="itemname">getEl</b>
2705 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2714 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2720 Returns the underlying {<b>link</b> Roo.Element}.
2731 <dl class="detailList">
2732 <dt class="heading">Returns:</dt>
2734 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2748 <td class="msource">
2750 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2756 <tr class="method-row config-row-alt1 expandable">
2757 <td class="micon"><a class="exi" href="#expand"> </a></td>
2761 <a id="Roo.Component-method-getId" name=".getId"></a>
2762 <div class="fixedFont">
2763 <span class="attributes"></span><b class="itemname">getId</b>
2771 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2780 <div class="short">Returns the id of this component.</div>
2786 Returns the id of this component.
2797 <dl class="detailList">
2798 <dt class="heading">Returns:</dt>
2800 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2814 <td class="msource">
2816 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2822 <tr class="method-row config-row-alt0 expandable">
2823 <td class="micon"><a class="exi" href="#expand"> </a></td>
2827 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2828 <div class="fixedFont">
2829 <span class="attributes"></span><b class="itemname">getName</b>
2837 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2846 <div class="short">Returns the name attribute of the field if available</div>
2852 Returns the name attribute of the field if available
2863 <dl class="detailList">
2864 <dt class="heading">Returns:</dt>
2866 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2880 <td class="msource">
2882 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2888 <tr class="method-row config-row-alt1 expandable">
2889 <td class="micon"><a class="exi" href="#expand"> </a></td>
2893 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2894 <div class="fixedFont">
2895 <span class="attributes"></span><b class="itemname">getPosition</b>
2897 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2903 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2912 <div class="short">Gets the current XY position of the component's underlying element.</div>
2918 Gets the current XY position of the component's underlying element.
2925 <dl class="detailList">
2926 <dt class="heading">Parameters:</dt>
2929 <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>
2932 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2940 <dl class="detailList">
2941 <dt class="heading">Returns:</dt>
2943 <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>
2957 <td class="msource">
2959 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2965 <tr class="method-row config-row-alt0 expandable">
2966 <td class="micon"><a class="exi" href="#expand"> </a></td>
2970 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2971 <div class="fixedFont">
2972 <span class="attributes"></span><b class="itemname">getRawValue</b>
2989 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2995 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>}.
3006 <dl class="detailList">
3007 <dt class="heading">Returns:</dt>
3009 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
3023 <td class="msource">
3025 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3031 <tr class="method-row config-row-alt1 expandable">
3032 <td class="micon"><a class="exi" href="#expand"> </a></td>
3036 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
3037 <div class="fixedFont">
3038 <span class="attributes"></span><b class="itemname">getSize</b>
3046 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
3055 <div class="short">Gets the current size of the component's underlying element.</div>
3061 Gets the current size of the component's underlying element.
3072 <dl class="detailList">
3073 <dt class="heading">Returns:</dt>
3075 <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>
3089 <td class="msource">
3091 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3097 <tr class="method-row config-row-alt0 expandable">
3098 <td class="micon"><a class="exi" href="#expand"> </a></td>
3102 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
3103 <div class="fixedFont">
3104 <span class="attributes"></span><b class="itemname">getValue</b>
3121 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
3127 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
3138 <dl class="detailList">
3139 <dt class="heading">Returns:</dt>
3141 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
3155 <td class="msource">
3157 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3163 <tr class="method-row config-row-alt1 expandable">
3164 <td class="micon"><a class="exi" href="#expand"> </a></td>
3168 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
3169 <div class="fixedFont">
3170 <span class="attributes"></span><b class="itemname">hasListener</b>
3172 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
3178 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3187 <div class="short">Checks to see if this object has any listeners for a specified event</div>
3193 Checks to see if this object has any listeners for a specified event
3200 <dl class="detailList">
3201 <dt class="heading">Parameters:</dt>
3204 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3207 <dd>The name of the event to check for</dd>
3215 <dl class="detailList">
3216 <dt class="heading">Returns:</dt>
3218 <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>
3232 <td class="msource">
3234 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3240 <tr class="method-row config-row-alt0 expandable">
3241 <td class="micon"><a class="exi" href="#expand"> </a></td>
3245 <a id="Roo.Component-method-hide" name=".hide"></a>
3246 <div class="fixedFont">
3247 <span class="attributes"></span><b class="itemname">hide</b>
3255 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3264 <div class="short">Hide this component.</div>
3270 Hide this component.
3281 <dl class="detailList">
3282 <dt class="heading">Returns:</dt>
3284 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3298 <td class="msource">
3300 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3306 <tr class="method-row config-row-alt1 expandable">
3307 <td class="micon"><a class="exi" href="#expand"> </a></td>
3311 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
3312 <div class="fixedFont">
3313 <span class="attributes"></span><b class="itemname">isDirty</b>
3322 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3328 Returns true if this field has been changed since it was originally loaded and is not disabled.
3349 <td class="msource">
3351 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3357 <tr class="method-row config-row-alt0 expandable">
3358 <td class="micon"><a class="exi" href="#expand"> </a></td>
3362 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3363 <div class="fixedFont">
3364 <span class="attributes"></span><b class="itemname">isValid</b>
3366 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3372 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3381 <div class="short">Returns whether or not the field value is currently valid</div>
3387 Returns whether or not the field value is currently valid
3394 <dl class="detailList">
3395 <dt class="heading">Parameters:</dt>
3398 <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>
3401 <dd>True to disable marking the field invalid</dd>
3409 <dl class="detailList">
3410 <dt class="heading">Returns:</dt>
3412 <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>
3426 <td class="msource">
3428 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3434 <tr class="method-row config-row-alt1 expandable">
3435 <td class="micon"><a class="exi" href="#expand"> </a></td>
3439 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3440 <div class="fixedFont">
3441 <span class="attributes"></span><b class="itemname">isVisible</b>
3450 <div class="short">Returns true if this component is visible.</div>
3456 Returns true if this component is visible.
3477 <td class="msource">
3479 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3485 <tr class="method-row config-row-alt0 expandable">
3486 <td class="micon"><a class="exi" href="#expand"> </a></td>
3490 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3491 <div class="fixedFont">
3492 <span class="attributes"></span><b class="itemname">markInvalid</b>
3494 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3501 <div class="short">Mark this field as invalid</div>
3507 Mark this field as invalid
3514 <dl class="detailList">
3515 <dt class="heading">Parameters:</dt>
3518 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3521 <dd>The validation message</dd>
3539 <td class="msource">
3541 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3547 <tr class="method-row config-row-alt1 expandable">
3548 <td class="micon"><a class="exi" href="#expand"> </a></td>
3552 <a id="Roo.util.Observable-method-on" name=".on"></a>
3553 <div class="fixedFont">
3554 <span class="attributes"></span><b class="itemname">on</b>
3556 (<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>)
3563 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3569 Appends an event handler to this element (shorthand for addListener)
3576 <dl class="detailList">
3577 <dt class="heading">Parameters:</dt>
3580 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3583 <dd>The type of event to listen for</dd>
3586 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3589 <dd>The method the event invokes</dd>
3592 <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>
3595 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3598 <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>
3619 <td class="msource">
3621 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3627 <tr class="method-row config-row-alt0 expandable">
3628 <td class="micon"><a class="exi" href="#expand"> </a></td>
3632 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3633 <div class="fixedFont">
3634 <span class="attributes"></span><b class="itemname">onPosition</b>
3636 (<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>)
3643 <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>
3649 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.
3656 <dl class="detailList">
3657 <dt class="heading">Parameters:</dt>
3660 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3663 <dd>The new x position</dd>
3666 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3669 <dd>The new y position</dd>
3687 <td class="msource">
3689 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3695 <tr class="method-row config-row-alt1 expandable">
3696 <td class="micon"><a class="exi" href="#expand"> </a></td>
3700 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3701 <div class="fixedFont">
3702 <span class="attributes"></span><b class="itemname">onResize</b>
3704 (<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>)
3711 <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>
3717 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.
3724 <dl class="detailList">
3725 <dt class="heading">Parameters:</dt>
3728 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3731 <dd>The box-adjusted width that was set</dd>
3734 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3737 <dd>The box-adjusted height that was set</dd>
3740 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3743 <dd>The width that was originally specified</dd>
3746 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3749 <dd>The height that was originally specified</dd>
3767 <td class="msource">
3769 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3775 <tr class="method-row config-row-alt0 expandable">
3776 <td class="micon"><a class="exi" href="#expand"> </a></td>
3780 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3781 <div class="fixedFont">
3782 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3791 <div class="short">Removes all listeners for this object</div>
3797 Removes all listeners for this object
3818 <td class="msource">
3820 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3826 <tr class="method-row config-row-alt1 expandable">
3827 <td class="micon"><a class="exi" href="#expand"> </a></td>
3831 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3832 <div class="fixedFont">
3833 <span class="attributes"></span><b class="itemname">removeListener</b>
3835 (<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>)
3842 <div class="short">Removes a listener</div>
3855 <dl class="detailList">
3856 <dt class="heading">Parameters:</dt>
3859 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3862 <dd>The type of event to listen for</dd>
3865 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3868 <dd>The handler to remove</dd>
3871 <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>
3874 <dd>(optional) The scope (this object) for the handler</dd>
3892 <td class="msource">
3894 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3900 <tr class="method-row config-row-alt0 expandable">
3901 <td class="micon"><a class="exi" href="#expand"> </a></td>
3905 <a id="Roo.Component-method-render" name=".render"></a>
3906 <div class="fixedFont">
3907 <span class="attributes"></span><b class="itemname">render</b>
3909 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3916 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3922 If this is a lazy rendering component, render it to its container element.
3929 <dl class="detailList">
3930 <dt class="heading">Parameters:</dt>
3933 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3936 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3954 <td class="msource">
3956 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3962 <tr class="method-row config-row-alt1 expandable">
3963 <td class="micon"><a class="exi" href="#expand"> </a></td>
3967 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3968 <div class="fixedFont">
3969 <span class="attributes"></span><b class="itemname">reset</b>
3978 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3984 Resets the current field value to the originally-loaded value and clears any validation messages.
4005 <td class="msource">
4007 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4013 <tr class="method-row config-row-alt0 expandable">
4014 <td class="micon"><a class="exi" href="#expand"> </a></td>
4018 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
4019 <div class="fixedFont">
4020 <span class="attributes"></span><b class="itemname">selectText</b>
4022 (<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>)
4029 <div class="short">Selects text in this field</div>
4035 Selects text in this field
4042 <dl class="detailList">
4043 <dt class="heading">Parameters:</dt>
4046 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
4049 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
4052 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
4055 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
4073 <td class="msource">
4075 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4081 <tr class="method-row config-row-alt1 expandable">
4082 <td class="micon"><a class="exi" href="#expand"> </a></td>
4086 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
4087 <div class="fixedFont">
4088 <span class="attributes"></span><b class="itemname">setDisabled</b>
4090 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
4097 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
4103 Convenience function for setting disabled/enabled by boolean.
4110 <dl class="detailList">
4111 <dt class="heading">Parameters:</dt>
4114 <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>
4135 <td class="msource">
4137 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4143 <tr class="method-row config-row-alt0 expandable">
4144 <td class="micon"><a class="exi" href="#expand"> </a></td>
4148 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
4149 <div class="fixedFont">
4150 <span class="attributes"></span><b class="itemname">setPagePosition</b>
4152 (<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>)
4159 <div class="short">Sets the page XY position of the component.</div>
4165 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.
4172 <dl class="detailList">
4173 <dt class="heading">Parameters:</dt>
4176 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4179 <dd>The new x position</dd>
4182 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4185 <dd>The new y position</dd>
4203 <td class="msource">
4205 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4211 <tr class="method-row config-row-alt1 expandable">
4212 <td class="micon"><a class="exi" href="#expand"> </a></td>
4216 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
4217 <div class="fixedFont">
4218 <span class="attributes"></span><b class="itemname">setPosition</b>
4220 (<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>)
4227 <div class="short">Sets the left and top of the component.</div>
4233 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.
4240 <dl class="detailList">
4241 <dt class="heading">Parameters:</dt>
4244 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
4247 <dd>The new left</dd>
4250 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
4253 <dd>The new top</dd>
4271 <td class="msource">
4273 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4279 <tr class="method-row config-row-alt0 expandable">
4280 <td class="micon"><a class="exi" href="#expand"> </a></td>
4284 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4285 <div class="fixedFont">
4286 <span class="attributes"></span><b class="itemname">setRawValue</b>
4288 (Mixed <B><i>value</i></B>)
4295 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4301 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4308 <dl class="detailList">
4309 <dt class="heading">Parameters:</dt>
4312 <span class="fixedFont">Mixed</span> <b>value</b>
4315 <dd>The value to set</dd>
4333 <td class="msource">
4335 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4341 <tr class="method-row config-row-alt1 expandable">
4342 <td class="micon"><a class="exi" href="#expand"> </a></td>
4346 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4347 <div class="fixedFont">
4348 <span class="attributes"></span><b class="itemname">setSize</b>
4350 (<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>)
4356 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4365 <div class="short">Sets the width and height of the component.</div>
4371 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}.
4378 <dl class="detailList">
4379 <dt class="heading">Parameters:</dt>
4382 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4385 <dd>The new width to set, or a size object in the format {width, height}</dd>
4388 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4391 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4399 <dl class="detailList">
4400 <dt class="heading">Returns:</dt>
4402 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4416 <td class="msource">
4418 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4424 <tr class="method-row config-row-alt0 expandable">
4425 <td class="micon"><a class="exi" href="#expand"> </a></td>
4429 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4430 <div class="fixedFont">
4431 <span class="attributes"></span><b class="itemname">setValue</b>
4433 (Mixed <B><i>value</i></B>)
4440 <div class="short">Sets a data value into the field and validates it.</div>
4446 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4453 <dl class="detailList">
4454 <dt class="heading">Parameters:</dt>
4457 <span class="fixedFont">Mixed</span> <b>value</b>
4460 <dd>The value to set</dd>
4478 <td class="msource">
4480 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4486 <tr class="method-row config-row-alt1 expandable">
4487 <td class="micon"><a class="exi" href="#expand"> </a></td>
4491 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4492 <div class="fixedFont">
4493 <span class="attributes"></span><b class="itemname">setVisible</b>
4495 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4501 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4510 <div class="short">Convenience function to hide or show this component by boolean.</div>
4516 Convenience function to hide or show this component by boolean.
4523 <dl class="detailList">
4524 <dt class="heading">Parameters:</dt>
4527 <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>
4530 <dd>True to show, false to hide</dd>
4538 <dl class="detailList">
4539 <dt class="heading">Returns:</dt>
4541 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4555 <td class="msource">
4557 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4563 <tr class="method-row config-row-alt0 expandable">
4564 <td class="micon"><a class="exi" href="#expand"> </a></td>
4568 <a id="Roo.Component-method-show" name=".show"></a>
4569 <div class="fixedFont">
4570 <span class="attributes"></span><b class="itemname">show</b>
4578 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4587 <div class="short">Show this component.</div>
4593 Show this component.
4604 <dl class="detailList">
4605 <dt class="heading">Returns:</dt>
4607 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4621 <td class="msource">
4623 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4629 <tr class="method-row config-row-alt1 expandable">
4630 <td class="micon"><a class="exi" href="#expand"> </a></td>
4634 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4635 <div class="fixedFont">
4636 <span class="attributes"></span><b class="itemname">syncSize</b>
4645 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4651 Force the component's size to recalculate based on the underlying element's current height and width.
4672 <td class="msource">
4674 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4680 <tr class="method-row config-row-alt0 expandable">
4681 <td class="micon"><a class="exi" href="#expand"> </a></td>
4685 <a id="Roo.util.Observable-method-un" name=".un"></a>
4686 <div class="fixedFont">
4687 <span class="attributes"></span><b class="itemname">un</b>
4689 (<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>)
4696 <div class="short">Removes a listener (shorthand for removeListener)</div>
4702 Removes a listener (shorthand for removeListener)
4709 <dl class="detailList">
4710 <dt class="heading">Parameters:</dt>
4713 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4716 <dd>The type of event to listen for</dd>
4719 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4722 <dd>The handler to remove</dd>
4725 <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>
4728 <dd>(optional) The scope (this object) for the handler</dd>
4746 <td class="msource">
4748 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4754 <tr class="method-row config-row-alt1 expandable">
4755 <td class="micon"><a class="exi" href="#expand"> </a></td>
4759 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4760 <div class="fixedFont">
4761 <span class="attributes"></span><b class="itemname">updateBox</b>
4763 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4770 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4776 Sets the current box measurements of the component's underlying element.
4783 <dl class="detailList">
4784 <dt class="heading">Parameters:</dt>
4787 <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>
4790 <dd>An object in the format {x, y, width, height}</dd>
4808 <td class="msource">
4810 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4816 <tr class="method-row config-row-alt0 expandable">
4817 <td class="micon"><a class="exi" href="#expand"> </a></td>
4821 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4822 <div class="fixedFont">
4823 <span class="attributes"></span><b class="itemname">validate</b>
4831 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4840 <div class="short">Validates the field value</div>
4846 Validates the field value
4857 <dl class="detailList">
4858 <dt class="heading">Returns:</dt>
4860 <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>
4874 <td class="msource">
4876 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4882 <tr class="method-row config-row-alt1 expandable">
4883 <td class="micon"><a class="exi" href="#expand"> </a></td>
4887 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4888 <div class="fixedFont">
4889 <span class="attributes"></span><b class="itemname">validateValue</b>
4891 (Mixed <B><i>value</i></B>)
4897 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4906 <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>
4912 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4919 <dl class="detailList">
4920 <dt class="heading">Parameters:</dt>
4923 <span class="fixedFont">Mixed</span> <b>value</b>
4926 <dd>The value to validate</dd>
4934 <dl class="detailList">
4935 <dt class="heading">Returns:</dt>
4937 <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>
4951 <td class="msource">
4953 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4962 <!-- ============================== events summary / details ======================== -->
4965 <a id="Roo.form.NumberField-events"></a>
4974 <table cellspacing="0" class="member-table">
4975 <caption>Events</caption>
4978 <th class="sig-header" colspan="2">Event</th>
4979 <th class="msource-header">Defined By</th>
4988 <tr class="method-row expandable config-row-alt0">
4989 <td class="micon"><a class="exi" href="#expand"> </a></td>
4992 <a id="Roo.form.TextField-event-*autosize"></a>
4994 <div class="fixedFont">
4995 <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>)
5001 <div class="short">Fires when the autosize function is triggered.
5007 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.
5013 <dl class="detailList">
5014 <dt class="heading">Parameters:</dt>
5017 <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>
5020 <dd>This text field</dd>
5023 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
5026 <dd>The new field width</dd>
5044 <td class="msource">
5045 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
5049 <tr class="method-row expandable config-row-alt1">
5050 <td class="micon"><a class="exi" href="#expand"> </a></td>
5053 <a id="Roo.Component-event-*beforedestroy"></a>
5055 <div class="fixedFont">
5056 <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>)
5062 <div class="short">Fires before the component is destroyed.
5068 Fires before the component is destroyed. Return false to stop the destroy.
5074 <dl class="detailList">
5075 <dt class="heading">Parameters:</dt>
5078 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5099 <td class="msource">
5100 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5104 <tr class="method-row expandable config-row-alt0">
5105 <td class="micon"><a class="exi" href="#expand"> </a></td>
5108 <a id="Roo.Component-event-*beforehide"></a>
5110 <div class="fixedFont">
5111 <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>)
5117 <div class="short">Fires before the component is hidden.
5123 Fires before the component is hidden. Return false to stop the hide.
5129 <dl class="detailList">
5130 <dt class="heading">Parameters:</dt>
5133 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5154 <td class="msource">
5155 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5159 <tr class="method-row expandable config-row-alt1">
5160 <td class="micon"><a class="exi" href="#expand"> </a></td>
5163 <a id="Roo.Component-event-*beforerender"></a>
5165 <div class="fixedFont">
5166 <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>)
5172 <div class="short">Fires before the component is rendered.
5178 Fires before the component is rendered. Return false to stop the render.
5184 <dl class="detailList">
5185 <dt class="heading">Parameters:</dt>
5188 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5209 <td class="msource">
5210 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5214 <tr class="method-row expandable config-row-alt0">
5215 <td class="micon"><a class="exi" href="#expand"> </a></td>
5218 <a id="Roo.Component-event-*beforeshow"></a>
5220 <div class="fixedFont">
5221 <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>)
5227 <div class="short">Fires before the component is shown.
5233 Fires before the component is shown. Return false to stop the show.
5239 <dl class="detailList">
5240 <dt class="heading">Parameters:</dt>
5243 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5264 <td class="msource">
5265 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5269 <tr class="method-row expandable config-row-alt1">
5270 <td class="micon"><a class="exi" href="#expand"> </a></td>
5273 <a id="Roo.form.Field-event-*blur"></a>
5275 <div class="fixedFont">
5276 <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>)
5282 <div class="short">Fires when this field loses input focus.
5288 Fires when this field loses input focus.
5294 <dl class="detailList">
5295 <dt class="heading">Parameters:</dt>
5298 <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>
5319 <td class="msource">
5320 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5324 <tr class="method-row expandable config-row-alt0">
5325 <td class="micon"><a class="exi" href="#expand"> </a></td>
5328 <a id="Roo.form.Field-event-*change"></a>
5330 <div class="fixedFont">
5331 <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>)
5337 <div class="short">Fires just before the field blurs if the field value has changed.
5343 Fires just before the field blurs if the field value has changed.
5349 <dl class="detailList">
5350 <dt class="heading">Parameters:</dt>
5353 <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>
5359 <span class="fixedFont">Mixed</span> <b>newValue</b>
5362 <dd>The new value</dd>
5365 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5368 <dd>The original value</dd>
5386 <td class="msource">
5387 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5391 <tr class="method-row expandable config-row-alt1">
5392 <td class="micon"><a class="exi" href="#expand"> </a></td>
5395 <a id="Roo.Component-event-*destroy"></a>
5397 <div class="fixedFont">
5398 <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>)
5404 <div class="short">Fires after the component is destroyed.
5410 Fires after the component is destroyed.
5416 <dl class="detailList">
5417 <dt class="heading">Parameters:</dt>
5420 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5441 <td class="msource">
5442 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5446 <tr class="method-row expandable config-row-alt0">
5447 <td class="micon"><a class="exi" href="#expand"> </a></td>
5450 <a id="Roo.Component-event-*disable"></a>
5452 <div class="fixedFont">
5453 <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>)
5459 <div class="short">Fires after the component is disabled.
5465 Fires after the component is disabled.
5471 <dl class="detailList">
5472 <dt class="heading">Parameters:</dt>
5475 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5496 <td class="msource">
5497 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5501 <tr class="method-row expandable config-row-alt1">
5502 <td class="micon"><a class="exi" href="#expand"> </a></td>
5505 <a id="Roo.Component-event-*enable"></a>
5507 <div class="fixedFont">
5508 <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>)
5514 <div class="short">Fires after the component is enabled.
5520 Fires after the component is enabled.
5526 <dl class="detailList">
5527 <dt class="heading">Parameters:</dt>
5530 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5551 <td class="msource">
5552 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5556 <tr class="method-row expandable config-row-alt0">
5557 <td class="micon"><a class="exi" href="#expand"> </a></td>
5560 <a id="Roo.form.Field-event-*focus"></a>
5562 <div class="fixedFont">
5563 <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>)
5569 <div class="short">Fires when this field receives input focus.
5575 Fires when this field receives input focus.
5581 <dl class="detailList">
5582 <dt class="heading">Parameters:</dt>
5585 <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>
5606 <td class="msource">
5607 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5611 <tr class="method-row expandable config-row-alt1">
5612 <td class="micon"><a class="exi" href="#expand"> </a></td>
5615 <a id="Roo.Component-event-*hide"></a>
5617 <div class="fixedFont">
5618 <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>)
5624 <div class="short">Fires after the component is hidden.
5630 Fires after the component is hidden.
5636 <dl class="detailList">
5637 <dt class="heading">Parameters:</dt>
5640 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5661 <td class="msource">
5662 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5666 <tr class="method-row expandable config-row-alt0">
5667 <td class="micon"><a class="exi" href="#expand"> </a></td>
5670 <a id="Roo.form.Field-event-*invalid"></a>
5672 <div class="fixedFont">
5673 <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>)
5679 <div class="short">Fires after the field has been marked as invalid.
5685 Fires after the field has been marked as invalid.
5691 <dl class="detailList">
5692 <dt class="heading">Parameters:</dt>
5695 <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>
5701 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5704 <dd>The validation message</dd>
5722 <td class="msource">
5723 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5727 <tr class="method-row expandable config-row-alt1">
5728 <td class="micon"><a class="exi" href="#expand"> </a></td>
5731 <a id="Roo.form.Field-event-*keyup"></a>
5733 <div class="fixedFont">
5734 <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>)
5740 <div class="short">Fires after the key up
5746 Fires after the key up
5752 <dl class="detailList">
5753 <dt class="heading">Parameters:</dt>
5756 <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>
5762 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5765 <dd>The event Object</dd>
5783 <td class="msource">
5784 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5788 <tr class="method-row expandable config-row-alt0">
5789 <td class="micon"><a class="exi" href="#expand"> </a></td>
5792 <a id="Roo.BoxComponent-event-*move"></a>
5794 <div class="fixedFont">
5795 <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>)
5801 <div class="short">Fires after the component is moved.
5807 Fires after the component is moved.
5813 <dl class="detailList">
5814 <dt class="heading">Parameters:</dt>
5817 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5823 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5826 <dd>The new x position</dd>
5829 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5832 <dd>The new y position</dd>
5850 <td class="msource">
5851 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5855 <tr class="method-row expandable config-row-alt1">
5856 <td class="micon"><a class="exi" href="#expand"> </a></td>
5859 <a id="Roo.Component-event-*render"></a>
5861 <div class="fixedFont">
5862 <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>)
5868 <div class="short">Fires after the component is rendered.
5874 Fires after the component is rendered.
5880 <dl class="detailList">
5881 <dt class="heading">Parameters:</dt>
5884 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5905 <td class="msource">
5906 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5910 <tr class="method-row expandable config-row-alt0">
5911 <td class="micon"><a class="exi" href="#expand"> </a></td>
5914 <a id="Roo.BoxComponent-event-*resize"></a>
5916 <div class="fixedFont">
5917 <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>)
5923 <div class="short">Fires after the component is resized.
5929 Fires after the component is resized.
5935 <dl class="detailList">
5936 <dt class="heading">Parameters:</dt>
5939 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5945 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5948 <dd>The box-adjusted width that was set</dd>
5951 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5954 <dd>The box-adjusted height that was set</dd>
5957 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5960 <dd>The width that was originally specified</dd>
5963 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5966 <dd>The height that was originally specified</dd>
5984 <td class="msource">
5985 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5989 <tr class="method-row expandable config-row-alt1">
5990 <td class="micon"><a class="exi" href="#expand"> </a></td>
5993 <a id="Roo.Component-event-*show"></a>
5995 <div class="fixedFont">
5996 <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>)
6002 <div class="short">Fires after the component is shown.
6008 Fires after the component is shown.
6014 <dl class="detailList">
6015 <dt class="heading">Parameters:</dt>
6018 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
6039 <td class="msource">
6040 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
6044 <tr class="method-row expandable config-row-alt0">
6045 <td class="micon"><a class="exi" href="#expand"> </a></td>
6048 <a id="Roo.form.Field-event-*specialkey"></a>
6050 <div class="fixedFont">
6051 <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>)
6057 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
6063 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.
6069 <dl class="detailList">
6070 <dt class="heading">Parameters:</dt>
6073 <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>
6079 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
6082 <dd>The event object</dd>
6100 <td class="msource">
6101 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6105 <tr class="method-row expandable config-row-alt1">
6106 <td class="micon"><a class="exi" href="#expand"> </a></td>
6109 <a id="Roo.form.Field-event-*valid"></a>
6111 <div class="fixedFont">
6112 <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>)
6118 <div class="short">Fires after the field has been validated with no errors.
6124 Fires after the field has been validated with no errors.
6130 <dl class="detailList">
6131 <dt class="heading">Parameters:</dt>
6134 <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>
6155 <td class="msource">
6156 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6167 <!-- ============================== footer ================================= -->
6168 <div class="fineprint" style="clear:both">
6170 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Apr 25 2016 14:57:01 GMT+0800 (HKT)
6172 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>