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.TextField</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.TextField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.TextField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.TextField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.TextField-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 class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.TextField
55 <!-- ============================== class title / details ============================ -->
58 <h1 class="classTitle">
60 Class Roo.form.TextField
63 <table cellspacing="0" class="class-summary-table">
65 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
67 <tr><td class="label">Defined In:</td><td class="hd-info">
69 <a href="./src/Roo_form_TextField.js.html">Roo/form/TextField.js</a>.
72 <tr><td class="label">Class:</td><td class="hd-info">TextField</td></tr>
75 <tr><td class="label">Subclasses:</td><td class="hd-info">
76 <a href="./Roo.form.ComboBox.html#constructor" roo:cls="Roo.form.ComboBox.html#constructor">Roo.form.ComboBox</a>, <a href="./Roo.form.ComboBoxArray.html#constructor" roo:cls="Roo.form.ComboBoxArray.html#constructor">Roo.form.ComboBoxArray</a>, <a href="./Roo.form.ComboCheck.html#constructor" roo:cls="Roo.form.ComboCheck.html#constructor">Roo.form.ComboCheck</a>, <a href="./Roo.form.DateField.html#constructor" roo:cls="Roo.form.DateField.html#constructor">Roo.form.DateField</a>, <a href="./Roo.form.FCKeditor.html#constructor" roo:cls="Roo.form.FCKeditor.html#constructor">Roo.form.FCKeditor</a>, <a href="./Roo.form.Hidden.html#constructor" roo:cls="Roo.form.Hidden.html#constructor">Roo.form.Hidden</a>, <a href="./Roo.form.MonthField.html#constructor" roo:cls="Roo.form.MonthField.html#constructor">Roo.form.MonthField</a>, <a href="./Roo.form.NumberField.html#constructor" roo:cls="Roo.form.NumberField.html#constructor">Roo.form.NumberField</a>, <a href="./Roo.form.Select.html#constructor" roo:cls="Roo.form.Select.html#constructor">Roo.form.Select</a>, <a href="./Roo.form.TextArea.html#constructor" roo:cls="Roo.form.TextArea.html#constructor">Roo.form.TextArea</a>, <a href="./Roo.form.TriggerField.html#constructor" roo:cls="Roo.form.TriggerField.html#constructor">Roo.form.TriggerField</a>
84 <tr><td class="label">Extends:</td><td class="hd-info">
85 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
93 <!-- ============================== class summary ========================== -->
94 <div class="description">
95 Basic text field. Can be used as a direct replacement for traditional text inputs, or as the base<br/>class for more sophisticated input controls (like {<b>link</b> Roo.form.TextArea} and {<b>link</b> Roo.form.ComboBox}).
99 <!-- ============================== Class comment block... ========================== -->
101 <div class="comments">
102 <b>Class Comments / Notes</B> =>
103 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.TextField';">[Add Your comment/notes about this class]</u>
105 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
106 src="/blog.php/GtkDjsComments/Roo.form.TextField.html"></iframe>
111 <!-- ============================== config options ========================== -->
116 <div class="hr"></div>
117 <a id="Roo.form.TextField-configs"></a>
123 <table cellspacing="0" class="member-table">
124 <caption>Config Options (Usually are also Properties)</caption>
128 <th class="sig-header" colspan="2">Options</th>
130 <th class="msource-header">Defined By</th>
137 <tr class="config-row expandable config-row-alt0">
138 <td class="micon"><a class="exi" href="#expand"> </a></td>
141 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
142 <div class="fixedFont">
143 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
149 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
154 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
164 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
170 <tr class="config-row expandable config-row-alt1 notInherited">
171 <td class="micon"><a class="exi" href="#expand"> </a></td>
174 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
175 <div class="fixedFont">
176 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
182 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
187 False to validate that the value length > 0 (defaults to true)
203 <tr class="config-row expandable config-row-alt0">
204 <td class="micon"><a class="exi" href="#expand"> </a></td>
207 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
208 <div class="fixedFont">
209 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
215 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
220 Whether the component can move the Dom node when rendering (defaults to true).
230 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
236 <tr class="config-row expandable config-row-alt1">
237 <td class="micon"><a class="exi" href="#expand"> </a></td>
240 <a id="Roo.form.Field-cfg-autoCreate" name=".autoCreate"></a>
241 <div class="fixedFont">
242 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
248 <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>
253 A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "20", autocomplete: "off"})
263 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
269 <tr class="config-row expandable config-row-alt0 notInherited">
270 <td class="micon"><a class="exi" href="#expand"> </a></td>
273 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
274 <div class="fixedFont">
275 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
281 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
286 Error text to display if the allow blank validation fails (defaults to "This field is required")
302 <tr class="config-row expandable config-row-alt1">
303 <td class="micon"><a class="exi" href="#expand"> </a></td>
306 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
307 <div class="fixedFont">
308 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
314 <div class="short">A CSS class to apply to the field's underlying element.</div>
319 A CSS class to apply to the field's underlying element.
329 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
335 <tr class="config-row expandable config-row-alt0">
336 <td class="micon"><a class="exi" href="#expand"> </a></td>
339 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
340 <div class="fixedFont">
341 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
347 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
352 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
362 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
368 <tr class="config-row expandable config-row-alt1 notInherited">
369 <td class="micon"><a class="exi" href="#expand"> </a></td>
372 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
373 <div class="fixedFont">
374 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
380 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
385 True to disable input keystroke filtering (defaults to false)
401 <tr class="config-row expandable config-row-alt0">
402 <td class="micon"><a class="exi" href="#expand"> </a></td>
405 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
406 <div class="fixedFont">
407 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
413 <div class="short">True to disable the field (defaults to false).</div>
418 True to disable the field (defaults to false).
428 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
434 <tr class="config-row expandable config-row-alt1 notInherited">
435 <td class="micon"><a class="exi" href="#expand"> </a></td>
438 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
439 <div class="fixedFont">
440 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
446 <div class="short">The default text to display in an empty field - placeholder.</div>
451 The default text to display in an empty field - placeholder... (defaults to null).
467 <tr class="config-row expandable config-row-alt0">
468 <td class="micon"><a class="exi" href="#expand"> </a></td>
471 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
472 <div class="fixedFont">
473 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
479 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
484 The default CSS class for the field (defaults to "x-form-field")
494 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
500 <tr class="config-row expandable config-row-alt1">
501 <td class="micon"><a class="exi" href="#expand"> </a></td>
504 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
505 <div class="fixedFont">
506 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
512 <div class="short">Label to use when rendering a form.</div>
517 Label to use when rendering a form.
527 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
533 <tr class="config-row expandable config-row-alt0">
534 <td class="micon"><a class="exi" href="#expand"> </a></td>
537 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
538 <div class="fixedFont">
539 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
545 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
550 The CSS class to use when the field receives focus (defaults to "x-form-focus")
560 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
566 <tr class="config-row expandable config-row-alt1 notInherited">
567 <td class="micon"><a class="exi" href="#expand"> </a></td>
570 <a id="Roo.form.TextField-cfg-grow" name=".grow"></a>
571 <div class="fixedFont">
572 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
578 <div class="short">True if this field should automatically grow and shrink to its content</div>
583 True if this field should automatically grow and shrink to its content
599 <tr class="config-row expandable config-row-alt0 notInherited">
600 <td class="micon"><a class="exi" href="#expand"> </a></td>
603 <a id="Roo.form.TextField-cfg-growMax" name=".growMax"></a>
604 <div class="fixedFont">
605 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
611 <div class="short">The maximum width to allow when grow = true (defaults to 800)</div>
616 The maximum width to allow when grow = true (defaults to 800)
632 <tr class="config-row expandable config-row-alt1 notInherited">
633 <td class="micon"><a class="exi" href="#expand"> </a></td>
636 <a id="Roo.form.TextField-cfg-growMin" name=".growMin"></a>
637 <div class="fixedFont">
638 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
644 <div class="short">The minimum width to allow when grow = true (defaults to 30)</div>
649 The minimum width to allow when grow = true (defaults to 30)
665 <tr class="config-row expandable config-row-alt0">
666 <td class="micon"><a class="exi" href="#expand"> </a></td>
669 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
670 <div class="fixedFont">
671 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
677 <div class="short">height (optional) size of component</div>
682 height (optional) size of component
692 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
698 <tr class="config-row expandable config-row-alt1">
699 <td class="micon"><a class="exi" href="#expand"> </a></td>
702 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
703 <div class="fixedFont">
704 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
710 <div class="short">How this component should hidden.</div>
715 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
716 <BR/>Possible Values: display, visibility
725 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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.form.Field-cfg-inputType" name=".inputType"></a>
736 <div class="fixedFont">
737 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
743 <div class="short">The type attribute for input fields -- e.g.</div>
748 The type attribute for input fields -- e.g. radio, text, password (defaults to "text").
758 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
764 <tr class="config-row expandable config-row-alt1">
765 <td class="micon"><a class="exi" href="#expand"> </a></td>
768 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
769 <div class="fixedFont">
770 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
776 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
781 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
791 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
797 <tr class="config-row expandable config-row-alt0">
798 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
802 <div class="fixedFont">
803 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
809 <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>
814 The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")
824 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
830 <tr class="config-row expandable config-row-alt1">
831 <td class="micon"><a class="exi" href="#expand"> </a></td>
834 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
835 <div class="fixedFont">
836 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
842 <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>
847 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>
857 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
863 <tr class="config-row expandable config-row-alt0 notInherited">
864 <td class="micon"><a class="exi" href="#expand"> </a></td>
867 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
868 <div class="fixedFont">
869 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
875 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
880 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
896 <tr class="config-row expandable config-row-alt1 notInherited">
897 <td class="micon"><a class="exi" href="#expand"> </a></td>
900 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
901 <div class="fixedFont">
902 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
908 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
913 Maximum input field length allowed (defaults to Number.MAX_VALUE)
929 <tr class="config-row expandable config-row-alt0 notInherited">
930 <td class="micon"><a class="exi" href="#expand"> </a></td>
933 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
934 <div class="fixedFont">
935 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
941 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
946 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
962 <tr class="config-row expandable config-row-alt1 notInherited">
963 <td class="micon"><a class="exi" href="#expand"> </a></td>
966 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
967 <div class="fixedFont">
968 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
974 <div class="short">Minimum input field length required (defaults to 0)</div>
979 Minimum input field length required (defaults to 0)
995 <tr class="config-row expandable config-row-alt0 notInherited">
996 <td class="micon"><a class="exi" href="#expand"> </a></td>
999 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
1000 <div class="fixedFont">
1001 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1007 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1012 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1020 <td class="msource">
1028 <tr class="config-row expandable config-row-alt1">
1029 <td class="micon"><a class="exi" href="#expand"> </a></td>
1032 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
1033 <div class="fixedFont">
1034 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1040 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
1045 <b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').
1053 <td class="msource">
1055 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1061 <tr class="config-row expandable config-row-alt0">
1062 <td class="micon"><a class="exi" href="#expand"> </a></td>
1065 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
1066 <div class="fixedFont">
1067 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1073 <div class="short">The location where error text should display.</div>
1078 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>
1086 <td class="msource">
1088 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1094 <tr class="config-row expandable config-row-alt1">
1095 <td class="micon"><a class="exi" href="#expand"> </a></td>
1098 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1099 <div class="fixedFont">
1100 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1106 <div class="short">The field's HTML name attribute.</div>
1111 The field's HTML name attribute.
1119 <td class="msource">
1121 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1127 <tr class="config-row expandable config-row-alt0">
1128 <td class="micon"><a class="exi" href="#expand"> </a></td>
1131 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1139 <div class="short">Mouse over tip</div>
1152 <td class="msource">
1154 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1160 <tr class="config-row expandable config-row-alt1">
1161 <td class="micon"><a class="exi" href="#expand"> </a></td>
1164 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1165 <div class="fixedFont">
1166 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1172 <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>
1177 True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.
1185 <td class="msource">
1187 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1193 <tr class="config-row expandable config-row-alt0 notInherited">
1194 <td class="micon"><a class="exi" href="#expand"> </a></td>
1197 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1198 <div class="fixedFont">
1199 <b class="itemname">regex</b> : RegExp
1205 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1210 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>}.
1218 <td class="msource">
1226 <tr class="config-row expandable config-row-alt1 notInherited">
1227 <td class="micon"><a class="exi" href="#expand"> </a></td>
1230 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1231 <div class="fixedFont">
1232 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1238 <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>
1243 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
1251 <td class="msource">
1259 <tr class="config-row expandable config-row-alt0 notInherited">
1260 <td class="micon"><a class="exi" href="#expand"> </a></td>
1263 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1264 <div class="fixedFont">
1265 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1271 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1276 True to automatically select any existing field text when the field receives input focus (defaults to false)
1284 <td class="msource">
1292 <tr class="config-row expandable config-row-alt1">
1293 <td class="micon"><a class="exi" href="#expand"> </a></td>
1296 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1297 <div class="fixedFont">
1298 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1304 <div class="short">The tabIndex for this field.</div>
1309 The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).
1317 <td class="msource">
1319 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1325 <tr class="config-row expandable config-row-alt0">
1326 <td class="micon"><a class="exi" href="#expand"> </a></td>
1329 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1330 <div class="fixedFont">
1331 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1337 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1342 Whether the field should validate when it loses focus (defaults to true).
1350 <td class="msource">
1352 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1358 <tr class="config-row expandable config-row-alt1">
1359 <td class="micon"><a class="exi" href="#expand"> </a></td>
1362 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1363 <div class="fixedFont">
1364 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1370 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1375 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1383 <td class="msource">
1385 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</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.Field-cfg-validationEvent" name=".validationEvent"></a>
1396 <div class="fixedFont">
1397 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1403 <div class="short">The event that should initiate field validation.</div>
1408 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1416 <td class="msource">
1418 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1424 <tr class="config-row expandable config-row-alt1 notInherited">
1425 <td class="micon"><a class="exi" href="#expand"> </a></td>
1428 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1429 <div class="fixedFont">
1430 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1436 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1441 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.
1449 <td class="msource">
1457 <tr class="config-row expandable config-row-alt0">
1458 <td class="micon"><a class="exi" href="#expand"> </a></td>
1461 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1462 <div class="fixedFont">
1463 <b class="itemname">value</b> : Mixed
1469 <div class="short">A value to initialize this field with.</div>
1474 A value to initialize this field with.
1482 <td class="msource">
1484 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1490 <tr class="config-row expandable config-row-alt1 notInherited">
1491 <td class="micon"><a class="exi" href="#expand"> </a></td>
1494 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1495 <div class="fixedFont">
1496 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1502 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1507 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1515 <td class="msource">
1523 <tr class="config-row expandable config-row-alt0">
1524 <td class="micon"><a class="exi" href="#expand"> </a></td>
1527 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1528 <div class="fixedFont">
1529 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1535 <div class="short">width (optional) size of component</div>
1540 width (optional) size of component
1548 <td class="msource">
1550 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1566 <!-- ============================== public properties ==================== -->
1570 <a id="Roo.form.TextField-props"></a>
1576 <table cellspacing="0" class="member-table">
1577 <caption class="Empty">Public Properties - Has None</caption>
1583 <!-- ============================== methods summary / details ======================== -->
1586 <a id="Roo.form.TextField-methods"></a>
1587 <!-- constructor?? -->
1594 <!-- then dynamics first -->
1601 <table cellspacing="0" class="member-table">
1602 <caption>Public Methods</caption>
1604 <th class="sig-header" colspan="2">Method</th>
1605 <th class="msource-header">Defined By</th>
1615 <tr class="method-row config-row-alt0 expandable notInherited">
1616 <td class="micon"><a class="exi" href="#expand"> </a></td>
1620 <a id="Roo.form-method-TextField" name=".TextField"></a>
1621 <div class="fixedFont">
1622 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">TextField</b>
1624 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1632 <div class="short">Create a new Roo.form.TextField</div>
1639 Create a new Roo.form.TextField
1642 <dl class="detailList">
1643 <dt class="heading">Parameters:</dt>
1646 <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>
1649 <dd>Configuration options</dd>
1667 <td class="msource">
1673 <tr class="method-row config-row-alt1 expandable">
1674 <td class="micon"><a class="exi" href="#expand"> </a></td>
1678 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1679 <div class="fixedFont">
1680 <span class="attributes"></span><b class="itemname">addEvents</b>
1682 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1689 <div class="short">Used to define events on this Observable</div>
1695 Used to define events on this Observable
1702 <dl class="detailList">
1703 <dt class="heading">Parameters:</dt>
1706 <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>
1709 <dd>The object with the events defined</dd>
1727 <td class="msource">
1729 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1735 <tr class="method-row config-row-alt0 expandable">
1736 <td class="micon"><a class="exi" href="#expand"> </a></td>
1740 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1741 <div class="fixedFont">
1742 <span class="attributes"></span><b class="itemname">addListener</b>
1744 (<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>)
1751 <div class="short">Appends an event handler to this component</div>
1757 Appends an event handler to this component
1764 <dl class="detailList">
1765 <dt class="heading">Parameters:</dt>
1768 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1771 <dd>The type of event to listen for</dd>
1774 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1777 <dd>The method the event invokes</dd>
1780 <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>
1783 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1786 <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>
1789 <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>
1807 <td class="msource">
1809 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1815 <tr class="method-row config-row-alt1 expandable">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1820 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1821 <div class="fixedFont">
1822 <span class="attributes"></span><b class="itemname">applyTo</b>
1824 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1830 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1839 <div class="short">Apply the behaviors of this component to an existing element.</div>
1845 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1852 <dl class="detailList">
1853 <dt class="heading">Parameters:</dt>
1856 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1859 <dd>The id of the node, a DOM node or an existing Element</dd>
1867 <dl class="detailList">
1868 <dt class="heading">Returns:</dt>
1870 <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>
1884 <td class="msource">
1886 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1892 <tr class="method-row config-row-alt0 expandable notInherited">
1893 <td class="micon"><a class="exi" href="#expand"> </a></td>
1897 <a id="Roo.form.TextField-method-autoSize" name=".autoSize"></a>
1898 <div class="fixedFont">
1899 <span class="attributes"></span><b class="itemname">autoSize</b>
1908 <div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.</div>
1914 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.
1935 <td class="msource">
1943 <tr class="method-row config-row-alt1 expandable">
1944 <td class="micon"><a class="exi" href="#expand"> </a></td>
1948 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
1949 <div class="fixedFont">
1950 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1959 <div class="short">Clear any invalid styles/messages for this field</div>
1965 Clear any invalid styles/messages for this field
1986 <td class="msource">
1988 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1994 <tr class="method-row config-row-alt0 expandable">
1995 <td class="micon"><a class="exi" href="#expand"> </a></td>
1999 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2000 <div class="fixedFont">
2001 <span class="attributes"></span><b class="itemname">destroy</b>
2010 <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>
2016 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}.
2037 <td class="msource">
2039 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2045 <tr class="method-row config-row-alt1 expandable">
2046 <td class="micon"><a class="exi" href="#expand"> </a></td>
2050 <a id="Roo.Component-method-disable" name=".disable"></a>
2051 <div class="fixedFont">
2052 <span class="attributes"></span><b class="itemname">disable</b>
2060 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2069 <div class="short">Disable this component.</div>
2075 Disable this component.
2086 <dl class="detailList">
2087 <dt class="heading">Returns:</dt>
2089 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2103 <td class="msource">
2105 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2111 <tr class="method-row config-row-alt0 expandable">
2112 <td class="micon"><a class="exi" href="#expand"> </a></td>
2116 <a id="Roo.Component-method-enable" name=".enable"></a>
2117 <div class="fixedFont">
2118 <span class="attributes"></span><b class="itemname">enable</b>
2126 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2135 <div class="short">Enable this component.</div>
2141 Enable this component.
2152 <dl class="detailList">
2153 <dt class="heading">Returns:</dt>
2155 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2169 <td class="msource">
2171 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2177 <tr class="method-row config-row-alt1 expandable">
2178 <td class="micon"><a class="exi" href="#expand"> </a></td>
2182 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2183 <div class="fixedFont">
2184 <span class="attributes"></span><b class="itemname">fireEvent</b>
2186 (<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>)
2192 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2201 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2207 Fires the specified event with the passed parameters (minus the event name).
2214 <dl class="detailList">
2215 <dt class="heading">Parameters:</dt>
2218 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2224 <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>
2227 <dd>Variable number of parameters are passed to handlers</dd>
2235 <dl class="detailList">
2236 <dt class="heading">Returns:</dt>
2238 <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>
2252 <td class="msource">
2254 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2260 <tr class="method-row config-row-alt0 expandable">
2261 <td class="micon"><a class="exi" href="#expand"> </a></td>
2265 <a id="Roo.Component-method-focus" name=".focus"></a>
2266 <div class="fixedFont">
2267 <span class="attributes"></span><b class="itemname">focus</b>
2269 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2275 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2284 <div class="short">Try to focus this component.</div>
2290 Try to focus this component.
2297 <dl class="detailList">
2298 <dt class="heading">Parameters:</dt>
2301 <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>
2304 <dd>True to also select the text in this component (if applicable)</dd>
2312 <dl class="detailList">
2313 <dt class="heading">Returns:</dt>
2315 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2329 <td class="msource">
2331 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2337 <tr class="method-row config-row-alt1 expandable">
2338 <td class="micon"><a class="exi" href="#expand"> </a></td>
2342 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2343 <div class="fixedFont">
2344 <span class="attributes"></span><b class="itemname">getBox</b>
2346 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2353 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2359 Gets the current box measurements of the component's underlying element.
2366 <dl class="detailList">
2367 <dt class="heading">Parameters:</dt>
2370 <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>
2373 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2391 <td class="msource">
2393 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2399 <tr class="method-row config-row-alt0 expandable">
2400 <td class="micon"><a class="exi" href="#expand"> </a></td>
2404 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2405 <div class="fixedFont">
2406 <span class="attributes"></span><b class="itemname">getEl</b>
2414 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2423 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2429 Returns the underlying {<b>link</b> Roo.Element}.
2440 <dl class="detailList">
2441 <dt class="heading">Returns:</dt>
2443 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2457 <td class="msource">
2459 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2465 <tr class="method-row config-row-alt1 expandable">
2466 <td class="micon"><a class="exi" href="#expand"> </a></td>
2470 <a id="Roo.Component-method-getId" name=".getId"></a>
2471 <div class="fixedFont">
2472 <span class="attributes"></span><b class="itemname">getId</b>
2480 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2489 <div class="short">Returns the id of this component.</div>
2495 Returns the id of this component.
2506 <dl class="detailList">
2507 <dt class="heading">Returns:</dt>
2509 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2523 <td class="msource">
2525 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2531 <tr class="method-row config-row-alt0 expandable">
2532 <td class="micon"><a class="exi" href="#expand"> </a></td>
2536 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2537 <div class="fixedFont">
2538 <span class="attributes"></span><b class="itemname">getName</b>
2546 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2555 <div class="short">Returns the name attribute of the field if available</div>
2561 Returns the name attribute of the field if available
2572 <dl class="detailList">
2573 <dt class="heading">Returns:</dt>
2575 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2589 <td class="msource">
2591 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2597 <tr class="method-row config-row-alt1 expandable">
2598 <td class="micon"><a class="exi" href="#expand"> </a></td>
2602 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2603 <div class="fixedFont">
2604 <span class="attributes"></span><b class="itemname">getPosition</b>
2606 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2612 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2621 <div class="short">Gets the current XY position of the component's underlying element.</div>
2627 Gets the current XY position of the component's underlying element.
2634 <dl class="detailList">
2635 <dt class="heading">Parameters:</dt>
2638 <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>
2641 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2649 <dl class="detailList">
2650 <dt class="heading">Returns:</dt>
2652 <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>
2666 <td class="msource">
2668 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2674 <tr class="method-row config-row-alt0 expandable">
2675 <td class="micon"><a class="exi" href="#expand"> </a></td>
2679 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2680 <div class="fixedFont">
2681 <span class="attributes"></span><b class="itemname">getRawValue</b>
2698 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2704 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>}.
2715 <dl class="detailList">
2716 <dt class="heading">Returns:</dt>
2718 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2732 <td class="msource">
2734 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2740 <tr class="method-row config-row-alt1 expandable">
2741 <td class="micon"><a class="exi" href="#expand"> </a></td>
2745 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2746 <div class="fixedFont">
2747 <span class="attributes"></span><b class="itemname">getSize</b>
2755 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2764 <div class="short">Gets the current size of the component's underlying element.</div>
2770 Gets the current size of the component's underlying element.
2781 <dl class="detailList">
2782 <dt class="heading">Returns:</dt>
2784 <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>
2798 <td class="msource">
2800 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2806 <tr class="method-row config-row-alt0 expandable">
2807 <td class="micon"><a class="exi" href="#expand"> </a></td>
2811 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2812 <div class="fixedFont">
2813 <span class="attributes"></span><b class="itemname">getValue</b>
2830 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2836 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2847 <dl class="detailList">
2848 <dt class="heading">Returns:</dt>
2850 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2864 <td class="msource">
2866 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2872 <tr class="method-row config-row-alt1 expandable">
2873 <td class="micon"><a class="exi" href="#expand"> </a></td>
2877 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2878 <div class="fixedFont">
2879 <span class="attributes"></span><b class="itemname">hasListener</b>
2881 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2887 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2896 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2902 Checks to see if this object has any listeners for a specified event
2909 <dl class="detailList">
2910 <dt class="heading">Parameters:</dt>
2913 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2916 <dd>The name of the event to check for</dd>
2924 <dl class="detailList">
2925 <dt class="heading">Returns:</dt>
2927 <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>
2941 <td class="msource">
2943 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2949 <tr class="method-row config-row-alt0 expandable">
2950 <td class="micon"><a class="exi" href="#expand"> </a></td>
2954 <a id="Roo.Component-method-hide" name=".hide"></a>
2955 <div class="fixedFont">
2956 <span class="attributes"></span><b class="itemname">hide</b>
2964 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2973 <div class="short">Hide this component.</div>
2979 Hide this component.
2990 <dl class="detailList">
2991 <dt class="heading">Returns:</dt>
2993 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3007 <td class="msource">
3009 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3015 <tr class="method-row config-row-alt1 expandable">
3016 <td class="micon"><a class="exi" href="#expand"> </a></td>
3020 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
3021 <div class="fixedFont">
3022 <span class="attributes"></span><b class="itemname">isDirty</b>
3031 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
3037 Returns true if this field has been changed since it was originally loaded and is not disabled.
3058 <td class="msource">
3060 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3066 <tr class="method-row config-row-alt0 expandable">
3067 <td class="micon"><a class="exi" href="#expand"> </a></td>
3071 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
3072 <div class="fixedFont">
3073 <span class="attributes"></span><b class="itemname">isValid</b>
3075 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
3081 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3090 <div class="short">Returns whether or not the field value is currently valid</div>
3096 Returns whether or not the field value is currently valid
3103 <dl class="detailList">
3104 <dt class="heading">Parameters:</dt>
3107 <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>
3110 <dd>True to disable marking the field invalid</dd>
3118 <dl class="detailList">
3119 <dt class="heading">Returns:</dt>
3121 <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>
3135 <td class="msource">
3137 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3143 <tr class="method-row config-row-alt1 expandable">
3144 <td class="micon"><a class="exi" href="#expand"> </a></td>
3148 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3149 <div class="fixedFont">
3150 <span class="attributes"></span><b class="itemname">isVisible</b>
3159 <div class="short">Returns true if this component is visible.</div>
3165 Returns true if this component is visible.
3186 <td class="msource">
3188 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3194 <tr class="method-row config-row-alt0 expandable">
3195 <td class="micon"><a class="exi" href="#expand"> </a></td>
3199 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3200 <div class="fixedFont">
3201 <span class="attributes"></span><b class="itemname">markInvalid</b>
3203 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3210 <div class="short">Mark this field as invalid</div>
3216 Mark this field as invalid
3223 <dl class="detailList">
3224 <dt class="heading">Parameters:</dt>
3227 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3230 <dd>The validation message</dd>
3248 <td class="msource">
3250 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3256 <tr class="method-row config-row-alt1 expandable">
3257 <td class="micon"><a class="exi" href="#expand"> </a></td>
3261 <a id="Roo.util.Observable-method-on" name=".on"></a>
3262 <div class="fixedFont">
3263 <span class="attributes"></span><b class="itemname">on</b>
3265 (<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>)
3272 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3278 Appends an event handler to this element (shorthand for addListener)
3285 <dl class="detailList">
3286 <dt class="heading">Parameters:</dt>
3289 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3292 <dd>The type of event to listen for</dd>
3295 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3298 <dd>The method the event invokes</dd>
3301 <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>
3304 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3307 <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>
3328 <td class="msource">
3330 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3336 <tr class="method-row config-row-alt0 expandable">
3337 <td class="micon"><a class="exi" href="#expand"> </a></td>
3341 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3342 <div class="fixedFont">
3343 <span class="attributes"></span><b class="itemname">onPosition</b>
3345 (<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>)
3352 <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>
3358 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.
3365 <dl class="detailList">
3366 <dt class="heading">Parameters:</dt>
3369 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3372 <dd>The new x position</dd>
3375 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3378 <dd>The new y position</dd>
3396 <td class="msource">
3398 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3404 <tr class="method-row config-row-alt1 expandable">
3405 <td class="micon"><a class="exi" href="#expand"> </a></td>
3409 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3410 <div class="fixedFont">
3411 <span class="attributes"></span><b class="itemname">onResize</b>
3413 (<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>)
3420 <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>
3426 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.
3433 <dl class="detailList">
3434 <dt class="heading">Parameters:</dt>
3437 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3440 <dd>The box-adjusted width that was set</dd>
3443 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3446 <dd>The box-adjusted height that was set</dd>
3449 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3452 <dd>The width that was originally specified</dd>
3455 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3458 <dd>The height that was originally specified</dd>
3476 <td class="msource">
3478 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3484 <tr class="method-row config-row-alt0 expandable">
3485 <td class="micon"><a class="exi" href="#expand"> </a></td>
3489 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3490 <div class="fixedFont">
3491 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3500 <div class="short">Removes all listeners for this object</div>
3506 Removes all listeners for this object
3527 <td class="msource">
3529 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3535 <tr class="method-row config-row-alt1 expandable">
3536 <td class="micon"><a class="exi" href="#expand"> </a></td>
3540 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3541 <div class="fixedFont">
3542 <span class="attributes"></span><b class="itemname">removeListener</b>
3544 (<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>)
3551 <div class="short">Removes a listener</div>
3564 <dl class="detailList">
3565 <dt class="heading">Parameters:</dt>
3568 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3571 <dd>The type of event to listen for</dd>
3574 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3577 <dd>The handler to remove</dd>
3580 <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>
3583 <dd>(optional) The scope (this object) for the handler</dd>
3601 <td class="msource">
3603 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3609 <tr class="method-row config-row-alt0 expandable">
3610 <td class="micon"><a class="exi" href="#expand"> </a></td>
3614 <a id="Roo.Component-method-render" name=".render"></a>
3615 <div class="fixedFont">
3616 <span class="attributes"></span><b class="itemname">render</b>
3618 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3625 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3631 If this is a lazy rendering component, render it to its container element.
3638 <dl class="detailList">
3639 <dt class="heading">Parameters:</dt>
3642 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3645 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3663 <td class="msource">
3665 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3671 <tr class="method-row config-row-alt1 expandable notInherited">
3672 <td class="micon"><a class="exi" href="#expand"> </a></td>
3676 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3677 <div class="fixedFont">
3678 <span class="attributes"></span><b class="itemname">reset</b>
3687 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3693 Resets the current field value to the originally-loaded value and clears any validation messages.
3714 <td class="msource">
3722 <tr class="method-row config-row-alt0 expandable notInherited">
3723 <td class="micon"><a class="exi" href="#expand"> </a></td>
3727 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3728 <div class="fixedFont">
3729 <span class="attributes"></span><b class="itemname">selectText</b>
3731 (<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>)
3738 <div class="short">Selects text in this field</div>
3744 Selects text in this field
3751 <dl class="detailList">
3752 <dt class="heading">Parameters:</dt>
3755 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3758 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3761 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3764 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3782 <td class="msource">
3790 <tr class="method-row config-row-alt1 expandable">
3791 <td class="micon"><a class="exi" href="#expand"> </a></td>
3795 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3796 <div class="fixedFont">
3797 <span class="attributes"></span><b class="itemname">setDisabled</b>
3799 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3806 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3812 Convenience function for setting disabled/enabled by boolean.
3819 <dl class="detailList">
3820 <dt class="heading">Parameters:</dt>
3823 <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>
3844 <td class="msource">
3846 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3852 <tr class="method-row config-row-alt0 expandable">
3853 <td class="micon"><a class="exi" href="#expand"> </a></td>
3857 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3858 <div class="fixedFont">
3859 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3861 (<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>)
3868 <div class="short">Sets the page XY position of the component.</div>
3874 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.
3881 <dl class="detailList">
3882 <dt class="heading">Parameters:</dt>
3885 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3888 <dd>The new x position</dd>
3891 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3894 <dd>The new y position</dd>
3912 <td class="msource">
3914 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3920 <tr class="method-row config-row-alt1 expandable">
3921 <td class="micon"><a class="exi" href="#expand"> </a></td>
3925 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
3926 <div class="fixedFont">
3927 <span class="attributes"></span><b class="itemname">setPosition</b>
3929 (<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>)
3936 <div class="short">Sets the left and top of the component.</div>
3942 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.
3949 <dl class="detailList">
3950 <dt class="heading">Parameters:</dt>
3953 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
3956 <dd>The new left</dd>
3959 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
3962 <dd>The new top</dd>
3980 <td class="msource">
3982 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3988 <tr class="method-row config-row-alt0 expandable">
3989 <td class="micon"><a class="exi" href="#expand"> </a></td>
3993 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
3994 <div class="fixedFont">
3995 <span class="attributes"></span><b class="itemname">setRawValue</b>
3997 (Mixed <B><i>value</i></B>)
4004 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4010 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4017 <dl class="detailList">
4018 <dt class="heading">Parameters:</dt>
4021 <span class="fixedFont">Mixed</span> <b>value</b>
4024 <dd>The value to set</dd>
4042 <td class="msource">
4044 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4050 <tr class="method-row config-row-alt1 expandable">
4051 <td class="micon"><a class="exi" href="#expand"> </a></td>
4055 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
4056 <div class="fixedFont">
4057 <span class="attributes"></span><b class="itemname">setSize</b>
4059 (<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>)
4065 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4074 <div class="short">Sets the width and height of the component.</div>
4080 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}.
4087 <dl class="detailList">
4088 <dt class="heading">Parameters:</dt>
4091 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
4094 <dd>The new width to set, or a size object in the format {width, height}</dd>
4097 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4100 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4108 <dl class="detailList">
4109 <dt class="heading">Returns:</dt>
4111 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4125 <td class="msource">
4127 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4133 <tr class="method-row config-row-alt0 expandable">
4134 <td class="micon"><a class="exi" href="#expand"> </a></td>
4138 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4139 <div class="fixedFont">
4140 <span class="attributes"></span><b class="itemname">setValue</b>
4142 (Mixed <B><i>value</i></B>)
4149 <div class="short">Sets a data value into the field and validates it.</div>
4155 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4162 <dl class="detailList">
4163 <dt class="heading">Parameters:</dt>
4166 <span class="fixedFont">Mixed</span> <b>value</b>
4169 <dd>The value to set</dd>
4187 <td class="msource">
4189 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4195 <tr class="method-row config-row-alt1 expandable">
4196 <td class="micon"><a class="exi" href="#expand"> </a></td>
4200 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4201 <div class="fixedFont">
4202 <span class="attributes"></span><b class="itemname">setVisible</b>
4204 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4210 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4219 <div class="short">Convenience function to hide or show this component by boolean.</div>
4225 Convenience function to hide or show this component by boolean.
4232 <dl class="detailList">
4233 <dt class="heading">Parameters:</dt>
4236 <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>
4239 <dd>True to show, false to hide</dd>
4247 <dl class="detailList">
4248 <dt class="heading">Returns:</dt>
4250 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4264 <td class="msource">
4266 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4272 <tr class="method-row config-row-alt0 expandable">
4273 <td class="micon"><a class="exi" href="#expand"> </a></td>
4277 <a id="Roo.Component-method-show" name=".show"></a>
4278 <div class="fixedFont">
4279 <span class="attributes"></span><b class="itemname">show</b>
4287 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4296 <div class="short">Show this component.</div>
4302 Show this component.
4313 <dl class="detailList">
4314 <dt class="heading">Returns:</dt>
4316 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4330 <td class="msource">
4332 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4338 <tr class="method-row config-row-alt1 expandable">
4339 <td class="micon"><a class="exi" href="#expand"> </a></td>
4343 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4344 <div class="fixedFont">
4345 <span class="attributes"></span><b class="itemname">syncSize</b>
4354 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4360 Force the component's size to recalculate based on the underlying element's current height and width.
4381 <td class="msource">
4383 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4389 <tr class="method-row config-row-alt0 expandable">
4390 <td class="micon"><a class="exi" href="#expand"> </a></td>
4394 <a id="Roo.util.Observable-method-un" name=".un"></a>
4395 <div class="fixedFont">
4396 <span class="attributes"></span><b class="itemname">un</b>
4398 (<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>)
4405 <div class="short">Removes a listener (shorthand for removeListener)</div>
4411 Removes a listener (shorthand for removeListener)
4418 <dl class="detailList">
4419 <dt class="heading">Parameters:</dt>
4422 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4425 <dd>The type of event to listen for</dd>
4428 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4431 <dd>The handler to remove</dd>
4434 <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>
4437 <dd>(optional) The scope (this object) for the handler</dd>
4455 <td class="msource">
4457 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4463 <tr class="method-row config-row-alt1 expandable">
4464 <td class="micon"><a class="exi" href="#expand"> </a></td>
4468 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4469 <div class="fixedFont">
4470 <span class="attributes"></span><b class="itemname">updateBox</b>
4472 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4479 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4485 Sets the current box measurements of the component's underlying element.
4492 <dl class="detailList">
4493 <dt class="heading">Parameters:</dt>
4496 <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>
4499 <dd>An object in the format {x, y, width, height}</dd>
4517 <td class="msource">
4519 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4525 <tr class="method-row config-row-alt0 expandable">
4526 <td class="micon"><a class="exi" href="#expand"> </a></td>
4530 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4531 <div class="fixedFont">
4532 <span class="attributes"></span><b class="itemname">validate</b>
4540 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4549 <div class="short">Validates the field value</div>
4555 Validates the field value
4566 <dl class="detailList">
4567 <dt class="heading">Returns:</dt>
4569 <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>
4583 <td class="msource">
4585 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4591 <tr class="method-row config-row-alt1 expandable notInherited">
4592 <td class="micon"><a class="exi" href="#expand"> </a></td>
4596 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4597 <div class="fixedFont">
4598 <span class="attributes"></span><b class="itemname">validateValue</b>
4600 (Mixed <B><i>value</i></B>)
4606 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4615 <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>
4621 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4628 <dl class="detailList">
4629 <dt class="heading">Parameters:</dt>
4632 <span class="fixedFont">Mixed</span> <b>value</b>
4635 <dd>The value to validate</dd>
4643 <dl class="detailList">
4644 <dt class="heading">Returns:</dt>
4646 <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>
4660 <td class="msource">
4671 <!-- ============================== events summary / details ======================== -->
4674 <a id="Roo.form.TextField-events"></a>
4683 <table cellspacing="0" class="member-table">
4684 <caption>Events</caption>
4687 <th class="sig-header" colspan="2">Event</th>
4688 <th class="msource-header">Defined By</th>
4697 <tr class="method-row expandable config-row-alt0 notInherited">
4698 <td class="micon"><a class="exi" href="#expand"> </a></td>
4701 <a id="Roo.form.TextField-event-*autosize"></a>
4703 <div class="fixedFont">
4704 <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>)
4710 <div class="short">Fires when the autosize function is triggered.
4716 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.
4722 <dl class="detailList">
4723 <dt class="heading">Parameters:</dt>
4726 <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>
4729 <dd>This text field</dd>
4732 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4735 <dd>The new field width</dd>
4753 <td class="msource">
4758 <tr class="method-row expandable config-row-alt1">
4759 <td class="micon"><a class="exi" href="#expand"> </a></td>
4762 <a id="Roo.Component-event-*beforedestroy"></a>
4764 <div class="fixedFont">
4765 <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>)
4771 <div class="short">Fires before the component is destroyed.
4777 Fires before the component is destroyed. Return false to stop the destroy.
4783 <dl class="detailList">
4784 <dt class="heading">Parameters:</dt>
4787 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4808 <td class="msource">
4809 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4813 <tr class="method-row expandable config-row-alt0">
4814 <td class="micon"><a class="exi" href="#expand"> </a></td>
4817 <a id="Roo.Component-event-*beforehide"></a>
4819 <div class="fixedFont">
4820 <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>)
4826 <div class="short">Fires before the component is hidden.
4832 Fires before the component is hidden. Return false to stop the hide.
4838 <dl class="detailList">
4839 <dt class="heading">Parameters:</dt>
4842 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4863 <td class="msource">
4864 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4868 <tr class="method-row expandable config-row-alt1">
4869 <td class="micon"><a class="exi" href="#expand"> </a></td>
4872 <a id="Roo.Component-event-*beforerender"></a>
4874 <div class="fixedFont">
4875 <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>)
4881 <div class="short">Fires before the component is rendered.
4887 Fires before the component is rendered. Return false to stop the render.
4893 <dl class="detailList">
4894 <dt class="heading">Parameters:</dt>
4897 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4918 <td class="msource">
4919 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4923 <tr class="method-row expandable config-row-alt0">
4924 <td class="micon"><a class="exi" href="#expand"> </a></td>
4927 <a id="Roo.Component-event-*beforeshow"></a>
4929 <div class="fixedFont">
4930 <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>)
4936 <div class="short">Fires before the component is shown.
4942 Fires before the component is shown. Return false to stop the show.
4948 <dl class="detailList">
4949 <dt class="heading">Parameters:</dt>
4952 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4973 <td class="msource">
4974 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4978 <tr class="method-row expandable config-row-alt1">
4979 <td class="micon"><a class="exi" href="#expand"> </a></td>
4982 <a id="Roo.form.Field-event-*blur"></a>
4984 <div class="fixedFont">
4985 <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>)
4991 <div class="short">Fires when this field loses input focus.
4997 Fires when this field loses input focus.
5003 <dl class="detailList">
5004 <dt class="heading">Parameters:</dt>
5007 <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>
5028 <td class="msource">
5029 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5033 <tr class="method-row expandable config-row-alt0">
5034 <td class="micon"><a class="exi" href="#expand"> </a></td>
5037 <a id="Roo.form.Field-event-*change"></a>
5039 <div class="fixedFont">
5040 <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>)
5046 <div class="short">Fires just before the field blurs if the field value has changed.
5052 Fires just before the field blurs if the field value has changed.
5058 <dl class="detailList">
5059 <dt class="heading">Parameters:</dt>
5062 <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>
5068 <span class="fixedFont">Mixed</span> <b>newValue</b>
5071 <dd>The new value</dd>
5074 <span class="fixedFont">Mixed</span> <b>oldValue</b>
5077 <dd>The original value</dd>
5095 <td class="msource">
5096 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5100 <tr class="method-row expandable config-row-alt1">
5101 <td class="micon"><a class="exi" href="#expand"> </a></td>
5104 <a id="Roo.Component-event-*destroy"></a>
5106 <div class="fixedFont">
5107 <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>)
5113 <div class="short">Fires after the component is destroyed.
5119 Fires after the component is destroyed.
5125 <dl class="detailList">
5126 <dt class="heading">Parameters:</dt>
5129 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5150 <td class="msource">
5151 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5155 <tr class="method-row expandable config-row-alt0">
5156 <td class="micon"><a class="exi" href="#expand"> </a></td>
5159 <a id="Roo.Component-event-*disable"></a>
5161 <div class="fixedFont">
5162 <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>)
5168 <div class="short">Fires after the component is disabled.
5174 Fires after the component is disabled.
5180 <dl class="detailList">
5181 <dt class="heading">Parameters:</dt>
5184 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5205 <td class="msource">
5206 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5210 <tr class="method-row expandable config-row-alt1">
5211 <td class="micon"><a class="exi" href="#expand"> </a></td>
5214 <a id="Roo.Component-event-*enable"></a>
5216 <div class="fixedFont">
5217 <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>)
5223 <div class="short">Fires after the component is enabled.
5229 Fires after the component is enabled.
5235 <dl class="detailList">
5236 <dt class="heading">Parameters:</dt>
5239 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5260 <td class="msource">
5261 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5265 <tr class="method-row expandable config-row-alt0">
5266 <td class="micon"><a class="exi" href="#expand"> </a></td>
5269 <a id="Roo.form.Field-event-*focus"></a>
5271 <div class="fixedFont">
5272 <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>)
5278 <div class="short">Fires when this field receives input focus.
5284 Fires when this field receives input focus.
5290 <dl class="detailList">
5291 <dt class="heading">Parameters:</dt>
5294 <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>
5315 <td class="msource">
5316 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5320 <tr class="method-row expandable config-row-alt1">
5321 <td class="micon"><a class="exi" href="#expand"> </a></td>
5324 <a id="Roo.Component-event-*hide"></a>
5326 <div class="fixedFont">
5327 <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>)
5333 <div class="short">Fires after the component is hidden.
5339 Fires after the component is hidden.
5345 <dl class="detailList">
5346 <dt class="heading">Parameters:</dt>
5349 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5370 <td class="msource">
5371 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5375 <tr class="method-row expandable config-row-alt0">
5376 <td class="micon"><a class="exi" href="#expand"> </a></td>
5379 <a id="Roo.form.Field-event-*invalid"></a>
5381 <div class="fixedFont">
5382 <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>)
5388 <div class="short">Fires after the field has been marked as invalid.
5394 Fires after the field has been marked as invalid.
5400 <dl class="detailList">
5401 <dt class="heading">Parameters:</dt>
5404 <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>
5410 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5413 <dd>The validation message</dd>
5431 <td class="msource">
5432 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5436 <tr class="method-row expandable config-row-alt1">
5437 <td class="micon"><a class="exi" href="#expand"> </a></td>
5440 <a id="Roo.form.Field-event-*keyup"></a>
5442 <div class="fixedFont">
5443 <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>)
5449 <div class="short">Fires after the key up
5455 Fires after the key up
5461 <dl class="detailList">
5462 <dt class="heading">Parameters:</dt>
5465 <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>
5471 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5474 <dd>The event Object</dd>
5492 <td class="msource">
5493 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5497 <tr class="method-row expandable config-row-alt0">
5498 <td class="micon"><a class="exi" href="#expand"> </a></td>
5501 <a id="Roo.BoxComponent-event-*move"></a>
5503 <div class="fixedFont">
5504 <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>)
5510 <div class="short">Fires after the component is moved.
5516 Fires after the component is moved.
5522 <dl class="detailList">
5523 <dt class="heading">Parameters:</dt>
5526 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5532 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5535 <dd>The new x position</dd>
5538 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5541 <dd>The new y position</dd>
5559 <td class="msource">
5560 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5564 <tr class="method-row expandable config-row-alt1">
5565 <td class="micon"><a class="exi" href="#expand"> </a></td>
5568 <a id="Roo.Component-event-*render"></a>
5570 <div class="fixedFont">
5571 <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>)
5577 <div class="short">Fires after the component is rendered.
5583 Fires after the component is rendered.
5589 <dl class="detailList">
5590 <dt class="heading">Parameters:</dt>
5593 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5614 <td class="msource">
5615 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5619 <tr class="method-row expandable config-row-alt0">
5620 <td class="micon"><a class="exi" href="#expand"> </a></td>
5623 <a id="Roo.BoxComponent-event-*resize"></a>
5625 <div class="fixedFont">
5626 <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>)
5632 <div class="short">Fires after the component is resized.
5638 Fires after the component is resized.
5644 <dl class="detailList">
5645 <dt class="heading">Parameters:</dt>
5648 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5654 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5657 <dd>The box-adjusted width that was set</dd>
5660 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5663 <dd>The box-adjusted height that was set</dd>
5666 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5669 <dd>The width that was originally specified</dd>
5672 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5675 <dd>The height that was originally specified</dd>
5693 <td class="msource">
5694 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5698 <tr class="method-row expandable config-row-alt1">
5699 <td class="micon"><a class="exi" href="#expand"> </a></td>
5702 <a id="Roo.Component-event-*show"></a>
5704 <div class="fixedFont">
5705 <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>)
5711 <div class="short">Fires after the component is shown.
5717 Fires after the component is shown.
5723 <dl class="detailList">
5724 <dt class="heading">Parameters:</dt>
5727 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5748 <td class="msource">
5749 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5753 <tr class="method-row expandable config-row-alt0">
5754 <td class="micon"><a class="exi" href="#expand"> </a></td>
5757 <a id="Roo.form.Field-event-*specialkey"></a>
5759 <div class="fixedFont">
5760 <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>)
5766 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5772 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.
5778 <dl class="detailList">
5779 <dt class="heading">Parameters:</dt>
5782 <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>
5788 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5791 <dd>The event object</dd>
5809 <td class="msource">
5810 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5814 <tr class="method-row expandable config-row-alt1">
5815 <td class="micon"><a class="exi" href="#expand"> </a></td>
5818 <a id="Roo.form.Field-event-*valid"></a>
5820 <div class="fixedFont">
5821 <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>)
5827 <div class="short">Fires after the field has been validated with no errors.
5833 Fires after the field has been validated with no errors.
5839 <dl class="detailList">
5840 <dt class="heading">Parameters:</dt>
5843 <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>
5864 <td class="msource">
5865 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5876 <!-- ============================== footer ================================= -->
5877 <div class="fineprint" style="clear:both">
5879 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Wed Mar 23 2016 15:43:26 GMT+0800 (HKT)
5881 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>