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.Hidden</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.Hidden-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.Hidden-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.Hidden-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.Hidden-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
51 <img src="../../images/default/s.gif" height="1" width="100"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.Hidden
56 <!-- ============================== class title / details ============================ -->
59 <h1 class="classTitle">
64 <table cellspacing="0" class="class-summary-table">
66 <tr><td class="label">Package:</td><td class="hd-info">Roo.form</td></tr>
68 <tr><td class="label">Defined In:</td><td class="hd-info">
70 <a href="./src/Roo_form_Hidden.js.html">Roo/form/Hidden.js</a>.
73 <tr><td class="label">Class:</td><td class="hd-info">Hidden</td></tr>
78 <tr><td class="label">Extends:</td><td class="hd-info">
79 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
87 <!-- ============================== class summary ========================== -->
88 <div class="description">
89 Simple Hidden element used on forms <br/><br/>usage: form.add(new Roo.form.HiddenField({ 'name' : 'test1' }));
93 <!-- ============================== Class comment block... ========================== -->
95 <div class="comments">
96 <b>Class Comments / Notes</B> =>
97 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.Hidden';">[Add Your comment/notes about this class]</u>
99 <iframe frameborder="0" id="comments-Roo.form" style="border: none;width:100%;"
100 src="/blog.php/GtkDjsComments/Roo.form.Hidden.html"></iframe>
105 <!-- ============================== config options ========================== -->
110 <div class="hr"></div>
111 <a id="Roo.form.Hidden-configs"></a>
117 <table cellspacing="0" class="member-table">
118 <caption>Config Options (Usually are also Properties)</caption>
122 <th class="sig-header" colspan="2">Options</th>
124 <th class="msource-header">Defined By</th>
131 <tr class="config-row expandable config-row-alt0">
132 <td class="micon"><a class="exi" href="#expand"> </a></td>
135 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
136 <div class="fixedFont">
137 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
143 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
147 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
155 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
161 <tr class="config-row expandable config-row-alt1">
162 <td class="micon"><a class="exi" href="#expand"> </a></td>
165 <a id="Roo.form.TextField-cfg-allowBlank" name=".allowBlank"></a>
166 <div class="fixedFont">
167 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
173 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
177 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
185 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
191 <tr class="config-row expandable config-row-alt0">
192 <td class="micon"><a class="exi" href="#expand"> </a></td>
195 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
196 <div class="fixedFont">
197 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
203 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
207 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
215 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
221 <tr class="config-row expandable config-row-alt1">
222 <td class="micon"><a class="exi" href="#expand"> </a></td>
225 <a id="Roo.form.Field-cfg-autoCreate" name=".autoCreate"></a>
226 <div class="fixedFont">
227 <b class="itemname">autoCreate</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object
233 <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>
237 <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>
245 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
251 <tr class="config-row expandable config-row-alt0">
252 <td class="micon"><a class="exi" href="#expand"> </a></td>
255 <a id="Roo.form.TextField-cfg-blankText" name=".blankText"></a>
256 <div class="fixedFont">
257 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
263 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
267 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
275 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
281 <tr class="config-row expandable config-row-alt1">
282 <td class="micon"><a class="exi" href="#expand"> </a></td>
285 <a id="Roo.form.Field-cfg-cls" name=".cls"></a>
286 <div class="fixedFont">
287 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
293 <div class="short">A CSS class to apply to the field's underlying element.</div>
297 <div class="long">A CSS class to apply to the field's underlying element.</div>
305 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
311 <tr class="config-row expandable config-row-alt0">
312 <td class="micon"><a class="exi" href="#expand"> </a></td>
315 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
316 <div class="fixedFont">
317 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
323 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
327 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
335 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
341 <tr class="config-row expandable config-row-alt1">
342 <td class="micon"><a class="exi" href="#expand"> </a></td>
345 <a id="Roo.form.TextField-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
346 <div class="fixedFont">
347 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
353 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
357 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
365 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
371 <tr class="config-row expandable config-row-alt0">
372 <td class="micon"><a class="exi" href="#expand"> </a></td>
375 <a id="Roo.form.Field-cfg-disabled" name=".disabled"></a>
376 <div class="fixedFont">
377 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
383 <div class="short">True to disable the field (defaults to false).</div>
387 <div class="long">True to disable the field (defaults to false).</div>
395 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
401 <tr class="config-row expandable config-row-alt1">
402 <td class="micon"><a class="exi" href="#expand"> </a></td>
405 <a id="Roo.form.TextField-cfg-emptyText" name=".emptyText"></a>
406 <div class="fixedFont">
407 <b class="itemname">emptyText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
413 <div class="short">The default text to display in an empty field - placeholder.</div>
417 <div class="long">The default text to display in an empty field - placeholder... (defaults to null).</div>
425 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
431 <tr class="config-row expandable config-row-alt0">
432 <td class="micon"><a class="exi" href="#expand"> </a></td>
435 <a id="Roo.form.Field-cfg-fieldClass" name=".fieldClass"></a>
436 <div class="fixedFont">
437 <b class="itemname">fieldClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
443 <div class="short">The default CSS class for the field (defaults to "x-form-field")</div>
447 <div class="long">The default CSS class for the field (defaults to "x-form-field")</div>
455 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
461 <tr class="config-row expandable config-row-alt1">
462 <td class="micon"><a class="exi" href="#expand"> </a></td>
465 <a id="Roo.form.Field-cfg-fieldLabel" name=".fieldLabel"></a>
466 <div class="fixedFont">
467 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
473 <div class="short">Label to use when rendering a form.</div>
477 <div class="long">Label to use when rendering a form.</div>
485 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
491 <tr class="config-row expandable config-row-alt0">
492 <td class="micon"><a class="exi" href="#expand"> </a></td>
495 <a id="Roo.form.Field-cfg-focusClass" name=".focusClass"></a>
496 <div class="fixedFont">
497 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
503 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
507 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
515 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
521 <tr class="config-row expandable config-row-alt1">
522 <td class="micon"><a class="exi" href="#expand"> </a></td>
525 <a id="Roo.form.TextField-cfg-grow" name=".grow"></a>
526 <div class="fixedFont">
527 <b class="itemname">grow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
533 <div class="short">True if this field should automatically grow and shrink to its content</div>
537 <div class="long">True if this field should automatically grow and shrink to its content</div>
545 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
551 <tr class="config-row expandable config-row-alt0">
552 <td class="micon"><a class="exi" href="#expand"> </a></td>
555 <a id="Roo.form.TextField-cfg-growMax" name=".growMax"></a>
556 <div class="fixedFont">
557 <b class="itemname">growMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
563 <div class="short">The maximum width to allow when grow = true (defaults to 800)</div>
567 <div class="long">The maximum width to allow when grow = true (defaults to 800)</div>
575 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
581 <tr class="config-row expandable config-row-alt1">
582 <td class="micon"><a class="exi" href="#expand"> </a></td>
585 <a id="Roo.form.TextField-cfg-growMin" name=".growMin"></a>
586 <div class="fixedFont">
587 <b class="itemname">growMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
593 <div class="short">The minimum width to allow when grow = true (defaults to 30)</div>
597 <div class="long">The minimum width to allow when grow = true (defaults to 30)</div>
605 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
611 <tr class="config-row expandable config-row-alt0">
612 <td class="micon"><a class="exi" href="#expand"> </a></td>
615 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
616 <div class="fixedFont">
617 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
623 <div class="short">height (optional) size of component</div>
627 <div class="long">height (optional) size of component</div>
635 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
641 <tr class="config-row expandable config-row-alt1">
642 <td class="micon"><a class="exi" href="#expand"> </a></td>
645 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
646 <div class="fixedFont">
647 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
653 <div class="short">How this component should hidden.</div>
657 <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>
665 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
671 <tr class="config-row expandable config-row-alt0">
672 <td class="micon"><a class="exi" href="#expand"> </a></td>
675 <a id="Roo.form.Field-cfg-inputType" name=".inputType"></a>
676 <div class="fixedFont">
677 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
683 <div class="short">The type attribute for input fields -- e.g.</div>
687 <div class="long">The type attribute for input fields -- e.g. radio, text, password (defaults to "text").</div>
695 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
701 <tr class="config-row expandable config-row-alt1">
702 <td class="micon"><a class="exi" href="#expand"> </a></td>
705 <a id="Roo.form.Field-cfg-invalidClass" name=".invalidClass"></a>
706 <div class="fixedFont">
707 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
713 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
717 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
725 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
731 <tr class="config-row expandable config-row-alt0">
732 <td class="micon"><a class="exi" href="#expand"> </a></td>
735 <a id="Roo.form.Field-cfg-invalidText" name=".invalidText"></a>
736 <div class="fixedFont">
737 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
743 <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>
747 <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>
755 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
761 <tr class="config-row expandable config-row-alt1">
762 <td class="micon"><a class="exi" href="#expand"> </a></td>
765 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
766 <div class="fixedFont">
767 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
773 <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>
777 <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>
785 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
791 <tr class="config-row expandable config-row-alt0">
792 <td class="micon"><a class="exi" href="#expand"> </a></td>
795 <a id="Roo.form.TextField-cfg-maskRe" name=".maskRe"></a>
796 <div class="fixedFont">
797 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
803 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
807 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
815 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
821 <tr class="config-row expandable config-row-alt1">
822 <td class="micon"><a class="exi" href="#expand"> </a></td>
825 <a id="Roo.form.TextField-cfg-maxLength" name=".maxLength"></a>
826 <div class="fixedFont">
827 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
833 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
837 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
845 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
851 <tr class="config-row expandable config-row-alt0">
852 <td class="micon"><a class="exi" href="#expand"> </a></td>
855 <a id="Roo.form.TextField-cfg-maxLengthText" name=".maxLengthText"></a>
856 <div class="fixedFont">
857 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
863 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
867 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
875 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
881 <tr class="config-row expandable config-row-alt1">
882 <td class="micon"><a class="exi" href="#expand"> </a></td>
885 <a id="Roo.form.TextField-cfg-minLength" name=".minLength"></a>
886 <div class="fixedFont">
887 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
893 <div class="short">Minimum input field length required (defaults to 0)</div>
897 <div class="long">Minimum input field length required (defaults to 0)</div>
905 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
911 <tr class="config-row expandable config-row-alt0">
912 <td class="micon"><a class="exi" href="#expand"> </a></td>
915 <a id="Roo.form.TextField-cfg-minLengthText" name=".minLengthText"></a>
916 <div class="fixedFont">
917 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
923 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
927 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
935 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
941 <tr class="config-row expandable config-row-alt1">
942 <td class="micon"><a class="exi" href="#expand"> </a></td>
945 <a id="Roo.form.Field-cfg-msgFx" name=".msgFx"></a>
946 <div class="fixedFont">
947 <b class="itemname">msgFx</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
953 <div class="short"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
957 <div class="long"><b>Experimental</b> The effect used when displaying a validation message under the field (defaults to 'normal').</div>
965 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
971 <tr class="config-row expandable config-row-alt0">
972 <td class="micon"><a class="exi" href="#expand"> </a></td>
975 <a id="Roo.form.Field-cfg-msgTarget" name=".msgTarget"></a>
976 <div class="fixedFont">
977 <b class="itemname">msgTarget</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
983 <div class="short">The location where error text should display.</div>
987 <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>
995 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1001 <tr class="config-row expandable config-row-alt1">
1002 <td class="micon"><a class="exi" href="#expand"> </a></td>
1005 <a id="Roo.form.Field-cfg-name" name=".name"></a>
1006 <div class="fixedFont">
1007 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1013 <div class="short">The field's HTML name attribute.</div>
1017 <div class="long">The field's HTML name attribute.</div>
1023 <td class="msource">
1025 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1031 <tr class="config-row expandable config-row-alt0">
1032 <td class="micon"><a class="exi" href="#expand"> </a></td>
1035 <a id="Roo.form.Field-cfg-qtip" name=".qtip"></a>
1036 <div class="fixedFont">
1037 <b class="itemname">qtip</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1043 <div class="short">Mouse over tip</div>
1047 <div class="long">Mouse over tip</div>
1053 <td class="msource">
1055 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1061 <tr class="config-row expandable config-row-alt1">
1062 <td class="micon"><a class="exi" href="#expand"> </a></td>
1065 <a id="Roo.form.Field-cfg-readOnly" name=".readOnly"></a>
1066 <div class="fixedFont">
1067 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1073 <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>
1077 <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>
1083 <td class="msource">
1085 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1091 <tr class="config-row expandable config-row-alt0">
1092 <td class="micon"><a class="exi" href="#expand"> </a></td>
1095 <a id="Roo.form.TextField-cfg-regex" name=".regex"></a>
1096 <div class="fixedFont">
1097 <b class="itemname">regex</b> : RegExp
1103 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1107 <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>
1113 <td class="msource">
1115 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1121 <tr class="config-row expandable config-row-alt1">
1122 <td class="micon"><a class="exi" href="#expand"> </a></td>
1125 <a id="Roo.form.TextField-cfg-regexText" name=".regexText"></a>
1126 <div class="fixedFont">
1127 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1133 <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>
1137 <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>
1143 <td class="msource">
1145 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1151 <tr class="config-row expandable config-row-alt0">
1152 <td class="micon"><a class="exi" href="#expand"> </a></td>
1155 <a id="Roo.form.TextField-cfg-selectOnFocus" name=".selectOnFocus"></a>
1156 <div class="fixedFont">
1157 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1163 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1167 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1173 <td class="msource">
1175 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1181 <tr class="config-row expandable config-row-alt1">
1182 <td class="micon"><a class="exi" href="#expand"> </a></td>
1185 <a id="Roo.form.Field-cfg-tabIndex" name=".tabIndex"></a>
1186 <div class="fixedFont">
1187 <b class="itemname">tabIndex</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1193 <div class="short">The tabIndex for this field.</div>
1197 <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>
1203 <td class="msource">
1205 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1211 <tr class="config-row expandable config-row-alt0">
1212 <td class="micon"><a class="exi" href="#expand"> </a></td>
1215 <a id="Roo.form.Field-cfg-validateOnBlur" name=".validateOnBlur"></a>
1216 <div class="fixedFont">
1217 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1223 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1227 <div class="long">Whether the field should validate when it loses focus (defaults to true).</div>
1233 <td class="msource">
1235 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1241 <tr class="config-row expandable config-row-alt1">
1242 <td class="micon"><a class="exi" href="#expand"> </a></td>
1245 <a id="Roo.form.Field-cfg-validationDelay" name=".validationDelay"></a>
1246 <div class="fixedFont">
1247 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1253 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1257 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1263 <td class="msource">
1265 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1271 <tr class="config-row expandable config-row-alt0">
1272 <td class="micon"><a class="exi" href="#expand"> </a></td>
1275 <a id="Roo.form.Field-cfg-validationEvent" name=".validationEvent"></a>
1276 <div class="fixedFont">
1277 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1283 <div class="short">The event that should initiate field validation.</div>
1287 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1293 <td class="msource">
1295 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1301 <tr class="config-row expandable config-row-alt1">
1302 <td class="micon"><a class="exi" href="#expand"> </a></td>
1305 <a id="Roo.form.TextField-cfg-validator" name=".validator"></a>
1306 <div class="fixedFont">
1307 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1313 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1317 <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>
1323 <td class="msource">
1325 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1331 <tr class="config-row expandable config-row-alt0">
1332 <td class="micon"><a class="exi" href="#expand"> </a></td>
1335 <a id="Roo.form.Field-cfg-value" name=".value"></a>
1336 <div class="fixedFont">
1337 <b class="itemname">value</b> : Mixed
1343 <div class="short">A value to initialize this field with.</div>
1347 <div class="long">A value to initialize this field with.</div>
1353 <td class="msource">
1355 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1361 <tr class="config-row expandable config-row-alt1">
1362 <td class="micon"><a class="exi" href="#expand"> </a></td>
1365 <a id="Roo.form.TextField-cfg-vtype" name=".vtype"></a>
1366 <div class="fixedFont">
1367 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1373 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1377 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1383 <td class="msource">
1385 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1391 <tr class="config-row expandable config-row-alt0">
1392 <td class="micon"><a class="exi" href="#expand"> </a></td>
1395 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
1396 <div class="fixedFont">
1397 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1403 <div class="short">width (optional) size of component</div>
1407 <div class="long">width (optional) size of component</div>
1413 <td class="msource">
1415 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1431 <!-- ============================== public properties ==================== -->
1435 <a id="Roo.form.Hidden-props"></a>
1441 <table cellspacing="0" class="member-table">
1442 <caption class="Empty">Public Properties - Has None</caption>
1448 <!-- ============================== methods summary / details ======================== -->
1451 <a id="Roo.form.Hidden-methods"></a>
1452 <!-- constructor?? -->
1459 <!-- then dynamics first -->
1466 <table cellspacing="0" class="member-table">
1467 <caption>Public Methods</caption>
1469 <th class="sig-header" colspan="2">Method</th>
1470 <th class="msource-header">Defined By</th>
1480 <tr class="method-row config-row-alt0 expandable notInherited">
1481 <td class="micon"><a class="exi" href="#expand"> </a></td>
1485 <a id="Roo.form-method-Hidden" name=".Hidden"></a>
1486 <div class="fixedFont">
1487 <span class="attributes">new <B>Roo.form.</B></span><b class="itemname">Hidden</b>
1489 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1497 <div class="short">Create a new Roo.form.Hidden</div>
1504 Create a new Roo.form.Hidden
1507 <dl class="detailList">
1508 <dt class="heading">Parameters:</dt>
1511 <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>
1514 <dd>Configuration options</dd>
1532 <td class="msource">
1538 <tr class="method-row config-row-alt1 expandable">
1539 <td class="micon"><a class="exi" href="#expand"> </a></td>
1543 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1544 <div class="fixedFont">
1545 <span class="attributes"></span><b class="itemname">addEvents</b>
1547 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1554 <div class="short">Used to define events on this Observable</div>
1560 Used to define events on this Observable
1567 <dl class="detailList">
1568 <dt class="heading">Parameters:</dt>
1571 <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>
1574 <dd>The object with the events defined</dd>
1592 <td class="msource">
1594 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1600 <tr class="method-row config-row-alt0 expandable">
1601 <td class="micon"><a class="exi" href="#expand"> </a></td>
1605 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1606 <div class="fixedFont">
1607 <span class="attributes"></span><b class="itemname">addListener</b>
1609 (<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>)
1616 <div class="short">Appends an event handler to this component</div>
1622 Appends an event handler to this component
1629 <dl class="detailList">
1630 <dt class="heading">Parameters:</dt>
1633 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1636 <dd>The type of event to listen for</dd>
1639 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1642 <dd>The method the event invokes</dd>
1645 <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>
1648 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1651 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1654 <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>
1672 <td class="msource">
1674 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1680 <tr class="method-row config-row-alt1 expandable">
1681 <td class="micon"><a class="exi" href="#expand"> </a></td>
1685 <a id="Roo.form.Field-method-applyTo" name=".applyTo"></a>
1686 <div class="fixedFont">
1687 <span class="attributes"></span><b class="itemname">applyTo</b>
1689 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
1695 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1704 <div class="short">Apply the behaviors of this component to an existing element.</div>
1710 Apply the behaviors of this component to an existing element. <b>This is used instead of render().</b>
1717 <dl class="detailList">
1718 <dt class="heading">Parameters:</dt>
1721 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
1724 <dd>The id of the node, a DOM node or an existing Element</dd>
1732 <dl class="detailList">
1733 <dt class="heading">Returns:</dt>
1735 <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>
1749 <td class="msource">
1751 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1757 <tr class="method-row config-row-alt0 expandable">
1758 <td class="micon"><a class="exi" href="#expand"> </a></td>
1762 <a id="Roo.form.TextField-method-autoSize" name=".autoSize"></a>
1763 <div class="fixedFont">
1764 <span class="attributes"></span><b class="itemname">autoSize</b>
1773 <div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.</div>
1779 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.
1800 <td class="msource">
1802 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
1808 <tr class="method-row config-row-alt1 expandable">
1809 <td class="micon"><a class="exi" href="#expand"> </a></td>
1813 <a id="Roo.form.Field-method-clearInvalid" name=".clearInvalid"></a>
1814 <div class="fixedFont">
1815 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1824 <div class="short">Clear any invalid styles/messages for this field</div>
1830 Clear any invalid styles/messages for this field
1851 <td class="msource">
1853 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
1859 <tr class="method-row config-row-alt0 expandable">
1860 <td class="micon"><a class="exi" href="#expand"> </a></td>
1864 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1865 <div class="fixedFont">
1866 <span class="attributes"></span><b class="itemname">destroy</b>
1875 <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>
1881 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}.
1902 <td class="msource">
1904 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1910 <tr class="method-row config-row-alt1 expandable">
1911 <td class="micon"><a class="exi" href="#expand"> </a></td>
1915 <a id="Roo.Component-method-disable" name=".disable"></a>
1916 <div class="fixedFont">
1917 <span class="attributes"></span><b class="itemname">disable</b>
1925 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1934 <div class="short">Disable this component.</div>
1940 Disable this component.
1951 <dl class="detailList">
1952 <dt class="heading">Returns:</dt>
1954 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1968 <td class="msource">
1970 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1976 <tr class="method-row config-row-alt0 expandable">
1977 <td class="micon"><a class="exi" href="#expand"> </a></td>
1981 <a id="Roo.Component-method-enable" name=".enable"></a>
1982 <div class="fixedFont">
1983 <span class="attributes"></span><b class="itemname">enable</b>
1991 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2000 <div class="short">Enable this component.</div>
2006 Enable this component.
2017 <dl class="detailList">
2018 <dt class="heading">Returns:</dt>
2020 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2034 <td class="msource">
2036 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2042 <tr class="method-row config-row-alt1 expandable">
2043 <td class="micon"><a class="exi" href="#expand"> </a></td>
2047 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2048 <div class="fixedFont">
2049 <span class="attributes"></span><b class="itemname">fireEvent</b>
2051 (<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>)
2057 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2066 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2072 Fires the specified event with the passed parameters (minus the event name).
2079 <dl class="detailList">
2080 <dt class="heading">Parameters:</dt>
2083 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2089 <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>
2092 <dd>Variable number of parameters are passed to handlers</dd>
2100 <dl class="detailList">
2101 <dt class="heading">Returns:</dt>
2103 <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>
2117 <td class="msource">
2119 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2125 <tr class="method-row config-row-alt0 expandable">
2126 <td class="micon"><a class="exi" href="#expand"> </a></td>
2130 <a id="Roo.Component-method-focus" name=".focus"></a>
2131 <div class="fixedFont">
2132 <span class="attributes"></span><b class="itemname">focus</b>
2134 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2140 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2149 <div class="short">Try to focus this component.</div>
2155 Try to focus this component.
2162 <dl class="detailList">
2163 <dt class="heading">Parameters:</dt>
2166 <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>
2169 <dd>True to also select the text in this component (if applicable)</dd>
2177 <dl class="detailList">
2178 <dt class="heading">Returns:</dt>
2180 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2194 <td class="msource">
2196 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2202 <tr class="method-row config-row-alt1 expandable">
2203 <td class="micon"><a class="exi" href="#expand"> </a></td>
2207 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
2208 <div class="fixedFont">
2209 <span class="attributes"></span><b class="itemname">getBox</b>
2211 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2218 <div class="short">Gets the current box measurements of the component's underlying element.</div>
2224 Gets the current box measurements of the component's underlying element.
2231 <dl class="detailList">
2232 <dt class="heading">Parameters:</dt>
2235 <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>
2238 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2256 <td class="msource">
2258 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2264 <tr class="method-row config-row-alt0 expandable">
2265 <td class="micon"><a class="exi" href="#expand"> </a></td>
2269 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2270 <div class="fixedFont">
2271 <span class="attributes"></span><b class="itemname">getEl</b>
2279 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2288 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2294 Returns the underlying {<b>link</b> Roo.Element}.
2305 <dl class="detailList">
2306 <dt class="heading">Returns:</dt>
2308 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2322 <td class="msource">
2324 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2330 <tr class="method-row config-row-alt1 expandable">
2331 <td class="micon"><a class="exi" href="#expand"> </a></td>
2335 <a id="Roo.Component-method-getId" name=".getId"></a>
2336 <div class="fixedFont">
2337 <span class="attributes"></span><b class="itemname">getId</b>
2345 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2354 <div class="short">Returns the id of this component.</div>
2360 Returns the id of this component.
2371 <dl class="detailList">
2372 <dt class="heading">Returns:</dt>
2374 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2388 <td class="msource">
2390 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2396 <tr class="method-row config-row-alt0 expandable">
2397 <td class="micon"><a class="exi" href="#expand"> </a></td>
2401 <a id="Roo.form.Field-method-getName" name=".getName"></a>
2402 <div class="fixedFont">
2403 <span class="attributes"></span><b class="itemname">getName</b>
2411 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2420 <div class="short">Returns the name attribute of the field if available</div>
2426 Returns the name attribute of the field if available
2437 <dl class="detailList">
2438 <dt class="heading">Returns:</dt>
2440 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> name The field name</dd>
2454 <td class="msource">
2456 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2462 <tr class="method-row config-row-alt1 expandable">
2463 <td class="micon"><a class="exi" href="#expand"> </a></td>
2467 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
2468 <div class="fixedFont">
2469 <span class="attributes"></span><b class="itemname">getPosition</b>
2471 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
2477 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
2486 <div class="short">Gets the current XY position of the component's underlying element.</div>
2492 Gets the current XY position of the component's underlying element.
2499 <dl class="detailList">
2500 <dt class="heading">Parameters:</dt>
2503 <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>
2506 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
2514 <dl class="detailList">
2515 <dt class="heading">Returns:</dt>
2517 <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>
2531 <td class="msource">
2533 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2539 <tr class="method-row config-row-alt0 expandable">
2540 <td class="micon"><a class="exi" href="#expand"> </a></td>
2544 <a id="Roo.form.Field-method-getRawValue" name=".getRawValue"></a>
2545 <div class="fixedFont">
2546 <span class="attributes"></span><b class="itemname">getRawValue</b>
2563 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2569 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>}.
2580 <dl class="detailList">
2581 <dt class="heading">Returns:</dt>
2583 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2597 <td class="msource">
2599 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2605 <tr class="method-row config-row-alt1 expandable">
2606 <td class="micon"><a class="exi" href="#expand"> </a></td>
2610 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
2611 <div class="fixedFont">
2612 <span class="attributes"></span><b class="itemname">getSize</b>
2620 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2629 <div class="short">Gets the current size of the component's underlying element.</div>
2635 Gets the current size of the component's underlying element.
2646 <dl class="detailList">
2647 <dt class="heading">Returns:</dt>
2649 <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>
2663 <td class="msource">
2665 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2671 <tr class="method-row config-row-alt0 expandable">
2672 <td class="micon"><a class="exi" href="#expand"> </a></td>
2676 <a id="Roo.form.Field-method-getValue" name=".getValue"></a>
2677 <div class="fixedFont">
2678 <span class="attributes"></span><b class="itemname">getValue</b>
2695 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2701 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2712 <dl class="detailList">
2713 <dt class="heading">Returns:</dt>
2715 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2729 <td class="msource">
2731 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2737 <tr class="method-row config-row-alt1 expandable">
2738 <td class="micon"><a class="exi" href="#expand"> </a></td>
2742 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2743 <div class="fixedFont">
2744 <span class="attributes"></span><b class="itemname">hasListener</b>
2746 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2752 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2761 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2767 Checks to see if this object has any listeners for a specified event
2774 <dl class="detailList">
2775 <dt class="heading">Parameters:</dt>
2778 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2781 <dd>The name of the event to check for</dd>
2789 <dl class="detailList">
2790 <dt class="heading">Returns:</dt>
2792 <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>
2806 <td class="msource">
2808 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2814 <tr class="method-row config-row-alt0 expandable">
2815 <td class="micon"><a class="exi" href="#expand"> </a></td>
2819 <a id="Roo.Component-method-hide" name=".hide"></a>
2820 <div class="fixedFont">
2821 <span class="attributes"></span><b class="itemname">hide</b>
2829 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2838 <div class="short">Hide this component.</div>
2844 Hide this component.
2855 <dl class="detailList">
2856 <dt class="heading">Returns:</dt>
2858 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2872 <td class="msource">
2874 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2880 <tr class="method-row config-row-alt1 expandable">
2881 <td class="micon"><a class="exi" href="#expand"> </a></td>
2885 <a id="Roo.form.Field-method-isDirty" name=".isDirty"></a>
2886 <div class="fixedFont">
2887 <span class="attributes"></span><b class="itemname">isDirty</b>
2896 <div class="short">Returns true if this field has been changed since it was originally loaded and is not disabled.</div>
2902 Returns true if this field has been changed since it was originally loaded and is not disabled.
2923 <td class="msource">
2925 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
2931 <tr class="method-row config-row-alt0 expandable">
2932 <td class="micon"><a class="exi" href="#expand"> </a></td>
2936 <a id="Roo.form.Field-method-isValid" name=".isValid"></a>
2937 <div class="fixedFont">
2938 <span class="attributes"></span><b class="itemname">isValid</b>
2940 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>preventMark</i></B>)
2946 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2955 <div class="short">Returns whether or not the field value is currently valid</div>
2961 Returns whether or not the field value is currently valid
2968 <dl class="detailList">
2969 <dt class="heading">Parameters:</dt>
2972 <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>
2975 <dd>True to disable marking the field invalid</dd>
2983 <dl class="detailList">
2984 <dt class="heading">Returns:</dt>
2986 <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>
3000 <td class="msource">
3002 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3008 <tr class="method-row config-row-alt1 expandable">
3009 <td class="micon"><a class="exi" href="#expand"> </a></td>
3013 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3014 <div class="fixedFont">
3015 <span class="attributes"></span><b class="itemname">isVisible</b>
3024 <div class="short">Returns true if this component is visible.</div>
3030 Returns true if this component is visible.
3051 <td class="msource">
3053 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3059 <tr class="method-row config-row-alt0 expandable">
3060 <td class="micon"><a class="exi" href="#expand"> </a></td>
3064 <a id="Roo.form.Field-method-markInvalid" name=".markInvalid"></a>
3065 <div class="fixedFont">
3066 <span class="attributes"></span><b class="itemname">markInvalid</b>
3068 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3075 <div class="short">Mark this field as invalid</div>
3081 Mark this field as invalid
3088 <dl class="detailList">
3089 <dt class="heading">Parameters:</dt>
3092 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3095 <dd>The validation message</dd>
3113 <td class="msource">
3115 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3121 <tr class="method-row config-row-alt1 expandable">
3122 <td class="micon"><a class="exi" href="#expand"> </a></td>
3126 <a id="Roo.util.Observable-method-on" name=".on"></a>
3127 <div class="fixedFont">
3128 <span class="attributes"></span><b class="itemname">on</b>
3130 (<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>)
3137 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3143 Appends an event handler to this element (shorthand for addListener)
3150 <dl class="detailList">
3151 <dt class="heading">Parameters:</dt>
3154 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3157 <dd>The type of event to listen for</dd>
3160 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3163 <dd>The method the event invokes</dd>
3166 <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>
3169 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3172 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
3193 <td class="msource">
3195 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3201 <tr class="method-row config-row-alt0 expandable">
3202 <td class="micon"><a class="exi" href="#expand"> </a></td>
3206 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
3207 <div class="fixedFont">
3208 <span class="attributes"></span><b class="itemname">onPosition</b>
3210 (<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>)
3217 <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>
3223 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.
3230 <dl class="detailList">
3231 <dt class="heading">Parameters:</dt>
3234 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3237 <dd>The new x position</dd>
3240 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3243 <dd>The new y position</dd>
3261 <td class="msource">
3263 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3269 <tr class="method-row config-row-alt1 expandable">
3270 <td class="micon"><a class="exi" href="#expand"> </a></td>
3274 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
3275 <div class="fixedFont">
3276 <span class="attributes"></span><b class="itemname">onResize</b>
3278 (<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>)
3285 <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>
3291 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.
3298 <dl class="detailList">
3299 <dt class="heading">Parameters:</dt>
3302 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3305 <dd>The box-adjusted width that was set</dd>
3308 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3311 <dd>The box-adjusted height that was set</dd>
3314 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3317 <dd>The width that was originally specified</dd>
3320 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3323 <dd>The height that was originally specified</dd>
3341 <td class="msource">
3343 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3349 <tr class="method-row config-row-alt0 expandable">
3350 <td class="micon"><a class="exi" href="#expand"> </a></td>
3354 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3355 <div class="fixedFont">
3356 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3365 <div class="short">Removes all listeners for this object</div>
3371 Removes all listeners for this object
3392 <td class="msource">
3394 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3400 <tr class="method-row config-row-alt1 expandable">
3401 <td class="micon"><a class="exi" href="#expand"> </a></td>
3405 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3406 <div class="fixedFont">
3407 <span class="attributes"></span><b class="itemname">removeListener</b>
3409 (<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>)
3416 <div class="short">Removes a listener</div>
3429 <dl class="detailList">
3430 <dt class="heading">Parameters:</dt>
3433 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3436 <dd>The type of event to listen for</dd>
3439 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3442 <dd>The handler to remove</dd>
3445 <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>
3448 <dd>(optional) The scope (this object) for the handler</dd>
3466 <td class="msource">
3468 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3474 <tr class="method-row config-row-alt0 expandable">
3475 <td class="micon"><a class="exi" href="#expand"> </a></td>
3479 <a id="Roo.Component-method-render" name=".render"></a>
3480 <div class="fixedFont">
3481 <span class="attributes"></span><b class="itemname">render</b>
3483 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3490 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3496 If this is a lazy rendering component, render it to its container element.
3503 <dl class="detailList">
3504 <dt class="heading">Parameters:</dt>
3507 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3510 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3528 <td class="msource">
3530 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3536 <tr class="method-row config-row-alt1 expandable">
3537 <td class="micon"><a class="exi" href="#expand"> </a></td>
3541 <a id="Roo.form.TextField-method-reset" name=".reset"></a>
3542 <div class="fixedFont">
3543 <span class="attributes"></span><b class="itemname">reset</b>
3552 <div class="short">Resets the current field value to the originally-loaded value and clears any validation messages.</div>
3558 Resets the current field value to the originally-loaded value and clears any validation messages.
3579 <td class="msource">
3581 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3587 <tr class="method-row config-row-alt0 expandable">
3588 <td class="micon"><a class="exi" href="#expand"> </a></td>
3592 <a id="Roo.form.TextField-method-selectText" name=".selectText"></a>
3593 <div class="fixedFont">
3594 <span class="attributes"></span><b class="itemname">selectText</b>
3596 (<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>)
3603 <div class="short">Selects text in this field</div>
3609 Selects text in this field
3616 <dl class="detailList">
3617 <dt class="heading">Parameters:</dt>
3620 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>start</b>
3623 <dd>(optional) The index where the selection should start (defaults to 0)</dd>
3626 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>end</b>
3629 <dd>(optional) The index where the selection should end (defaults to the text length)</dd>
3647 <td class="msource">
3649 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
3655 <tr class="method-row config-row-alt1 expandable">
3656 <td class="micon"><a class="exi" href="#expand"> </a></td>
3660 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3661 <div class="fixedFont">
3662 <span class="attributes"></span><b class="itemname">setDisabled</b>
3664 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3671 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3677 Convenience function for setting disabled/enabled by boolean.
3684 <dl class="detailList">
3685 <dt class="heading">Parameters:</dt>
3688 <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>
3709 <td class="msource">
3711 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3717 <tr class="method-row config-row-alt0 expandable">
3718 <td class="micon"><a class="exi" href="#expand"> </a></td>
3722 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
3723 <div class="fixedFont">
3724 <span class="attributes"></span><b class="itemname">setPagePosition</b>
3726 (<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>)
3733 <div class="short">Sets the page XY position of the component.</div>
3739 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.
3746 <dl class="detailList">
3747 <dt class="heading">Parameters:</dt>
3750 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3753 <dd>The new x position</dd>
3756 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3759 <dd>The new y position</dd>
3777 <td class="msource">
3779 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3785 <tr class="method-row config-row-alt1 expandable">
3786 <td class="micon"><a class="exi" href="#expand"> </a></td>
3790 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
3791 <div class="fixedFont">
3792 <span class="attributes"></span><b class="itemname">setPosition</b>
3794 (<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>)
3801 <div class="short">Sets the left and top of the component.</div>
3807 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.
3814 <dl class="detailList">
3815 <dt class="heading">Parameters:</dt>
3818 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
3821 <dd>The new left</dd>
3824 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
3827 <dd>The new top</dd>
3845 <td class="msource">
3847 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3853 <tr class="method-row config-row-alt0 expandable">
3854 <td class="micon"><a class="exi" href="#expand"> </a></td>
3858 <a id="Roo.form.Field-method-setRawValue" name=".setRawValue"></a>
3859 <div class="fixedFont">
3860 <span class="attributes"></span><b class="itemname">setRawValue</b>
3862 (Mixed <B><i>value</i></B>)
3869 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3875 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3882 <dl class="detailList">
3883 <dt class="heading">Parameters:</dt>
3886 <span class="fixedFont">Mixed</span> <b>value</b>
3889 <dd>The value to set</dd>
3907 <td class="msource">
3909 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
3915 <tr class="method-row config-row-alt1 expandable">
3916 <td class="micon"><a class="exi" href="#expand"> </a></td>
3920 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
3921 <div class="fixedFont">
3922 <span class="attributes"></span><b class="itemname">setSize</b>
3924 (<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>)
3930 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3939 <div class="short">Sets the width and height of the component.</div>
3945 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}.
3952 <dl class="detailList">
3953 <dt class="heading">Parameters:</dt>
3956 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
3959 <dd>The new width to set, or a size object in the format {width, height}</dd>
3962 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
3965 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
3973 <dl class="detailList">
3974 <dt class="heading">Returns:</dt>
3976 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
3990 <td class="msource">
3992 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3998 <tr class="method-row config-row-alt0 expandable">
3999 <td class="micon"><a class="exi" href="#expand"> </a></td>
4003 <a id="Roo.form.Field-method-setValue" name=".setValue"></a>
4004 <div class="fixedFont">
4005 <span class="attributes"></span><b class="itemname">setValue</b>
4007 (Mixed <B><i>value</i></B>)
4014 <div class="short">Sets a data value into the field and validates it.</div>
4020 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4027 <dl class="detailList">
4028 <dt class="heading">Parameters:</dt>
4031 <span class="fixedFont">Mixed</span> <b>value</b>
4034 <dd>The value to set</dd>
4052 <td class="msource">
4054 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4060 <tr class="method-row config-row-alt1 expandable">
4061 <td class="micon"><a class="exi" href="#expand"> </a></td>
4065 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4066 <div class="fixedFont">
4067 <span class="attributes"></span><b class="itemname">setVisible</b>
4069 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4075 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4084 <div class="short">Convenience function to hide or show this component by boolean.</div>
4090 Convenience function to hide or show this component by boolean.
4097 <dl class="detailList">
4098 <dt class="heading">Parameters:</dt>
4101 <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>
4104 <dd>True to show, false to hide</dd>
4112 <dl class="detailList">
4113 <dt class="heading">Returns:</dt>
4115 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4129 <td class="msource">
4131 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4137 <tr class="method-row config-row-alt0 expandable">
4138 <td class="micon"><a class="exi" href="#expand"> </a></td>
4142 <a id="Roo.Component-method-show" name=".show"></a>
4143 <div class="fixedFont">
4144 <span class="attributes"></span><b class="itemname">show</b>
4152 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4161 <div class="short">Show this component.</div>
4167 Show this component.
4178 <dl class="detailList">
4179 <dt class="heading">Returns:</dt>
4181 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4195 <td class="msource">
4197 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4203 <tr class="method-row config-row-alt1 expandable">
4204 <td class="micon"><a class="exi" href="#expand"> </a></td>
4208 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
4209 <div class="fixedFont">
4210 <span class="attributes"></span><b class="itemname">syncSize</b>
4219 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
4225 Force the component's size to recalculate based on the underlying element's current height and width.
4246 <td class="msource">
4248 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4254 <tr class="method-row config-row-alt0 expandable">
4255 <td class="micon"><a class="exi" href="#expand"> </a></td>
4259 <a id="Roo.util.Observable-method-un" name=".un"></a>
4260 <div class="fixedFont">
4261 <span class="attributes"></span><b class="itemname">un</b>
4263 (<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>)
4270 <div class="short">Removes a listener (shorthand for removeListener)</div>
4276 Removes a listener (shorthand for removeListener)
4283 <dl class="detailList">
4284 <dt class="heading">Parameters:</dt>
4287 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4290 <dd>The type of event to listen for</dd>
4293 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4296 <dd>The handler to remove</dd>
4299 <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>
4302 <dd>(optional) The scope (this object) for the handler</dd>
4320 <td class="msource">
4322 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4328 <tr class="method-row config-row-alt1 expandable">
4329 <td class="micon"><a class="exi" href="#expand"> </a></td>
4333 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
4334 <div class="fixedFont">
4335 <span class="attributes"></span><b class="itemname">updateBox</b>
4337 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
4344 <div class="short">Sets the current box measurements of the component's underlying element.</div>
4350 Sets the current box measurements of the component's underlying element.
4357 <dl class="detailList">
4358 <dt class="heading">Parameters:</dt>
4361 <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>
4364 <dd>An object in the format {x, y, width, height}</dd>
4382 <td class="msource">
4384 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
4390 <tr class="method-row config-row-alt0 expandable">
4391 <td class="micon"><a class="exi" href="#expand"> </a></td>
4395 <a id="Roo.form.Field-method-validate" name=".validate"></a>
4396 <div class="fixedFont">
4397 <span class="attributes"></span><b class="itemname">validate</b>
4405 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4414 <div class="short">Validates the field value</div>
4420 Validates the field value
4431 <dl class="detailList">
4432 <dt class="heading">Returns:</dt>
4434 <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>
4448 <td class="msource">
4450 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4456 <tr class="method-row config-row-alt1 expandable">
4457 <td class="micon"><a class="exi" href="#expand"> </a></td>
4461 <a id="Roo.form.TextField-method-validateValue" name=".validateValue"></a>
4462 <div class="fixedFont">
4463 <span class="attributes"></span><b class="itemname">validateValue</b>
4465 (Mixed <B><i>value</i></B>)
4471 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4480 <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>
4486 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4493 <dl class="detailList">
4494 <dt class="heading">Parameters:</dt>
4497 <span class="fixedFont">Mixed</span> <b>value</b>
4500 <dd>The value to validate</dd>
4508 <dl class="detailList">
4509 <dt class="heading">Returns:</dt>
4511 <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>
4525 <td class="msource">
4527 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4536 <!-- ============================== events summary / details ======================== -->
4539 <a id="Roo.form.Hidden-events"></a>
4548 <table cellspacing="0" class="member-table">
4549 <caption>Events</caption>
4552 <th class="sig-header" colspan="2">Event</th>
4553 <th class="msource-header">Defined By</th>
4562 <tr class="method-row expandable config-row-alt0">
4563 <td class="micon"><a class="exi" href="#expand"> </a></td>
4566 <a id="Roo.form.TextField-event-*autosize"></a>
4568 <div class="fixedFont">
4569 <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>)
4575 <div class="short">Fires when the autosize function is triggered.
4581 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.
4587 <dl class="detailList">
4588 <dt class="heading">Parameters:</dt>
4591 <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>
4594 <dd>This text field</dd>
4597 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
4600 <dd>The new field width</dd>
4618 <td class="msource">
4619 <a href="./Roo.form.TextField.html#constructor" roo:cls="Roo.form.TextField.html#constructor">Roo.form.TextField</a>
4623 <tr class="method-row expandable config-row-alt1">
4624 <td class="micon"><a class="exi" href="#expand"> </a></td>
4627 <a id="Roo.Component-event-*beforedestroy"></a>
4629 <div class="fixedFont">
4630 <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>)
4636 <div class="short">Fires before the component is destroyed.
4642 Fires before the component is destroyed. Return false to stop the destroy.
4648 <dl class="detailList">
4649 <dt class="heading">Parameters:</dt>
4652 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4673 <td class="msource">
4674 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4678 <tr class="method-row expandable config-row-alt0">
4679 <td class="micon"><a class="exi" href="#expand"> </a></td>
4682 <a id="Roo.Component-event-*beforehide"></a>
4684 <div class="fixedFont">
4685 <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>)
4691 <div class="short">Fires before the component is hidden.
4697 Fires before the component is hidden. Return false to stop the hide.
4703 <dl class="detailList">
4704 <dt class="heading">Parameters:</dt>
4707 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4728 <td class="msource">
4729 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4733 <tr class="method-row expandable config-row-alt1">
4734 <td class="micon"><a class="exi" href="#expand"> </a></td>
4737 <a id="Roo.Component-event-*beforerender"></a>
4739 <div class="fixedFont">
4740 <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>)
4746 <div class="short">Fires before the component is rendered.
4752 Fires before the component is rendered. Return false to stop the render.
4758 <dl class="detailList">
4759 <dt class="heading">Parameters:</dt>
4762 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4783 <td class="msource">
4784 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4788 <tr class="method-row expandable config-row-alt0">
4789 <td class="micon"><a class="exi" href="#expand"> </a></td>
4792 <a id="Roo.Component-event-*beforeshow"></a>
4794 <div class="fixedFont">
4795 <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>)
4801 <div class="short">Fires before the component is shown.
4807 Fires before the component is shown. Return false to stop the show.
4813 <dl class="detailList">
4814 <dt class="heading">Parameters:</dt>
4817 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4838 <td class="msource">
4839 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4843 <tr class="method-row expandable config-row-alt1">
4844 <td class="micon"><a class="exi" href="#expand"> </a></td>
4847 <a id="Roo.form.Field-event-*blur"></a>
4849 <div class="fixedFont">
4850 <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>)
4856 <div class="short">Fires when this field loses input focus.
4862 Fires when this field loses input focus.
4868 <dl class="detailList">
4869 <dt class="heading">Parameters:</dt>
4872 <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>
4893 <td class="msource">
4894 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4898 <tr class="method-row expandable config-row-alt0">
4899 <td class="micon"><a class="exi" href="#expand"> </a></td>
4902 <a id="Roo.form.Field-event-*change"></a>
4904 <div class="fixedFont">
4905 <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>)
4911 <div class="short">Fires just before the field blurs if the field value has changed.
4917 Fires just before the field blurs if the field value has changed.
4923 <dl class="detailList">
4924 <dt class="heading">Parameters:</dt>
4927 <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>
4933 <span class="fixedFont">Mixed</span> <b>newValue</b>
4936 <dd>The new value</dd>
4939 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4942 <dd>The original value</dd>
4960 <td class="msource">
4961 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
4965 <tr class="method-row expandable config-row-alt1">
4966 <td class="micon"><a class="exi" href="#expand"> </a></td>
4969 <a id="Roo.Component-event-*destroy"></a>
4971 <div class="fixedFont">
4972 <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>)
4978 <div class="short">Fires after the component is destroyed.
4984 Fires after the component is destroyed.
4990 <dl class="detailList">
4991 <dt class="heading">Parameters:</dt>
4994 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5015 <td class="msource">
5016 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5020 <tr class="method-row expandable config-row-alt0">
5021 <td class="micon"><a class="exi" href="#expand"> </a></td>
5024 <a id="Roo.Component-event-*disable"></a>
5026 <div class="fixedFont">
5027 <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>)
5033 <div class="short">Fires after the component is disabled.
5039 Fires after the component is disabled.
5045 <dl class="detailList">
5046 <dt class="heading">Parameters:</dt>
5049 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5070 <td class="msource">
5071 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5075 <tr class="method-row expandable config-row-alt1">
5076 <td class="micon"><a class="exi" href="#expand"> </a></td>
5079 <a id="Roo.Component-event-*enable"></a>
5081 <div class="fixedFont">
5082 <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>)
5088 <div class="short">Fires after the component is enabled.
5094 Fires after the component is enabled.
5100 <dl class="detailList">
5101 <dt class="heading">Parameters:</dt>
5104 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5125 <td class="msource">
5126 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5130 <tr class="method-row expandable config-row-alt0">
5131 <td class="micon"><a class="exi" href="#expand"> </a></td>
5134 <a id="Roo.form.Field-event-*focus"></a>
5136 <div class="fixedFont">
5137 <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>)
5143 <div class="short">Fires when this field receives input focus.
5149 Fires when this field receives input focus.
5155 <dl class="detailList">
5156 <dt class="heading">Parameters:</dt>
5159 <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>
5180 <td class="msource">
5181 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5185 <tr class="method-row expandable config-row-alt1">
5186 <td class="micon"><a class="exi" href="#expand"> </a></td>
5189 <a id="Roo.Component-event-*hide"></a>
5191 <div class="fixedFont">
5192 <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>)
5198 <div class="short">Fires after the component is hidden.
5204 Fires after the component is hidden.
5210 <dl class="detailList">
5211 <dt class="heading">Parameters:</dt>
5214 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5235 <td class="msource">
5236 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5240 <tr class="method-row expandable config-row-alt0">
5241 <td class="micon"><a class="exi" href="#expand"> </a></td>
5244 <a id="Roo.form.Field-event-*invalid"></a>
5246 <div class="fixedFont">
5247 <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>)
5253 <div class="short">Fires after the field has been marked as invalid.
5259 Fires after the field has been marked as invalid.
5265 <dl class="detailList">
5266 <dt class="heading">Parameters:</dt>
5269 <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>
5275 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5278 <dd>The validation message</dd>
5296 <td class="msource">
5297 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5301 <tr class="method-row expandable config-row-alt1">
5302 <td class="micon"><a class="exi" href="#expand"> </a></td>
5305 <a id="Roo.form.Field-event-*keyup"></a>
5307 <div class="fixedFont">
5308 <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>)
5314 <div class="short">Fires after the key up
5320 Fires after the key up
5326 <dl class="detailList">
5327 <dt class="heading">Parameters:</dt>
5330 <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>
5336 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5339 <dd>The event Object</dd>
5357 <td class="msource">
5358 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5362 <tr class="method-row expandable config-row-alt0">
5363 <td class="micon"><a class="exi" href="#expand"> </a></td>
5366 <a id="Roo.BoxComponent-event-*move"></a>
5368 <div class="fixedFont">
5369 <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>)
5375 <div class="short">Fires after the component is moved.
5381 Fires after the component is moved.
5387 <dl class="detailList">
5388 <dt class="heading">Parameters:</dt>
5391 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5397 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
5400 <dd>The new x position</dd>
5403 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
5406 <dd>The new y position</dd>
5424 <td class="msource">
5425 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5429 <tr class="method-row expandable config-row-alt1">
5430 <td class="micon"><a class="exi" href="#expand"> </a></td>
5433 <a id="Roo.Component-event-*render"></a>
5435 <div class="fixedFont">
5436 <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>)
5442 <div class="short">Fires after the component is rendered.
5448 Fires after the component is rendered.
5454 <dl class="detailList">
5455 <dt class="heading">Parameters:</dt>
5458 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5479 <td class="msource">
5480 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5484 <tr class="method-row expandable config-row-alt0">
5485 <td class="micon"><a class="exi" href="#expand"> </a></td>
5488 <a id="Roo.BoxComponent-event-*resize"></a>
5490 <div class="fixedFont">
5491 <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>)
5497 <div class="short">Fires after the component is resized.
5503 Fires after the component is resized.
5509 <dl class="detailList">
5510 <dt class="heading">Parameters:</dt>
5513 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5519 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
5522 <dd>The box-adjusted width that was set</dd>
5525 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
5528 <dd>The box-adjusted height that was set</dd>
5531 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
5534 <dd>The width that was originally specified</dd>
5537 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
5540 <dd>The height that was originally specified</dd>
5558 <td class="msource">
5559 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
5563 <tr class="method-row expandable config-row-alt1">
5564 <td class="micon"><a class="exi" href="#expand"> </a></td>
5567 <a id="Roo.Component-event-*show"></a>
5569 <div class="fixedFont">
5570 <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>)
5576 <div class="short">Fires after the component is shown.
5582 Fires after the component is shown.
5588 <dl class="detailList">
5589 <dt class="heading">Parameters:</dt>
5592 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5613 <td class="msource">
5614 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5618 <tr class="method-row expandable config-row-alt0">
5619 <td class="micon"><a class="exi" href="#expand"> </a></td>
5622 <a id="Roo.form.Field-event-*specialkey"></a>
5624 <div class="fixedFont">
5625 <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>)
5631 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5637 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.
5643 <dl class="detailList">
5644 <dt class="heading">Parameters:</dt>
5647 <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>
5653 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5656 <dd>The event object</dd>
5674 <td class="msource">
5675 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5679 <tr class="method-row expandable config-row-alt1">
5680 <td class="micon"><a class="exi" href="#expand"> </a></td>
5683 <a id="Roo.form.Field-event-*valid"></a>
5685 <div class="fixedFont">
5686 <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>)
5692 <div class="short">Fires after the field has been validated with no errors.
5698 Fires after the field has been validated with no errors.
5704 <dl class="detailList">
5705 <dt class="heading">Parameters:</dt>
5708 <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>
5729 <td class="msource">
5730 <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
5741 <!-- ============================== footer ================================= -->
5742 <div class="fineprint" style="clear:both">
5744 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 24 2014 16:32:59 GMT+0800 (HKT)
5746 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>