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.MoneyField.html#constructor" roo:cls="Roo.bootstrap.MoneyField.html#constructor">Roo.bootstrap.MoneyField</a>, <a href="./Roo.bootstrap.MonthField.html#constructor" roo:cls="Roo.bootstrap.MonthField.html#constructor">Roo.bootstrap.MonthField</a>, <a href="./Roo.bootstrap.NumberField.html#constructor" roo:cls="Roo.bootstrap.NumberField.html#constructor">Roo.bootstrap.NumberField</a>, <a href="./Roo.bootstrap.PhoneInput.html#constructor" roo:cls="Roo.bootstrap.PhoneInput.html#constructor">Roo.bootstrap.PhoneInput</a>, <a href="./Roo.bootstrap.RadioSet.html#constructor" roo:cls="Roo.bootstrap.RadioSet.html#constructor">Roo.bootstrap.RadioSet</a>, <a href="./Roo.bootstrap.SecurePass.html#constructor" roo:cls="Roo.bootstrap.SecurePass.html#constructor">Roo.bootstrap.SecurePass</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>
153 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
163 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
169 <tr class="config-row expandable config-row-alt1 notInherited">
170 <td class="micon"><a class="exi" href="#expand"> </a></td>
173 <a id="Roo.bootstrap.Input-cfg-after" name=".after"></a>
174 <div class="fixedFont">
175 <b class="itemname">after</b> : string
181 <div class="short">- input group add on after</div>
186 - input group add on after
202 <tr class="config-row expandable config-row-alt0 notInherited">
203 <td class="micon"><a class="exi" href="#expand"> </a></td>
206 <a id="Roo.bootstrap.Input-cfg-align" name=".align"></a>
207 <div class="fixedFont">
208 <b class="itemname">align</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
214 <div class="short">Default left</div>
220 <BR/>Possible Values: left, center, right
235 <tr class="config-row expandable config-row-alt1 notInherited">
236 <td class="micon"><a class="exi" href="#expand"> </a></td>
239 <a id="Roo.bootstrap.Input-cfg-allowBlank" name=".allowBlank"></a>
240 <div class="fixedFont">
241 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
247 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
252 False to validate that the value length > 0 (defaults to true)
268 <tr class="config-row expandable config-row-alt0">
269 <td class="micon"><a class="exi" href="#expand"> </a></td>
272 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
273 <div class="fixedFont">
274 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
280 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
285 Whether the component can move the Dom node when rendering (defaults to true).
295 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
301 <tr class="config-row expandable config-row-alt1 notInherited">
302 <td class="micon"><a class="exi" href="#expand"> </a></td>
305 <a id="Roo.bootstrap.Input-cfg-autocomplete" name=".autocomplete"></a>
306 <div class="fixedFont">
307 <b class="itemname">autocomplete</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
313 <div class="short">- default is new-password see: https://developers.google.com/web/fundamentals/input/form/label-and-name-inputs?hl=en</div>
318 - default is new-password see: https://developers.google.com/web/fundamentals/input/form/label-and-name-inputs?hl=en
334 <tr class="config-row expandable config-row-alt0 notInherited">
335 <td class="micon"><a class="exi" href="#expand"> </a></td>
338 <a id="Roo.bootstrap.Input-cfg-before" name=".before"></a>
339 <div class="fixedFont">
340 <b class="itemname">before</b> : string
346 <div class="short">- input group add on before</div>
351 - input group add on before
367 <tr class="config-row expandable config-row-alt1 notInherited">
368 <td class="micon"><a class="exi" href="#expand"> </a></td>
371 <a id="Roo.bootstrap.Input-cfg-blankText" name=".blankText"></a>
372 <div class="fixedFont">
373 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
379 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
384 Error text to display if the allow blank validation fails (defaults to "This field is required")
400 <tr class="config-row expandable config-row-alt0">
401 <td class="micon"><a class="exi" href="#expand"> </a></td>
404 <a id="Roo.bootstrap.Component-cfg-can_build_overlaid" name=".can_build_overlaid"></a>
405 <div class="fixedFont">
406 <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>
412 <div class="short">True if element can be rebuild from a HTML page</div>
417 True if element can be rebuild from a HTML page
427 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
433 <tr class="config-row expandable config-row-alt1">
434 <td class="micon"><a class="exi" href="#expand"> </a></td>
437 <a id="Roo.bootstrap.Component-cfg-cls" name=".cls"></a>
438 <div class="fixedFont">
439 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
445 <div class="short">css class</div>
460 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
466 <tr class="config-row expandable config-row-alt0">
467 <td class="micon"><a class="exi" href="#expand"> </a></td>
470 <a id="Roo.bootstrap.Component-cfg-container_method" name=".container_method"></a>
471 <div class="fixedFont">
472 <b class="itemname">container_method</b> : string
478 <div class="short">method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)</div>
483 method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)
493 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
499 <tr class="config-row expandable config-row-alt1">
500 <td class="micon"><a class="exi" href="#expand"> </a></td>
503 <a id="Roo.bootstrap.Component-cfg-dataId" name=".dataId"></a>
504 <div class="fixedFont">
505 <b class="itemname">dataId</b> : string
511 <div class="short">cutomer id</div>
526 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
532 <tr class="config-row expandable config-row-alt0">
533 <td class="micon"><a class="exi" href="#expand"> </a></td>
536 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
537 <div class="fixedFont">
538 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
544 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
549 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
559 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
565 <tr class="config-row expandable config-row-alt1 notInherited">
566 <td class="micon"><a class="exi" href="#expand"> </a></td>
569 <a id="Roo.bootstrap.Input-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
570 <div class="fixedFont">
571 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
577 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
582 True to disable input keystroke filtering (defaults to false)
598 <tr class="config-row expandable config-row-alt0 notInherited">
599 <td class="micon"><a class="exi" href="#expand"> </a></td>
602 <a id="Roo.bootstrap.Input-cfg-disabled" name=".disabled"></a>
603 <div class="fixedFont">
604 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
610 <div class="short">is it disabled</div>
631 <tr class="config-row expandable config-row-alt1 notInherited">
632 <td class="micon"><a class="exi" href="#expand"> </a></td>
635 <a id="Roo.bootstrap.Input-cfg-fieldLabel" name=".fieldLabel"></a>
636 <div class="fixedFont">
637 <b class="itemname">fieldLabel</b> : string
643 <div class="short">- the label associated</div>
648 - the label associated
664 <tr class="config-row expandable config-row-alt0 notInherited">
665 <td class="micon"><a class="exi" href="#expand"> </a></td>
668 <a id="Roo.bootstrap.Input-cfg-focusClass" name=".focusClass"></a>
669 <div class="fixedFont">
670 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
676 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
681 The CSS class to use when the field receives focus (defaults to "x-form-focus")
697 <tr class="config-row expandable config-row-alt1 notInherited">
698 <td class="micon"><a class="exi" href="#expand"> </a></td>
701 <a id="Roo.bootstrap.Input-cfg-forceFeedback" name=".forceFeedback"></a>
702 <div class="fixedFont">
703 <b class="itemname">forceFeedback</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
709 <div class="short">Default false</div>
715 <BR/>Possible Values: true, false
730 <tr class="config-row expandable config-row-alt0 notInherited">
731 <td class="micon"><a class="exi" href="#expand"> </a></td>
734 <a id="Roo.bootstrap.Input-cfg-hasFeedback" name=".hasFeedback"></a>
735 <div class="fixedFont">
736 <b class="itemname">hasFeedback</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
742 <div class="short">default true</div>
748 <BR/>Possible Values: true, false
763 <tr class="config-row expandable config-row-alt1">
764 <td class="micon"><a class="exi" href="#expand"> </a></td>
767 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
768 <div class="fixedFont">
769 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
775 <div class="short">How this component should hidden.</div>
780 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
781 <BR/>Possible Values: display, visibility
790 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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-indicatorpos" name=".indicatorpos"></a>
801 <div class="fixedFont">
802 <b class="itemname">indicatorpos</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
808 <div class="short">default left</div>
814 <BR/>Possible Values: left, right
829 <tr class="config-row expandable config-row-alt1 notInherited">
830 <td class="micon"><a class="exi" href="#expand"> </a></td>
833 <a id="Roo.bootstrap.Input-cfg-inputType" name=".inputType"></a>
834 <div class="fixedFont">
835 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
841 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
846 button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text
862 <tr class="config-row expandable config-row-alt0 notInherited">
863 <td class="micon"><a class="exi" href="#expand"> </a></td>
866 <a id="Roo.bootstrap.Input-cfg-invalidClass" name=".invalidClass"></a>
867 <div class="fixedFont">
868 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
874 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
879 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
895 <tr class="config-row expandable config-row-alt1 notInherited">
896 <td class="micon"><a class="exi" href="#expand"> </a></td>
899 <a id="Roo.bootstrap.Input-cfg-invalidFeedbackIcon" name=".invalidFeedbackIcon"></a>
900 <div class="fixedFont">
901 <b class="itemname">invalidFeedbackIcon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
907 <div class="short">The CSS class to use when create feedback icon (defaults to "x-form-invalid")</div>
912 The CSS class to use when create feedback icon (defaults to "x-form-invalid")
928 <tr class="config-row expandable config-row-alt0 notInherited">
929 <td class="micon"><a class="exi" href="#expand"> </a></td>
932 <a id="Roo.bootstrap.Input-cfg-invalidText" name=".invalidText"></a>
933 <div class="fixedFont">
934 <b class="itemname">invalidText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
940 <div class="short">The error text to display if {<b>link</b> <b>validator</b>} test fails during validation (defaults to "")</div>
945 The error text to display if {<b>link</b> <b>validator</b>} test fails during validation (defaults to "")
961 <tr class="config-row expandable config-row-alt1 notInherited">
962 <td class="micon"><a class="exi" href="#expand"> </a></td>
965 <a id="Roo.bootstrap.Input-cfg-labelAlign" name=".labelAlign"></a>
966 <div class="fixedFont">
967 <b class="itemname">labelAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
973 <div class="short"></div>
979 <BR/>Possible Values: top, left
994 <tr class="config-row expandable config-row-alt0 notInherited">
995 <td class="micon"><a class="exi" href="#expand"> </a></td>
998 <a id="Roo.bootstrap.Input-cfg-labelWidth" name=".labelWidth"></a>
999 <div class="fixedFont">
1000 <b class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1006 <div class="short">set the width of label</div>
1011 set the width of label
1019 <td class="msource">
1027 <tr class="config-row expandable config-row-alt1 notInherited">
1028 <td class="micon"><a class="exi" href="#expand"> </a></td>
1031 <a id="Roo.bootstrap.Input-cfg-labellg" name=".labellg"></a>
1032 <div class="fixedFont">
1033 <b class="itemname">labellg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1039 <div class="short">set the width of label (1-12)</div>
1044 set the width of label (1-12)
1052 <td class="msource">
1060 <tr class="config-row expandable config-row-alt0 notInherited">
1061 <td class="micon"><a class="exi" href="#expand"> </a></td>
1064 <a id="Roo.bootstrap.Input-cfg-labelmd" name=".labelmd"></a>
1065 <div class="fixedFont">
1066 <b class="itemname">labelmd</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1072 <div class="short">set the width of label (1-12)</div>
1077 set the width of label (1-12)
1085 <td class="msource">
1093 <tr class="config-row expandable config-row-alt1 notInherited">
1094 <td class="micon"><a class="exi" href="#expand"> </a></td>
1097 <a id="Roo.bootstrap.Input-cfg-labelsm" name=".labelsm"></a>
1098 <div class="fixedFont">
1099 <b class="itemname">labelsm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1105 <div class="short">set the width of label (1-12)</div>
1110 set the width of label (1-12)
1118 <td class="msource">
1126 <tr class="config-row expandable config-row-alt0 notInherited">
1127 <td class="micon"><a class="exi" href="#expand"> </a></td>
1130 <a id="Roo.bootstrap.Input-cfg-labelxs" name=".labelxs"></a>
1131 <div class="fixedFont">
1132 <b class="itemname">labelxs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1138 <div class="short">set the width of label (1-12)</div>
1143 set the width of label (1-12)
1151 <td class="msource">
1159 <tr class="config-row expandable config-row-alt1 notInherited">
1160 <td class="micon"><a class="exi" href="#expand"> </a></td>
1163 <a id="Roo.bootstrap.Input-cfg-lg" name=".lg"></a>
1164 <div class="fixedFont">
1165 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1171 <div class="short">colspan out of 12 for large computer-sized screens</div>
1176 colspan out of 12 for large computer-sized screens
1184 <td class="msource">
1192 <tr class="config-row expandable config-row-alt0">
1193 <td class="micon"><a class="exi" href="#expand"> </a></td>
1196 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
1197 <div class="fixedFont">
1198 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1204 <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>
1209 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>
1217 <td class="msource">
1219 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1225 <tr class="config-row expandable config-row-alt1 notInherited">
1226 <td class="micon"><a class="exi" href="#expand"> </a></td>
1229 <a id="Roo.bootstrap.Input-cfg-maskRe" name=".maskRe"></a>
1230 <div class="fixedFont">
1231 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1237 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
1242 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
1250 <td class="msource">
1258 <tr class="config-row expandable config-row-alt0 notInherited">
1259 <td class="micon"><a class="exi" href="#expand"> </a></td>
1262 <a id="Roo.bootstrap.Input-cfg-maxLength" name=".maxLength"></a>
1263 <div class="fixedFont">
1264 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1270 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
1275 Maximum input field length allowed (defaults to Number.MAX_VALUE)
1283 <td class="msource">
1291 <tr class="config-row expandable config-row-alt1 notInherited">
1292 <td class="micon"><a class="exi" href="#expand"> </a></td>
1295 <a id="Roo.bootstrap.Input-cfg-maxLengthText" name=".maxLengthText"></a>
1296 <div class="fixedFont">
1297 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1303 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1308 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
1316 <td class="msource">
1324 <tr class="config-row expandable config-row-alt0 notInherited">
1325 <td class="micon"><a class="exi" href="#expand"> </a></td>
1328 <a id="Roo.bootstrap.Input-cfg-md" name=".md"></a>
1329 <div class="fixedFont">
1330 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1336 <div class="short">colspan out of 12 for computer-sized screens</div>
1341 colspan out of 12 for computer-sized screens
1349 <td class="msource">
1357 <tr class="config-row expandable config-row-alt1 notInherited">
1358 <td class="micon"><a class="exi" href="#expand"> </a></td>
1361 <a id="Roo.bootstrap.Input-cfg-minLength" name=".minLength"></a>
1362 <div class="fixedFont">
1363 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1369 <div class="short">Minimum input field length required (defaults to 0)</div>
1374 Minimum input field length required (defaults to 0)
1382 <td class="msource">
1390 <tr class="config-row expandable config-row-alt0 notInherited">
1391 <td class="micon"><a class="exi" href="#expand"> </a></td>
1394 <a id="Roo.bootstrap.Input-cfg-minLengthText" name=".minLengthText"></a>
1395 <div class="fixedFont">
1396 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1402 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1407 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1415 <td class="msource">
1423 <tr class="config-row expandable config-row-alt1 notInherited">
1424 <td class="micon"><a class="exi" href="#expand"> </a></td>
1427 <a id="Roo.bootstrap.Input-cfg-name" name=".name"></a>
1428 <div class="fixedFont">
1429 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1435 <div class="short">name of the input</div>
1448 <td class="msource">
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-placeholder" name=".placeholder"></a>
1461 <div class="fixedFont">
1462 <b class="itemname">placeholder</b> : string
1468 <div class="short">- placeholder to put in text.</div>
1473 - placeholder to put in text.
1481 <td class="msource">
1489 <tr class="config-row expandable config-row-alt1 notInherited">
1490 <td class="micon"><a class="exi" href="#expand"> </a></td>
1493 <a id="Roo.bootstrap.Input-cfg-readOnly" name=".readOnly"></a>
1494 <div class="fixedFont">
1495 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1501 <div class="short">Specifies that the field should be read-only</div>
1506 Specifies that the field should be read-only
1514 <td class="msource">
1522 <tr class="config-row expandable config-row-alt0 notInherited">
1523 <td class="micon"><a class="exi" href="#expand"> </a></td>
1526 <a id="Roo.bootstrap.Input-cfg-regex" name=".regex"></a>
1527 <div class="fixedFont">
1528 <b class="itemname">regex</b> : RegExp
1534 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1539 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>}.
1547 <td class="msource">
1555 <tr class="config-row expandable config-row-alt1 notInherited">
1556 <td class="micon"><a class="exi" href="#expand"> </a></td>
1559 <a id="Roo.bootstrap.Input-cfg-regexText" name=".regexText"></a>
1560 <div class="fixedFont">
1561 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1567 <div class="short">-- Depricated - use Invalid Text</div>
1572 -- Depricated - use Invalid Text
1580 <td class="msource">
1588 <tr class="config-row expandable config-row-alt0 notInherited">
1589 <td class="micon"><a class="exi" href="#expand"> </a></td>
1592 <a id="Roo.bootstrap.Input-cfg-selectOnFocus" name=".selectOnFocus"></a>
1593 <div class="fixedFont">
1594 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1600 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1605 True to automatically select any existing field text when the field receives input focus (defaults to false)
1613 <td class="msource">
1621 <tr class="config-row expandable config-row-alt1 notInherited">
1622 <td class="micon"><a class="exi" href="#expand"> </a></td>
1625 <a id="Roo.bootstrap.Input-cfg-size" name=".size"></a>
1626 <div class="fixedFont">
1627 <b class="itemname">size</b> : string
1633 <div class="short">- (lg|sm) or leave empty.</div>
1638 - (lg|sm) or leave empty..
1646 <td class="msource">
1654 <tr class="config-row expandable config-row-alt0 notInherited">
1655 <td class="micon"><a class="exi" href="#expand"> </a></td>
1658 <a id="Roo.bootstrap.Input-cfg-sm" name=".sm"></a>
1659 <div class="fixedFont">
1660 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1666 <div class="short">colspan out of 12 for tablet-sized screens</div>
1671 colspan out of 12 for tablet-sized screens
1679 <td class="msource">
1687 <tr class="config-row expandable config-row-alt1">
1688 <td class="micon"><a class="exi" href="#expand"> </a></td>
1691 <a id="Roo.bootstrap.Component-cfg-style" name=".style"></a>
1692 <div class="fixedFont">
1693 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1699 <div class="short">any extra css</div>
1712 <td class="msource">
1714 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1720 <tr class="config-row expandable config-row-alt0">
1721 <td class="micon"><a class="exi" href="#expand"> </a></td>
1724 <a id="Roo.bootstrap.Component-cfg-tooltip" name=".tooltip"></a>
1725 <div class="fixedFont">
1726 <b class="itemname">tooltip</b> : string
1732 <div class="short">Text for the tooltip</div>
1737 Text for the tooltip
1745 <td class="msource">
1747 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1753 <tr class="config-row expandable config-row-alt1 notInherited">
1754 <td class="micon"><a class="exi" href="#expand"> </a></td>
1757 <a id="Roo.bootstrap.Input-cfg-validClass" name=".validClass"></a>
1758 <div class="fixedFont">
1759 <b class="itemname">validClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1765 <div class="short">The CSS class to use when marking a field valid (defaults to "x-form-invalid")</div>
1770 The CSS class to use when marking a field valid (defaults to "x-form-invalid")
1778 <td class="msource">
1786 <tr class="config-row expandable config-row-alt0 notInherited">
1787 <td class="micon"><a class="exi" href="#expand"> </a></td>
1790 <a id="Roo.bootstrap.Input-cfg-validFeedbackIcon" name=".validFeedbackIcon"></a>
1791 <div class="fixedFont">
1792 <b class="itemname">validFeedbackIcon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1798 <div class="short">The CSS class to use when create feedback icon (defaults to "x-form-invalid")</div>
1803 The CSS class to use when create feedback icon (defaults to "x-form-invalid")
1811 <td class="msource">
1819 <tr class="config-row expandable config-row-alt1 notInherited">
1820 <td class="micon"><a class="exi" href="#expand"> </a></td>
1823 <a id="Roo.bootstrap.Input-cfg-validateOnBlur" name=".validateOnBlur"></a>
1824 <div class="fixedFont">
1825 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1831 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1836 Whether the field should validate when it loses focus (defaults to true).
1844 <td class="msource">
1852 <tr class="config-row expandable config-row-alt0 notInherited">
1853 <td class="micon"><a class="exi" href="#expand"> </a></td>
1856 <a id="Roo.bootstrap.Input-cfg-validationDelay" name=".validationDelay"></a>
1857 <div class="fixedFont">
1858 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1864 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1869 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1877 <td class="msource">
1885 <tr class="config-row expandable config-row-alt1 notInherited">
1886 <td class="micon"><a class="exi" href="#expand"> </a></td>
1889 <a id="Roo.bootstrap.Input-cfg-validationEvent" name=".validationEvent"></a>
1890 <div class="fixedFont">
1891 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1897 <div class="short">The event that should initiate field validation.</div>
1902 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1910 <td class="msource">
1918 <tr class="config-row expandable config-row-alt0 notInherited">
1919 <td class="micon"><a class="exi" href="#expand"> </a></td>
1922 <a id="Roo.bootstrap.Input-cfg-validator" name=".validator"></a>
1923 <div class="fixedFont">
1924 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1930 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1935 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.
1943 <td class="msource">
1951 <tr class="config-row expandable config-row-alt1 notInherited">
1952 <td class="micon"><a class="exi" href="#expand"> </a></td>
1955 <a id="Roo.bootstrap.Input-cfg-value" name=".value"></a>
1956 <div class="fixedFont">
1957 <b class="itemname">value</b> : string
1963 <div class="short">default value of the input</div>
1968 default value of the input
1976 <td class="msource">
1984 <tr class="config-row expandable config-row-alt0">
1985 <td class="micon"><a class="exi" href="#expand"> </a></td>
1988 <a id="Roo.bootstrap.Component-cfg-visibilityEl" name=".visibilityEl"></a>
1989 <div class="fixedFont">
1990 <b class="itemname">visibilityEl</b> : string|object
1996 <div class="short">What element to use for visibility (<b>see</b> getVisibilityEl())</div>
2001 What element to use for visibility (<b>see</b> getVisibilityEl())
2002 <BR/>Possible Values: el, parent
2009 <td class="msource">
2011 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
2017 <tr class="config-row expandable config-row-alt1 notInherited">
2018 <td class="micon"><a class="exi" href="#expand"> </a></td>
2021 <a id="Roo.bootstrap.Input-cfg-vtype" name=".vtype"></a>
2022 <div class="fixedFont">
2023 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2029 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
2034 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
2042 <td class="msource">
2050 <tr class="config-row expandable config-row-alt0">
2051 <td class="micon"><a class="exi" href="#expand"> </a></td>
2054 <a id="Roo.bootstrap.Component-cfg-xattr" name=".xattr"></a>
2055 <div class="fixedFont">
2056 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
2062 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
2067 extra attributes to add to 'element' (used by builder to store stuff.)
2075 <td class="msource">
2077 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
2083 <tr class="config-row expandable config-row-alt1 notInherited">
2084 <td class="micon"><a class="exi" href="#expand"> </a></td>
2087 <a id="Roo.bootstrap.Input-cfg-xs" name=".xs"></a>
2088 <div class="fixedFont">
2089 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
2095 <div class="short">colspan out of 12 for mobile-sized screens</div>
2100 colspan out of 12 for mobile-sized screens
2108 <td class="msource">
2126 <!-- ============================== public properties ==================== -->
2130 <a id="Roo.bootstrap.Input-props"></a>
2136 <table cellspacing="0" class="member-table">
2137 <caption class="Empty">Public Properties - Has None</caption>
2143 <!-- ============================== methods summary / details ======================== -->
2146 <a id="Roo.bootstrap.Input-methods"></a>
2147 <!-- constructor?? -->
2154 <!-- then dynamics first -->
2161 <table cellspacing="0" class="member-table">
2162 <caption>Public Methods</caption>
2164 <th class="sig-header" colspan="2">Method</th>
2165 <th class="msource-header">Defined By</th>
2175 <tr class="method-row config-row-alt0 expandable notInherited">
2176 <td class="micon"><a class="exi" href="#expand"> </a></td>
2180 <a id="Roo.bootstrap-method-Input" name=".Input"></a>
2181 <div class="fixedFont">
2182 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">Input</b>
2184 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
2192 <div class="short">Create a new Roo.bootstrap.Input</div>
2199 Create a new Roo.bootstrap.Input
2202 <dl class="detailList">
2203 <dt class="heading">Parameters:</dt>
2206 <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>
2209 <dd>The config object</dd>
2227 <td class="msource">
2233 <tr class="method-row config-row-alt1 expandable">
2234 <td class="micon"><a class="exi" href="#expand"> </a></td>
2238 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
2239 <div class="fixedFont">
2240 <span class="attributes"></span><b class="itemname">addEvents</b>
2242 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
2249 <div class="short">Used to define events on this Observable</div>
2255 Used to define events on this Observable
2262 <dl class="detailList">
2263 <dt class="heading">Parameters:</dt>
2266 <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>
2269 <dd>The object with the events defined</dd>
2287 <td class="msource">
2289 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2295 <tr class="method-row config-row-alt0 expandable">
2296 <td class="micon"><a class="exi" href="#expand"> </a></td>
2300 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
2301 <div class="fixedFont">
2302 <span class="attributes"></span><b class="itemname">addListener</b>
2304 (<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>)
2311 <div class="short">Appends an event handler to this component</div>
2317 Appends an event handler to this component
2324 <dl class="detailList">
2325 <dt class="heading">Parameters:</dt>
2328 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2331 <dd>The type of event to listen for</dd>
2334 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2337 <dd>The method the event invokes</dd>
2340 <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>
2343 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2346 <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>
2349 <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>
2367 <td class="msource">
2369 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2375 <tr class="method-row config-row-alt1 expandable notInherited">
2376 <td class="micon"><a class="exi" href="#expand"> </a></td>
2380 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
2381 <div class="fixedFont">
2382 <span class="attributes"></span><b class="itemname">clearInvalid</b>
2391 <div class="short">Clear any invalid styles/messages for this field</div>
2397 Clear any invalid styles/messages for this field
2418 <td class="msource">
2426 <tr class="method-row config-row-alt0 expandable">
2427 <td class="micon"><a class="exi" href="#expand"> </a></td>
2431 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2432 <div class="fixedFont">
2433 <span class="attributes"></span><b class="itemname">destroy</b>
2442 <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>
2448 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}.
2469 <td class="msource">
2471 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2477 <tr class="method-row config-row-alt1 expandable">
2478 <td class="micon"><a class="exi" href="#expand"> </a></td>
2482 <a id="Roo.Component-method-disable" name=".disable"></a>
2483 <div class="fixedFont">
2484 <span class="attributes"></span><b class="itemname">disable</b>
2492 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2501 <div class="short">Disable this component.</div>
2507 Disable this component.
2518 <dl class="detailList">
2519 <dt class="heading">Returns:</dt>
2521 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2535 <td class="msource">
2537 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2543 <tr class="method-row config-row-alt0 expandable">
2544 <td class="micon"><a class="exi" href="#expand"> </a></td>
2548 <a id="Roo.Component-method-enable" name=".enable"></a>
2549 <div class="fixedFont">
2550 <span class="attributes"></span><b class="itemname">enable</b>
2558 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2567 <div class="short">Enable this component.</div>
2573 Enable this component.
2584 <dl class="detailList">
2585 <dt class="heading">Returns:</dt>
2587 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2601 <td class="msource">
2603 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2609 <tr class="method-row config-row-alt1 expandable">
2610 <td class="micon"><a class="exi" href="#expand"> </a></td>
2614 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2615 <div class="fixedFont">
2616 <span class="attributes"></span><b class="itemname">fireEvent</b>
2618 (<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>)
2624 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2633 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2639 Fires the specified event with the passed parameters (minus the event name).
2646 <dl class="detailList">
2647 <dt class="heading">Parameters:</dt>
2650 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2656 <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>
2659 <dd>Variable number of parameters are passed to handlers</dd>
2667 <dl class="detailList">
2668 <dt class="heading">Returns:</dt>
2670 <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>
2684 <td class="msource">
2686 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2692 <tr class="method-row config-row-alt0 expandable">
2693 <td class="micon"><a class="exi" href="#expand"> </a></td>
2697 <a id="Roo.Component-method-focus" name=".focus"></a>
2698 <div class="fixedFont">
2699 <span class="attributes"></span><b class="itemname">focus</b>
2701 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2707 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2716 <div class="short">Try to focus this component.</div>
2722 Try to focus this component.
2729 <dl class="detailList">
2730 <dt class="heading">Parameters:</dt>
2733 <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>
2736 <dd>True to also select the text in this component (if applicable)</dd>
2744 <dl class="detailList">
2745 <dt class="heading">Returns:</dt>
2747 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2761 <td class="msource">
2763 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2769 <tr class="method-row config-row-alt1 expandable">
2770 <td class="micon"><a class="exi" href="#expand"> </a></td>
2774 <a id="Roo.bootstrap.Component-method-getChildContainer" name=".getChildContainer"></a>
2775 <div class="fixedFont">
2776 <span class="attributes"></span><b class="itemname">getChildContainer</b>
2784 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2793 <div class="short">Fetch the element to add children to</div>
2799 Fetch the element to add children to
2810 <dl class="detailList">
2811 <dt class="heading">Returns:</dt>
2813 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> defaults to this.el</dd>
2827 <td class="msource">
2829 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
2835 <tr class="method-row config-row-alt0 expandable">
2836 <td class="micon"><a class="exi" href="#expand"> </a></td>
2840 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2841 <div class="fixedFont">
2842 <span class="attributes"></span><b class="itemname">getEl</b>
2850 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2859 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2865 Returns the underlying {<b>link</b> Roo.Element}.
2876 <dl class="detailList">
2877 <dt class="heading">Returns:</dt>
2879 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2893 <td class="msource">
2895 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2901 <tr class="method-row config-row-alt1 expandable">
2902 <td class="micon"><a class="exi" href="#expand"> </a></td>
2906 <a id="Roo.Component-method-getId" name=".getId"></a>
2907 <div class="fixedFont">
2908 <span class="attributes"></span><b class="itemname">getId</b>
2916 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2925 <div class="short">Returns the id of this component.</div>
2931 Returns the id of this component.
2942 <dl class="detailList">
2943 <dt class="heading">Returns:</dt>
2945 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2959 <td class="msource">
2961 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2967 <tr class="method-row config-row-alt0 expandable notInherited">
2968 <td class="micon"><a class="exi" href="#expand"> </a></td>
2972 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2973 <div class="fixedFont">
2974 <span class="attributes"></span><b class="itemname">getName</b>
2991 <div class="short">Returns the name of the field</div>
2997 Returns the name of the field
3008 <dl class="detailList">
3009 <dt class="heading">Returns:</dt>
3011 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
3025 <td class="msource">
3033 <tr class="method-row config-row-alt1 expandable notInherited">
3034 <td class="micon"><a class="exi" href="#expand"> </a></td>
3038 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
3039 <div class="fixedFont">
3040 <span class="attributes"></span><b class="itemname">getRawValue</b>
3057 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
3063 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>}.
3074 <dl class="detailList">
3075 <dt class="heading">Returns:</dt>
3077 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
3091 <td class="msource">
3099 <tr class="method-row config-row-alt0 expandable notInherited">
3100 <td class="micon"><a class="exi" href="#expand"> </a></td>
3104 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
3105 <div class="fixedFont">
3106 <span class="attributes"></span><b class="itemname">getValue</b>
3123 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
3129 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
3140 <dl class="detailList">
3141 <dt class="heading">Returns:</dt>
3143 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
3157 <td class="msource">
3165 <tr class="method-row config-row-alt1 expandable">
3166 <td class="micon"><a class="exi" href="#expand"> </a></td>
3170 <a id="Roo.bootstrap.Component-method-getVisibilityEl" name=".getVisibilityEl"></a>
3171 <div class="fixedFont">
3172 <span class="attributes"></span><b class="itemname">getVisibilityEl</b>
3181 <div class="short">Get the element that will be used to show or hide</div>
3187 Get the element that will be used to show or hide
3208 <td class="msource">
3210 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3216 <tr class="method-row config-row-alt0 expandable">
3217 <td class="micon"><a class="exi" href="#expand"> </a></td>
3221 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
3222 <div class="fixedFont">
3223 <span class="attributes"></span><b class="itemname">hasListener</b>
3225 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
3231 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3240 <div class="short">Checks to see if this object has any listeners for a specified event</div>
3246 Checks to see if this object has any listeners for a specified event
3253 <dl class="detailList">
3254 <dt class="heading">Parameters:</dt>
3257 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3260 <dd>The name of the event to check for</dd>
3268 <dl class="detailList">
3269 <dt class="heading">Returns:</dt>
3271 <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>
3285 <td class="msource">
3287 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3293 <tr class="method-row config-row-alt1 expandable">
3294 <td class="micon"><a class="exi" href="#expand"> </a></td>
3298 <a id="Roo.bootstrap.Component-method-hide" name=".hide"></a>
3299 <div class="fixedFont">
3300 <span class="attributes"></span><b class="itemname">hide</b>
3309 <div class="short">Hide a component - adds 'hidden' class</div>
3315 Hide a component - adds 'hidden' class
3336 <td class="msource">
3338 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3344 <tr class="method-row config-row-alt0 expandable">
3345 <td class="micon"><a class="exi" href="#expand"> </a></td>
3349 <a id="Roo.bootstrap.Component-method-initEvents" name=".initEvents"></a>
3350 <div class="fixedFont">
3351 <span class="attributes"></span><b class="itemname">initEvents</b>
3360 <div class="short">Initialize Events for the element</div>
3366 Initialize Events for the element
3387 <td class="msource">
3389 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3395 <tr class="method-row config-row-alt1 expandable notInherited">
3396 <td class="micon"><a class="exi" href="#expand"> </a></td>
3400 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
3401 <div class="fixedFont">
3402 <span class="attributes"></span><b class="itemname">inputEl</b>
3411 <div class="short">return the real input element.</div>
3417 return the real input element.
3438 <td class="msource">
3446 <tr class="method-row config-row-alt0 expandable">
3447 <td class="micon"><a class="exi" href="#expand"> </a></td>
3451 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3452 <div class="fixedFont">
3453 <span class="attributes"></span><b class="itemname">isVisible</b>
3462 <div class="short">Returns true if this component is visible.</div>
3468 Returns true if this component is visible.
3489 <td class="msource">
3491 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3497 <tr class="method-row config-row-alt1 expandable notInherited">
3498 <td class="micon"><a class="exi" href="#expand"> </a></td>
3502 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
3503 <div class="fixedFont">
3504 <span class="attributes"></span><b class="itemname">markInvalid</b>
3506 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3513 <div class="short">Mark this field as invalid</div>
3519 Mark this field as invalid
3526 <dl class="detailList">
3527 <dt class="heading">Parameters:</dt>
3530 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3533 <dd>The validation message</dd>
3551 <td class="msource">
3559 <tr class="method-row config-row-alt0 expandable notInherited">
3560 <td class="micon"><a class="exi" href="#expand"> </a></td>
3564 <a id="Roo.bootstrap.Input-method-markValid" name=".markValid"></a>
3565 <div class="fixedFont">
3566 <span class="attributes"></span><b class="itemname">markValid</b>
3575 <div class="short">Mark this field as valid</div>
3581 Mark this field as valid
3602 <td class="msource">
3610 <tr class="method-row config-row-alt1 expandable">
3611 <td class="micon"><a class="exi" href="#expand"> </a></td>
3615 <a id="Roo.util.Observable-method-on" name=".on"></a>
3616 <div class="fixedFont">
3617 <span class="attributes"></span><b class="itemname">on</b>
3619 (<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>)
3626 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3632 Appends an event handler to this element (shorthand for addListener)
3639 <dl class="detailList">
3640 <dt class="heading">Parameters:</dt>
3643 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3646 <dd>The type of event to listen for</dd>
3649 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3652 <dd>The method the event invokes</dd>
3655 <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>
3658 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3661 <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>
3682 <td class="msource">
3684 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3690 <tr class="method-row config-row-alt0 expandable">
3691 <td class="micon"><a class="exi" href="#expand"> </a></td>
3695 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3696 <div class="fixedFont">
3697 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3706 <div class="short">Removes all listeners for this object</div>
3712 Removes all listeners for this object
3733 <td class="msource">
3735 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3741 <tr class="method-row config-row-alt1 expandable">
3742 <td class="micon"><a class="exi" href="#expand"> </a></td>
3746 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3747 <div class="fixedFont">
3748 <span class="attributes"></span><b class="itemname">removeListener</b>
3750 (<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>)
3757 <div class="short">Removes a listener</div>
3770 <dl class="detailList">
3771 <dt class="heading">Parameters:</dt>
3774 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3777 <dd>The type of event to listen for</dd>
3780 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3783 <dd>The handler to remove</dd>
3786 <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>
3789 <dd>(optional) The scope (this object) for the handler</dd>
3807 <td class="msource">
3809 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3815 <tr class="method-row config-row-alt0 expandable">
3816 <td class="micon"><a class="exi" href="#expand"> </a></td>
3820 <a id="Roo.Component-method-render" name=".render"></a>
3821 <div class="fixedFont">
3822 <span class="attributes"></span><b class="itemname">render</b>
3824 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3831 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3837 If this is a lazy rendering component, render it to its container element.
3844 <dl class="detailList">
3845 <dt class="heading">Parameters:</dt>
3848 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3851 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3869 <td class="msource">
3871 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3877 <tr class="method-row config-row-alt1 expandable notInherited">
3878 <td class="micon"><a class="exi" href="#expand"> </a></td>
3882 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3883 <div class="fixedFont">
3884 <span class="attributes"></span><b class="itemname">reset</b>
3893 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3899 Resets the current field value to the originally loaded value and clears any validation messages
3920 <td class="msource">
3928 <tr class="method-row config-row-alt0 expandable">
3929 <td class="micon"><a class="exi" href="#expand"> </a></td>
3933 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3934 <div class="fixedFont">
3935 <span class="attributes"></span><b class="itemname">setDisabled</b>
3937 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3944 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3950 Convenience function for setting disabled/enabled by boolean.
3957 <dl class="detailList">
3958 <dt class="heading">Parameters:</dt>
3961 <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>
3982 <td class="msource">
3984 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3990 <tr class="method-row config-row-alt1 expandable notInherited">
3991 <td class="micon"><a class="exi" href="#expand"> </a></td>
3995 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3996 <div class="fixedFont">
3997 <span class="attributes"></span><b class="itemname">setRawValue</b>
3999 (Mixed <B><i>value</i></B>)
4006 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
4012 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
4019 <dl class="detailList">
4020 <dt class="heading">Parameters:</dt>
4023 <span class="fixedFont">Mixed</span> <b>value</b>
4026 <dd>The value to set</dd>
4044 <td class="msource">
4052 <tr class="method-row config-row-alt0 expandable notInherited">
4053 <td class="micon"><a class="exi" href="#expand"> </a></td>
4057 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
4058 <div class="fixedFont">
4059 <span class="attributes"></span><b class="itemname">setValue</b>
4061 (Mixed <B><i>value</i></B>)
4068 <div class="short">Sets a data value into the field and validates it.</div>
4074 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
4081 <dl class="detailList">
4082 <dt class="heading">Parameters:</dt>
4085 <span class="fixedFont">Mixed</span> <b>value</b>
4088 <dd>The value to set</dd>
4106 <td class="msource">
4114 <tr class="method-row config-row-alt1 expandable">
4115 <td class="micon"><a class="exi" href="#expand"> </a></td>
4119 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
4120 <div class="fixedFont">
4121 <span class="attributes"></span><b class="itemname">setVisible</b>
4123 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
4129 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4138 <div class="short">Convenience function to hide or show this component by boolean.</div>
4144 Convenience function to hide or show this component by boolean.
4151 <dl class="detailList">
4152 <dt class="heading">Parameters:</dt>
4155 <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>
4158 <dd>True to show, false to hide</dd>
4166 <dl class="detailList">
4167 <dt class="heading">Returns:</dt>
4169 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
4183 <td class="msource">
4185 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4191 <tr class="method-row config-row-alt0 expandable">
4192 <td class="micon"><a class="exi" href="#expand"> </a></td>
4196 <a id="Roo.bootstrap.Component-method-show" name=".show"></a>
4197 <div class="fixedFont">
4198 <span class="attributes"></span><b class="itemname">show</b>
4207 <div class="short">Show a component - removes 'hidden' class</div>
4213 Show a component - removes 'hidden' class
4234 <td class="msource">
4236 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
4242 <tr class="method-row config-row-alt1 expandable">
4243 <td class="micon"><a class="exi" href="#expand"> </a></td>
4247 <a id="Roo.bootstrap.Component-method-tooltipEl" name=".tooltipEl"></a>
4248 <div class="fixedFont">
4249 <span class="attributes"></span><b class="itemname">tooltipEl</b>
4257 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
4266 <div class="short">Fetch the element to display the tooltip on.</div>
4272 Fetch the element to display the tooltip on.
4283 <dl class="detailList">
4284 <dt class="heading">Returns:</dt>
4286 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> defaults to this.el</dd>
4300 <td class="msource">
4302 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
4308 <tr class="method-row config-row-alt0 expandable">
4309 <td class="micon"><a class="exi" href="#expand"> </a></td>
4313 <a id="Roo.util.Observable-method-un" name=".un"></a>
4314 <div class="fixedFont">
4315 <span class="attributes"></span><b class="itemname">un</b>
4317 (<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>)
4324 <div class="short">Removes a listener (shorthand for removeListener)</div>
4330 Removes a listener (shorthand for removeListener)
4337 <dl class="detailList">
4338 <dt class="heading">Parameters:</dt>
4341 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4344 <dd>The type of event to listen for</dd>
4347 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4350 <dd>The handler to remove</dd>
4353 <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>
4356 <dd>(optional) The scope (this object) for the handler</dd>
4374 <td class="msource">
4376 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4382 <tr class="method-row config-row-alt1 expandable notInherited">
4383 <td class="micon"><a class="exi" href="#expand"> </a></td>
4387 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
4388 <div class="fixedFont">
4389 <span class="attributes"></span><b class="itemname">validate</b>
4397 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4406 <div class="short">Validates the field value</div>
4412 Validates the field value
4423 <dl class="detailList">
4424 <dt class="heading">Returns:</dt>
4426 <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>
4440 <td class="msource">
4448 <tr class="method-row config-row-alt0 expandable notInherited">
4449 <td class="micon"><a class="exi" href="#expand"> </a></td>
4453 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
4454 <div class="fixedFont">
4455 <span class="attributes"></span><b class="itemname">validateValue</b>
4457 (Mixed <B><i>value</i></B>)
4463 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4472 <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>
4478 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4485 <dl class="detailList">
4486 <dt class="heading">Parameters:</dt>
4489 <span class="fixedFont">Mixed</span> <b>value</b>
4492 <dd>The value to validate</dd>
4500 <dl class="detailList">
4501 <dt class="heading">Returns:</dt>
4503 <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>
4517 <td class="msource">
4528 <!-- ============================== events summary / details ======================== -->
4531 <a id="Roo.bootstrap.Input-events"></a>
4540 <table cellspacing="0" class="member-table">
4541 <caption>Events</caption>
4544 <th class="sig-header" colspan="2">Event</th>
4545 <th class="msource-header">Defined By</th>
4554 <tr class="method-row expandable config-row-alt0">
4555 <td class="micon"><a class="exi" href="#expand"> </a></td>
4558 <a id="Roo.Component-event-*beforedestroy"></a>
4560 <div class="fixedFont">
4561 <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>)
4567 <div class="short">Fires before the component is destroyed.
4573 Fires before the component is destroyed. Return false to stop the destroy.
4579 <dl class="detailList">
4580 <dt class="heading">Parameters:</dt>
4583 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4604 <td class="msource">
4605 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4609 <tr class="method-row expandable config-row-alt1">
4610 <td class="micon"><a class="exi" href="#expand"> </a></td>
4613 <a id="Roo.Component-event-*beforehide"></a>
4615 <div class="fixedFont">
4616 <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>)
4622 <div class="short">Fires before the component is hidden.
4628 Fires before the component is hidden. Return false to stop the hide.
4634 <dl class="detailList">
4635 <dt class="heading">Parameters:</dt>
4638 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4659 <td class="msource">
4660 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4664 <tr class="method-row expandable config-row-alt0">
4665 <td class="micon"><a class="exi" href="#expand"> </a></td>
4668 <a id="Roo.Component-event-*beforerender"></a>
4670 <div class="fixedFont">
4671 <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>)
4677 <div class="short">Fires before the component is rendered.
4683 Fires before the component is rendered. Return false to stop the render.
4689 <dl class="detailList">
4690 <dt class="heading">Parameters:</dt>
4693 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4714 <td class="msource">
4715 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4719 <tr class="method-row expandable config-row-alt1">
4720 <td class="micon"><a class="exi" href="#expand"> </a></td>
4723 <a id="Roo.Component-event-*beforeshow"></a>
4725 <div class="fixedFont">
4726 <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>)
4732 <div class="short">Fires before the component is shown.
4738 Fires before the component is shown. Return false to stop the show.
4744 <dl class="detailList">
4745 <dt class="heading">Parameters:</dt>
4748 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4769 <td class="msource">
4770 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4774 <tr class="method-row expandable config-row-alt0 notInherited">
4775 <td class="micon"><a class="exi" href="#expand"> </a></td>
4778 <a id="Roo.bootstrap.Input-event-*blur"></a>
4780 <div class="fixedFont">
4781 <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>)
4787 <div class="short">Fires when this field loses input focus.
4793 Fires when this field loses input focus.
4799 <dl class="detailList">
4800 <dt class="heading">Parameters:</dt>
4803 <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>
4824 <td class="msource">
4829 <tr class="method-row expandable config-row-alt1 notInherited">
4830 <td class="micon"><a class="exi" href="#expand"> </a></td>
4833 <a id="Roo.bootstrap.Input-event-*change"></a>
4835 <div class="fixedFont">
4836 <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>)
4842 <div class="short">Fires just before the field blurs if the field value has changed.
4848 Fires just before the field blurs if the field value has changed.
4854 <dl class="detailList">
4855 <dt class="heading">Parameters:</dt>
4858 <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>
4864 <span class="fixedFont">Mixed</span> <b>newValue</b>
4867 <dd>The new value</dd>
4870 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4873 <dd>The original value</dd>
4891 <td class="msource">
4896 <tr class="method-row expandable config-row-alt0">
4897 <td class="micon"><a class="exi" href="#expand"> </a></td>
4900 <a id="Roo.bootstrap.Component-event-*childrenrendered"></a>
4902 <div class="fixedFont">
4903 <b class="itemname">childrenrendered</b> (<a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a> <B><i>this</i></B>)
4909 <div class="short">Fires when the children have been rendered.
4915 Fires when the children have been rendered..
4921 <dl class="detailList">
4922 <dt class="heading">Parameters:</dt>
4925 <span class="fixedFont"><a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a></span> <b>this</b>
4946 <td class="msource">
4947 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
4951 <tr class="method-row expandable config-row-alt1">
4952 <td class="micon"><a class="exi" href="#expand"> </a></td>
4955 <a id="Roo.Component-event-*destroy"></a>
4957 <div class="fixedFont">
4958 <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>)
4964 <div class="short">Fires after the component is destroyed.
4970 Fires after the component is destroyed.
4976 <dl class="detailList">
4977 <dt class="heading">Parameters:</dt>
4980 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5001 <td class="msource">
5002 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5006 <tr class="method-row expandable config-row-alt0">
5007 <td class="micon"><a class="exi" href="#expand"> </a></td>
5010 <a id="Roo.Component-event-*disable"></a>
5012 <div class="fixedFont">
5013 <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>)
5019 <div class="short">Fires after the component is disabled.
5025 Fires after the component is disabled.
5031 <dl class="detailList">
5032 <dt class="heading">Parameters:</dt>
5035 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5056 <td class="msource">
5057 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5061 <tr class="method-row expandable config-row-alt1">
5062 <td class="micon"><a class="exi" href="#expand"> </a></td>
5065 <a id="Roo.Component-event-*enable"></a>
5067 <div class="fixedFont">
5068 <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>)
5074 <div class="short">Fires after the component is enabled.
5080 Fires after the component is enabled.
5086 <dl class="detailList">
5087 <dt class="heading">Parameters:</dt>
5090 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5111 <td class="msource">
5112 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5116 <tr class="method-row expandable config-row-alt0 notInherited">
5117 <td class="micon"><a class="exi" href="#expand"> </a></td>
5120 <a id="Roo.bootstrap.Input-event-*focus"></a>
5122 <div class="fixedFont">
5123 <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>)
5129 <div class="short">Fires when this field receives input focus.
5135 Fires when this field receives input focus.
5141 <dl class="detailList">
5142 <dt class="heading">Parameters:</dt>
5145 <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>
5166 <td class="msource">
5171 <tr class="method-row expandable config-row-alt1">
5172 <td class="micon"><a class="exi" href="#expand"> </a></td>
5175 <a id="Roo.Component-event-*hide"></a>
5177 <div class="fixedFont">
5178 <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>)
5184 <div class="short">Fires after the component is hidden.
5190 Fires after the component is hidden.
5196 <dl class="detailList">
5197 <dt class="heading">Parameters:</dt>
5200 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5221 <td class="msource">
5222 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5226 <tr class="method-row expandable config-row-alt0 notInherited">
5227 <td class="micon"><a class="exi" href="#expand"> </a></td>
5230 <a id="Roo.bootstrap.Input-event-*invalid"></a>
5232 <div class="fixedFont">
5233 <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>)
5239 <div class="short">Fires after the field has been marked as invalid.
5245 Fires after the field has been marked as invalid.
5251 <dl class="detailList">
5252 <dt class="heading">Parameters:</dt>
5255 <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>
5261 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
5264 <dd>The validation message</dd>
5282 <td class="msource">
5287 <tr class="method-row expandable config-row-alt1 notInherited">
5288 <td class="micon"><a class="exi" href="#expand"> </a></td>
5291 <a id="Roo.bootstrap.Input-event-*keyup"></a>
5293 <div class="fixedFont">
5294 <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>)
5300 <div class="short">Fires after the key up
5306 Fires after the key up
5312 <dl class="detailList">
5313 <dt class="heading">Parameters:</dt>
5316 <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>
5322 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5325 <dd>The event Object</dd>
5343 <td class="msource">
5348 <tr class="method-row expandable config-row-alt0">
5349 <td class="micon"><a class="exi" href="#expand"> </a></td>
5352 <a id="Roo.Component-event-*render"></a>
5354 <div class="fixedFont">
5355 <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>)
5361 <div class="short">Fires after the component is rendered.
5367 Fires after the component is rendered.
5373 <dl class="detailList">
5374 <dt class="heading">Parameters:</dt>
5377 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5398 <td class="msource">
5399 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5403 <tr class="method-row expandable config-row-alt1">
5404 <td class="micon"><a class="exi" href="#expand"> </a></td>
5407 <a id="Roo.Component-event-*show"></a>
5409 <div class="fixedFont">
5410 <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>)
5416 <div class="short">Fires after the component is shown.
5422 Fires after the component is shown.
5428 <dl class="detailList">
5429 <dt class="heading">Parameters:</dt>
5432 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5453 <td class="msource">
5454 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5458 <tr class="method-row expandable config-row-alt0 notInherited">
5459 <td class="micon"><a class="exi" href="#expand"> </a></td>
5462 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
5464 <div class="fixedFont">
5465 <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>)
5471 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5477 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.
5483 <dl class="detailList">
5484 <dt class="heading">Parameters:</dt>
5487 <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>
5493 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5496 <dd>The event object</dd>
5514 <td class="msource">
5519 <tr class="method-row expandable config-row-alt1 notInherited">
5520 <td class="micon"><a class="exi" href="#expand"> </a></td>
5523 <a id="Roo.bootstrap.Input-event-*valid"></a>
5525 <div class="fixedFont">
5526 <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>)
5532 <div class="short">Fires after the field has been validated with no errors.
5538 Fires after the field has been validated with no errors.
5544 <dl class="detailList">
5545 <dt class="heading">Parameters:</dt>
5548 <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>
5569 <td class="msource">
5581 <!-- ============================== footer ================================= -->
5582 <div class="fineprint" style="clear:both">
5584 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 13 2018 14:10:53 GMT+0800 (HKT)
5586 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>