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.bootstrap.Input</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.bootstrap.Input-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.bootstrap.Input-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.bootstrap.Input-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.bootstrap.Input-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.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.bootstrap.Input
54 <!-- ============================== class title / details ============================ -->
57 <h1 class="classTitle">
59 Class Roo.bootstrap.Input
62 <table cellspacing="0" class="class-summary-table">
64 <tr><td class="label">Package:</td><td class="hd-info">Roo.bootstrap</td></tr>
66 <tr><td class="label">Defined In:</td><td class="hd-info">
68 <a href="./src/Roo_bootstrap_Input.js.html">Roo/bootstrap/Input.js</a>.
71 <tr><td class="label">Class:</td><td class="hd-info">Input</td></tr>
74 <tr><td class="label">Subclasses:</td><td class="hd-info">
75 <a href="./Roo.bootstrap.CheckBox.html#constructor" roo:cls="Roo.bootstrap.CheckBox.html#constructor">Roo.bootstrap.CheckBox</a>, <a href="./Roo.bootstrap.ComboBox.html#constructor" roo:cls="Roo.bootstrap.ComboBox.html#constructor">Roo.bootstrap.ComboBox</a>, <a href="./Roo.bootstrap.DateField.html#constructor" roo:cls="Roo.bootstrap.DateField.html#constructor">Roo.bootstrap.DateField</a>, <a href="./Roo.bootstrap.HtmlEditor.html#constructor" roo:cls="Roo.bootstrap.HtmlEditor.html#constructor">Roo.bootstrap.HtmlEditor</a>, <a href="./Roo.bootstrap.Radio.html#constructor" roo:cls="Roo.bootstrap.Radio.html#constructor">Roo.bootstrap.Radio</a>, <a href="./Roo.bootstrap.TextArea.html#constructor" roo:cls="Roo.bootstrap.TextArea.html#constructor">Roo.bootstrap.TextArea</a>, <a href="./Roo.bootstrap.TimeField.html#constructor" roo:cls="Roo.bootstrap.TimeField.html#constructor">Roo.bootstrap.TimeField</a>, <a href="./Roo.bootstrap.TriggerField.html#constructor" roo:cls="Roo.bootstrap.TriggerField.html#constructor">Roo.bootstrap.TriggerField</a>
83 <tr><td class="label">Extends:</td><td class="hd-info">
84 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
92 <!-- ============================== class summary ========================== -->
93 <div class="description">
98 <!-- ============================== Class comment block... ========================== -->
100 <div class="comments">
101 <b>Class Comments / Notes</B> =>
102 <u onclick="parent.CommentDialog.showCommentId = 'Roo.bootstrap.Input';">[Add Your comment/notes about this class]</u>
104 <iframe frameborder="0" id="comments-Roo.bootstrap" style="border: none;width:100%;"
105 src="/blog.php/GtkDjsComments/Roo.bootstrap.Input.html"></iframe>
110 <!-- ============================== config options ========================== -->
115 <div class="hr"></div>
116 <a id="Roo.bootstrap.Input-configs"></a>
122 <table cellspacing="0" class="member-table">
123 <caption>Config Options (Usually are also Properties)</caption>
127 <th class="sig-header" colspan="2">Options</th>
129 <th class="msource-header">Defined By</th>
136 <tr class="config-row expandable config-row-alt0">
137 <td class="micon"><a class="exi" href="#expand"> </a></td>
140 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
141 <div class="fixedFont">
142 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
148 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
152 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
160 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
166 <tr class="config-row expandable config-row-alt1 notInherited">
167 <td class="micon"><a class="exi" href="#expand"> </a></td>
170 <a id="Roo.bootstrap.Input-cfg-after" name=".after"></a>
171 <div class="fixedFont">
172 <b class="itemname">after</b> : string
178 <div class="short">- input group add on after</div>
182 <div class="long">- input group add on after</div>
196 <tr class="config-row expandable config-row-alt0 notInherited">
197 <td class="micon"><a class="exi" href="#expand"> </a></td>
200 <a id="Roo.bootstrap.Input-cfg-align" name=".align"></a>
201 <div class="fixedFont">
202 <b class="itemname">align</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
208 <div class="short">(left|center|right) Default left</div>
212 <div class="long">(left|center|right) Default left</div>
226 <tr class="config-row expandable config-row-alt1 notInherited">
227 <td class="micon"><a class="exi" href="#expand"> </a></td>
230 <a id="Roo.bootstrap.Input-cfg-allowBlank" name=".allowBlank"></a>
231 <div class="fixedFont">
232 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
238 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
242 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
256 <tr class="config-row expandable config-row-alt0">
257 <td class="micon"><a class="exi" href="#expand"> </a></td>
260 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
261 <div class="fixedFont">
262 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
268 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
272 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
280 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
286 <tr class="config-row expandable config-row-alt1 notInherited">
287 <td class="micon"><a class="exi" href="#expand"> </a></td>
290 <a id="Roo.bootstrap.Input-cfg-before" name=".before"></a>
291 <div class="fixedFont">
292 <b class="itemname">before</b> : string
298 <div class="short">- input group add on before</div>
302 <div class="long">- input group add on before</div>
316 <tr class="config-row expandable config-row-alt0 notInherited">
317 <td class="micon"><a class="exi" href="#expand"> </a></td>
320 <a id="Roo.bootstrap.Input-cfg-blankText" name=".blankText"></a>
321 <div class="fixedFont">
322 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
328 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
332 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
346 <tr class="config-row expandable config-row-alt1">
347 <td class="micon"><a class="exi" href="#expand"> </a></td>
350 <a id="Roo.bootstrap.Component-cfg-can_build_overlaid" name=".can_build_overlaid"></a>
351 <div class="fixedFont">
352 <b class="itemname">can_build_overlaid</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
358 <div class="short">True if element can be rebuild from a HTML page</div>
362 <div class="long">True if element can be rebuild from a HTML page</div>
370 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
376 <tr class="config-row expandable config-row-alt0">
377 <td class="micon"><a class="exi" href="#expand"> </a></td>
380 <a id="Roo.bootstrap.Component-cfg-cls" name=".cls"></a>
381 <div class="fixedFont">
382 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
388 <div class="short">css class</div>
392 <div class="long">css class</div>
400 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
406 <tr class="config-row expandable config-row-alt1">
407 <td class="micon"><a class="exi" href="#expand"> </a></td>
410 <a id="Roo.bootstrap.Component-cfg-dataId" name=".dataId"></a>
411 <div class="fixedFont">
412 <b class="itemname">dataId</b> : string
418 <div class="short">cutomer id</div>
422 <div class="long">cutomer id</div>
430 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
436 <tr class="config-row expandable config-row-alt0">
437 <td class="micon"><a class="exi" href="#expand"> </a></td>
440 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
441 <div class="fixedFont">
442 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
448 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
452 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
460 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
466 <tr class="config-row expandable config-row-alt1 notInherited">
467 <td class="micon"><a class="exi" href="#expand"> </a></td>
470 <a id="Roo.bootstrap.Input-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
471 <div class="fixedFont">
472 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
478 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
482 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
496 <tr class="config-row expandable config-row-alt0 notInherited">
497 <td class="micon"><a class="exi" href="#expand"> </a></td>
500 <a id="Roo.bootstrap.Input-cfg-disabled" name=".disabled"></a>
501 <div class="fixedFont">
502 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
508 <div class="short">is it disabled</div>
512 <div class="long">is it disabled</div>
526 <tr class="config-row expandable config-row-alt1 notInherited">
527 <td class="micon"><a class="exi" href="#expand"> </a></td>
530 <a id="Roo.bootstrap.Input-cfg-fieldLabel" name=".fieldLabel"></a>
531 <div class="fixedFont">
532 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
538 <div class="short">- the label associated</div>
542 <div class="long">- the label associated</div>
556 <tr class="config-row expandable config-row-alt0 notInherited">
557 <td class="micon"><a class="exi" href="#expand"> </a></td>
560 <a id="Roo.bootstrap.Input-cfg-focusClass" name=".focusClass"></a>
561 <div class="fixedFont">
562 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
568 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
572 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
586 <tr class="config-row expandable config-row-alt1">
587 <td class="micon"><a class="exi" href="#expand"> </a></td>
590 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
591 <div class="fixedFont">
592 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
598 <div class="short">How this component should hidden.</div>
602 <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>
610 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
616 <tr class="config-row expandable config-row-alt0 notInherited">
617 <td class="micon"><a class="exi" href="#expand"> </a></td>
620 <a id="Roo.bootstrap.Input-cfg-inputType" name=".inputType"></a>
621 <div class="fixedFont">
622 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
628 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
632 <div class="long">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
646 <tr class="config-row expandable config-row-alt1 notInherited">
647 <td class="micon"><a class="exi" href="#expand"> </a></td>
650 <a id="Roo.bootstrap.Input-cfg-invalidClass" name=".invalidClass"></a>
651 <div class="fixedFont">
652 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
658 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
662 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
676 <tr class="config-row expandable config-row-alt0 notInherited">
677 <td class="micon"><a class="exi" href="#expand"> </a></td>
680 <a id="Roo.bootstrap.Input-cfg-labelAlign" name=".labelAlign"></a>
681 <div class="fixedFont">
682 <b class="itemname">labelAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
688 <div class="short">(top|left)</div>
692 <div class="long">(top|left)</div>
706 <tr class="config-row expandable config-row-alt1 notInherited">
707 <td class="micon"><a class="exi" href="#expand"> </a></td>
710 <a id="Roo.bootstrap.Input-cfg-labelWidth" name=".labelWidth"></a>
711 <div class="fixedFont">
712 <b class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
718 <div class="short">set the width of label (0-12)</div>
722 <div class="long">set the width of label (0-12)</div>
736 <tr class="config-row expandable config-row-alt0 notInherited">
737 <td class="micon"><a class="exi" href="#expand"> </a></td>
740 <a id="Roo.bootstrap.Input-cfg-lg" name=".lg"></a>
741 <div class="fixedFont">
742 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
748 <div class="short">colspan out of 12 for large computer-sized screens</div>
752 <div class="long">colspan out of 12 for large computer-sized screens</div>
766 <tr class="config-row expandable config-row-alt1">
767 <td class="micon"><a class="exi" href="#expand"> </a></td>
770 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
771 <div class="fixedFont">
772 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
778 <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>
782 <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>
790 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
796 <tr class="config-row expandable config-row-alt0 notInherited">
797 <td class="micon"><a class="exi" href="#expand"> </a></td>
800 <a id="Roo.bootstrap.Input-cfg-maskRe" name=".maskRe"></a>
801 <div class="fixedFont">
802 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
808 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
812 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
826 <tr class="config-row expandable config-row-alt1 notInherited">
827 <td class="micon"><a class="exi" href="#expand"> </a></td>
830 <a id="Roo.bootstrap.Input-cfg-maxLength" name=".maxLength"></a>
831 <div class="fixedFont">
832 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
838 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
842 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
856 <tr class="config-row expandable config-row-alt0 notInherited">
857 <td class="micon"><a class="exi" href="#expand"> </a></td>
860 <a id="Roo.bootstrap.Input-cfg-maxLengthText" name=".maxLengthText"></a>
861 <div class="fixedFont">
862 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
868 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
872 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
886 <tr class="config-row expandable config-row-alt1 notInherited">
887 <td class="micon"><a class="exi" href="#expand"> </a></td>
890 <a id="Roo.bootstrap.Input-cfg-md" name=".md"></a>
891 <div class="fixedFont">
892 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
898 <div class="short">colspan out of 12 for computer-sized screens</div>
902 <div class="long">colspan out of 12 for computer-sized screens</div>
916 <tr class="config-row expandable config-row-alt0 notInherited">
917 <td class="micon"><a class="exi" href="#expand"> </a></td>
920 <a id="Roo.bootstrap.Input-cfg-minLength" name=".minLength"></a>
921 <div class="fixedFont">
922 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
928 <div class="short">Minimum input field length required (defaults to 0)</div>
932 <div class="long">Minimum input field length required (defaults to 0)</div>
946 <tr class="config-row expandable config-row-alt1 notInherited">
947 <td class="micon"><a class="exi" href="#expand"> </a></td>
950 <a id="Roo.bootstrap.Input-cfg-minLengthText" name=".minLengthText"></a>
951 <div class="fixedFont">
952 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
958 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
962 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
976 <tr class="config-row expandable config-row-alt0 notInherited">
977 <td class="micon"><a class="exi" href="#expand"> </a></td>
980 <a id="Roo.bootstrap.Input-cfg-name" name=".name"></a>
981 <div class="fixedFont">
982 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
988 <div class="short">name of the input</div>
992 <div class="long">name of the input</div>
1006 <tr class="config-row expandable config-row-alt1 notInherited">
1007 <td class="micon"><a class="exi" href="#expand"> </a></td>
1010 <a id="Roo.bootstrap.Input-cfg-placeholder" name=".placeholder"></a>
1011 <div class="fixedFont">
1012 <b class="itemname">placeholder</b> : string
1018 <div class="short">- placeholder to put in text.</div>
1022 <div class="long">- placeholder to put in text.</div>
1028 <td class="msource">
1036 <tr class="config-row expandable config-row-alt0 notInherited">
1037 <td class="micon"><a class="exi" href="#expand"> </a></td>
1040 <a id="Roo.bootstrap.Input-cfg-readOnly" name=".readOnly"></a>
1041 <div class="fixedFont">
1042 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1048 <div class="short">Specifies that the field should be read-only</div>
1052 <div class="long">Specifies that the field should be read-only</div>
1058 <td class="msource">
1066 <tr class="config-row expandable config-row-alt1 notInherited">
1067 <td class="micon"><a class="exi" href="#expand"> </a></td>
1070 <a id="Roo.bootstrap.Input-cfg-regex" name=".regex"></a>
1071 <div class="fixedFont">
1072 <b class="itemname">regex</b> : RegExp
1078 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1082 <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>
1088 <td class="msource">
1096 <tr class="config-row expandable config-row-alt0 notInherited">
1097 <td class="micon"><a class="exi" href="#expand"> </a></td>
1100 <a id="Roo.bootstrap.Input-cfg-regexText" name=".regexText"></a>
1101 <div class="fixedFont">
1102 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1108 <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>
1112 <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>
1118 <td class="msource">
1126 <tr class="config-row expandable config-row-alt1 notInherited">
1127 <td class="micon"><a class="exi" href="#expand"> </a></td>
1130 <a id="Roo.bootstrap.Input-cfg-selectOnFocus" name=".selectOnFocus"></a>
1131 <div class="fixedFont">
1132 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1138 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1142 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1148 <td class="msource">
1156 <tr class="config-row expandable config-row-alt0 notInherited">
1157 <td class="micon"><a class="exi" href="#expand"> </a></td>
1160 <a id="Roo.bootstrap.Input-cfg-size" name=".size"></a>
1161 <div class="fixedFont">
1162 <b class="itemname">size</b> : string
1168 <div class="short">- (lg|sm) or leave empty.</div>
1172 <div class="long">- (lg|sm) or leave empty..</div>
1178 <td class="msource">
1186 <tr class="config-row expandable config-row-alt1 notInherited">
1187 <td class="micon"><a class="exi" href="#expand"> </a></td>
1190 <a id="Roo.bootstrap.Input-cfg-sm" name=".sm"></a>
1191 <div class="fixedFont">
1192 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1198 <div class="short">colspan out of 12 for tablet-sized screens</div>
1202 <div class="long">colspan out of 12 for tablet-sized screens</div>
1208 <td class="msource">
1216 <tr class="config-row expandable config-row-alt0">
1217 <td class="micon"><a class="exi" href="#expand"> </a></td>
1220 <a id="Roo.bootstrap.Component-cfg-style" name=".style"></a>
1221 <div class="fixedFont">
1222 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1228 <div class="short">any extra css</div>
1232 <div class="long">any extra css</div>
1238 <td class="msource">
1240 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1246 <tr class="config-row expandable config-row-alt1 notInherited">
1247 <td class="micon"><a class="exi" href="#expand"> </a></td>
1250 <a id="Roo.bootstrap.Input-cfg-validateOnBlur" name=".validateOnBlur"></a>
1251 <div class="fixedFont">
1252 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1258 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1262 <div class="long">Whether the field should validate when it loses focus (defaults to true).</div>
1268 <td class="msource">
1276 <tr class="config-row expandable config-row-alt0 notInherited">
1277 <td class="micon"><a class="exi" href="#expand"> </a></td>
1280 <a id="Roo.bootstrap.Input-cfg-validationDelay" name=".validationDelay"></a>
1281 <div class="fixedFont">
1282 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1288 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1292 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1298 <td class="msource">
1306 <tr class="config-row expandable config-row-alt1 notInherited">
1307 <td class="micon"><a class="exi" href="#expand"> </a></td>
1310 <a id="Roo.bootstrap.Input-cfg-validationEvent" name=".validationEvent"></a>
1311 <div class="fixedFont">
1312 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1318 <div class="short">The event that should initiate field validation.</div>
1322 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1328 <td class="msource">
1336 <tr class="config-row expandable config-row-alt0 notInherited">
1337 <td class="micon"><a class="exi" href="#expand"> </a></td>
1340 <a id="Roo.bootstrap.Input-cfg-validator" name=".validator"></a>
1341 <div class="fixedFont">
1342 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1348 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1352 <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>
1358 <td class="msource">
1366 <tr class="config-row expandable config-row-alt1 notInherited">
1367 <td class="micon"><a class="exi" href="#expand"> </a></td>
1370 <a id="Roo.bootstrap.Input-cfg-value" name=".value"></a>
1371 <div class="fixedFont">
1372 <b class="itemname">value</b> : string
1378 <div class="short">default value of the input</div>
1382 <div class="long">default value of the input</div>
1388 <td class="msource">
1396 <tr class="config-row expandable config-row-alt0 notInherited">
1397 <td class="micon"><a class="exi" href="#expand"> </a></td>
1400 <a id="Roo.bootstrap.Input-cfg-vtype" name=".vtype"></a>
1401 <div class="fixedFont">
1402 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1408 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1412 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1418 <td class="msource">
1426 <tr class="config-row expandable config-row-alt1">
1427 <td class="micon"><a class="exi" href="#expand"> </a></td>
1430 <a id="Roo.bootstrap.Component-cfg-xattr" name=".xattr"></a>
1431 <div class="fixedFont">
1432 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1438 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1442 <div class="long">extra attributes to add to 'element' (used by builder to store stuff.)</div>
1448 <td class="msource">
1450 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1456 <tr class="config-row expandable config-row-alt0 notInherited">
1457 <td class="micon"><a class="exi" href="#expand"> </a></td>
1460 <a id="Roo.bootstrap.Input-cfg-xs" name=".xs"></a>
1461 <div class="fixedFont">
1462 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1468 <div class="short">colspan out of 12 for mobile-sized screens</div>
1472 <div class="long">colspan out of 12 for mobile-sized screens</div>
1478 <td class="msource">
1496 <!-- ============================== public properties ==================== -->
1500 <a id="Roo.bootstrap.Input-props"></a>
1506 <table cellspacing="0" class="member-table">
1507 <caption class="Empty">Public Properties - Has None</caption>
1513 <!-- ============================== methods summary / details ======================== -->
1516 <a id="Roo.bootstrap.Input-methods"></a>
1517 <!-- constructor?? -->
1524 <!-- then dynamics first -->
1531 <table cellspacing="0" class="member-table">
1532 <caption>Public Methods</caption>
1534 <th class="sig-header" colspan="2">Method</th>
1535 <th class="msource-header">Defined By</th>
1545 <tr class="method-row config-row-alt0 expandable notInherited">
1546 <td class="micon"><a class="exi" href="#expand"> </a></td>
1550 <a id="Roo.bootstrap-method-Input" name=".Input"></a>
1551 <div class="fixedFont">
1552 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">Input</b>
1554 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1562 <div class="short">Create a new Roo.bootstrap.Input</div>
1569 Create a new Roo.bootstrap.Input
1572 <dl class="detailList">
1573 <dt class="heading">Parameters:</dt>
1576 <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>
1579 <dd>The config object</dd>
1597 <td class="msource">
1603 <tr class="method-row config-row-alt1 expandable">
1604 <td class="micon"><a class="exi" href="#expand"> </a></td>
1608 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1609 <div class="fixedFont">
1610 <span class="attributes"></span><b class="itemname">addEvents</b>
1612 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1619 <div class="short">Used to define events on this Observable</div>
1625 Used to define events on this Observable
1632 <dl class="detailList">
1633 <dt class="heading">Parameters:</dt>
1636 <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>
1639 <dd>The object with the events defined</dd>
1657 <td class="msource">
1659 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1665 <tr class="method-row config-row-alt0 expandable">
1666 <td class="micon"><a class="exi" href="#expand"> </a></td>
1670 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1671 <div class="fixedFont">
1672 <span class="attributes"></span><b class="itemname">addListener</b>
1674 (<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>)
1681 <div class="short">Appends an event handler to this component</div>
1687 Appends an event handler to this component
1694 <dl class="detailList">
1695 <dt class="heading">Parameters:</dt>
1698 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1701 <dd>The type of event to listen for</dd>
1704 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1707 <dd>The method the event invokes</dd>
1710 <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>
1713 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1716 <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>
1719 <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>
1737 <td class="msource">
1739 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1745 <tr class="method-row config-row-alt1 expandable notInherited">
1746 <td class="micon"><a class="exi" href="#expand"> </a></td>
1750 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
1751 <div class="fixedFont">
1752 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1761 <div class="short">Clear any invalid styles/messages for this field</div>
1767 Clear any invalid styles/messages for this field
1788 <td class="msource">
1796 <tr class="method-row config-row-alt0 expandable">
1797 <td class="micon"><a class="exi" href="#expand"> </a></td>
1801 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1802 <div class="fixedFont">
1803 <span class="attributes"></span><b class="itemname">destroy</b>
1812 <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>
1818 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}.
1839 <td class="msource">
1841 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1847 <tr class="method-row config-row-alt1 expandable">
1848 <td class="micon"><a class="exi" href="#expand"> </a></td>
1852 <a id="Roo.Component-method-disable" name=".disable"></a>
1853 <div class="fixedFont">
1854 <span class="attributes"></span><b class="itemname">disable</b>
1862 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1871 <div class="short">Disable this component.</div>
1877 Disable this component.
1888 <dl class="detailList">
1889 <dt class="heading">Returns:</dt>
1891 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1905 <td class="msource">
1907 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1913 <tr class="method-row config-row-alt0 expandable">
1914 <td class="micon"><a class="exi" href="#expand"> </a></td>
1918 <a id="Roo.Component-method-enable" name=".enable"></a>
1919 <div class="fixedFont">
1920 <span class="attributes"></span><b class="itemname">enable</b>
1928 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1937 <div class="short">Enable this component.</div>
1943 Enable this component.
1954 <dl class="detailList">
1955 <dt class="heading">Returns:</dt>
1957 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1971 <td class="msource">
1973 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1979 <tr class="method-row config-row-alt1 expandable">
1980 <td class="micon"><a class="exi" href="#expand"> </a></td>
1984 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1985 <div class="fixedFont">
1986 <span class="attributes"></span><b class="itemname">fireEvent</b>
1988 (<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>)
1994 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2003 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2009 Fires the specified event with the passed parameters (minus the event name).
2016 <dl class="detailList">
2017 <dt class="heading">Parameters:</dt>
2020 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2026 <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>
2029 <dd>Variable number of parameters are passed to handlers</dd>
2037 <dl class="detailList">
2038 <dt class="heading">Returns:</dt>
2040 <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>
2054 <td class="msource">
2056 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2062 <tr class="method-row config-row-alt0 expandable">
2063 <td class="micon"><a class="exi" href="#expand"> </a></td>
2067 <a id="Roo.Component-method-focus" name=".focus"></a>
2068 <div class="fixedFont">
2069 <span class="attributes"></span><b class="itemname">focus</b>
2071 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2077 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2086 <div class="short">Try to focus this component.</div>
2092 Try to focus this component.
2099 <dl class="detailList">
2100 <dt class="heading">Parameters:</dt>
2103 <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>
2106 <dd>True to also select the text in this component (if applicable)</dd>
2114 <dl class="detailList">
2115 <dt class="heading">Returns:</dt>
2117 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2131 <td class="msource">
2133 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2139 <tr class="method-row config-row-alt1 expandable">
2140 <td class="micon"><a class="exi" href="#expand"> </a></td>
2144 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2145 <div class="fixedFont">
2146 <span class="attributes"></span><b class="itemname">getEl</b>
2154 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2163 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2169 Returns the underlying {<b>link</b> Roo.Element}.
2180 <dl class="detailList">
2181 <dt class="heading">Returns:</dt>
2183 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2197 <td class="msource">
2199 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2205 <tr class="method-row config-row-alt0 expandable">
2206 <td class="micon"><a class="exi" href="#expand"> </a></td>
2210 <a id="Roo.Component-method-getId" name=".getId"></a>
2211 <div class="fixedFont">
2212 <span class="attributes"></span><b class="itemname">getId</b>
2220 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2229 <div class="short">Returns the id of this component.</div>
2235 Returns the id of this component.
2246 <dl class="detailList">
2247 <dt class="heading">Returns:</dt>
2249 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2263 <td class="msource">
2265 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2271 <tr class="method-row config-row-alt1 expandable notInherited">
2272 <td class="micon"><a class="exi" href="#expand"> </a></td>
2276 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2277 <div class="fixedFont">
2278 <span class="attributes"></span><b class="itemname">getName</b>
2295 <div class="short">Returns the name of the field</div>
2301 Returns the name of the field
2312 <dl class="detailList">
2313 <dt class="heading">Returns:</dt>
2315 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
2329 <td class="msource">
2337 <tr class="method-row config-row-alt0 expandable notInherited">
2338 <td class="micon"><a class="exi" href="#expand"> </a></td>
2342 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2343 <div class="fixedFont">
2344 <span class="attributes"></span><b class="itemname">getRawValue</b>
2361 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2367 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>}.
2378 <dl class="detailList">
2379 <dt class="heading">Returns:</dt>
2381 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2395 <td class="msource">
2403 <tr class="method-row config-row-alt1 expandable notInherited">
2404 <td class="micon"><a class="exi" href="#expand"> </a></td>
2408 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2409 <div class="fixedFont">
2410 <span class="attributes"></span><b class="itemname">getValue</b>
2427 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2433 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2444 <dl class="detailList">
2445 <dt class="heading">Returns:</dt>
2447 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2461 <td class="msource">
2469 <tr class="method-row config-row-alt0 expandable">
2470 <td class="micon"><a class="exi" href="#expand"> </a></td>
2474 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2475 <div class="fixedFont">
2476 <span class="attributes"></span><b class="itemname">hasListener</b>
2478 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2484 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2493 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2499 Checks to see if this object has any listeners for a specified event
2506 <dl class="detailList">
2507 <dt class="heading">Parameters:</dt>
2510 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2513 <dd>The name of the event to check for</dd>
2521 <dl class="detailList">
2522 <dt class="heading">Returns:</dt>
2524 <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>
2538 <td class="msource">
2540 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2546 <tr class="method-row config-row-alt1 expandable">
2547 <td class="micon"><a class="exi" href="#expand"> </a></td>
2551 <a id="Roo.Component-method-hide" name=".hide"></a>
2552 <div class="fixedFont">
2553 <span class="attributes"></span><b class="itemname">hide</b>
2561 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2570 <div class="short">Hide this component.</div>
2576 Hide this component.
2587 <dl class="detailList">
2588 <dt class="heading">Returns:</dt>
2590 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2604 <td class="msource">
2606 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2612 <tr class="method-row config-row-alt0 expandable notInherited">
2613 <td class="micon"><a class="exi" href="#expand"> </a></td>
2617 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
2618 <div class="fixedFont">
2619 <span class="attributes"></span><b class="itemname">inputEl</b>
2628 <div class="short">return the real input element.</div>
2634 return the real input element.
2655 <td class="msource">
2663 <tr class="method-row config-row-alt1 expandable">
2664 <td class="micon"><a class="exi" href="#expand"> </a></td>
2668 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2669 <div class="fixedFont">
2670 <span class="attributes"></span><b class="itemname">isVisible</b>
2679 <div class="short">Returns true if this component is visible.</div>
2685 Returns true if this component is visible.
2706 <td class="msource">
2708 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2714 <tr class="method-row config-row-alt0 expandable notInherited">
2715 <td class="micon"><a class="exi" href="#expand"> </a></td>
2719 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
2720 <div class="fixedFont">
2721 <span class="attributes"></span><b class="itemname">markInvalid</b>
2723 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
2730 <div class="short">Mark this field as invalid</div>
2736 Mark this field as invalid
2743 <dl class="detailList">
2744 <dt class="heading">Parameters:</dt>
2747 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
2750 <dd>The validation message</dd>
2768 <td class="msource">
2776 <tr class="method-row config-row-alt1 expandable">
2777 <td class="micon"><a class="exi" href="#expand"> </a></td>
2781 <a id="Roo.util.Observable-method-on" name=".on"></a>
2782 <div class="fixedFont">
2783 <span class="attributes"></span><b class="itemname">on</b>
2785 (<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>)
2792 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2798 Appends an event handler to this element (shorthand for addListener)
2805 <dl class="detailList">
2806 <dt class="heading">Parameters:</dt>
2809 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2812 <dd>The type of event to listen for</dd>
2815 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2818 <dd>The method the event invokes</dd>
2821 <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>
2824 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2827 <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>
2848 <td class="msource">
2850 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2856 <tr class="method-row config-row-alt0 expandable">
2857 <td class="micon"><a class="exi" href="#expand"> </a></td>
2861 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2862 <div class="fixedFont">
2863 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2872 <div class="short">Removes all listeners for this object</div>
2878 Removes all listeners for this object
2899 <td class="msource">
2901 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2907 <tr class="method-row config-row-alt1 expandable">
2908 <td class="micon"><a class="exi" href="#expand"> </a></td>
2912 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2913 <div class="fixedFont">
2914 <span class="attributes"></span><b class="itemname">removeListener</b>
2916 (<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>)
2923 <div class="short">Removes a listener</div>
2936 <dl class="detailList">
2937 <dt class="heading">Parameters:</dt>
2940 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2943 <dd>The type of event to listen for</dd>
2946 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2949 <dd>The handler to remove</dd>
2952 <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>
2955 <dd>(optional) The scope (this object) for the handler</dd>
2973 <td class="msource">
2975 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2981 <tr class="method-row config-row-alt0 expandable">
2982 <td class="micon"><a class="exi" href="#expand"> </a></td>
2986 <a id="Roo.Component-method-render" name=".render"></a>
2987 <div class="fixedFont">
2988 <span class="attributes"></span><b class="itemname">render</b>
2990 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
2997 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3003 If this is a lazy rendering component, render it to its container element.
3010 <dl class="detailList">
3011 <dt class="heading">Parameters:</dt>
3014 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3017 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3035 <td class="msource">
3037 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3043 <tr class="method-row config-row-alt1 expandable notInherited">
3044 <td class="micon"><a class="exi" href="#expand"> </a></td>
3048 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3049 <div class="fixedFont">
3050 <span class="attributes"></span><b class="itemname">reset</b>
3059 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3065 Resets the current field value to the originally loaded value and clears any validation messages
3086 <td class="msource">
3094 <tr class="method-row config-row-alt0 expandable">
3095 <td class="micon"><a class="exi" href="#expand"> </a></td>
3099 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3100 <div class="fixedFont">
3101 <span class="attributes"></span><b class="itemname">setDisabled</b>
3103 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3110 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3116 Convenience function for setting disabled/enabled by boolean.
3123 <dl class="detailList">
3124 <dt class="heading">Parameters:</dt>
3127 <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>
3148 <td class="msource">
3150 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3156 <tr class="method-row config-row-alt1 expandable notInherited">
3157 <td class="micon"><a class="exi" href="#expand"> </a></td>
3161 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3162 <div class="fixedFont">
3163 <span class="attributes"></span><b class="itemname">setRawValue</b>
3165 (Mixed <B><i>value</i></B>)
3172 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3178 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3185 <dl class="detailList">
3186 <dt class="heading">Parameters:</dt>
3189 <span class="fixedFont">Mixed</span> <b>value</b>
3192 <dd>The value to set</dd>
3210 <td class="msource">
3218 <tr class="method-row config-row-alt0 expandable notInherited">
3219 <td class="micon"><a class="exi" href="#expand"> </a></td>
3223 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3224 <div class="fixedFont">
3225 <span class="attributes"></span><b class="itemname">setValue</b>
3227 (Mixed <B><i>value</i></B>)
3234 <div class="short">Sets a data value into the field and validates it.</div>
3240 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3247 <dl class="detailList">
3248 <dt class="heading">Parameters:</dt>
3251 <span class="fixedFont">Mixed</span> <b>value</b>
3254 <dd>The value to set</dd>
3272 <td class="msource">
3280 <tr class="method-row config-row-alt1 expandable">
3281 <td class="micon"><a class="exi" href="#expand"> </a></td>
3285 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3286 <div class="fixedFont">
3287 <span class="attributes"></span><b class="itemname">setVisible</b>
3289 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3295 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3304 <div class="short">Convenience function to hide or show this component by boolean.</div>
3310 Convenience function to hide or show this component by boolean.
3317 <dl class="detailList">
3318 <dt class="heading">Parameters:</dt>
3321 <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>
3324 <dd>True to show, false to hide</dd>
3332 <dl class="detailList">
3333 <dt class="heading">Returns:</dt>
3335 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3349 <td class="msource">
3351 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3357 <tr class="method-row config-row-alt0 expandable">
3358 <td class="micon"><a class="exi" href="#expand"> </a></td>
3362 <a id="Roo.Component-method-show" name=".show"></a>
3363 <div class="fixedFont">
3364 <span class="attributes"></span><b class="itemname">show</b>
3372 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3381 <div class="short">Show this component.</div>
3387 Show this component.
3398 <dl class="detailList">
3399 <dt class="heading">Returns:</dt>
3401 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3415 <td class="msource">
3417 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3423 <tr class="method-row config-row-alt1 expandable">
3424 <td class="micon"><a class="exi" href="#expand"> </a></td>
3428 <a id="Roo.util.Observable-method-un" name=".un"></a>
3429 <div class="fixedFont">
3430 <span class="attributes"></span><b class="itemname">un</b>
3432 (<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>)
3439 <div class="short">Removes a listener (shorthand for removeListener)</div>
3445 Removes a listener (shorthand for removeListener)
3452 <dl class="detailList">
3453 <dt class="heading">Parameters:</dt>
3456 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3459 <dd>The type of event to listen for</dd>
3462 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3465 <dd>The handler to remove</dd>
3468 <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>
3471 <dd>(optional) The scope (this object) for the handler</dd>
3489 <td class="msource">
3491 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3497 <tr class="method-row config-row-alt0 expandable notInherited">
3498 <td class="micon"><a class="exi" href="#expand"> </a></td>
3502 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
3503 <div class="fixedFont">
3504 <span class="attributes"></span><b class="itemname">validate</b>
3512 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3521 <div class="short">Validates the field value</div>
3527 Validates the field value
3538 <dl class="detailList">
3539 <dt class="heading">Returns:</dt>
3541 <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>
3555 <td class="msource">
3563 <tr class="method-row config-row-alt1 expandable notInherited">
3564 <td class="micon"><a class="exi" href="#expand"> </a></td>
3568 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
3569 <div class="fixedFont">
3570 <span class="attributes"></span><b class="itemname">validateValue</b>
3572 (Mixed <B><i>value</i></B>)
3578 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3587 <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>
3593 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
3600 <dl class="detailList">
3601 <dt class="heading">Parameters:</dt>
3604 <span class="fixedFont">Mixed</span> <b>value</b>
3607 <dd>The value to validate</dd>
3615 <dl class="detailList">
3616 <dt class="heading">Returns:</dt>
3618 <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>
3632 <td class="msource">
3643 <!-- ============================== events summary / details ======================== -->
3646 <a id="Roo.bootstrap.Input-events"></a>
3655 <table cellspacing="0" class="member-table">
3656 <caption>Events</caption>
3659 <th class="sig-header" colspan="2">Event</th>
3660 <th class="msource-header">Defined By</th>
3669 <tr class="method-row expandable config-row-alt0">
3670 <td class="micon"><a class="exi" href="#expand"> </a></td>
3673 <a id="Roo.Component-event-*beforedestroy"></a>
3675 <div class="fixedFont">
3676 <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>)
3682 <div class="short">Fires before the component is destroyed.
3688 Fires before the component is destroyed. Return false to stop the destroy.
3694 <dl class="detailList">
3695 <dt class="heading">Parameters:</dt>
3698 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3719 <td class="msource">
3720 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3724 <tr class="method-row expandable config-row-alt1">
3725 <td class="micon"><a class="exi" href="#expand"> </a></td>
3728 <a id="Roo.Component-event-*beforehide"></a>
3730 <div class="fixedFont">
3731 <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>)
3737 <div class="short">Fires before the component is hidden.
3743 Fires before the component is hidden. Return false to stop the hide.
3749 <dl class="detailList">
3750 <dt class="heading">Parameters:</dt>
3753 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3774 <td class="msource">
3775 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3779 <tr class="method-row expandable config-row-alt0">
3780 <td class="micon"><a class="exi" href="#expand"> </a></td>
3783 <a id="Roo.Component-event-*beforerender"></a>
3785 <div class="fixedFont">
3786 <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>)
3792 <div class="short">Fires before the component is rendered.
3798 Fires before the component is rendered. Return false to stop the render.
3804 <dl class="detailList">
3805 <dt class="heading">Parameters:</dt>
3808 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3829 <td class="msource">
3830 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3834 <tr class="method-row expandable config-row-alt1">
3835 <td class="micon"><a class="exi" href="#expand"> </a></td>
3838 <a id="Roo.Component-event-*beforeshow"></a>
3840 <div class="fixedFont">
3841 <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>)
3847 <div class="short">Fires before the component is shown.
3853 Fires before the component is shown. Return false to stop the show.
3859 <dl class="detailList">
3860 <dt class="heading">Parameters:</dt>
3863 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3884 <td class="msource">
3885 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3889 <tr class="method-row expandable config-row-alt0 notInherited">
3890 <td class="micon"><a class="exi" href="#expand"> </a></td>
3893 <a id="Roo.bootstrap.Input-event-*blur"></a>
3895 <div class="fixedFont">
3896 <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>)
3902 <div class="short">Fires when this field loses input focus.
3908 Fires when this field loses input focus.
3914 <dl class="detailList">
3915 <dt class="heading">Parameters:</dt>
3918 <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>
3939 <td class="msource">
3944 <tr class="method-row expandable config-row-alt1 notInherited">
3945 <td class="micon"><a class="exi" href="#expand"> </a></td>
3948 <a id="Roo.bootstrap.Input-event-*change"></a>
3950 <div class="fixedFont">
3951 <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>)
3957 <div class="short">Fires just before the field blurs if the field value has changed.
3963 Fires just before the field blurs if the field value has changed.
3969 <dl class="detailList">
3970 <dt class="heading">Parameters:</dt>
3973 <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>
3979 <span class="fixedFont">Mixed</span> <b>newValue</b>
3982 <dd>The new value</dd>
3985 <span class="fixedFont">Mixed</span> <b>oldValue</b>
3988 <dd>The original value</dd>
4006 <td class="msource">
4011 <tr class="method-row expandable config-row-alt0">
4012 <td class="micon"><a class="exi" href="#expand"> </a></td>
4015 <a id="Roo.Component-event-*destroy"></a>
4017 <div class="fixedFont">
4018 <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>)
4024 <div class="short">Fires after the component is destroyed.
4030 Fires after the component is destroyed.
4036 <dl class="detailList">
4037 <dt class="heading">Parameters:</dt>
4040 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4061 <td class="msource">
4062 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4066 <tr class="method-row expandable config-row-alt1">
4067 <td class="micon"><a class="exi" href="#expand"> </a></td>
4070 <a id="Roo.Component-event-*disable"></a>
4072 <div class="fixedFont">
4073 <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>)
4079 <div class="short">Fires after the component is disabled.
4085 Fires after the component is disabled.
4091 <dl class="detailList">
4092 <dt class="heading">Parameters:</dt>
4095 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4116 <td class="msource">
4117 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4121 <tr class="method-row expandable config-row-alt0">
4122 <td class="micon"><a class="exi" href="#expand"> </a></td>
4125 <a id="Roo.Component-event-*enable"></a>
4127 <div class="fixedFont">
4128 <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>)
4134 <div class="short">Fires after the component is enabled.
4140 Fires after the component is enabled.
4146 <dl class="detailList">
4147 <dt class="heading">Parameters:</dt>
4150 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4171 <td class="msource">
4172 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4176 <tr class="method-row expandable config-row-alt1 notInherited">
4177 <td class="micon"><a class="exi" href="#expand"> </a></td>
4180 <a id="Roo.bootstrap.Input-event-*focus"></a>
4182 <div class="fixedFont">
4183 <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>)
4189 <div class="short">Fires when this field receives input focus.
4195 Fires when this field receives input focus.
4201 <dl class="detailList">
4202 <dt class="heading">Parameters:</dt>
4205 <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>
4226 <td class="msource">
4231 <tr class="method-row expandable config-row-alt0">
4232 <td class="micon"><a class="exi" href="#expand"> </a></td>
4235 <a id="Roo.Component-event-*hide"></a>
4237 <div class="fixedFont">
4238 <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>)
4244 <div class="short">Fires after the component is hidden.
4250 Fires after the component is hidden.
4256 <dl class="detailList">
4257 <dt class="heading">Parameters:</dt>
4260 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4281 <td class="msource">
4282 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4286 <tr class="method-row expandable config-row-alt1 notInherited">
4287 <td class="micon"><a class="exi" href="#expand"> </a></td>
4290 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4292 <div class="fixedFont">
4293 <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>)
4299 <div class="short">Fires after the field has been marked as invalid.
4305 Fires after the field has been marked as invalid.
4311 <dl class="detailList">
4312 <dt class="heading">Parameters:</dt>
4315 <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>
4321 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4324 <dd>The validation message</dd>
4342 <td class="msource">
4347 <tr class="method-row expandable config-row-alt0 notInherited">
4348 <td class="micon"><a class="exi" href="#expand"> </a></td>
4351 <a id="Roo.bootstrap.Input-event-*keyup"></a>
4353 <div class="fixedFont">
4354 <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>)
4360 <div class="short">Fires after the key up
4366 Fires after the key up
4372 <dl class="detailList">
4373 <dt class="heading">Parameters:</dt>
4376 <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>
4382 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4385 <dd>The event Object</dd>
4403 <td class="msource">
4408 <tr class="method-row expandable config-row-alt1">
4409 <td class="micon"><a class="exi" href="#expand"> </a></td>
4412 <a id="Roo.Component-event-*render"></a>
4414 <div class="fixedFont">
4415 <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>)
4421 <div class="short">Fires after the component is rendered.
4427 Fires after the component is rendered.
4433 <dl class="detailList">
4434 <dt class="heading">Parameters:</dt>
4437 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4458 <td class="msource">
4459 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4463 <tr class="method-row expandable config-row-alt0">
4464 <td class="micon"><a class="exi" href="#expand"> </a></td>
4467 <a id="Roo.Component-event-*show"></a>
4469 <div class="fixedFont">
4470 <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>)
4476 <div class="short">Fires after the component is shown.
4482 Fires after the component is shown.
4488 <dl class="detailList">
4489 <dt class="heading">Parameters:</dt>
4492 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4513 <td class="msource">
4514 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4518 <tr class="method-row expandable config-row-alt1 notInherited">
4519 <td class="micon"><a class="exi" href="#expand"> </a></td>
4522 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
4524 <div class="fixedFont">
4525 <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>)
4531 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
4537 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.
4543 <dl class="detailList">
4544 <dt class="heading">Parameters:</dt>
4547 <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>
4553 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4556 <dd>The event object</dd>
4574 <td class="msource">
4579 <tr class="method-row expandable config-row-alt0 notInherited">
4580 <td class="micon"><a class="exi" href="#expand"> </a></td>
4583 <a id="Roo.bootstrap.Input-event-*valid"></a>
4585 <div class="fixedFont">
4586 <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>)
4592 <div class="short">Fires after the field has been validated with no errors.
4598 Fires after the field has been validated with no errors.
4604 <dl class="detailList">
4605 <dt class="heading">Parameters:</dt>
4608 <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>
4629 <td class="msource">
4641 <!-- ============================== footer ================================= -->
4642 <div class="fineprint" style="clear:both">
4644 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Dec 05 2014 12:44:12 GMT+0800 (HKT)
4646 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>