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>
153 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
161 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
167 <tr class="config-row expandable config-row-alt1 notInherited">
168 <td class="micon"><a class="exi" href="#expand"> </a></td>
171 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
172 <div class="fixedFont">
173 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
179 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
183 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
197 <tr class="config-row expandable config-row-alt0">
198 <td class="micon"><a class="exi" href="#expand"> </a></td>
201 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
202 <div class="fixedFont">
203 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
209 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
213 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
221 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
227 <tr class="config-row expandable config-row-alt1">
228 <td class="micon"><a class="exi" href="#expand"> </a></td>
231 <a id="Roo.form.Field-cfg-autoCreate" name=".autoCreate"></a>
232 <div class="fixedFont">
233 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
239 <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>
243 <div class="long">A DomHelper element spec, or true for a default element spec (defaults to<br/>{tag: "input", type: "text", size: "20", autocomplete: "off"})</div>
251 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
257 <tr class="config-row expandable config-row-alt0 notInherited">
258 <td class="micon"><a class="exi" href="#expand"> </a></td>
261 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
262 <div class="fixedFont">
263 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
269 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
273 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
287 <tr class="config-row expandable config-row-alt1">
288 <td class="micon"><a class="exi" href="#expand"> </a></td>
291 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
292 <div class="fixedFont">
293 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
299 <div class="short">A CSS class to apply to the field's underlying element.</div>
303 <div class="long">A CSS class to apply to the field's underlying element.</div>
311 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
317 <tr class="config-row expandable config-row-alt0">
318 <td class="micon"><a class="exi" href="#expand"> </a></td>
321 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
322 <div class="fixedFont">
323 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
329 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
333 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
341 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
347 <tr class="config-row expandable config-row-alt1 notInherited">
348 <td class="micon"><a class="exi" href="#expand"> </a></td>
351 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
352 <div class="fixedFont">
353 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
359 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
363 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
377 <tr class="config-row expandable config-row-alt0">
378 <td class="micon"><a class="exi" href="#expand"> </a></td>
381 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
382 <div class="fixedFont">
383 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
389 <div class="short">True to disable the field (defaults to false).</div>
393 <div class="long">True to disable the field (defaults to false).</div>
401 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
407 <tr class="config-row expandable config-row-alt1 notInherited">
408 <td class="micon"><a class="exi" href="#expand"> </a></td>
411 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
412 <div class="fixedFont">
413 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
419 <div class="short">The default text to display in an empty field - placeholder.</div>
423 <div class="long">The default text to display in an empty field - placeholder... (defaults to null).</div>
437 <tr class="config-row expandable config-row-alt0">
438 <td class="micon"><a class="exi" href="#expand"> </a></td>
441 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
442 <div class="fixedFont">
443 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
449 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
453 <div class="long">The default CSS class for the field (defaults to "x-form-field")</div>
461 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
467 <tr class="config-row expandable config-row-alt1">
468 <td class="micon"><a class="exi" href="#expand"> </a></td>
471 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
472 <div class="fixedFont">
473 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
479 <div class="short">Label to use when rendering a form.</div>
483 <div class="long">Label to use when rendering a form.</div>
491 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
497 <tr class="config-row expandable config-row-alt0">
498 <td class="micon"><a class="exi" href="#expand"> </a></td>
501 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
502 <div class="fixedFont">
503 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
509 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
513 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
521 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
527 <tr class="config-row expandable config-row-alt1 notInherited">
528 <td class="micon"><a class="exi" href="#expand"> </a></td>
531 <a id="Roo.form.TextField-cfg-grow" name=".grow"></a>
532 <div class="fixedFont">
533 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
539 <div class="short">True if this field should automatically grow and shrink to its content</div>
543 <div class="long">True if this field should automatically grow and shrink to its content</div>
557 <tr class="config-row expandable config-row-alt0 notInherited">
558 <td class="micon"><a class="exi" href="#expand"> </a></td>
561 <a id="Roo.form.TextField-cfg-growMax" name=".growMax"></a>
562 <div class="fixedFont">
563 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
569 <div class="short">The maximum width to allow when grow = true (defaults to 800)</div>
573 <div class="long">The maximum width to allow when grow = true (defaults to 800)</div>
587 <tr class="config-row expandable config-row-alt1 notInherited">
588 <td class="micon"><a class="exi" href="#expand"> </a></td>
591 <a id="Roo.form.TextField-cfg-growMin" name=".growMin"></a>
592 <div class="fixedFont">
593 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
599 <div class="short">The minimum width to allow when grow = true (defaults to 30)</div>
603 <div class="long">The minimum width to allow when grow = true (defaults to 30)</div>
617 <tr class="config-row expandable config-row-alt0">
618 <td class="micon"><a class="exi" href="#expand"> </a></td>
621 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
622 <div class="fixedFont">
623 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
629 <div class="short">height (optional) size of component</div>
633 <div class="long">height (optional) size of component</div>
641 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
647 <tr class="config-row expandable config-row-alt1">
648 <td class="micon"><a class="exi" href="#expand"> </a></td>
651 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
652 <div class="fixedFont">
653 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
659 <div class="short">How this component should hidden.</div>
663 <div class="long">How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".</div>
671 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
677 <tr class="config-row expandable config-row-alt0">
678 <td class="micon"><a class="exi" href="#expand"> </a></td>
681 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
682 <div class="fixedFont">
683 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
689 <div class="short">The type attribute for input fields -- e.g.</div>
693 <div class="long">The type attribute for input fields -- e.g. radio, text, password (defaults to "text").</div>
701 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
707 <tr class="config-row expandable config-row-alt1">
708 <td class="micon"><a class="exi" href="#expand"> </a></td>
711 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
712 <div class="fixedFont">
713 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
719 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
723 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
731 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
737 <tr class="config-row expandable config-row-alt0">
738 <td class="micon"><a class="exi" href="#expand"> </a></td>
741 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
742 <div class="fixedFont">
743 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
749 <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>
753 <div class="long">The error text to use when marking a field invalid and no message is provided (defaults to "The value in this field is invalid")</div>
761 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
767 <tr class="config-row expandable config-row-alt1">
768 <td class="micon"><a class="exi" href="#expand"> </a></td>
771 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
772 <div class="fixedFont">
773 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
779 <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>
783 <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre></div>
791 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
797 <tr class="config-row expandable config-row-alt0 notInherited">
798 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
802 <div class="fixedFont">
803 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
809 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
813 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
827 <tr class="config-row expandable config-row-alt1 notInherited">
828 <td class="micon"><a class="exi" href="#expand"> </a></td>
831 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
832 <div class="fixedFont">
833 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
839 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
843 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
857 <tr class="config-row expandable config-row-alt0 notInherited">
858 <td class="micon"><a class="exi" href="#expand"> </a></td>
861 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
862 <div class="fixedFont">
863 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
869 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
873 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
887 <tr class="config-row expandable config-row-alt1 notInherited">
888 <td class="micon"><a class="exi" href="#expand"> </a></td>
891 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
892 <div class="fixedFont">
893 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
899 <div class="short">Minimum input field length required (defaults to 0)</div>
903 <div class="long">Minimum input field length required (defaults to 0)</div>
917 <tr class="config-row expandable config-row-alt0 notInherited">
918 <td class="micon"><a class="exi" href="#expand"> </a></td>
921 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
922 <div class="fixedFont">
923 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
929 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
933 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
947 <tr class="config-row expandable config-row-alt1">
948 <td class="micon"><a class="exi" href="#expand"> </a></td>
951 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
952 <div class="fixedFont">
953 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
959 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
963 <div class="long"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
971 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
977 <tr class="config-row expandable config-row-alt0">
978 <td class="micon"><a class="exi" href="#expand"> </a></td>
981 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
982 <div class="fixedFont">
983 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
989 <div class="short">The location where error text should display.</div>
993 <div class="long">The location where error text should display. Should be one of the following values (defaults to 'qtip'):<br/><pre><br/>Value Description<br/>----------- ----------------------------------------------------------------------<br/>qtip Display a quick tip when the user hovers over the field<br/>title Display a default browser title attribute popup<br/>under Add a block div beneath the field containing the error text<br/>side Add an error icon to the right of the field with a popup on hover<br/>[element id] Add the error text directly to the innerHTML of the specified element<br/></pre></div>
1001 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1007 <tr class="config-row expandable config-row-alt1">
1008 <td class="micon"><a class="exi" href="#expand"> </a></td>
1011 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1012 <div class="fixedFont">
1013 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1019 <div class="short">The field's HTML name attribute.</div>
1023 <div class="long">The field's HTML name attribute.</div>
1029 <td class="msource">
1031 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1037 <tr class="config-row expandable config-row-alt0">
1038 <td class="micon"><a class="exi" href="#expand"> </a></td>
1041 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1042 <div class="fixedFont">
1043 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1049 <div class="short">Mouse over tip</div>
1053 <div class="long">Mouse over tip</div>
1059 <td class="msource">
1061 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1067 <tr class="config-row expandable config-row-alt1">
1068 <td class="micon"><a class="exi" href="#expand"> </a></td>
1071 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1072 <div class="fixedFont">
1073 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1079 <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>
1083 <div class="long">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute.</div>
1089 <td class="msource">
1091 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1097 <tr class="config-row expandable config-row-alt0 notInherited">
1098 <td class="micon"><a class="exi" href="#expand"> </a></td>
1101 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1102 <div class="fixedFont">
1103 <b class="itemname">regex</b> : RegExp
1109 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1113 <div class="long">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).<br/>If available, this regex will be evaluated only after the basic validators all return true, and will be passed the<br/>current field value. If the test fails, the field will be marked invalid using {<b>link</b> <b>regexText</b>}.</div>
1119 <td class="msource">
1127 <tr class="config-row expandable config-row-alt1 notInherited">
1128 <td class="micon"><a class="exi" href="#expand"> </a></td>
1131 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1139 <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>
1143 <div class="long">The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")</div>
1149 <td class="msource">
1157 <tr class="config-row expandable config-row-alt0 notInherited">
1158 <td class="micon"><a class="exi" href="#expand"> </a></td>
1161 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1162 <div class="fixedFont">
1163 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1169 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1173 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1179 <td class="msource">
1187 <tr class="config-row expandable config-row-alt1">
1188 <td class="micon"><a class="exi" href="#expand"> </a></td>
1191 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1192 <div class="fixedFont">
1193 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1199 <div class="short">The tabIndex for this field.</div>
1203 <div class="long">The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).</div>
1209 <td class="msource">
1211 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1217 <tr class="config-row expandable config-row-alt0">
1218 <td class="micon"><a class="exi" href="#expand"> </a></td>
1221 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1222 <div class="fixedFont">
1223 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1229 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1233 <div class="long">Whether the field should validate when it loses focus (defaults to true).</div>
1239 <td class="msource">
1241 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1247 <tr class="config-row expandable config-row-alt1">
1248 <td class="micon"><a class="exi" href="#expand"> </a></td>
1251 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1252 <div class="fixedFont">
1253 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1259 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1263 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1269 <td class="msource">
1271 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1277 <tr class="config-row expandable config-row-alt0">
1278 <td class="micon"><a class="exi" href="#expand"> </a></td>
1281 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1282 <div class="fixedFont">
1283 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1289 <div class="short">The event that should initiate field validation.</div>
1293 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1299 <td class="msource">
1301 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1307 <tr class="config-row expandable config-row-alt1 notInherited">
1308 <td class="micon"><a class="exi" href="#expand"> </a></td>
1311 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1312 <div class="fixedFont">
1313 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1319 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1323 <div class="long">A custom validation function to be called during field validation (defaults to null).<br/>If available, this function will be called only after the basic validators all return true, and will be passed the<br/>current field value and expected to return boolean true if the value is valid or a string error message if invalid.</div>
1329 <td class="msource">
1337 <tr class="config-row expandable config-row-alt0">
1338 <td class="micon"><a class="exi" href="#expand"> </a></td>
1341 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1342 <div class="fixedFont">
1343 <b class="itemname">value</b> : Mixed
1349 <div class="short">A value to initialize this field with.</div>
1353 <div class="long">A value to initialize this field with.</div>
1359 <td class="msource">
1361 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1367 <tr class="config-row expandable config-row-alt1 notInherited">
1368 <td class="micon"><a class="exi" href="#expand"> </a></td>
1371 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1372 <div class="fixedFont">
1373 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1379 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1383 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1389 <td class="msource">
1397 <tr class="config-row expandable config-row-alt0">
1398 <td class="micon"><a class="exi" href="#expand"> </a></td>
1401 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1402 <div class="fixedFont">
1403 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1409 <div class="short">width (optional) size of component</div>
1413 <div class="long">width (optional) size of component</div>
1419 <td class="msource">
1421 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1437 <!-- ============================== public properties ==================== -->
1441 <a id="Roo.form.TextField-props"></a>
1447 <table cellspacing="0" class="member-table">
1448 <caption class="Empty">Public Properties - Has None</caption>
1454 <!-- ============================== methods summary / details ======================== -->
1457 <a id="Roo.form.TextField-methods"></a>
1458 <!-- constructor?? -->
1465 <!-- then dynamics first -->
1472 <table cellspacing="0" class="member-table">
1473 <caption>Public Methods</caption>
1475 <th class="sig-header" colspan="2">Method</th>
1476 <th class="msource-header">Defined By</th>
1486 <tr class="method-row config-row-alt0 expandable notInherited">
1487 <td class="micon"><a class="exi" href="#expand"> </a></td>
1491 <a id="Roo.form-method-TextField" name=".TextField"></a>
1492 <div class="fixedFont">
1493 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">TextField</b>
1495 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1503 <div class="short">Create a new Roo.form.TextField</div>
1510 Create a new Roo.form.TextField
1513 <dl class="detailList">
1514 <dt class="heading">Parameters:</dt>
1517 <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>
1520 <dd>Configuration options</dd>
1538 <td class="msource">
1544 <tr class="method-row config-row-alt1 expandable">
1545 <td class="micon"><a class="exi" href="#expand"> </a></td>
1549 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1550 <div class="fixedFont">
1551 <span class="attributes"></span><b class="itemname">addEvents</b>
1553 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1560 <div class="short">Used to define events on this Observable</div>
1566 Used to define events on this Observable
1573 <dl class="detailList">
1574 <dt class="heading">Parameters:</dt>
1577 <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>
1580 <dd>The object with the events defined</dd>
1598 <td class="msource">
1600 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1606 <tr class="method-row config-row-alt0 expandable">
1607 <td class="micon"><a class="exi" href="#expand"> </a></td>
1611 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1612 <div class="fixedFont">
1613 <span class="attributes"></span><b class="itemname">addListener</b>
1615 (<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>)
1622 <div class="short">Appends an event handler to this component</div>
1628 Appends an event handler to this component
1635 <dl class="detailList">
1636 <dt class="heading">Parameters:</dt>
1639 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1642 <dd>The type of event to listen for</dd>
1645 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1648 <dd>The method the event invokes</dd>
1651 <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>
1654 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1657 <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>
1660 <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>
1678 <td class="msource">
1680 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1686 <tr class="method-row config-row-alt1 expandable">
1687 <td class="micon"><a class="exi" href="#expand"> </a></td>
1691 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1692 <div class="fixedFont">
1693 <span class="attributes"></span><b class="itemname">applyTo</b>
1695 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1701 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1710 <div class="short">Apply the behaviors of this component to an existing element.</div>
1716 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1723 <dl class="detailList">
1724 <dt class="heading">Parameters:</dt>
1727 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1730 <dd>The id of the node, a DOM node or an existing Element</dd>
1738 <dl class="detailList">
1739 <dt class="heading">Returns:</dt>
1741 <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>
1755 <td class="msource">
1757 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1763 <tr class="method-row config-row-alt0 expandable notInherited">
1764 <td class="micon"><a class="exi" href="#expand"> </a></td>
1768 <a id="Roo.form.TextField-method-autoSize" name=".autoSize"></a>
1769 <div class="fixedFont">
1770 <span class="attributes"></span><b class="itemname">autoSize</b>
1779 <div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.</div>
1785 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.
1806 <td class="msource">
1814 <tr class="method-row config-row-alt1 expandable">
1815 <td class="micon"><a class="exi" href="#expand"> </a></td>
1819 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
1820 <div class="fixedFont">
1821 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1830 <div class="short">Clear any invalid styles/messages for this field</div>
1836 Clear any invalid styles/messages for this field
1857 <td class="msource">
1859 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1865 <tr class="method-row config-row-alt0 expandable">
1866 <td class="micon"><a class="exi" href="#expand"> </a></td>
1870 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1871 <div class="fixedFont">
1872 <span class="attributes"></span><b class="itemname">destroy</b>
1881 <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>
1887 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}.
1908 <td class="msource">
1910 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1916 <tr class="method-row config-row-alt1 expandable">
1917 <td class="micon"><a class="exi" href="#expand"> </a></td>
1921 <a id="Roo.Component-method-disable" name=".disable"></a>
1922 <div class="fixedFont">
1923 <span class="attributes"></span><b class="itemname">disable</b>
1931 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1940 <div class="short">Disable this component.</div>
1946 Disable this component.
1957 <dl class="detailList">
1958 <dt class="heading">Returns:</dt>
1960 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1974 <td class="msource">
1976 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1982 <tr class="method-row config-row-alt0 expandable">
1983 <td class="micon"><a class="exi" href="#expand"> </a></td>
1987 <a id="Roo.Component-method-enable" name=".enable"></a>
1988 <div class="fixedFont">
1989 <span class="attributes"></span><b class="itemname">enable</b>
1997 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2006 <div class="short">Enable this component.</div>
2012 Enable this component.
2023 <dl class="detailList">
2024 <dt class="heading">Returns:</dt>
2026 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2040 <td class="msource">
2042 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2048 <tr class="method-row config-row-alt1 expandable">
2049 <td class="micon"><a class="exi" href="#expand"> </a></td>
2053 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2054 <div class="fixedFont">
2055 <span class="attributes"></span><b class="itemname">fireEvent</b>
2057 (<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>)
2063 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2072 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2078 Fires the specified event with the passed parameters (minus the event name).
2085 <dl class="detailList">
2086 <dt class="heading">Parameters:</dt>
2089 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2095 <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>
2098 <dd>Variable number of parameters are passed to handlers</dd>
2106 <dl class="detailList">
2107 <dt class="heading">Returns:</dt>
2109 <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>
2123 <td class="msource">
2125 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2131 <tr class="method-row config-row-alt0 expandable">
2132 <td class="micon"><a class="exi" href="#expand"> </a></td>
2136 <a id="Roo.Component-method-focus" name=".focus"></a>
2137 <div class="fixedFont">
2138 <span class="attributes"></span><b class="itemname">focus</b>
2140 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2146 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2155 <div class="short">Try to focus this component.</div>
2161 Try to focus this component.
2168 <dl class="detailList">
2169 <dt class="heading">Parameters:</dt>
2172 <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>
2175 <dd>True to also select the text in this component (if applicable)</dd>
2183 <dl class="detailList">
2184 <dt class="heading">Returns:</dt>
2186 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2200 <td class="msource">
2202 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2208 <tr class="method-row config-row-alt1 expandable">
2209 <td class="micon"><a class="exi" href="#expand"> </a></td>
2213 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2214 <div class="fixedFont">
2215 <span class="attributes"></span><b class="itemname">getBox</b>
2217 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2224 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2230 Gets the current box measurements of the component's underlying element.
2237 <dl class="detailList">
2238 <dt class="heading">Parameters:</dt>
2241 <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>
2244 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2262 <td class="msource">
2264 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2270 <tr class="method-row config-row-alt0 expandable">
2271 <td class="micon"><a class="exi" href="#expand"> </a></td>
2275 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2276 <div class="fixedFont">
2277 <span class="attributes"></span><b class="itemname">getEl</b>
2285 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2294 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2300 Returns the underlying {<b>link</b> Roo.Element}.
2311 <dl class="detailList">
2312 <dt class="heading">Returns:</dt>
2314 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2328 <td class="msource">
2330 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2336 <tr class="method-row config-row-alt1 expandable">
2337 <td class="micon"><a class="exi" href="#expand"> </a></td>
2341 <a id="Roo.Component-method-getId" name=".getId"></a>
2342 <div class="fixedFont">
2343 <span class="attributes"></span><b class="itemname">getId</b>
2351 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2360 <div class="short">Returns the id of this component.</div>
2366 Returns the id of this component.
2377 <dl class="detailList">
2378 <dt class="heading">Returns:</dt>
2380 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2394 <td class="msource">
2396 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2402 <tr class="method-row config-row-alt0 expandable">
2403 <td class="micon"><a class="exi" href="#expand"> </a></td>
2407 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2408 <div class="fixedFont">
2409 <span class="attributes"></span><b class="itemname">getName</b>
2417 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2426 <div class="short">Returns the name attribute of the field if available</div>
2432 Returns the name attribute of the field if available
2443 <dl class="detailList">
2444 <dt class="heading">Returns:</dt>
2446 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2460 <td class="msource">
2462 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2468 <tr class="method-row config-row-alt1 expandable">
2469 <td class="micon"><a class="exi" href="#expand"> </a></td>
2473 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2474 <div class="fixedFont">
2475 <span class="attributes"></span><b class="itemname">getPosition</b>
2477 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2483 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2492 <div class="short">Gets the current XY position of the component's underlying element.</div>
2498 Gets the current XY position of the component's underlying element.
2505 <dl class="detailList">
2506 <dt class="heading">Parameters:</dt>
2509 <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>
2512 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2520 <dl class="detailList">
2521 <dt class="heading">Returns:</dt>
2523 <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>
2537 <td class="msource">
2539 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2545 <tr class="method-row config-row-alt0 expandable">
2546 <td class="micon"><a class="exi" href="#expand"> </a></td>
2550 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2551 <div class="fixedFont">
2552 <span class="attributes"></span><b class="itemname">getRawValue</b>
2569 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2575 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>}.
2586 <dl class="detailList">
2587 <dt class="heading">Returns:</dt>
2589 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2603 <td class="msource">
2605 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2611 <tr class="method-row config-row-alt1 expandable">
2612 <td class="micon"><a class="exi" href="#expand"> </a></td>
2616 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2617 <div class="fixedFont">
2618 <span class="attributes"></span><b class="itemname">getSize</b>
2626 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2635 <div class="short">Gets the current size of the component's underlying element.</div>
2641 Gets the current size of the component's underlying element.
2652 <dl class="detailList">
2653 <dt class="heading">Returns:</dt>
2655 <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>
2669 <td class="msource">
2671 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2677 <tr class="method-row config-row-alt0 expandable">
2678 <td class="micon"><a class="exi" href="#expand"> </a></td>
2682 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2683 <div class="fixedFont">
2684 <span class="attributes"></span><b class="itemname">getValue</b>
2701 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2707 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2718 <dl class="detailList">
2719 <dt class="heading">Returns:</dt>
2721 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2735 <td class="msource">
2737 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2743 <tr class="method-row config-row-alt1 expandable">
2744 <td class="micon"><a class="exi" href="#expand"> </a></td>
2748 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2749 <div class="fixedFont">
2750 <span class="attributes"></span><b class="itemname">hasListener</b>
2752 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2758 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2767 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2773 Checks to see if this object has any listeners for a specified event
2780 <dl class="detailList">
2781 <dt class="heading">Parameters:</dt>
2784 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2787 <dd>The name of the event to check for</dd>
2795 <dl class="detailList">
2796 <dt class="heading">Returns:</dt>
2798 <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>
2812 <td class="msource">
2814 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2820 <tr class="method-row config-row-alt0 expandable">
2821 <td class="micon"><a class="exi" href="#expand"> </a></td>
2825 <a id="Roo.Component-method-hide" name=".hide"></a>
2826 <div class="fixedFont">
2827 <span class="attributes"></span><b class="itemname">hide</b>
2835 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2844 <div class="short">Hide this component.</div>
2850 Hide this component.
2861 <dl class="detailList">
2862 <dt class="heading">Returns:</dt>
2864 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2878 <td class="msource">
2880 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2886 <tr class="method-row config-row-alt1 expandable">
2887 <td class="micon"><a class="exi" href="#expand"> </a></td>
2891 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
2892 <div class="fixedFont">
2893 <span class="attributes"></span><b class="itemname">isDirty</b>
2902 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
2908 Returns true if this field has been changed since it was originally loaded and is not disabled.
2929 <td class="msource">
2931 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2937 <tr class="method-row config-row-alt0 expandable">
2938 <td class="micon"><a class="exi" href="#expand"> </a></td>
2942 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
2943 <div class="fixedFont">
2944 <span class="attributes"></span><b class="itemname">isValid</b>
2946 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
2952 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2961 <div class="short">Returns whether or not the field value is currently valid</div>
2967 Returns whether or not the field value is currently valid
2974 <dl class="detailList">
2975 <dt class="heading">Parameters:</dt>
2978 <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>
2981 <dd>True to disable marking the field invalid</dd>
2989 <dl class="detailList">
2990 <dt class="heading">Returns:</dt>
2992 <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>
3006 <td class="msource">
3008 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3014 <tr class="method-row config-row-alt1 expandable">
3015 <td class="micon"><a class="exi" href="#expand"> </a></td>
3019 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3020 <div class="fixedFont">
3021 <span class="attributes"></span><b class="itemname">isVisible</b>
3030 <div class="short">Returns true if this component is visible.</div>
3036 Returns true if this component is visible.
3057 <td class="msource">
3059 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3065 <tr class="method-row config-row-alt0 expandable">
3066 <td class="micon"><a class="exi" href="#expand"> </a></td>
3070 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3071 <div class="fixedFont">
3072 <span class="attributes"></span><b class="itemname">markInvalid</b>
3074 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3081 <div class="short">Mark this field as invalid</div>
3087 Mark this field as invalid
3094 <dl class="detailList">
3095 <dt class="heading">Parameters:</dt>
3098 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3101 <dd>The validation message</dd>
3119 <td class="msource">
3121 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3127 <tr class="method-row config-row-alt1 expandable">
3128 <td class="micon"><a class="exi" href="#expand"> </a></td>
3132 <a id="Roo.util.Observable-method-on" name=".on"></a>
3133 <div class="fixedFont">
3134 <span class="attributes"></span><b class="itemname">on</b>
3136 (<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>)
3143 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3149 Appends an event handler to this element (shorthand for addListener)
3156 <dl class="detailList">
3157 <dt class="heading">Parameters:</dt>
3160 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3163 <dd>The type of event to listen for</dd>
3166 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3169 <dd>The method the event invokes</dd>
3172 <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>
3175 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3178 <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>
3199 <td class="msource">
3201 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3207 <tr class="method-row config-row-alt0 expandable">
3208 <td class="micon"><a class="exi" href="#expand"> </a></td>
3212 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3213 <div class="fixedFont">
3214 <span class="attributes"></span><b class="itemname">onPosition</b>
3216 (<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>)
3223 <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>
3229 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.
3236 <dl class="detailList">
3237 <dt class="heading">Parameters:</dt>
3240 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3243 <dd>The new x position</dd>
3246 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3249 <dd>The new y position</dd>
3267 <td class="msource">
3269 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3275 <tr class="method-row config-row-alt1 expandable">
3276 <td class="micon"><a class="exi" href="#expand"> </a></td>
3280 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3281 <div class="fixedFont">
3282 <span class="attributes"></span><b class="itemname">onResize</b>
3284 (<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>)
3291 <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>
3297 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.
3304 <dl class="detailList">
3305 <dt class="heading">Parameters:</dt>
3308 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3311 <dd>The box-adjusted width that was set</dd>
3314 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3317 <dd>The box-adjusted height that was set</dd>
3320 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3323 <dd>The width that was originally specified</dd>
3326 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3329 <dd>The height that was originally specified</dd>
3347 <td class="msource">
3349 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3355 <tr class="method-row config-row-alt0 expandable">
3356 <td class="micon"><a class="exi" href="#expand"> </a></td>
3360 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3361 <div class="fixedFont">
3362 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3371 <div class="short">Removes all listeners for this object</div>
3377 Removes all listeners for this object
3398 <td class="msource">
3400 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3406 <tr class="method-row config-row-alt1 expandable">
3407 <td class="micon"><a class="exi" href="#expand"> </a></td>
3411 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3412 <div class="fixedFont">
3413 <span class="attributes"></span><b class="itemname">removeListener</b>
3415 (<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>)
3422 <div class="short">Removes a listener</div>
3435 <dl class="detailList">
3436 <dt class="heading">Parameters:</dt>
3439 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3442 <dd>The type of event to listen for</dd>
3445 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3448 <dd>The handler to remove</dd>
3451 <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>
3454 <dd>(optional) The scope (this object) for the handler</dd>
3472 <td class="msource">
3474 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3480 <tr class="method-row config-row-alt0 expandable">
3481 <td class="micon"><a class="exi" href="#expand"> </a></td>
3485 <a id="Roo.Component-method-render" name=".render"></a>
3486 <div class="fixedFont">
3487 <span class="attributes"></span><b class="itemname">render</b>
3489 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3496 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3502 If this is a lazy rendering component, render it to its container element.
3509 <dl class="detailList">
3510 <dt class="heading">Parameters:</dt>
3513 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3516 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3534 <td class="msource">
3536 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3542 <tr class="method-row config-row-alt1 expandable notInherited">
3543 <td class="micon"><a class="exi" href="#expand"> </a></td>
3547 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3548 <div class="fixedFont">
3549 <span class="attributes"></span><b class="itemname">reset</b>
3558 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3564 Resets the current field value to the originally-loaded value and clears any validation messages.
3585 <td class="msource">
3593 <tr class="method-row config-row-alt0 expandable notInherited">
3594 <td class="micon"><a class="exi" href="#expand"> </a></td>
3598 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3599 <div class="fixedFont">
3600 <span class="attributes"></span><b class="itemname">selectText</b>
3602 (<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>)
3609 <div class="short">Selects text in this field</div>
3615 Selects text in this field
3622 <dl class="detailList">
3623 <dt class="heading">Parameters:</dt>
3626 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3629 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3632 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3635 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3653 <td class="msource">
3661 <tr class="method-row config-row-alt1 expandable">
3662 <td class="micon"><a class="exi" href="#expand"> </a></td>
3666 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3667 <div class="fixedFont">
3668 <span class="attributes"></span><b class="itemname">setDisabled</b>
3670 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3677 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3683 Convenience function for setting disabled/enabled by boolean.
3690 <dl class="detailList">
3691 <dt class="heading">Parameters:</dt>
3694 <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>
3715 <td class="msource">
3717 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3723 <tr class="method-row config-row-alt0 expandable">
3724 <td class="micon"><a class="exi" href="#expand"> </a></td>
3728 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3729 <div class="fixedFont">
3730 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3732 (<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>)
3739 <div class="short">Sets the page XY position of the component.</div>
3745 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.
3752 <dl class="detailList">
3753 <dt class="heading">Parameters:</dt>
3756 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3759 <dd>The new x position</dd>
3762 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3765 <dd>The new y position</dd>
3783 <td class="msource">
3785 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3791 <tr class="method-row config-row-alt1 expandable">
3792 <td class="micon"><a class="exi" href="#expand"> </a></td>
3796 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
3797 <div class="fixedFont">
3798 <span class="attributes"></span><b class="itemname">setPosition</b>
3800 (<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>)
3807 <div class="short">Sets the left and top of the component.</div>
3813 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.
3820 <dl class="detailList">
3821 <dt class="heading">Parameters:</dt>
3824 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
3827 <dd>The new left</dd>
3830 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
3833 <dd>The new top</dd>
3851 <td class="msource">
3853 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3859 <tr class="method-row config-row-alt0 expandable">
3860 <td class="micon"><a class="exi" href="#expand"> </a></td>
3864 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
3865 <div class="fixedFont">
3866 <span class="attributes"></span><b class="itemname">setRawValue</b>
3868 (Mixed <B><i>value</i></B>)
3875 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3881 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3888 <dl class="detailList">
3889 <dt class="heading">Parameters:</dt>
3892 <span class="fixedFont">Mixed</span> <b>value</b>
3895 <dd>The value to set</dd>
3913 <td class="msource">
3915 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3921 <tr class="method-row config-row-alt1 expandable">
3922 <td class="micon"><a class="exi" href="#expand"> </a></td>
3926 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
3927 <div class="fixedFont">
3928 <span class="attributes"></span><b class="itemname">setSize</b>
3930 (<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>)
3936 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3945 <div class="short">Sets the width and height of the component.</div>
3951 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}.
3958 <dl class="detailList">
3959 <dt class="heading">Parameters:</dt>
3962 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
3965 <dd>The new width to set, or a size object in the format {width, height}</dd>
3968 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3971 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
3979 <dl class="detailList">
3980 <dt class="heading">Returns:</dt>
3982 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
3996 <td class="msource">
3998 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4004 <tr class="method-row config-row-alt0 expandable">
4005 <td class="micon"><a class="exi" href="#expand"> </a></td>
4009 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4010 <div class="fixedFont">
4011 <span class="attributes"></span><b class="itemname">setValue</b>
4013 (Mixed <B><i>value</i></B>)
4020 <div class="short">Sets a data value into the field and validates it.</div>
4026 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4033 <dl class="detailList">
4034 <dt class="heading">Parameters:</dt>
4037 <span class="fixedFont">Mixed</span> <b>value</b>
4040 <dd>The value to set</dd>
4058 <td class="msource">
4060 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4066 <tr class="method-row config-row-alt1 expandable">
4067 <td class="micon"><a class="exi" href="#expand"> </a></td>
4071 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4072 <div class="fixedFont">
4073 <span class="attributes"></span><b class="itemname">setVisible</b>
4075 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4081 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4090 <div class="short">Convenience function to hide or show this component by boolean.</div>
4096 Convenience function to hide or show this component by boolean.
4103 <dl class="detailList">
4104 <dt class="heading">Parameters:</dt>
4107 <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>
4110 <dd>True to show, false to hide</dd>
4118 <dl class="detailList">
4119 <dt class="heading">Returns:</dt>
4121 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4135 <td class="msource">
4137 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4143 <tr class="method-row config-row-alt0 expandable">
4144 <td class="micon"><a class="exi" href="#expand"> </a></td>
4148 <a id="Roo.Component-method-show" name=".show"></a>
4149 <div class="fixedFont">
4150 <span class="attributes"></span><b class="itemname">show</b>
4158 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4167 <div class="short">Show this component.</div>
4173 Show this component.
4184 <dl class="detailList">
4185 <dt class="heading">Returns:</dt>
4187 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4201 <td class="msource">
4203 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4209 <tr class="method-row config-row-alt1 expandable">
4210 <td class="micon"><a class="exi" href="#expand"> </a></td>
4214 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4215 <div class="fixedFont">
4216 <span class="attributes"></span><b class="itemname">syncSize</b>
4225 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4231 Force the component's size to recalculate based on the underlying element's current height and width.
4252 <td class="msource">
4254 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4260 <tr class="method-row config-row-alt0 expandable">
4261 <td class="micon"><a class="exi" href="#expand"> </a></td>
4265 <a id="Roo.util.Observable-method-un" name=".un"></a>
4266 <div class="fixedFont">
4267 <span class="attributes"></span><b class="itemname">un</b>
4269 (<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>)
4276 <div class="short">Removes a listener (shorthand for removeListener)</div>
4282 Removes a listener (shorthand for removeListener)
4289 <dl class="detailList">
4290 <dt class="heading">Parameters:</dt>
4293 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4296 <dd>The type of event to listen for</dd>
4299 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4302 <dd>The handler to remove</dd>
4305 <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>
4308 <dd>(optional) The scope (this object) for the handler</dd>
4326 <td class="msource">
4328 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4334 <tr class="method-row config-row-alt1 expandable">
4335 <td class="micon"><a class="exi" href="#expand"> </a></td>
4339 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4340 <div class="fixedFont">
4341 <span class="attributes"></span><b class="itemname">updateBox</b>
4343 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4350 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4356 Sets the current box measurements of the component's underlying element.
4363 <dl class="detailList">
4364 <dt class="heading">Parameters:</dt>
4367 <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>
4370 <dd>An object in the format {x, y, width, height}</dd>
4388 <td class="msource">
4390 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4396 <tr class="method-row config-row-alt0 expandable">
4397 <td class="micon"><a class="exi" href="#expand"> </a></td>
4401 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4402 <div class="fixedFont">
4403 <span class="attributes"></span><b class="itemname">validate</b>
4411 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4420 <div class="short">Validates the field value</div>
4426 Validates the field value
4437 <dl class="detailList">
4438 <dt class="heading">Returns:</dt>
4440 <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>
4454 <td class="msource">
4456 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4462 <tr class="method-row config-row-alt1 expandable notInherited">
4463 <td class="micon"><a class="exi" href="#expand"> </a></td>
4467 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4468 <div class="fixedFont">
4469 <span class="attributes"></span><b class="itemname">validateValue</b>
4471 (Mixed <B><i>value</i></B>)
4477 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4486 <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>
4492 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4499 <dl class="detailList">
4500 <dt class="heading">Parameters:</dt>
4503 <span class="fixedFont">Mixed</span> <b>value</b>
4506 <dd>The value to validate</dd>
4514 <dl class="detailList">
4515 <dt class="heading">Returns:</dt>
4517 <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>
4531 <td class="msource">
4542 <!-- ============================== events summary / details ======================== -->
4545 <a id="Roo.form.TextField-events"></a>
4554 <table cellspacing="0" class="member-table">
4555 <caption>Events</caption>
4558 <th class="sig-header" colspan="2">Event</th>
4559 <th class="msource-header">Defined By</th>
4568 <tr class="method-row expandable config-row-alt0 notInherited">
4569 <td class="micon"><a class="exi" href="#expand"> </a></td>
4572 <a id="Roo.form.TextField-event-*autosize"></a>
4574 <div class="fixedFont">
4575 <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>)
4581 <div class="short">Fires when the autosize function is triggered.
4587 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.
4593 <dl class="detailList">
4594 <dt class="heading">Parameters:</dt>
4597 <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>
4600 <dd>This text field</dd>
4603 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4606 <dd>The new field width</dd>
4624 <td class="msource">
4629 <tr class="method-row expandable config-row-alt1">
4630 <td class="micon"><a class="exi" href="#expand"> </a></td>
4633 <a id="Roo.Component-event-*beforedestroy"></a>
4635 <div class="fixedFont">
4636 <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>)
4642 <div class="short">Fires before the component is destroyed.
4648 Fires before the component is destroyed. Return false to stop the destroy.
4654 <dl class="detailList">
4655 <dt class="heading">Parameters:</dt>
4658 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4679 <td class="msource">
4680 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4684 <tr class="method-row expandable config-row-alt0">
4685 <td class="micon"><a class="exi" href="#expand"> </a></td>
4688 <a id="Roo.Component-event-*beforehide"></a>
4690 <div class="fixedFont">
4691 <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>)
4697 <div class="short">Fires before the component is hidden.
4703 Fires before the component is hidden. Return false to stop the hide.
4709 <dl class="detailList">
4710 <dt class="heading">Parameters:</dt>
4713 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4734 <td class="msource">
4735 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4739 <tr class="method-row expandable config-row-alt1">
4740 <td class="micon"><a class="exi" href="#expand"> </a></td>
4743 <a id="Roo.Component-event-*beforerender"></a>
4745 <div class="fixedFont">
4746 <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>)
4752 <div class="short">Fires before the component is rendered.
4758 Fires before the component is rendered. Return false to stop the render.
4764 <dl class="detailList">
4765 <dt class="heading">Parameters:</dt>
4768 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4789 <td class="msource">
4790 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4794 <tr class="method-row expandable config-row-alt0">
4795 <td class="micon"><a class="exi" href="#expand"> </a></td>
4798 <a id="Roo.Component-event-*beforeshow"></a>
4800 <div class="fixedFont">
4801 <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>)
4807 <div class="short">Fires before the component is shown.
4813 Fires before the component is shown. Return false to stop the show.
4819 <dl class="detailList">
4820 <dt class="heading">Parameters:</dt>
4823 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4844 <td class="msource">
4845 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4849 <tr class="method-row expandable config-row-alt1">
4850 <td class="micon"><a class="exi" href="#expand"> </a></td>
4853 <a id="Roo.form.Field-event-*blur"></a>
4855 <div class="fixedFont">
4856 <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>)
4862 <div class="short">Fires when this field loses input focus.
4868 Fires when this field loses input focus.
4874 <dl class="detailList">
4875 <dt class="heading">Parameters:</dt>
4878 <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>
4899 <td class="msource">
4900 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4904 <tr class="method-row expandable config-row-alt0">
4905 <td class="micon"><a class="exi" href="#expand"> </a></td>
4908 <a id="Roo.form.Field-event-*change"></a>
4910 <div class="fixedFont">
4911 <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>)
4917 <div class="short">Fires just before the field blurs if the field value has changed.
4923 Fires just before the field blurs if the field value has changed.
4929 <dl class="detailList">
4930 <dt class="heading">Parameters:</dt>
4933 <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>
4939 <span class="fixedFont">Mixed</span> <b>newValue</b>
4942 <dd>The new value</dd>
4945 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4948 <dd>The original value</dd>
4966 <td class="msource">
4967 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4971 <tr class="method-row expandable config-row-alt1">
4972 <td class="micon"><a class="exi" href="#expand"> </a></td>
4975 <a id="Roo.Component-event-*destroy"></a>
4977 <div class="fixedFont">
4978 <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>)
4984 <div class="short">Fires after the component is destroyed.
4990 Fires after the component is destroyed.
4996 <dl class="detailList">
4997 <dt class="heading">Parameters:</dt>
5000 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5021 <td class="msource">
5022 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5026 <tr class="method-row expandable config-row-alt0">
5027 <td class="micon"><a class="exi" href="#expand"> </a></td>
5030 <a id="Roo.Component-event-*disable"></a>
5032 <div class="fixedFont">
5033 <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>)
5039 <div class="short">Fires after the component is disabled.
5045 Fires after the component is disabled.
5051 <dl class="detailList">
5052 <dt class="heading">Parameters:</dt>
5055 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5076 <td class="msource">
5077 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5081 <tr class="method-row expandable config-row-alt1">
5082 <td class="micon"><a class="exi" href="#expand"> </a></td>
5085 <a id="Roo.Component-event-*enable"></a>
5087 <div class="fixedFont">
5088 <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>)
5094 <div class="short">Fires after the component is enabled.
5100 Fires after the component is enabled.
5106 <dl class="detailList">
5107 <dt class="heading">Parameters:</dt>
5110 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5131 <td class="msource">
5132 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5136 <tr class="method-row expandable config-row-alt0">
5137 <td class="micon"><a class="exi" href="#expand"> </a></td>
5140 <a id="Roo.form.Field-event-*focus"></a>
5142 <div class="fixedFont">
5143 <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>)
5149 <div class="short">Fires when this field receives input focus.
5155 Fires when this field receives input focus.
5161 <dl class="detailList">
5162 <dt class="heading">Parameters:</dt>
5165 <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>
5186 <td class="msource">
5187 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5191 <tr class="method-row expandable config-row-alt1">
5192 <td class="micon"><a class="exi" href="#expand"> </a></td>
5195 <a id="Roo.Component-event-*hide"></a>
5197 <div class="fixedFont">
5198 <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>)
5204 <div class="short">Fires after the component is hidden.
5210 Fires after the component is hidden.
5216 <dl class="detailList">
5217 <dt class="heading">Parameters:</dt>
5220 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5241 <td class="msource">
5242 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5246 <tr class="method-row expandable config-row-alt0">
5247 <td class="micon"><a class="exi" href="#expand"> </a></td>
5250 <a id="Roo.form.Field-event-*invalid"></a>
5252 <div class="fixedFont">
5253 <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>)
5259 <div class="short">Fires after the field has been marked as invalid.
5265 Fires after the field has been marked as invalid.
5271 <dl class="detailList">
5272 <dt class="heading">Parameters:</dt>
5275 <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>
5281 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5284 <dd>The validation message</dd>
5302 <td class="msource">
5303 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5307 <tr class="method-row expandable config-row-alt1">
5308 <td class="micon"><a class="exi" href="#expand"> </a></td>
5311 <a id="Roo.form.Field-event-*keyup"></a>
5313 <div class="fixedFont">
5314 <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>)
5320 <div class="short">Fires after the key up
5326 Fires after the key up
5332 <dl class="detailList">
5333 <dt class="heading">Parameters:</dt>
5336 <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>
5342 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5345 <dd>The event Object</dd>
5363 <td class="msource">
5364 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5368 <tr class="method-row expandable config-row-alt0">
5369 <td class="micon"><a class="exi" href="#expand"> </a></td>
5372 <a id="Roo.BoxComponent-event-*move"></a>
5374 <div class="fixedFont">
5375 <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>)
5381 <div class="short">Fires after the component is moved.
5387 Fires after the component is moved.
5393 <dl class="detailList">
5394 <dt class="heading">Parameters:</dt>
5397 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5403 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5406 <dd>The new x position</dd>
5409 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5412 <dd>The new y position</dd>
5430 <td class="msource">
5431 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5435 <tr class="method-row expandable config-row-alt1">
5436 <td class="micon"><a class="exi" href="#expand"> </a></td>
5439 <a id="Roo.Component-event-*render"></a>
5441 <div class="fixedFont">
5442 <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>)
5448 <div class="short">Fires after the component is rendered.
5454 Fires after the component is rendered.
5460 <dl class="detailList">
5461 <dt class="heading">Parameters:</dt>
5464 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5485 <td class="msource">
5486 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5490 <tr class="method-row expandable config-row-alt0">
5491 <td class="micon"><a class="exi" href="#expand"> </a></td>
5494 <a id="Roo.BoxComponent-event-*resize"></a>
5496 <div class="fixedFont">
5497 <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>)
5503 <div class="short">Fires after the component is resized.
5509 Fires after the component is resized.
5515 <dl class="detailList">
5516 <dt class="heading">Parameters:</dt>
5519 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5525 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5528 <dd>The box-adjusted width that was set</dd>
5531 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5534 <dd>The box-adjusted height that was set</dd>
5537 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5540 <dd>The width that was originally specified</dd>
5543 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5546 <dd>The height that was originally specified</dd>
5564 <td class="msource">
5565 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5569 <tr class="method-row expandable config-row-alt1">
5570 <td class="micon"><a class="exi" href="#expand"> </a></td>
5573 <a id="Roo.Component-event-*show"></a>
5575 <div class="fixedFont">
5576 <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>)
5582 <div class="short">Fires after the component is shown.
5588 Fires after the component is shown.
5594 <dl class="detailList">
5595 <dt class="heading">Parameters:</dt>
5598 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5619 <td class="msource">
5620 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5624 <tr class="method-row expandable config-row-alt0">
5625 <td class="micon"><a class="exi" href="#expand"> </a></td>
5628 <a id="Roo.form.Field-event-*specialkey"></a>
5630 <div class="fixedFont">
5631 <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>)
5637 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5643 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.
5649 <dl class="detailList">
5650 <dt class="heading">Parameters:</dt>
5653 <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>
5659 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5662 <dd>The event object</dd>
5680 <td class="msource">
5681 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5685 <tr class="method-row expandable config-row-alt1">
5686 <td class="micon"><a class="exi" href="#expand"> </a></td>
5689 <a id="Roo.form.Field-event-*valid"></a>
5691 <div class="fixedFont">
5692 <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>)
5698 <div class="short">Fires after the field has been validated with no errors.
5704 Fires after the field has been validated with no errors.
5710 <dl class="detailList">
5711 <dt class="heading">Parameters:</dt>
5714 <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>
5735 <td class="msource">
5736 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5747 <!-- ============================== footer ================================= -->
5748 <div class="fineprint" style="clear:both">
5750 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 24 2014 16:33:00 GMT+0800 (HKT)
5752 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>