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>
147 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
155 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
161 <tr class="config-row expandable config-row-alt1">
162 <td class="micon"><a class="exi" href="#expand"> </a></td>
165 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
166 <div class="fixedFont">
167 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
173 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
177 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
185 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
191 <tr class="config-row expandable config-row-alt0 notInherited">
192 <td class="micon"><a class="exi" href="#expand"> </a></td>
195 <a id="Roo.form.NumberField-cfg-allowDecimals" name=".allowDecimals"></a>
196 <div class="fixedFont">
197 <b class="itemname">allowDecimals</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
203 <div class="short">False to disallow decimal values (defaults to true)</div>
207 <div class="long">False to disallow decimal values (defaults to true)</div>
221 <tr class="config-row expandable config-row-alt1">
222 <td class="micon"><a class="exi" href="#expand"> </a></td>
225 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
226 <div class="fixedFont">
227 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
233 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
237 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
245 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
251 <tr class="config-row expandable config-row-alt0 notInherited">
252 <td class="micon"><a class="exi" href="#expand"> </a></td>
255 <a id="Roo.form.NumberField-cfg-allowNegative" name=".allowNegative"></a>
256 <div class="fixedFont">
257 <b class="itemname">allowNegative</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
263 <div class="short">False to prevent entering a negative sign (defaults to true)</div>
267 <div class="long">False to prevent entering a negative sign (defaults to true)</div>
281 <tr class="config-row expandable config-row-alt1">
282 <td class="micon"><a class="exi" href="#expand"> </a></td>
285 <a id="Roo.form.Field-cfg-autoCreate" name=".autoCreate"></a>
286 <div class="fixedFont">
287 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
293 <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>
297 <div class="long">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "20", autocomplete: "off"})</div>
305 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
311 <tr class="config-row expandable config-row-alt0">
312 <td class="micon"><a class="exi" href="#expand"> </a></td>
315 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
316 <div class="fixedFont">
317 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
323 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
327 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
335 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
341 <tr class="config-row expandable config-row-alt1">
342 <td class="micon"><a class="exi" href="#expand"> </a></td>
345 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
346 <div class="fixedFont">
347 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
353 <div class="short">A CSS class to apply to the field's underlying element.</div>
357 <div class="long">A CSS class to apply to the field's underlying element.</div>
365 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
371 <tr class="config-row expandable config-row-alt0 notInherited">
372 <td class="micon"><a class="exi" href="#expand"> </a></td>
375 <a id="Roo.form.NumberField-cfg-decimalPrecision" name=".decimalPrecision"></a>
376 <div class="fixedFont">
377 <b class="itemname">decimalPrecision</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
383 <div class="short">The maximum precision to display after the decimal separator (defaults to 2)</div>
387 <div class="long">The maximum precision to display after the decimal separator (defaults to 2)</div>
401 <tr class="config-row expandable config-row-alt1 notInherited">
402 <td class="micon"><a class="exi" href="#expand"> </a></td>
405 <a id="Roo.form.NumberField-cfg-decimalSeparator" name=".decimalSeparator"></a>
406 <div class="fixedFont">
407 <b class="itemname">decimalSeparator</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
413 <div class="short">Character(s) to allow as the decimal separator (defaults to '.</div>
417 <div class="long">Character(s) to allow as the decimal separator (defaults to '.')</div>
431 <tr class="config-row expandable config-row-alt0">
432 <td class="micon"><a class="exi" href="#expand"> </a></td>
435 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
436 <div class="fixedFont">
437 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
443 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
447 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
455 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
461 <tr class="config-row expandable config-row-alt1">
462 <td class="micon"><a class="exi" href="#expand"> </a></td>
465 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
466 <div class="fixedFont">
467 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
473 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
477 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
485 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
491 <tr class="config-row expandable config-row-alt0">
492 <td class="micon"><a class="exi" href="#expand"> </a></td>
495 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
496 <div class="fixedFont">
497 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
503 <div class="short">True to disable the field (defaults to false).</div>
507 <div class="long">True to disable the field (defaults to false).</div>
515 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
521 <tr class="config-row expandable config-row-alt1">
522 <td class="micon"><a class="exi" href="#expand"> </a></td>
525 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
526 <div class="fixedFont">
527 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
533 <div class="short">The default text to display in an empty field - placeholder.</div>
537 <div class="long">The default text to display in an empty field - placeholder... (defaults to null).</div>
545 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
551 <tr class="config-row expandable config-row-alt0 notInherited">
552 <td class="micon"><a class="exi" href="#expand"> </a></td>
555 <a id="Roo.form.NumberField-cfg-fieldClass" name=".fieldClass"></a>
556 <div class="fixedFont">
557 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
563 <div class="short">The default CSS class for the field (defaults to "x-form-field x-form-num-field")</div>
567 <div class="long">The default CSS class for the field (defaults to "x-form-field x-form-num-field")</div>
581 <tr class="config-row expandable config-row-alt1">
582 <td class="micon"><a class="exi" href="#expand"> </a></td>
585 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
586 <div class="fixedFont">
587 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
593 <div class="short">Label to use when rendering a form.</div>
597 <div class="long">Label to use when rendering a form.</div>
605 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
611 <tr class="config-row expandable config-row-alt0">
612 <td class="micon"><a class="exi" href="#expand"> </a></td>
615 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
616 <div class="fixedFont">
617 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
623 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
627 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
635 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
641 <tr class="config-row expandable config-row-alt1">
642 <td class="micon"><a class="exi" href="#expand"> </a></td>
645 <a id="Roo.form.TextField-cfg-grow" name=".grow"></a>
646 <div class="fixedFont">
647 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
653 <div class="short">True if this field should automatically grow and shrink to its content</div>
657 <div class="long">True if this field should automatically grow and shrink to its content</div>
665 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
671 <tr class="config-row expandable config-row-alt0">
672 <td class="micon"><a class="exi" href="#expand"> </a></td>
675 <a id="Roo.form.TextField-cfg-growMax" name=".growMax"></a>
676 <div class="fixedFont">
677 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
683 <div class="short">The maximum width to allow when grow = true (defaults to 800)</div>
687 <div class="long">The maximum width to allow when grow = true (defaults to 800)</div>
695 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
701 <tr class="config-row expandable config-row-alt1">
702 <td class="micon"><a class="exi" href="#expand"> </a></td>
705 <a id="Roo.form.TextField-cfg-growMin" name=".growMin"></a>
706 <div class="fixedFont">
707 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
713 <div class="short">The minimum width to allow when grow = true (defaults to 30)</div>
717 <div class="long">The minimum width to allow when grow = true (defaults to 30)</div>
725 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
731 <tr class="config-row expandable config-row-alt0">
732 <td class="micon"><a class="exi" href="#expand"> </a></td>
735 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
736 <div class="fixedFont">
737 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
743 <div class="short">height (optional) size of component</div>
747 <div class="long">height (optional) size of component</div>
755 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
761 <tr class="config-row expandable config-row-alt1">
762 <td class="micon"><a class="exi" href="#expand"> </a></td>
765 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
766 <div class="fixedFont">
767 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
773 <div class="short">How this component should hidden.</div>
777 <div class="long">How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".</div>
785 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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.form.Field-cfg-inputType" name=".inputType"></a>
796 <div class="fixedFont">
797 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
803 <div class="short">The type attribute for input fields -- e.g.</div>
807 <div class="long">The type attribute for input fields -- e.g. radio, text, password (defaults to "text").</div>
815 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
821 <tr class="config-row expandable config-row-alt1">
822 <td class="micon"><a class="exi" href="#expand"> </a></td>
825 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
826 <div class="fixedFont">
827 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
833 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
837 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
845 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
851 <tr class="config-row expandable config-row-alt0">
852 <td class="micon"><a class="exi" href="#expand"> </a></td>
855 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
856 <div class="fixedFont">
857 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
863 <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>
867 <div class="long">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>
875 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
881 <tr class="config-row expandable config-row-alt1">
882 <td class="micon"><a class="exi" href="#expand"> </a></td>
885 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
886 <div class="fixedFont">
887 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
893 <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>
897 <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre></div>
905 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
911 <tr class="config-row expandable config-row-alt0">
912 <td class="micon"><a class="exi" href="#expand"> </a></td>
915 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
916 <div class="fixedFont">
917 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
923 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
927 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
935 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
941 <tr class="config-row expandable config-row-alt1">
942 <td class="micon"><a class="exi" href="#expand"> </a></td>
945 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
946 <div class="fixedFont">
947 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
953 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
957 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
965 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
971 <tr class="config-row expandable config-row-alt0">
972 <td class="micon"><a class="exi" href="#expand"> </a></td>
975 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
976 <div class="fixedFont">
977 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
983 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
987 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
995 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1001 <tr class="config-row expandable config-row-alt1 notInherited">
1002 <td class="micon"><a class="exi" href="#expand"> </a></td>
1005 <a id="Roo.form.NumberField-cfg-maxText" name=".maxText"></a>
1006 <div class="fixedFont">
1007 <b class="itemname">maxText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1013 <div class="short">Error text to display if the maximum value validation fails (defaults to "The maximum value for this field is {maxValue}")</div>
1017 <div class="long">Error text to display if the maximum value validation fails (defaults to "The maximum value for this field is {maxValue}")</div>
1023 <td class="msource">
1025 Roo.form.NumberField
1031 <tr class="config-row expandable config-row-alt0 notInherited">
1032 <td class="micon"><a class="exi" href="#expand"> </a></td>
1035 <a id="Roo.form.NumberField-cfg-maxValue" name=".maxValue"></a>
1036 <div class="fixedFont">
1037 <b class="itemname">maxValue</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1043 <div class="short">The maximum allowed value (defaults to Number.MAX_VALUE)</div>
1047 <div class="long">The maximum allowed value (defaults to Number.MAX_VALUE)</div>
1053 <td class="msource">
1055 Roo.form.NumberField
1061 <tr class="config-row expandable config-row-alt1">
1062 <td class="micon"><a class="exi" href="#expand"> </a></td>
1065 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
1066 <div class="fixedFont">
1067 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1073 <div class="short">Minimum input field length required (defaults to 0)</div>
1077 <div class="long">Minimum input field length required (defaults to 0)</div>
1083 <td class="msource">
1085 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1091 <tr class="config-row expandable config-row-alt0">
1092 <td class="micon"><a class="exi" href="#expand"> </a></td>
1095 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1096 <div class="fixedFont">
1097 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1103 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1107 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1113 <td class="msource">
1115 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1121 <tr class="config-row expandable config-row-alt1 notInherited">
1122 <td class="micon"><a class="exi" href="#expand"> </a></td>
1125 <a id="Roo.form.NumberField-cfg-minText" name=".minText"></a>
1126 <div class="fixedFont">
1127 <b class="itemname">minText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1133 <div class="short">Error text to display if the minimum value validation fails (defaults to "The minimum value for this field is {minValue}")</div>
1137 <div class="long">Error text to display if the minimum value validation fails (defaults to "The minimum value for this field is {minValue}")</div>
1143 <td class="msource">
1145 Roo.form.NumberField
1151 <tr class="config-row expandable config-row-alt0 notInherited">
1152 <td class="micon"><a class="exi" href="#expand"> </a></td>
1155 <a id="Roo.form.NumberField-cfg-minValue" name=".minValue"></a>
1156 <div class="fixedFont">
1157 <b class="itemname">minValue</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1163 <div class="short">The minimum allowed value (defaults to Number.NEGATIVE_INFINITY)</div>
1167 <div class="long">The minimum allowed value (defaults to Number.NEGATIVE_INFINITY)</div>
1173 <td class="msource">
1175 Roo.form.NumberField
1181 <tr class="config-row expandable config-row-alt1">
1182 <td class="micon"><a class="exi" href="#expand"> </a></td>
1185 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1186 <div class="fixedFont">
1187 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1193 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1197 <div class="long"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1203 <td class="msource">
1205 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1211 <tr class="config-row expandable config-row-alt0">
1212 <td class="micon"><a class="exi" href="#expand"> </a></td>
1215 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1216 <div class="fixedFont">
1217 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1223 <div class="short">The location where error text should display.</div>
1227 <div class="long">The location where error text should display. Should be one of the following values (defaults to 'qtip'):<br/><pre><br/>Value Description<br/>----------- ----------------------------------------------------------------------<br/>qtip Display a quick tip when the user hovers over the field<br/>title Display a default browser title attribute popup<br/>under Add a block div beneath the field containing the error text<br/>side Add an error icon to the right of the field with a popup on hover<br/>[element id] Add the error text directly to the innerHTML of the specified element<br/></pre></div>
1233 <td class="msource">
1235 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1241 <tr class="config-row expandable config-row-alt1">
1242 <td class="micon"><a class="exi" href="#expand"> </a></td>
1245 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1246 <div class="fixedFont">
1247 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1253 <div class="short">The field's HTML name attribute.</div>
1257 <div class="long">The field's HTML name attribute.</div>
1263 <td class="msource">
1265 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1271 <tr class="config-row expandable config-row-alt0 notInherited">
1272 <td class="micon"><a class="exi" href="#expand"> </a></td>
1275 <a id="Roo.form.NumberField-cfg-nanText" name=".nanText"></a>
1276 <div class="fixedFont">
1277 <b class="itemname">nanText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1283 <div class="short">Error text to display if the value is not a valid number.</div>
1287 <div class="long">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")</div>
1293 <td class="msource">
1295 Roo.form.NumberField
1301 <tr class="config-row expandable config-row-alt1">
1302 <td class="micon"><a class="exi" href="#expand"> </a></td>
1305 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1306 <div class="fixedFont">
1307 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1313 <div class="short">Mouse over tip</div>
1317 <div class="long">Mouse over tip</div>
1323 <td class="msource">
1325 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1331 <tr class="config-row expandable config-row-alt0">
1332 <td class="micon"><a class="exi" href="#expand"> </a></td>
1335 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1336 <div class="fixedFont">
1337 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1343 <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>
1347 <div class="long">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.</div>
1353 <td class="msource">
1355 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1361 <tr class="config-row expandable config-row-alt1">
1362 <td class="micon"><a class="exi" href="#expand"> </a></td>
1365 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1366 <div class="fixedFont">
1367 <b class="itemname">regex</b> : RegExp
1373 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1377 <div class="long">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).<br/>If available, this regex will be evaluated only after the basic validators all return true, and will be passed the<br/>current field value. If the test fails, the field will be marked invalid using {<b>link</b> <b>regexText</b>}.</div>
1383 <td class="msource">
1385 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1391 <tr class="config-row expandable config-row-alt0">
1392 <td class="micon"><a class="exi" href="#expand"> </a></td>
1395 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1396 <div class="fixedFont">
1397 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1403 <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>
1407 <div class="long">The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")</div>
1413 <td class="msource">
1415 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1421 <tr class="config-row expandable config-row-alt1">
1422 <td class="micon"><a class="exi" href="#expand"> </a></td>
1425 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1426 <div class="fixedFont">
1427 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1433 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1437 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1443 <td class="msource">
1445 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</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-tabIndex" name=".tabIndex"></a>
1456 <div class="fixedFont">
1457 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1463 <div class="short">The tabIndex for this field.</div>
1467 <div class="long">The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).</div>
1473 <td class="msource">
1475 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1481 <tr class="config-row expandable config-row-alt1">
1482 <td class="micon"><a class="exi" href="#expand"> </a></td>
1485 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1486 <div class="fixedFont">
1487 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1493 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1497 <div class="long">Whether the field should validate when it loses focus (defaults to true).</div>
1503 <td class="msource">
1505 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1511 <tr class="config-row expandable config-row-alt0">
1512 <td class="micon"><a class="exi" href="#expand"> </a></td>
1515 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1516 <div class="fixedFont">
1517 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1523 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1527 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1533 <td class="msource">
1535 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1541 <tr class="config-row expandable config-row-alt1">
1542 <td class="micon"><a class="exi" href="#expand"> </a></td>
1545 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1546 <div class="fixedFont">
1547 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1553 <div class="short">The event that should initiate field validation.</div>
1557 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1563 <td class="msource">
1565 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1571 <tr class="config-row expandable config-row-alt0">
1572 <td class="micon"><a class="exi" href="#expand"> </a></td>
1575 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1576 <div class="fixedFont">
1577 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1583 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1587 <div class="long">A custom validation function to be called during field validation (defaults to null).<br/>If available, this function will be called only after the basic validators all return true, and will be passed the<br/>current field value and expected to return boolean true if the value is valid or a string error message if invalid.</div>
1593 <td class="msource">
1595 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1601 <tr class="config-row expandable config-row-alt1">
1602 <td class="micon"><a class="exi" href="#expand"> </a></td>
1605 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1606 <div class="fixedFont">
1607 <b class="itemname">value</b> : Mixed
1613 <div class="short">A value to initialize this field with.</div>
1617 <div class="long">A value to initialize this field with.</div>
1623 <td class="msource">
1625 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1631 <tr class="config-row expandable config-row-alt0">
1632 <td class="micon"><a class="exi" href="#expand"> </a></td>
1635 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1636 <div class="fixedFont">
1637 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1643 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1647 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1653 <td class="msource">
1655 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1661 <tr class="config-row expandable config-row-alt1">
1662 <td class="micon"><a class="exi" href="#expand"> </a></td>
1665 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1666 <div class="fixedFont">
1667 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1673 <div class="short">width (optional) size of component</div>
1677 <div class="long">width (optional) size of component</div>
1683 <td class="msource">
1685 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1701 <!-- ============================== public properties ==================== -->
1705 <a id="Roo.form.NumberField-props"></a>
1711 <table cellspacing="0" class="member-table">
1712 <caption class="Empty">Public Properties - Has None</caption>
1718 <!-- ============================== methods summary / details ======================== -->
1721 <a id="Roo.form.NumberField-methods"></a>
1722 <!-- constructor?? -->
1729 <!-- then dynamics first -->
1736 <table cellspacing="0" class="member-table">
1737 <caption>Public Methods</caption>
1739 <th class="sig-header" colspan="2">Method</th>
1740 <th class="msource-header">Defined By</th>
1750 <tr class="method-row config-row-alt0 expandable notInherited">
1751 <td class="micon"><a class="exi" href="#expand"> </a></td>
1755 <a id="Roo.form-method-NumberField" name=".NumberField"></a>
1756 <div class="fixedFont">
1757 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">NumberField</b>
1759 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1767 <div class="short">Create a new Roo.form.NumberField</div>
1774 Create a new Roo.form.NumberField
1777 <dl class="detailList">
1778 <dt class="heading">Parameters:</dt>
1781 <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>
1784 <dd>Configuration options</dd>
1802 <td class="msource">
1808 <tr class="method-row config-row-alt1 expandable">
1809 <td class="micon"><a class="exi" href="#expand"> </a></td>
1813 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1814 <div class="fixedFont">
1815 <span class="attributes"></span><b class="itemname">addEvents</b>
1817 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1824 <div class="short">Used to define events on this Observable</div>
1830 Used to define events on this Observable
1837 <dl class="detailList">
1838 <dt class="heading">Parameters:</dt>
1841 <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>
1844 <dd>The object with the events defined</dd>
1862 <td class="msource">
1864 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1870 <tr class="method-row config-row-alt0 expandable">
1871 <td class="micon"><a class="exi" href="#expand"> </a></td>
1875 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1876 <div class="fixedFont">
1877 <span class="attributes"></span><b class="itemname">addListener</b>
1879 (<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>)
1886 <div class="short">Appends an event handler to this component</div>
1892 Appends an event handler to this component
1899 <dl class="detailList">
1900 <dt class="heading">Parameters:</dt>
1903 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1906 <dd>The type of event to listen for</dd>
1909 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1912 <dd>The method the event invokes</dd>
1915 <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>
1918 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1921 <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>
1924 <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>
1942 <td class="msource">
1944 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1950 <tr class="method-row config-row-alt1 expandable">
1951 <td class="micon"><a class="exi" href="#expand"> </a></td>
1955 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1956 <div class="fixedFont">
1957 <span class="attributes"></span><b class="itemname">applyTo</b>
1959 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1965 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1974 <div class="short">Apply the behaviors of this component to an existing element.</div>
1980 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1987 <dl class="detailList">
1988 <dt class="heading">Parameters:</dt>
1991 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1994 <dd>The id of the node, a DOM node or an existing Element</dd>
2002 <dl class="detailList">
2003 <dt class="heading">Returns:</dt>
2005 <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>
2019 <td class="msource">
2021 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2027 <tr class="method-row config-row-alt0 expandable">
2028 <td class="micon"><a class="exi" href="#expand"> </a></td>
2032 <a id="Roo.form.TextField-method-autoSize" name=".autoSize"></a>
2033 <div class="fixedFont">
2034 <span class="attributes"></span><b class="itemname">autoSize</b>
2043 <div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.</div>
2049 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.
2070 <td class="msource">
2072 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
2078 <tr class="method-row config-row-alt1 expandable">
2079 <td class="micon"><a class="exi" href="#expand"> </a></td>
2083 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
2084 <div class="fixedFont">
2085 <span class="attributes"></span><b class="itemname">clearInvalid</b>
2094 <div class="short">Clear any invalid styles/messages for this field</div>
2100 Clear any invalid styles/messages for this field
2121 <td class="msource">
2123 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2129 <tr class="method-row config-row-alt0 expandable">
2130 <td class="micon"><a class="exi" href="#expand"> </a></td>
2134 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2135 <div class="fixedFont">
2136 <span class="attributes"></span><b class="itemname">destroy</b>
2145 <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>
2151 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}.
2172 <td class="msource">
2174 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2180 <tr class="method-row config-row-alt1 expandable">
2181 <td class="micon"><a class="exi" href="#expand"> </a></td>
2185 <a id="Roo.Component-method-disable" name=".disable"></a>
2186 <div class="fixedFont">
2187 <span class="attributes"></span><b class="itemname">disable</b>
2195 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2204 <div class="short">Disable this component.</div>
2210 Disable this component.
2221 <dl class="detailList">
2222 <dt class="heading">Returns:</dt>
2224 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2238 <td class="msource">
2240 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2246 <tr class="method-row config-row-alt0 expandable">
2247 <td class="micon"><a class="exi" href="#expand"> </a></td>
2251 <a id="Roo.Component-method-enable" name=".enable"></a>
2252 <div class="fixedFont">
2253 <span class="attributes"></span><b class="itemname">enable</b>
2261 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2270 <div class="short">Enable this component.</div>
2276 Enable this component.
2287 <dl class="detailList">
2288 <dt class="heading">Returns:</dt>
2290 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2304 <td class="msource">
2306 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2312 <tr class="method-row config-row-alt1 expandable">
2313 <td class="micon"><a class="exi" href="#expand"> </a></td>
2317 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2318 <div class="fixedFont">
2319 <span class="attributes"></span><b class="itemname">fireEvent</b>
2321 (<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>)
2327 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2336 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2342 Fires the specified event with the passed parameters (minus the event name).
2349 <dl class="detailList">
2350 <dt class="heading">Parameters:</dt>
2353 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2359 <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>
2362 <dd>Variable number of parameters are passed to handlers</dd>
2370 <dl class="detailList">
2371 <dt class="heading">Returns:</dt>
2373 <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>
2387 <td class="msource">
2389 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2395 <tr class="method-row config-row-alt0 expandable">
2396 <td class="micon"><a class="exi" href="#expand"> </a></td>
2400 <a id="Roo.Component-method-focus" name=".focus"></a>
2401 <div class="fixedFont">
2402 <span class="attributes"></span><b class="itemname">focus</b>
2404 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2410 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2419 <div class="short">Try to focus this component.</div>
2425 Try to focus this component.
2432 <dl class="detailList">
2433 <dt class="heading">Parameters:</dt>
2436 <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>
2439 <dd>True to also select the text in this component (if applicable)</dd>
2447 <dl class="detailList">
2448 <dt class="heading">Returns:</dt>
2450 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2464 <td class="msource">
2466 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2472 <tr class="method-row config-row-alt1 expandable">
2473 <td class="micon"><a class="exi" href="#expand"> </a></td>
2477 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2478 <div class="fixedFont">
2479 <span class="attributes"></span><b class="itemname">getBox</b>
2481 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2488 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2494 Gets the current box measurements of the component's underlying element.
2501 <dl class="detailList">
2502 <dt class="heading">Parameters:</dt>
2505 <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>
2508 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2526 <td class="msource">
2528 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2534 <tr class="method-row config-row-alt0 expandable">
2535 <td class="micon"><a class="exi" href="#expand"> </a></td>
2539 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2540 <div class="fixedFont">
2541 <span class="attributes"></span><b class="itemname">getEl</b>
2549 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2558 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2564 Returns the underlying {<b>link</b> Roo.Element}.
2575 <dl class="detailList">
2576 <dt class="heading">Returns:</dt>
2578 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2592 <td class="msource">
2594 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2600 <tr class="method-row config-row-alt1 expandable">
2601 <td class="micon"><a class="exi" href="#expand"> </a></td>
2605 <a id="Roo.Component-method-getId" name=".getId"></a>
2606 <div class="fixedFont">
2607 <span class="attributes"></span><b class="itemname">getId</b>
2615 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2624 <div class="short">Returns the id of this component.</div>
2630 Returns the id of this component.
2641 <dl class="detailList">
2642 <dt class="heading">Returns:</dt>
2644 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2658 <td class="msource">
2660 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2666 <tr class="method-row config-row-alt0 expandable">
2667 <td class="micon"><a class="exi" href="#expand"> </a></td>
2671 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2672 <div class="fixedFont">
2673 <span class="attributes"></span><b class="itemname">getName</b>
2681 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2690 <div class="short">Returns the name attribute of the field if available</div>
2696 Returns the name attribute of the field if available
2707 <dl class="detailList">
2708 <dt class="heading">Returns:</dt>
2710 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2724 <td class="msource">
2726 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2732 <tr class="method-row config-row-alt1 expandable">
2733 <td class="micon"><a class="exi" href="#expand"> </a></td>
2737 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2738 <div class="fixedFont">
2739 <span class="attributes"></span><b class="itemname">getPosition</b>
2741 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2747 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2756 <div class="short">Gets the current XY position of the component's underlying element.</div>
2762 Gets the current XY position of the component's underlying element.
2769 <dl class="detailList">
2770 <dt class="heading">Parameters:</dt>
2773 <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>
2776 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2784 <dl class="detailList">
2785 <dt class="heading">Returns:</dt>
2787 <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>
2801 <td class="msource">
2803 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2809 <tr class="method-row config-row-alt0 expandable">
2810 <td class="micon"><a class="exi" href="#expand"> </a></td>
2814 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2815 <div class="fixedFont">
2816 <span class="attributes"></span><b class="itemname">getRawValue</b>
2833 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2839 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>}.
2850 <dl class="detailList">
2851 <dt class="heading">Returns:</dt>
2853 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2867 <td class="msource">
2869 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2875 <tr class="method-row config-row-alt1 expandable">
2876 <td class="micon"><a class="exi" href="#expand"> </a></td>
2880 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2881 <div class="fixedFont">
2882 <span class="attributes"></span><b class="itemname">getSize</b>
2890 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2899 <div class="short">Gets the current size of the component's underlying element.</div>
2905 Gets the current size of the component's underlying element.
2916 <dl class="detailList">
2917 <dt class="heading">Returns:</dt>
2919 <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>
2933 <td class="msource">
2935 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2941 <tr class="method-row config-row-alt0 expandable">
2942 <td class="micon"><a class="exi" href="#expand"> </a></td>
2946 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2947 <div class="fixedFont">
2948 <span class="attributes"></span><b class="itemname">getValue</b>
2965 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2971 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2982 <dl class="detailList">
2983 <dt class="heading">Returns:</dt>
2985 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2999 <td class="msource">
3001 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3007 <tr class="method-row config-row-alt1 expandable">
3008 <td class="micon"><a class="exi" href="#expand"> </a></td>
3012 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
3013 <div class="fixedFont">
3014 <span class="attributes"></span><b class="itemname">hasListener</b>
3016 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
3022 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3031 <div class="short">Checks to see if this object has any listeners for a specified event</div>
3037 Checks to see if this object has any listeners for a specified event
3044 <dl class="detailList">
3045 <dt class="heading">Parameters:</dt>
3048 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3051 <dd>The name of the event to check for</dd>
3059 <dl class="detailList">
3060 <dt class="heading">Returns:</dt>
3062 <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>
3076 <td class="msource">
3078 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3084 <tr class="method-row config-row-alt0 expandable">
3085 <td class="micon"><a class="exi" href="#expand"> </a></td>
3089 <a id="Roo.Component-method-hide" name=".hide"></a>
3090 <div class="fixedFont">
3091 <span class="attributes"></span><b class="itemname">hide</b>
3099 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3108 <div class="short">Hide this component.</div>
3114 Hide this component.
3125 <dl class="detailList">
3126 <dt class="heading">Returns:</dt>
3128 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3142 <td class="msource">
3144 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3150 <tr class="method-row config-row-alt1 expandable">
3151 <td class="micon"><a class="exi" href="#expand"> </a></td>
3155 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
3156 <div class="fixedFont">
3157 <span class="attributes"></span><b class="itemname">isDirty</b>
3166 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3172 Returns true if this field has been changed since it was originally loaded and is not disabled.
3193 <td class="msource">
3195 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3201 <tr class="method-row config-row-alt0 expandable">
3202 <td class="micon"><a class="exi" href="#expand"> </a></td>
3206 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3207 <div class="fixedFont">
3208 <span class="attributes"></span><b class="itemname">isValid</b>
3210 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3216 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3225 <div class="short">Returns whether or not the field value is currently valid</div>
3231 Returns whether or not the field value is currently valid
3238 <dl class="detailList">
3239 <dt class="heading">Parameters:</dt>
3242 <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>
3245 <dd>True to disable marking the field invalid</dd>
3253 <dl class="detailList">
3254 <dt class="heading">Returns:</dt>
3256 <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>
3270 <td class="msource">
3272 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3278 <tr class="method-row config-row-alt1 expandable">
3279 <td class="micon"><a class="exi" href="#expand"> </a></td>
3283 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3284 <div class="fixedFont">
3285 <span class="attributes"></span><b class="itemname">isVisible</b>
3294 <div class="short">Returns true if this component is visible.</div>
3300 Returns true if this component is visible.
3321 <td class="msource">
3323 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3329 <tr class="method-row config-row-alt0 expandable">
3330 <td class="micon"><a class="exi" href="#expand"> </a></td>
3334 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3335 <div class="fixedFont">
3336 <span class="attributes"></span><b class="itemname">markInvalid</b>
3338 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3345 <div class="short">Mark this field as invalid</div>
3351 Mark this field as invalid
3358 <dl class="detailList">
3359 <dt class="heading">Parameters:</dt>
3362 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3365 <dd>The validation message</dd>
3383 <td class="msource">
3385 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3391 <tr class="method-row config-row-alt1 expandable">
3392 <td class="micon"><a class="exi" href="#expand"> </a></td>
3396 <a id="Roo.util.Observable-method-on" name=".on"></a>
3397 <div class="fixedFont">
3398 <span class="attributes"></span><b class="itemname">on</b>
3400 (<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>)
3407 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3413 Appends an event handler to this element (shorthand for addListener)
3420 <dl class="detailList">
3421 <dt class="heading">Parameters:</dt>
3424 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3427 <dd>The type of event to listen for</dd>
3430 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3433 <dd>The method the event invokes</dd>
3436 <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>
3439 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3442 <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>
3463 <td class="msource">
3465 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3471 <tr class="method-row config-row-alt0 expandable">
3472 <td class="micon"><a class="exi" href="#expand"> </a></td>
3476 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3477 <div class="fixedFont">
3478 <span class="attributes"></span><b class="itemname">onPosition</b>
3480 (<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>)
3487 <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>
3493 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.
3500 <dl class="detailList">
3501 <dt class="heading">Parameters:</dt>
3504 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3507 <dd>The new x position</dd>
3510 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3513 <dd>The new y position</dd>
3531 <td class="msource">
3533 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3539 <tr class="method-row config-row-alt1 expandable">
3540 <td class="micon"><a class="exi" href="#expand"> </a></td>
3544 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3545 <div class="fixedFont">
3546 <span class="attributes"></span><b class="itemname">onResize</b>
3548 (<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>)
3555 <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>
3561 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.
3568 <dl class="detailList">
3569 <dt class="heading">Parameters:</dt>
3572 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3575 <dd>The box-adjusted width that was set</dd>
3578 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3581 <dd>The box-adjusted height that was set</dd>
3584 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3587 <dd>The width that was originally specified</dd>
3590 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3593 <dd>The height that was originally specified</dd>
3611 <td class="msource">
3613 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3619 <tr class="method-row config-row-alt0 expandable">
3620 <td class="micon"><a class="exi" href="#expand"> </a></td>
3624 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3625 <div class="fixedFont">
3626 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3635 <div class="short">Removes all listeners for this object</div>
3641 Removes all listeners for this object
3662 <td class="msource">
3664 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3670 <tr class="method-row config-row-alt1 expandable">
3671 <td class="micon"><a class="exi" href="#expand"> </a></td>
3675 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3676 <div class="fixedFont">
3677 <span class="attributes"></span><b class="itemname">removeListener</b>
3679 (<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>)
3686 <div class="short">Removes a listener</div>
3699 <dl class="detailList">
3700 <dt class="heading">Parameters:</dt>
3703 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3706 <dd>The type of event to listen for</dd>
3709 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3712 <dd>The handler to remove</dd>
3715 <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>
3718 <dd>(optional) The scope (this object) for the handler</dd>
3736 <td class="msource">
3738 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3744 <tr class="method-row config-row-alt0 expandable">
3745 <td class="micon"><a class="exi" href="#expand"> </a></td>
3749 <a id="Roo.Component-method-render" name=".render"></a>
3750 <div class="fixedFont">
3751 <span class="attributes"></span><b class="itemname">render</b>
3753 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3760 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3766 If this is a lazy rendering component, render it to its container element.
3773 <dl class="detailList">
3774 <dt class="heading">Parameters:</dt>
3777 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3780 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3798 <td class="msource">
3800 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3806 <tr class="method-row config-row-alt1 expandable">
3807 <td class="micon"><a class="exi" href="#expand"> </a></td>
3811 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3812 <div class="fixedFont">
3813 <span class="attributes"></span><b class="itemname">reset</b>
3822 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3828 Resets the current field value to the originally-loaded value and clears any validation messages.
3849 <td class="msource">
3851 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3857 <tr class="method-row config-row-alt0 expandable">
3858 <td class="micon"><a class="exi" href="#expand"> </a></td>
3862 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3863 <div class="fixedFont">
3864 <span class="attributes"></span><b class="itemname">selectText</b>
3866 (<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>)
3873 <div class="short">Selects text in this field</div>
3879 Selects text in this field
3886 <dl class="detailList">
3887 <dt class="heading">Parameters:</dt>
3890 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3893 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3896 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3899 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3917 <td class="msource">
3919 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3925 <tr class="method-row config-row-alt1 expandable">
3926 <td class="micon"><a class="exi" href="#expand"> </a></td>
3930 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3931 <div class="fixedFont">
3932 <span class="attributes"></span><b class="itemname">setDisabled</b>
3934 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3941 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3947 Convenience function for setting disabled/enabled by boolean.
3954 <dl class="detailList">
3955 <dt class="heading">Parameters:</dt>
3958 <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>
3979 <td class="msource">
3981 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3987 <tr class="method-row config-row-alt0 expandable">
3988 <td class="micon"><a class="exi" href="#expand"> </a></td>
3992 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3993 <div class="fixedFont">
3994 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3996 (<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>)
4003 <div class="short">Sets the page XY position of the component.</div>
4009 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.
4016 <dl class="detailList">
4017 <dt class="heading">Parameters:</dt>
4020 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
4023 <dd>The new x position</dd>
4026 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
4029 <dd>The new y position</dd>
4047 <td class="msource">
4049 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4055 <tr class="method-row config-row-alt1 expandable">
4056 <td class="micon"><a class="exi" href="#expand"> </a></td>
4060 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
4061 <div class="fixedFont">
4062 <span class="attributes"></span><b class="itemname">setPosition</b>
4064 (<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>)
4071 <div class="short">Sets the left and top of the component.</div>
4077 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.
4084 <dl class="detailList">
4085 <dt class="heading">Parameters:</dt>
4088 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
4091 <dd>The new left</dd>
4094 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
4097 <dd>The new top</dd>
4115 <td class="msource">
4117 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4123 <tr class="method-row config-row-alt0 expandable">
4124 <td class="micon"><a class="exi" href="#expand"> </a></td>
4128 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
4129 <div class="fixedFont">
4130 <span class="attributes"></span><b class="itemname">setRawValue</b>
4132 (Mixed <B><i>value</i></B>)
4139 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4145 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4152 <dl class="detailList">
4153 <dt class="heading">Parameters:</dt>
4156 <span class="fixedFont">Mixed</span> <b>value</b>
4159 <dd>The value to set</dd>
4177 <td class="msource">
4179 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4185 <tr class="method-row config-row-alt1 expandable">
4186 <td class="micon"><a class="exi" href="#expand"> </a></td>
4190 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4191 <div class="fixedFont">
4192 <span class="attributes"></span><b class="itemname">setSize</b>
4194 (<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>)
4200 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4209 <div class="short">Sets the width and height of the component.</div>
4215 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}.
4222 <dl class="detailList">
4223 <dt class="heading">Parameters:</dt>
4226 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4229 <dd>The new width to set, or a size object in the format {width, height}</dd>
4232 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4235 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4243 <dl class="detailList">
4244 <dt class="heading">Returns:</dt>
4246 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4260 <td class="msource">
4262 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4268 <tr class="method-row config-row-alt0 expandable">
4269 <td class="micon"><a class="exi" href="#expand"> </a></td>
4273 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4274 <div class="fixedFont">
4275 <span class="attributes"></span><b class="itemname">setValue</b>
4277 (Mixed <B><i>value</i></B>)
4284 <div class="short">Sets a data value into the field and validates it.</div>
4290 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4297 <dl class="detailList">
4298 <dt class="heading">Parameters:</dt>
4301 <span class="fixedFont">Mixed</span> <b>value</b>
4304 <dd>The value to set</dd>
4322 <td class="msource">
4324 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4330 <tr class="method-row config-row-alt1 expandable">
4331 <td class="micon"><a class="exi" href="#expand"> </a></td>
4335 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4336 <div class="fixedFont">
4337 <span class="attributes"></span><b class="itemname">setVisible</b>
4339 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4345 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4354 <div class="short">Convenience function to hide or show this component by boolean.</div>
4360 Convenience function to hide or show this component by boolean.
4367 <dl class="detailList">
4368 <dt class="heading">Parameters:</dt>
4371 <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>
4374 <dd>True to show, false to hide</dd>
4382 <dl class="detailList">
4383 <dt class="heading">Returns:</dt>
4385 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4399 <td class="msource">
4401 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4407 <tr class="method-row config-row-alt0 expandable">
4408 <td class="micon"><a class="exi" href="#expand"> </a></td>
4412 <a id="Roo.Component-method-show" name=".show"></a>
4413 <div class="fixedFont">
4414 <span class="attributes"></span><b class="itemname">show</b>
4422 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4431 <div class="short">Show this component.</div>
4437 Show this component.
4448 <dl class="detailList">
4449 <dt class="heading">Returns:</dt>
4451 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4465 <td class="msource">
4467 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4473 <tr class="method-row config-row-alt1 expandable">
4474 <td class="micon"><a class="exi" href="#expand"> </a></td>
4478 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4479 <div class="fixedFont">
4480 <span class="attributes"></span><b class="itemname">syncSize</b>
4489 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4495 Force the component's size to recalculate based on the underlying element's current height and width.
4516 <td class="msource">
4518 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4524 <tr class="method-row config-row-alt0 expandable">
4525 <td class="micon"><a class="exi" href="#expand"> </a></td>
4529 <a id="Roo.util.Observable-method-un" name=".un"></a>
4530 <div class="fixedFont">
4531 <span class="attributes"></span><b class="itemname">un</b>
4533 (<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>)
4540 <div class="short">Removes a listener (shorthand for removeListener)</div>
4546 Removes a listener (shorthand for removeListener)
4553 <dl class="detailList">
4554 <dt class="heading">Parameters:</dt>
4557 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4560 <dd>The type of event to listen for</dd>
4563 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4566 <dd>The handler to remove</dd>
4569 <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>
4572 <dd>(optional) The scope (this object) for the handler</dd>
4590 <td class="msource">
4592 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4598 <tr class="method-row config-row-alt1 expandable">
4599 <td class="micon"><a class="exi" href="#expand"> </a></td>
4603 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4604 <div class="fixedFont">
4605 <span class="attributes"></span><b class="itemname">updateBox</b>
4607 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4614 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4620 Sets the current box measurements of the component's underlying element.
4627 <dl class="detailList">
4628 <dt class="heading">Parameters:</dt>
4631 <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>
4634 <dd>An object in the format {x, y, width, height}</dd>
4652 <td class="msource">
4654 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4660 <tr class="method-row config-row-alt0 expandable">
4661 <td class="micon"><a class="exi" href="#expand"> </a></td>
4665 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4666 <div class="fixedFont">
4667 <span class="attributes"></span><b class="itemname">validate</b>
4675 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4684 <div class="short">Validates the field value</div>
4690 Validates the field value
4701 <dl class="detailList">
4702 <dt class="heading">Returns:</dt>
4704 <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>
4718 <td class="msource">
4720 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4726 <tr class="method-row config-row-alt1 expandable">
4727 <td class="micon"><a class="exi" href="#expand"> </a></td>
4731 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4732 <div class="fixedFont">
4733 <span class="attributes"></span><b class="itemname">validateValue</b>
4735 (Mixed <B><i>value</i></B>)
4741 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4750 <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>
4756 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4763 <dl class="detailList">
4764 <dt class="heading">Parameters:</dt>
4767 <span class="fixedFont">Mixed</span> <b>value</b>
4770 <dd>The value to validate</dd>
4778 <dl class="detailList">
4779 <dt class="heading">Returns:</dt>
4781 <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>
4795 <td class="msource">
4797 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4806 <!-- ============================== events summary / details ======================== -->
4809 <a id="Roo.form.NumberField-events"></a>
4818 <table cellspacing="0" class="member-table">
4819 <caption>Events</caption>
4822 <th class="sig-header" colspan="2">Event</th>
4823 <th class="msource-header">Defined By</th>
4832 <tr class="method-row expandable config-row-alt0">
4833 <td class="micon"><a class="exi" href="#expand"> </a></td>
4836 <a id="Roo.form.TextField-event-*autosize"></a>
4838 <div class="fixedFont">
4839 <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>)
4845 <div class="short">Fires when the autosize function is triggered.
4851 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.
4857 <dl class="detailList">
4858 <dt class="heading">Parameters:</dt>
4861 <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>
4864 <dd>This text field</dd>
4867 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4870 <dd>The new field width</dd>
4888 <td class="msource">
4889 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4893 <tr class="method-row expandable config-row-alt1">
4894 <td class="micon"><a class="exi" href="#expand"> </a></td>
4897 <a id="Roo.Component-event-*beforedestroy"></a>
4899 <div class="fixedFont">
4900 <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>)
4906 <div class="short">Fires before the component is destroyed.
4912 Fires before the component is destroyed. Return false to stop the destroy.
4918 <dl class="detailList">
4919 <dt class="heading">Parameters:</dt>
4922 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4943 <td class="msource">
4944 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4948 <tr class="method-row expandable config-row-alt0">
4949 <td class="micon"><a class="exi" href="#expand"> </a></td>
4952 <a id="Roo.Component-event-*beforehide"></a>
4954 <div class="fixedFont">
4955 <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>)
4961 <div class="short">Fires before the component is hidden.
4967 Fires before the component is hidden. Return false to stop the hide.
4973 <dl class="detailList">
4974 <dt class="heading">Parameters:</dt>
4977 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4998 <td class="msource">
4999 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5003 <tr class="method-row expandable config-row-alt1">
5004 <td class="micon"><a class="exi" href="#expand"> </a></td>
5007 <a id="Roo.Component-event-*beforerender"></a>
5009 <div class="fixedFont">
5010 <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>)
5016 <div class="short">Fires before the component is rendered.
5022 Fires before the component is rendered. Return false to stop the render.
5028 <dl class="detailList">
5029 <dt class="heading">Parameters:</dt>
5032 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5053 <td class="msource">
5054 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5058 <tr class="method-row expandable config-row-alt0">
5059 <td class="micon"><a class="exi" href="#expand"> </a></td>
5062 <a id="Roo.Component-event-*beforeshow"></a>
5064 <div class="fixedFont">
5065 <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>)
5071 <div class="short">Fires before the component is shown.
5077 Fires before the component is shown. Return false to stop the show.
5083 <dl class="detailList">
5084 <dt class="heading">Parameters:</dt>
5087 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5108 <td class="msource">
5109 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5113 <tr class="method-row expandable config-row-alt1">
5114 <td class="micon"><a class="exi" href="#expand"> </a></td>
5117 <a id="Roo.form.Field-event-*blur"></a>
5119 <div class="fixedFont">
5120 <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>)
5126 <div class="short">Fires when this field loses input focus.
5132 Fires when this field loses input focus.
5138 <dl class="detailList">
5139 <dt class="heading">Parameters:</dt>
5142 <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>
5163 <td class="msource">
5164 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5168 <tr class="method-row expandable config-row-alt0">
5169 <td class="micon"><a class="exi" href="#expand"> </a></td>
5172 <a id="Roo.form.Field-event-*change"></a>
5174 <div class="fixedFont">
5175 <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>)
5181 <div class="short">Fires just before the field blurs if the field value has changed.
5187 Fires just before the field blurs if the field value has changed.
5193 <dl class="detailList">
5194 <dt class="heading">Parameters:</dt>
5197 <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>
5203 <span class="fixedFont">Mixed</span> <b>newValue</b>
5206 <dd>The new value</dd>
5209 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5212 <dd>The original value</dd>
5230 <td class="msource">
5231 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5235 <tr class="method-row expandable config-row-alt1">
5236 <td class="micon"><a class="exi" href="#expand"> </a></td>
5239 <a id="Roo.Component-event-*destroy"></a>
5241 <div class="fixedFont">
5242 <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>)
5248 <div class="short">Fires after the component is destroyed.
5254 Fires after the component is destroyed.
5260 <dl class="detailList">
5261 <dt class="heading">Parameters:</dt>
5264 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5285 <td class="msource">
5286 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5290 <tr class="method-row expandable config-row-alt0">
5291 <td class="micon"><a class="exi" href="#expand"> </a></td>
5294 <a id="Roo.Component-event-*disable"></a>
5296 <div class="fixedFont">
5297 <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>)
5303 <div class="short">Fires after the component is disabled.
5309 Fires after the component is disabled.
5315 <dl class="detailList">
5316 <dt class="heading">Parameters:</dt>
5319 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5340 <td class="msource">
5341 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5345 <tr class="method-row expandable config-row-alt1">
5346 <td class="micon"><a class="exi" href="#expand"> </a></td>
5349 <a id="Roo.Component-event-*enable"></a>
5351 <div class="fixedFont">
5352 <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>)
5358 <div class="short">Fires after the component is enabled.
5364 Fires after the component is enabled.
5370 <dl class="detailList">
5371 <dt class="heading">Parameters:</dt>
5374 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5395 <td class="msource">
5396 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5400 <tr class="method-row expandable config-row-alt0">
5401 <td class="micon"><a class="exi" href="#expand"> </a></td>
5404 <a id="Roo.form.Field-event-*focus"></a>
5406 <div class="fixedFont">
5407 <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>)
5413 <div class="short">Fires when this field receives input focus.
5419 Fires when this field receives input focus.
5425 <dl class="detailList">
5426 <dt class="heading">Parameters:</dt>
5429 <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>
5450 <td class="msource">
5451 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5455 <tr class="method-row expandable config-row-alt1">
5456 <td class="micon"><a class="exi" href="#expand"> </a></td>
5459 <a id="Roo.Component-event-*hide"></a>
5461 <div class="fixedFont">
5462 <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>)
5468 <div class="short">Fires after the component is hidden.
5474 Fires after the component is hidden.
5480 <dl class="detailList">
5481 <dt class="heading">Parameters:</dt>
5484 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5505 <td class="msource">
5506 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5510 <tr class="method-row expandable config-row-alt0">
5511 <td class="micon"><a class="exi" href="#expand"> </a></td>
5514 <a id="Roo.form.Field-event-*invalid"></a>
5516 <div class="fixedFont">
5517 <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>)
5523 <div class="short">Fires after the field has been marked as invalid.
5529 Fires after the field has been marked as invalid.
5535 <dl class="detailList">
5536 <dt class="heading">Parameters:</dt>
5539 <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>
5545 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5548 <dd>The validation message</dd>
5566 <td class="msource">
5567 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5571 <tr class="method-row expandable config-row-alt1">
5572 <td class="micon"><a class="exi" href="#expand"> </a></td>
5575 <a id="Roo.form.Field-event-*keyup"></a>
5577 <div class="fixedFont">
5578 <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>)
5584 <div class="short">Fires after the key up
5590 Fires after the key up
5596 <dl class="detailList">
5597 <dt class="heading">Parameters:</dt>
5600 <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 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5609 <dd>The event Object</dd>
5627 <td class="msource">
5628 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5632 <tr class="method-row expandable config-row-alt0">
5633 <td class="micon"><a class="exi" href="#expand"> </a></td>
5636 <a id="Roo.BoxComponent-event-*move"></a>
5638 <div class="fixedFont">
5639 <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>)
5645 <div class="short">Fires after the component is moved.
5651 Fires after the component is moved.
5657 <dl class="detailList">
5658 <dt class="heading">Parameters:</dt>
5661 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5667 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5670 <dd>The new x position</dd>
5673 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5676 <dd>The new y position</dd>
5694 <td class="msource">
5695 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5699 <tr class="method-row expandable config-row-alt1">
5700 <td class="micon"><a class="exi" href="#expand"> </a></td>
5703 <a id="Roo.Component-event-*render"></a>
5705 <div class="fixedFont">
5706 <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>)
5712 <div class="short">Fires after the component is rendered.
5718 Fires after the component is rendered.
5724 <dl class="detailList">
5725 <dt class="heading">Parameters:</dt>
5728 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5749 <td class="msource">
5750 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5754 <tr class="method-row expandable config-row-alt0">
5755 <td class="micon"><a class="exi" href="#expand"> </a></td>
5758 <a id="Roo.BoxComponent-event-*resize"></a>
5760 <div class="fixedFont">
5761 <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>)
5767 <div class="short">Fires after the component is resized.
5773 Fires after the component is resized.
5779 <dl class="detailList">
5780 <dt class="heading">Parameters:</dt>
5783 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5789 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5792 <dd>The box-adjusted width that was set</dd>
5795 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5798 <dd>The box-adjusted height that was set</dd>
5801 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5804 <dd>The width that was originally specified</dd>
5807 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5810 <dd>The height that was originally specified</dd>
5828 <td class="msource">
5829 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5833 <tr class="method-row expandable config-row-alt1">
5834 <td class="micon"><a class="exi" href="#expand"> </a></td>
5837 <a id="Roo.Component-event-*show"></a>
5839 <div class="fixedFont">
5840 <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>)
5846 <div class="short">Fires after the component is shown.
5852 Fires after the component is shown.
5858 <dl class="detailList">
5859 <dt class="heading">Parameters:</dt>
5862 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5883 <td class="msource">
5884 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5888 <tr class="method-row expandable config-row-alt0">
5889 <td class="micon"><a class="exi" href="#expand"> </a></td>
5892 <a id="Roo.form.Field-event-*specialkey"></a>
5894 <div class="fixedFont">
5895 <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>)
5901 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5907 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.
5913 <dl class="detailList">
5914 <dt class="heading">Parameters:</dt>
5917 <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>
5923 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5926 <dd>The event object</dd>
5944 <td class="msource">
5945 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5949 <tr class="method-row expandable config-row-alt1">
5950 <td class="micon"><a class="exi" href="#expand"> </a></td>
5953 <a id="Roo.form.Field-event-*valid"></a>
5955 <div class="fixedFont">
5956 <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>)
5962 <div class="short">Fires after the field has been validated with no errors.
5968 Fires after the field has been validated with no errors.
5974 <dl class="detailList">
5975 <dt class="heading">Parameters:</dt>
5978 <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>
5999 <td class="msource">
6000 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
6011 <!-- ============================== footer ================================= -->
6012 <div class="fineprint" style="clear:both">
6014 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 24 2014 16:33:00 GMT+0800 (HKT)
6016 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>