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.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.NumberField.html#constructor" roo:cls="Roo.form.NumberField.html#constructor">Roo.form.NumberField</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-emptyClass" name=".emptyClass"></a>
412 <div class="fixedFont">
413 <b class="itemname">emptyClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
419 <div class="short">The CSS class to apply to an empty field to style the {<b>link</b> <b>emptyText</b>} (defaults to<br/>'x-form-empty-field').</div>
423 <div class="long">The CSS class to apply to an empty field to style the {<b>link</b> <b>emptyText</b>} (defaults to<br/>'x-form-empty-field'). This class is automatically added and removed as needed depending on the current field value.</div>
437 <tr class="config-row expandable config-row-alt0 notInherited">
438 <td class="micon"><a class="exi" href="#expand"> </a></td>
441 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
442 <div class="fixedFont">
443 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
449 <div class="short">The default text to display in an empty field (defaults to null).</div>
453 <div class="long">The default text to display in an empty field (defaults to null).</div>
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-fieldClass" name=".fieldClass"></a>
472 <div class="fixedFont">
473 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
479 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
483 <div class="long">The default CSS class for the field (defaults to "x-form-field")</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-fieldLabel" name=".fieldLabel"></a>
502 <div class="fixedFont">
503 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
509 <div class="short">Label to use when rendering a form.</div>
513 <div class="long">Label to use when rendering a form.</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">
528 <td class="micon"><a class="exi" href="#expand"> </a></td>
531 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
532 <div class="fixedFont">
533 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
539 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
543 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
551 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
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-grow" name=".grow"></a>
562 <div class="fixedFont">
563 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
569 <div class="short">True if this field should automatically grow and shrink to its content</div>
573 <div class="long">True if this field should automatically grow and shrink to its content</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-growMax" name=".growMax"></a>
592 <div class="fixedFont">
593 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
599 <div class="short">The maximum width to allow when grow = true (defaults to 800)</div>
603 <div class="long">The maximum width to allow when grow = true (defaults to 800)</div>
617 <tr class="config-row expandable config-row-alt0 notInherited">
618 <td class="micon"><a class="exi" href="#expand"> </a></td>
621 <a id="Roo.form.TextField-cfg-growMin" name=".growMin"></a>
622 <div class="fixedFont">
623 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
629 <div class="short">The minimum width to allow when grow = true (defaults to 30)</div>
633 <div class="long">The minimum width to allow when grow = true (defaults to 30)</div>
647 <tr class="config-row expandable config-row-alt1">
648 <td class="micon"><a class="exi" href="#expand"> </a></td>
651 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
652 <div class="fixedFont">
653 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
659 <div class="short">height (optional) size of component</div>
663 <div class="long">height (optional) size of component</div>
671 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</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.Component-cfg-hideMode" name=".hideMode"></a>
682 <div class="fixedFont">
683 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
689 <div class="short">How this component should hidden.</div>
693 <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>
701 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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-inputType" name=".inputType"></a>
712 <div class="fixedFont">
713 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
719 <div class="short">The type attribute for input fields -- e.g.</div>
723 <div class="long">The type attribute for input fields -- e.g. radio, text, password (defaults to "text").</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-invalidClass" name=".invalidClass"></a>
742 <div class="fixedFont">
743 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
749 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
753 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-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.form.Field-cfg-invalidText" name=".invalidText"></a>
772 <div class="fixedFont">
773 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
779 <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>
783 <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>
791 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
797 <tr class="config-row expandable config-row-alt0">
798 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
802 <div class="fixedFont">
803 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
809 <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>
813 <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>
821 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
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-maskRe" name=".maskRe"></a>
832 <div class="fixedFont">
833 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
839 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
843 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</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-maxLength" name=".maxLength"></a>
862 <div class="fixedFont">
863 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
869 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
873 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</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-maxLengthText" name=".maxLengthText"></a>
892 <div class="fixedFont">
893 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
899 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
903 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</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-minLength" name=".minLength"></a>
922 <div class="fixedFont">
923 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
929 <div class="short">Minimum input field length required (defaults to 0)</div>
933 <div class="long">Minimum input field length required (defaults to 0)</div>
947 <tr class="config-row expandable config-row-alt1 notInherited">
948 <td class="micon"><a class="exi" href="#expand"> </a></td>
951 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
952 <div class="fixedFont">
953 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
959 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
963 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
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-msgFx" name=".msgFx"></a>
982 <div class="fixedFont">
983 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
989 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
993 <div class="long"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</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-msgTarget" name=".msgTarget"></a>
1012 <div class="fixedFont">
1013 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1019 <div class="short">The location where error text should display.</div>
1023 <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>
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-name" name=".name"></a>
1042 <div class="fixedFont">
1043 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1049 <div class="short">The field's HTML name attribute.</div>
1053 <div class="long">The field's HTML name attribute.</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-qtip" name=".qtip"></a>
1072 <div class="fixedFont">
1073 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1079 <div class="short">Mouse over tip</div>
1083 <div class="long">Mouse over tip</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">
1098 <td class="micon"><a class="exi" href="#expand"> </a></td>
1101 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1102 <div class="fixedFont">
1103 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1109 <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>
1113 <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>
1119 <td class="msource">
1121 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1127 <tr class="config-row expandable config-row-alt1 notInherited">
1128 <td class="micon"><a class="exi" href="#expand"> </a></td>
1131 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">regex</b> : RegExp
1139 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1143 <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>
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-regexText" name=".regexText"></a>
1162 <div class="fixedFont">
1163 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1169 <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>
1173 <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>
1179 <td class="msource">
1187 <tr class="config-row expandable config-row-alt1 notInherited">
1188 <td class="micon"><a class="exi" href="#expand"> </a></td>
1191 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1192 <div class="fixedFont">
1193 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1199 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1203 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1209 <td class="msource">
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-tabIndex" name=".tabIndex"></a>
1222 <div class="fixedFont">
1223 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1229 <div class="short">The tabIndex for this field.</div>
1233 <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>
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-validateOnBlur" name=".validateOnBlur"></a>
1252 <div class="fixedFont">
1253 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1259 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1263 <div class="long">Whether the field should validate when it loses focus (defaults to true).</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-validationDelay" name=".validationDelay"></a>
1282 <div class="fixedFont">
1283 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1289 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1293 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</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">
1308 <td class="micon"><a class="exi" href="#expand"> </a></td>
1311 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1312 <div class="fixedFont">
1313 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1319 <div class="short">The event that should initiate field validation.</div>
1323 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1329 <td class="msource">
1331 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1337 <tr class="config-row expandable config-row-alt0 notInherited">
1338 <td class="micon"><a class="exi" href="#expand"> </a></td>
1341 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1342 <div class="fixedFont">
1343 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1349 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1353 <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>
1359 <td class="msource">
1367 <tr class="config-row expandable config-row-alt1">
1368 <td class="micon"><a class="exi" href="#expand"> </a></td>
1371 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1372 <div class="fixedFont">
1373 <b class="itemname">value</b> : Mixed
1379 <div class="short">A value to initialize this field with.</div>
1383 <div class="long">A value to initialize this field with.</div>
1389 <td class="msource">
1391 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1397 <tr class="config-row expandable config-row-alt0 notInherited">
1398 <td class="micon"><a class="exi" href="#expand"> </a></td>
1401 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1402 <div class="fixedFont">
1403 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1409 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1413 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1419 <td class="msource">
1427 <tr class="config-row expandable config-row-alt1">
1428 <td class="micon"><a class="exi" href="#expand"> </a></td>
1431 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1432 <div class="fixedFont">
1433 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1439 <div class="short">width (optional) size of component</div>
1443 <div class="long">width (optional) size of component</div>
1449 <td class="msource">
1451 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1467 <!-- ============================== public properties ==================== -->
1471 <a id="Roo.form.TextField-props"></a>
1477 <table cellspacing="0" class="member-table">
1478 <caption class="Empty">Public Properties - Has None</caption>
1484 <!-- ============================== methods summary / details ======================== -->
1487 <a id="Roo.form.TextField-methods"></a>
1488 <!-- constructor?? -->
1495 <!-- then dynamics first -->
1502 <table cellspacing="0" class="member-table">
1503 <caption>Public Methods</caption>
1505 <th class="sig-header" colspan="2">Method</th>
1506 <th class="msource-header">Defined By</th>
1516 <tr class="method-row config-row-alt0 expandable notInherited">
1517 <td class="micon"><a class="exi" href="#expand"> </a></td>
1521 <a id="Roo.form-method-TextField" name=".TextField"></a>
1522 <div class="fixedFont">
1523 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">TextField</b>
1525 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1533 <div class="short">Create a new Roo.form.TextField</div>
1540 Create a new Roo.form.TextField
1543 <dl class="detailList">
1544 <dt class="heading">Parameters:</dt>
1547 <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>
1550 <dd>Configuration options</dd>
1568 <td class="msource">
1574 <tr class="method-row config-row-alt1 expandable">
1575 <td class="micon"><a class="exi" href="#expand"> </a></td>
1579 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1580 <div class="fixedFont">
1581 <span class="attributes"></span><b class="itemname">addEvents</b>
1583 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1590 <div class="short">Used to define events on this Observable</div>
1596 Used to define events on this Observable
1603 <dl class="detailList">
1604 <dt class="heading">Parameters:</dt>
1607 <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>
1610 <dd>The object with the events defined</dd>
1628 <td class="msource">
1630 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1636 <tr class="method-row config-row-alt0 expandable">
1637 <td class="micon"><a class="exi" href="#expand"> </a></td>
1641 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1642 <div class="fixedFont">
1643 <span class="attributes"></span><b class="itemname">addListener</b>
1645 (<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>)
1652 <div class="short">Appends an event handler to this component</div>
1658 Appends an event handler to this component
1665 <dl class="detailList">
1666 <dt class="heading">Parameters:</dt>
1669 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1672 <dd>The type of event to listen for</dd>
1675 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1678 <dd>The method the event invokes</dd>
1681 <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>
1684 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1687 <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>
1690 <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>
1708 <td class="msource">
1710 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1716 <tr class="method-row config-row-alt1 expandable">
1717 <td class="micon"><a class="exi" href="#expand"> </a></td>
1721 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1722 <div class="fixedFont">
1723 <span class="attributes"></span><b class="itemname">applyTo</b>
1725 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1731 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1740 <div class="short">Apply the behaviors of this component to an existing element.</div>
1746 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1753 <dl class="detailList">
1754 <dt class="heading">Parameters:</dt>
1757 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1760 <dd>The id of the node, a DOM node or an existing Element</dd>
1768 <dl class="detailList">
1769 <dt class="heading">Returns:</dt>
1771 <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>
1785 <td class="msource">
1787 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1793 <tr class="method-row config-row-alt0 expandable notInherited">
1794 <td class="micon"><a class="exi" href="#expand"> </a></td>
1798 <a id="Roo.form.TextField-method-autoSize" name=".autoSize"></a>
1799 <div class="fixedFont">
1800 <span class="attributes"></span><b class="itemname">autoSize</b>
1809 <div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.</div>
1815 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.
1836 <td class="msource">
1844 <tr class="method-row config-row-alt1 expandable">
1845 <td class="micon"><a class="exi" href="#expand"> </a></td>
1849 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
1850 <div class="fixedFont">
1851 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1860 <div class="short">Clear any invalid styles/messages for this field</div>
1866 Clear any invalid styles/messages for this field
1887 <td class="msource">
1889 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1895 <tr class="method-row config-row-alt0 expandable">
1896 <td class="micon"><a class="exi" href="#expand"> </a></td>
1900 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1901 <div class="fixedFont">
1902 <span class="attributes"></span><b class="itemname">destroy</b>
1911 <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>
1917 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}.
1938 <td class="msource">
1940 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1946 <tr class="method-row config-row-alt1 expandable">
1947 <td class="micon"><a class="exi" href="#expand"> </a></td>
1951 <a id="Roo.Component-method-disable" name=".disable"></a>
1952 <div class="fixedFont">
1953 <span class="attributes"></span><b class="itemname">disable</b>
1961 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1970 <div class="short">Disable this component.</div>
1976 Disable this component.
1987 <dl class="detailList">
1988 <dt class="heading">Returns:</dt>
1990 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2004 <td class="msource">
2006 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2012 <tr class="method-row config-row-alt0 expandable">
2013 <td class="micon"><a class="exi" href="#expand"> </a></td>
2017 <a id="Roo.Component-method-enable" name=".enable"></a>
2018 <div class="fixedFont">
2019 <span class="attributes"></span><b class="itemname">enable</b>
2027 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2036 <div class="short">Enable this component.</div>
2042 Enable this component.
2053 <dl class="detailList">
2054 <dt class="heading">Returns:</dt>
2056 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2070 <td class="msource">
2072 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2078 <tr class="method-row config-row-alt1 expandable">
2079 <td class="micon"><a class="exi" href="#expand"> </a></td>
2083 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2084 <div class="fixedFont">
2085 <span class="attributes"></span><b class="itemname">fireEvent</b>
2087 (<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>)
2093 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2102 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2108 Fires the specified event with the passed parameters (minus the event name).
2115 <dl class="detailList">
2116 <dt class="heading">Parameters:</dt>
2119 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2125 <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>
2128 <dd>Variable number of parameters are passed to handlers</dd>
2136 <dl class="detailList">
2137 <dt class="heading">Returns:</dt>
2139 <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>
2153 <td class="msource">
2155 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2161 <tr class="method-row config-row-alt0 expandable">
2162 <td class="micon"><a class="exi" href="#expand"> </a></td>
2166 <a id="Roo.Component-method-focus" name=".focus"></a>
2167 <div class="fixedFont">
2168 <span class="attributes"></span><b class="itemname">focus</b>
2170 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2176 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2185 <div class="short">Try to focus this component.</div>
2191 Try to focus this component.
2198 <dl class="detailList">
2199 <dt class="heading">Parameters:</dt>
2202 <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>
2205 <dd>True to also select the text in this component (if applicable)</dd>
2213 <dl class="detailList">
2214 <dt class="heading">Returns:</dt>
2216 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2230 <td class="msource">
2232 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2238 <tr class="method-row config-row-alt1 expandable">
2239 <td class="micon"><a class="exi" href="#expand"> </a></td>
2243 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2244 <div class="fixedFont">
2245 <span class="attributes"></span><b class="itemname">getBox</b>
2247 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2254 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2260 Gets the current box measurements of the component's underlying element.
2267 <dl class="detailList">
2268 <dt class="heading">Parameters:</dt>
2271 <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>
2274 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2292 <td class="msource">
2294 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2300 <tr class="method-row config-row-alt0 expandable">
2301 <td class="micon"><a class="exi" href="#expand"> </a></td>
2305 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2306 <div class="fixedFont">
2307 <span class="attributes"></span><b class="itemname">getEl</b>
2315 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2324 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2330 Returns the underlying {<b>link</b> Roo.Element}.
2341 <dl class="detailList">
2342 <dt class="heading">Returns:</dt>
2344 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2358 <td class="msource">
2360 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2366 <tr class="method-row config-row-alt1 expandable">
2367 <td class="micon"><a class="exi" href="#expand"> </a></td>
2371 <a id="Roo.Component-method-getId" name=".getId"></a>
2372 <div class="fixedFont">
2373 <span class="attributes"></span><b class="itemname">getId</b>
2381 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2390 <div class="short">Returns the id of this component.</div>
2396 Returns the id of this component.
2407 <dl class="detailList">
2408 <dt class="heading">Returns:</dt>
2410 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2424 <td class="msource">
2426 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2432 <tr class="method-row config-row-alt0 expandable">
2433 <td class="micon"><a class="exi" href="#expand"> </a></td>
2437 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2438 <div class="fixedFont">
2439 <span class="attributes"></span><b class="itemname">getName</b>
2447 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2456 <div class="short">Returns the name attribute of the field if available</div>
2462 Returns the name attribute of the field if available
2473 <dl class="detailList">
2474 <dt class="heading">Returns:</dt>
2476 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2490 <td class="msource">
2492 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2498 <tr class="method-row config-row-alt1 expandable">
2499 <td class="micon"><a class="exi" href="#expand"> </a></td>
2503 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2504 <div class="fixedFont">
2505 <span class="attributes"></span><b class="itemname">getPosition</b>
2507 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2513 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2522 <div class="short">Gets the current XY position of the component's underlying element.</div>
2528 Gets the current XY position of the component's underlying element.
2535 <dl class="detailList">
2536 <dt class="heading">Parameters:</dt>
2539 <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>
2542 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2550 <dl class="detailList">
2551 <dt class="heading">Returns:</dt>
2553 <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>
2567 <td class="msource">
2569 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2575 <tr class="method-row config-row-alt0 expandable">
2576 <td class="micon"><a class="exi" href="#expand"> </a></td>
2580 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2581 <div class="fixedFont">
2582 <span class="attributes"></span><b class="itemname">getRawValue</b>
2599 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2605 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>}.
2616 <dl class="detailList">
2617 <dt class="heading">Returns:</dt>
2619 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2633 <td class="msource">
2635 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2641 <tr class="method-row config-row-alt1 expandable">
2642 <td class="micon"><a class="exi" href="#expand"> </a></td>
2646 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2647 <div class="fixedFont">
2648 <span class="attributes"></span><b class="itemname">getSize</b>
2656 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2665 <div class="short">Gets the current size of the component's underlying element.</div>
2671 Gets the current size of the component's underlying element.
2682 <dl class="detailList">
2683 <dt class="heading">Returns:</dt>
2685 <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>
2699 <td class="msource">
2701 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2707 <tr class="method-row config-row-alt0 expandable">
2708 <td class="micon"><a class="exi" href="#expand"> </a></td>
2712 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2713 <div class="fixedFont">
2714 <span class="attributes"></span><b class="itemname">getValue</b>
2731 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2737 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2748 <dl class="detailList">
2749 <dt class="heading">Returns:</dt>
2751 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2765 <td class="msource">
2767 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2773 <tr class="method-row config-row-alt1 expandable">
2774 <td class="micon"><a class="exi" href="#expand"> </a></td>
2778 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2779 <div class="fixedFont">
2780 <span class="attributes"></span><b class="itemname">hasListener</b>
2782 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2788 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2797 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2803 Checks to see if this object has any listeners for a specified event
2810 <dl class="detailList">
2811 <dt class="heading">Parameters:</dt>
2814 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2817 <dd>The name of the event to check for</dd>
2825 <dl class="detailList">
2826 <dt class="heading">Returns:</dt>
2828 <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>
2842 <td class="msource">
2844 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2850 <tr class="method-row config-row-alt0 expandable">
2851 <td class="micon"><a class="exi" href="#expand"> </a></td>
2855 <a id="Roo.Component-method-hide" name=".hide"></a>
2856 <div class="fixedFont">
2857 <span class="attributes"></span><b class="itemname">hide</b>
2865 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2874 <div class="short">Hide this component.</div>
2880 Hide this component.
2891 <dl class="detailList">
2892 <dt class="heading">Returns:</dt>
2894 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2908 <td class="msource">
2910 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2916 <tr class="method-row config-row-alt1 expandable">
2917 <td class="micon"><a class="exi" href="#expand"> </a></td>
2921 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
2922 <div class="fixedFont">
2923 <span class="attributes"></span><b class="itemname">isDirty</b>
2932 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
2938 Returns true if this field has been changed since it was originally loaded and is not disabled.
2959 <td class="msource">
2961 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2967 <tr class="method-row config-row-alt0 expandable">
2968 <td class="micon"><a class="exi" href="#expand"> </a></td>
2972 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
2973 <div class="fixedFont">
2974 <span class="attributes"></span><b class="itemname">isValid</b>
2976 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
2982 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2991 <div class="short">Returns whether or not the field value is currently valid</div>
2997 Returns whether or not the field value is currently valid
3004 <dl class="detailList">
3005 <dt class="heading">Parameters:</dt>
3008 <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>
3011 <dd>True to disable marking the field invalid</dd>
3019 <dl class="detailList">
3020 <dt class="heading">Returns:</dt>
3022 <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>
3036 <td class="msource">
3038 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3044 <tr class="method-row config-row-alt1 expandable">
3045 <td class="micon"><a class="exi" href="#expand"> </a></td>
3049 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3050 <div class="fixedFont">
3051 <span class="attributes"></span><b class="itemname">isVisible</b>
3060 <div class="short">Returns true if this component is visible.</div>
3066 Returns true if this component is visible.
3087 <td class="msource">
3089 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3095 <tr class="method-row config-row-alt0 expandable">
3096 <td class="micon"><a class="exi" href="#expand"> </a></td>
3100 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3101 <div class="fixedFont">
3102 <span class="attributes"></span><b class="itemname">markInvalid</b>
3104 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3111 <div class="short">Mark this field as invalid</div>
3117 Mark this field as invalid
3124 <dl class="detailList">
3125 <dt class="heading">Parameters:</dt>
3128 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3131 <dd>The validation message</dd>
3149 <td class="msource">
3151 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3157 <tr class="method-row config-row-alt1 expandable">
3158 <td class="micon"><a class="exi" href="#expand"> </a></td>
3162 <a id="Roo.util.Observable-method-on" name=".on"></a>
3163 <div class="fixedFont">
3164 <span class="attributes"></span><b class="itemname">on</b>
3166 (<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>)
3173 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3179 Appends an event handler to this element (shorthand for addListener)
3186 <dl class="detailList">
3187 <dt class="heading">Parameters:</dt>
3190 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3193 <dd>The type of event to listen for</dd>
3196 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3199 <dd>The method the event invokes</dd>
3202 <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>
3205 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3208 <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>
3229 <td class="msource">
3231 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3237 <tr class="method-row config-row-alt0 expandable">
3238 <td class="micon"><a class="exi" href="#expand"> </a></td>
3242 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3243 <div class="fixedFont">
3244 <span class="attributes"></span><b class="itemname">onPosition</b>
3246 (<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>)
3253 <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>
3259 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.
3266 <dl class="detailList">
3267 <dt class="heading">Parameters:</dt>
3270 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3273 <dd>The new x position</dd>
3276 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3279 <dd>The new y position</dd>
3297 <td class="msource">
3299 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3305 <tr class="method-row config-row-alt1 expandable">
3306 <td class="micon"><a class="exi" href="#expand"> </a></td>
3310 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3311 <div class="fixedFont">
3312 <span class="attributes"></span><b class="itemname">onResize</b>
3314 (<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>)
3321 <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>
3327 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.
3334 <dl class="detailList">
3335 <dt class="heading">Parameters:</dt>
3338 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3341 <dd>The box-adjusted width that was set</dd>
3344 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3347 <dd>The box-adjusted height that was set</dd>
3350 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3353 <dd>The width that was originally specified</dd>
3356 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3359 <dd>The height that was originally specified</dd>
3377 <td class="msource">
3379 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3385 <tr class="method-row config-row-alt0 expandable">
3386 <td class="micon"><a class="exi" href="#expand"> </a></td>
3390 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3391 <div class="fixedFont">
3392 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3401 <div class="short">Removes all listeners for this object</div>
3407 Removes all listeners for this object
3428 <td class="msource">
3430 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3436 <tr class="method-row config-row-alt1 expandable">
3437 <td class="micon"><a class="exi" href="#expand"> </a></td>
3441 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3442 <div class="fixedFont">
3443 <span class="attributes"></span><b class="itemname">removeListener</b>
3445 (<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>)
3452 <div class="short">Removes a listener</div>
3465 <dl class="detailList">
3466 <dt class="heading">Parameters:</dt>
3469 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3472 <dd>The type of event to listen for</dd>
3475 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3478 <dd>The handler to remove</dd>
3481 <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>
3484 <dd>(optional) The scope (this object) for the handler</dd>
3502 <td class="msource">
3504 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3510 <tr class="method-row config-row-alt0 expandable">
3511 <td class="micon"><a class="exi" href="#expand"> </a></td>
3515 <a id="Roo.Component-method-render" name=".render"></a>
3516 <div class="fixedFont">
3517 <span class="attributes"></span><b class="itemname">render</b>
3519 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3526 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3532 If this is a lazy rendering component, render it to its container element.
3539 <dl class="detailList">
3540 <dt class="heading">Parameters:</dt>
3543 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3546 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3564 <td class="msource">
3566 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3572 <tr class="method-row config-row-alt1 expandable notInherited">
3573 <td class="micon"><a class="exi" href="#expand"> </a></td>
3577 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3578 <div class="fixedFont">
3579 <span class="attributes"></span><b class="itemname">reset</b>
3588 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3594 Resets the current field value to the originally-loaded value and clears any validation messages.<br/>Also adds emptyText and emptyClass if the original value was blank.
3615 <td class="msource">
3623 <tr class="method-row config-row-alt0 expandable notInherited">
3624 <td class="micon"><a class="exi" href="#expand"> </a></td>
3628 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3629 <div class="fixedFont">
3630 <span class="attributes"></span><b class="itemname">selectText</b>
3632 (<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>)
3639 <div class="short">Selects text in this field</div>
3645 Selects text in this field
3652 <dl class="detailList">
3653 <dt class="heading">Parameters:</dt>
3656 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3659 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3662 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3665 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3683 <td class="msource">
3691 <tr class="method-row config-row-alt1 expandable">
3692 <td class="micon"><a class="exi" href="#expand"> </a></td>
3696 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3697 <div class="fixedFont">
3698 <span class="attributes"></span><b class="itemname">setDisabled</b>
3700 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3707 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3713 Convenience function for setting disabled/enabled by boolean.
3720 <dl class="detailList">
3721 <dt class="heading">Parameters:</dt>
3724 <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>
3745 <td class="msource">
3747 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3753 <tr class="method-row config-row-alt0 expandable">
3754 <td class="micon"><a class="exi" href="#expand"> </a></td>
3758 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3759 <div class="fixedFont">
3760 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3762 (<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>)
3769 <div class="short">Sets the page XY position of the component.</div>
3775 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.
3782 <dl class="detailList">
3783 <dt class="heading">Parameters:</dt>
3786 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3789 <dd>The new x position</dd>
3792 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3795 <dd>The new y position</dd>
3813 <td class="msource">
3815 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3821 <tr class="method-row config-row-alt1 expandable">
3822 <td class="micon"><a class="exi" href="#expand"> </a></td>
3826 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
3827 <div class="fixedFont">
3828 <span class="attributes"></span><b class="itemname">setPosition</b>
3830 (<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>)
3837 <div class="short">Sets the left and top of the component.</div>
3843 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.
3850 <dl class="detailList">
3851 <dt class="heading">Parameters:</dt>
3854 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
3857 <dd>The new left</dd>
3860 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
3863 <dd>The new top</dd>
3881 <td class="msource">
3883 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3889 <tr class="method-row config-row-alt0 expandable">
3890 <td class="micon"><a class="exi" href="#expand"> </a></td>
3894 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
3895 <div class="fixedFont">
3896 <span class="attributes"></span><b class="itemname">setRawValue</b>
3898 (Mixed <B><i>value</i></B>)
3905 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3911 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3918 <dl class="detailList">
3919 <dt class="heading">Parameters:</dt>
3922 <span class="fixedFont">Mixed</span> <b>value</b>
3925 <dd>The value to set</dd>
3943 <td class="msource">
3945 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3951 <tr class="method-row config-row-alt1 expandable">
3952 <td class="micon"><a class="exi" href="#expand"> </a></td>
3956 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
3957 <div class="fixedFont">
3958 <span class="attributes"></span><b class="itemname">setSize</b>
3960 (<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>)
3966 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3975 <div class="short">Sets the width and height of the component.</div>
3981 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}.
3988 <dl class="detailList">
3989 <dt class="heading">Parameters:</dt>
3992 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
3995 <dd>The new width to set, or a size object in the format {width, height}</dd>
3998 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
4001 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
4009 <dl class="detailList">
4010 <dt class="heading">Returns:</dt>
4012 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
4026 <td class="msource">
4028 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4034 <tr class="method-row config-row-alt0 expandable">
4035 <td class="micon"><a class="exi" href="#expand"> </a></td>
4039 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4040 <div class="fixedFont">
4041 <span class="attributes"></span><b class="itemname">setValue</b>
4043 (Mixed <B><i>value</i></B>)
4050 <div class="short">Sets a data value into the field and validates it.</div>
4056 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4063 <dl class="detailList">
4064 <dt class="heading">Parameters:</dt>
4067 <span class="fixedFont">Mixed</span> <b>value</b>
4070 <dd>The value to set</dd>
4088 <td class="msource">
4090 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4096 <tr class="method-row config-row-alt1 expandable">
4097 <td class="micon"><a class="exi" href="#expand"> </a></td>
4101 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4102 <div class="fixedFont">
4103 <span class="attributes"></span><b class="itemname">setVisible</b>
4105 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4111 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4120 <div class="short">Convenience function to hide or show this component by boolean.</div>
4126 Convenience function to hide or show this component by boolean.
4133 <dl class="detailList">
4134 <dt class="heading">Parameters:</dt>
4137 <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>
4140 <dd>True to show, false to hide</dd>
4148 <dl class="detailList">
4149 <dt class="heading">Returns:</dt>
4151 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4165 <td class="msource">
4167 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4173 <tr class="method-row config-row-alt0 expandable">
4174 <td class="micon"><a class="exi" href="#expand"> </a></td>
4178 <a id="Roo.Component-method-show" name=".show"></a>
4179 <div class="fixedFont">
4180 <span class="attributes"></span><b class="itemname">show</b>
4188 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4197 <div class="short">Show this component.</div>
4203 Show this component.
4214 <dl class="detailList">
4215 <dt class="heading">Returns:</dt>
4217 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4231 <td class="msource">
4233 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4239 <tr class="method-row config-row-alt1 expandable">
4240 <td class="micon"><a class="exi" href="#expand"> </a></td>
4244 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4245 <div class="fixedFont">
4246 <span class="attributes"></span><b class="itemname">syncSize</b>
4255 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4261 Force the component's size to recalculate based on the underlying element's current height and width.
4282 <td class="msource">
4284 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4290 <tr class="method-row config-row-alt0 expandable">
4291 <td class="micon"><a class="exi" href="#expand"> </a></td>
4295 <a id="Roo.util.Observable-method-un" name=".un"></a>
4296 <div class="fixedFont">
4297 <span class="attributes"></span><b class="itemname">un</b>
4299 (<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>)
4306 <div class="short">Removes a listener (shorthand for removeListener)</div>
4312 Removes a listener (shorthand for removeListener)
4319 <dl class="detailList">
4320 <dt class="heading">Parameters:</dt>
4323 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4326 <dd>The type of event to listen for</dd>
4329 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4332 <dd>The handler to remove</dd>
4335 <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>
4338 <dd>(optional) The scope (this object) for the handler</dd>
4356 <td class="msource">
4358 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4364 <tr class="method-row config-row-alt1 expandable">
4365 <td class="micon"><a class="exi" href="#expand"> </a></td>
4369 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4370 <div class="fixedFont">
4371 <span class="attributes"></span><b class="itemname">updateBox</b>
4373 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4380 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4386 Sets the current box measurements of the component's underlying element.
4393 <dl class="detailList">
4394 <dt class="heading">Parameters:</dt>
4397 <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>
4400 <dd>An object in the format {x, y, width, height}</dd>
4418 <td class="msource">
4420 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4426 <tr class="method-row config-row-alt0 expandable">
4427 <td class="micon"><a class="exi" href="#expand"> </a></td>
4431 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4432 <div class="fixedFont">
4433 <span class="attributes"></span><b class="itemname">validate</b>
4441 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4450 <div class="short">Validates the field value</div>
4456 Validates the field value
4467 <dl class="detailList">
4468 <dt class="heading">Returns:</dt>
4470 <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>
4484 <td class="msource">
4486 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4492 <tr class="method-row config-row-alt1 expandable notInherited">
4493 <td class="micon"><a class="exi" href="#expand"> </a></td>
4497 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4498 <div class="fixedFont">
4499 <span class="attributes"></span><b class="itemname">validateValue</b>
4501 (Mixed <B><i>value</i></B>)
4507 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4516 <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>
4522 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4529 <dl class="detailList">
4530 <dt class="heading">Parameters:</dt>
4533 <span class="fixedFont">Mixed</span> <b>value</b>
4536 <dd>The value to validate</dd>
4544 <dl class="detailList">
4545 <dt class="heading">Returns:</dt>
4547 <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>
4561 <td class="msource">
4572 <!-- ============================== events summary / details ======================== -->
4575 <a id="Roo.form.TextField-events"></a>
4584 <table cellspacing="0" class="member-table">
4585 <caption>Events</caption>
4588 <th class="sig-header" colspan="2">Event</th>
4589 <th class="msource-header">Defined By</th>
4598 <tr class="method-row expandable config-row-alt0 notInherited">
4599 <td class="micon"><a class="exi" href="#expand"> </a></td>
4602 <a id="Roo.form.TextField-event-*autosize"></a>
4604 <div class="fixedFont">
4605 <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>)
4611 <div class="short">Fires when the autosize function is triggered.
4617 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.
4623 <dl class="detailList">
4624 <dt class="heading">Parameters:</dt>
4627 <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>
4630 <dd>This text field</dd>
4633 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4636 <dd>The new field width</dd>
4654 <td class="msource">
4659 <tr class="method-row expandable config-row-alt1">
4660 <td class="micon"><a class="exi" href="#expand"> </a></td>
4663 <a id="Roo.Component-event-*beforedestroy"></a>
4665 <div class="fixedFont">
4666 <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>)
4672 <div class="short">Fires before the component is destroyed.
4678 Fires before the component is destroyed. Return false to stop the destroy.
4684 <dl class="detailList">
4685 <dt class="heading">Parameters:</dt>
4688 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4709 <td class="msource">
4710 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4714 <tr class="method-row expandable config-row-alt0">
4715 <td class="micon"><a class="exi" href="#expand"> </a></td>
4718 <a id="Roo.Component-event-*beforehide"></a>
4720 <div class="fixedFont">
4721 <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>)
4727 <div class="short">Fires before the component is hidden.
4733 Fires before the component is hidden. Return false to stop the hide.
4739 <dl class="detailList">
4740 <dt class="heading">Parameters:</dt>
4743 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4764 <td class="msource">
4765 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4769 <tr class="method-row expandable config-row-alt1">
4770 <td class="micon"><a class="exi" href="#expand"> </a></td>
4773 <a id="Roo.Component-event-*beforerender"></a>
4775 <div class="fixedFont">
4776 <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>)
4782 <div class="short">Fires before the component is rendered.
4788 Fires before the component is rendered. Return false to stop the render.
4794 <dl class="detailList">
4795 <dt class="heading">Parameters:</dt>
4798 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4819 <td class="msource">
4820 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4824 <tr class="method-row expandable config-row-alt0">
4825 <td class="micon"><a class="exi" href="#expand"> </a></td>
4828 <a id="Roo.Component-event-*beforeshow"></a>
4830 <div class="fixedFont">
4831 <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>)
4837 <div class="short">Fires before the component is shown.
4843 Fires before the component is shown. Return false to stop the show.
4849 <dl class="detailList">
4850 <dt class="heading">Parameters:</dt>
4853 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4874 <td class="msource">
4875 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4879 <tr class="method-row expandable config-row-alt1">
4880 <td class="micon"><a class="exi" href="#expand"> </a></td>
4883 <a id="Roo.form.Field-event-*blur"></a>
4885 <div class="fixedFont">
4886 <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>)
4892 <div class="short">Fires when this field loses input focus.
4898 Fires when this field loses input focus.
4904 <dl class="detailList">
4905 <dt class="heading">Parameters:</dt>
4908 <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>
4929 <td class="msource">
4930 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4934 <tr class="method-row expandable config-row-alt0">
4935 <td class="micon"><a class="exi" href="#expand"> </a></td>
4938 <a id="Roo.form.Field-event-*change"></a>
4940 <div class="fixedFont">
4941 <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>)
4947 <div class="short">Fires just before the field blurs if the field value has changed.
4953 Fires just before the field blurs if the field value has changed.
4959 <dl class="detailList">
4960 <dt class="heading">Parameters:</dt>
4963 <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>
4969 <span class="fixedFont">Mixed</span> <b>newValue</b>
4972 <dd>The new value</dd>
4975 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4978 <dd>The original value</dd>
4996 <td class="msource">
4997 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5001 <tr class="method-row expandable config-row-alt1">
5002 <td class="micon"><a class="exi" href="#expand"> </a></td>
5005 <a id="Roo.Component-event-*destroy"></a>
5007 <div class="fixedFont">
5008 <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>)
5014 <div class="short">Fires after the component is destroyed.
5020 Fires after the component is destroyed.
5026 <dl class="detailList">
5027 <dt class="heading">Parameters:</dt>
5030 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5051 <td class="msource">
5052 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5056 <tr class="method-row expandable config-row-alt0">
5057 <td class="micon"><a class="exi" href="#expand"> </a></td>
5060 <a id="Roo.Component-event-*disable"></a>
5062 <div class="fixedFont">
5063 <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>)
5069 <div class="short">Fires after the component is disabled.
5075 Fires after the component is disabled.
5081 <dl class="detailList">
5082 <dt class="heading">Parameters:</dt>
5085 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5106 <td class="msource">
5107 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5111 <tr class="method-row expandable config-row-alt1">
5112 <td class="micon"><a class="exi" href="#expand"> </a></td>
5115 <a id="Roo.Component-event-*enable"></a>
5117 <div class="fixedFont">
5118 <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>)
5124 <div class="short">Fires after the component is enabled.
5130 Fires after the component is enabled.
5136 <dl class="detailList">
5137 <dt class="heading">Parameters:</dt>
5140 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5161 <td class="msource">
5162 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5166 <tr class="method-row expandable config-row-alt0">
5167 <td class="micon"><a class="exi" href="#expand"> </a></td>
5170 <a id="Roo.form.Field-event-*focus"></a>
5172 <div class="fixedFont">
5173 <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>)
5179 <div class="short">Fires when this field receives input focus.
5185 Fires when this field receives input focus.
5191 <dl class="detailList">
5192 <dt class="heading">Parameters:</dt>
5195 <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>
5216 <td class="msource">
5217 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5221 <tr class="method-row expandable config-row-alt1">
5222 <td class="micon"><a class="exi" href="#expand"> </a></td>
5225 <a id="Roo.Component-event-*hide"></a>
5227 <div class="fixedFont">
5228 <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>)
5234 <div class="short">Fires after the component is hidden.
5240 Fires after the component is hidden.
5246 <dl class="detailList">
5247 <dt class="heading">Parameters:</dt>
5250 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5271 <td class="msource">
5272 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5276 <tr class="method-row expandable config-row-alt0">
5277 <td class="micon"><a class="exi" href="#expand"> </a></td>
5280 <a id="Roo.form.Field-event-*invalid"></a>
5282 <div class="fixedFont">
5283 <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>)
5289 <div class="short">Fires after the field has been marked as invalid.
5295 Fires after the field has been marked as invalid.
5301 <dl class="detailList">
5302 <dt class="heading">Parameters:</dt>
5305 <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>
5311 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5314 <dd>The validation message</dd>
5332 <td class="msource">
5333 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5337 <tr class="method-row expandable config-row-alt1">
5338 <td class="micon"><a class="exi" href="#expand"> </a></td>
5341 <a id="Roo.form.Field-event-*keyup"></a>
5343 <div class="fixedFont">
5344 <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>)
5350 <div class="short">Fires after the key up
5356 Fires after the key up
5362 <dl class="detailList">
5363 <dt class="heading">Parameters:</dt>
5366 <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>
5372 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5375 <dd>The event Object</dd>
5393 <td class="msource">
5394 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5398 <tr class="method-row expandable config-row-alt0">
5399 <td class="micon"><a class="exi" href="#expand"> </a></td>
5402 <a id="Roo.BoxComponent-event-*move"></a>
5404 <div class="fixedFont">
5405 <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>)
5411 <div class="short">Fires after the component is moved.
5417 Fires after the component is moved.
5423 <dl class="detailList">
5424 <dt class="heading">Parameters:</dt>
5427 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5433 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5436 <dd>The new x position</dd>
5439 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5442 <dd>The new y position</dd>
5460 <td class="msource">
5461 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5465 <tr class="method-row expandable config-row-alt1">
5466 <td class="micon"><a class="exi" href="#expand"> </a></td>
5469 <a id="Roo.Component-event-*render"></a>
5471 <div class="fixedFont">
5472 <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>)
5478 <div class="short">Fires after the component is rendered.
5484 Fires after the component is rendered.
5490 <dl class="detailList">
5491 <dt class="heading">Parameters:</dt>
5494 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5515 <td class="msource">
5516 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5520 <tr class="method-row expandable config-row-alt0">
5521 <td class="micon"><a class="exi" href="#expand"> </a></td>
5524 <a id="Roo.BoxComponent-event-*resize"></a>
5526 <div class="fixedFont">
5527 <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>)
5533 <div class="short">Fires after the component is resized.
5539 Fires after the component is resized.
5545 <dl class="detailList">
5546 <dt class="heading">Parameters:</dt>
5549 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5555 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5558 <dd>The box-adjusted width that was set</dd>
5561 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5564 <dd>The box-adjusted height that was set</dd>
5567 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5570 <dd>The width that was originally specified</dd>
5573 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5576 <dd>The height that was originally specified</dd>
5594 <td class="msource">
5595 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5599 <tr class="method-row expandable config-row-alt1">
5600 <td class="micon"><a class="exi" href="#expand"> </a></td>
5603 <a id="Roo.Component-event-*show"></a>
5605 <div class="fixedFont">
5606 <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>)
5612 <div class="short">Fires after the component is shown.
5618 Fires after the component is shown.
5624 <dl class="detailList">
5625 <dt class="heading">Parameters:</dt>
5628 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5649 <td class="msource">
5650 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5654 <tr class="method-row expandable config-row-alt0">
5655 <td class="micon"><a class="exi" href="#expand"> </a></td>
5658 <a id="Roo.form.Field-event-*specialkey"></a>
5660 <div class="fixedFont">
5661 <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>)
5667 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5673 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.
5679 <dl class="detailList">
5680 <dt class="heading">Parameters:</dt>
5683 <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>
5689 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5692 <dd>The event object</dd>
5710 <td class="msource">
5711 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5715 <tr class="method-row expandable config-row-alt1">
5716 <td class="micon"><a class="exi" href="#expand"> </a></td>
5719 <a id="Roo.form.Field-event-*valid"></a>
5721 <div class="fixedFont">
5722 <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>)
5728 <div class="short">Fires after the field has been validated with no errors.
5734 Fires after the field has been validated with no errors.
5740 <dl class="detailList">
5741 <dt class="heading">Parameters:</dt>
5744 <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>
5765 <td class="msource">
5766 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5777 <!-- ============================== footer ================================= -->
5778 <div class="fineprint" style="clear:both">
5780 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Dec 16 2011 12:06:07 GMT+0800 (HKT)
5782 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>