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.MonthField.html#constructor" roo:cls="Roo.bootstrap.MonthField.html#constructor">Roo.bootstrap.MonthField</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>
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-inputType" name=".inputType"></a>
801 <div class="fixedFont">
802 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
808 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
813 button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text
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-invalidClass" name=".invalidClass"></a>
834 <div class="fixedFont">
835 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
841 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
846 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
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-invalidFeedbackIcon" name=".invalidFeedbackIcon"></a>
867 <div class="fixedFont">
868 <b class="itemname">invalidFeedbackIcon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
874 <div class="short">The CSS class to use when create feedback icon (defaults to "x-form-invalid")</div>
879 The CSS class to use when create feedback icon (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-labelAlign" name=".labelAlign"></a>
900 <div class="fixedFont">
901 <b class="itemname">labelAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
907 <div class="short"></div>
913 <BR/>Possible Values: top, left
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-labelWidth" name=".labelWidth"></a>
933 <div class="fixedFont">
934 <b class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
940 <div class="short">set the width of label (0-12)</div>
945 set the width of label (0-12)
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-lg" name=".lg"></a>
966 <div class="fixedFont">
967 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
973 <div class="short">colspan out of 12 for large computer-sized screens</div>
978 colspan out of 12 for large computer-sized screens
994 <tr class="config-row expandable config-row-alt0">
995 <td class="micon"><a class="exi" href="#expand"> </a></td>
998 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
999 <div class="fixedFont">
1000 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1006 <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>
1011 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>
1019 <td class="msource">
1021 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
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-maskRe" name=".maskRe"></a>
1032 <div class="fixedFont">
1033 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1039 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
1044 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
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-maxLength" name=".maxLength"></a>
1065 <div class="fixedFont">
1066 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1072 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
1077 Maximum input field length allowed (defaults to Number.MAX_VALUE)
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-maxLengthText" name=".maxLengthText"></a>
1098 <div class="fixedFont">
1099 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1105 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1110 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
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-md" name=".md"></a>
1131 <div class="fixedFont">
1132 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1138 <div class="short">colspan out of 12 for computer-sized screens</div>
1143 colspan out of 12 for computer-sized screens
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-minLength" name=".minLength"></a>
1164 <div class="fixedFont">
1165 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1171 <div class="short">Minimum input field length required (defaults to 0)</div>
1176 Minimum input field length required (defaults to 0)
1184 <td class="msource">
1192 <tr class="config-row expandable config-row-alt0 notInherited">
1193 <td class="micon"><a class="exi" href="#expand"> </a></td>
1196 <a id="Roo.bootstrap.Input-cfg-minLengthText" name=".minLengthText"></a>
1197 <div class="fixedFont">
1198 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1204 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1209 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
1217 <td class="msource">
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-name" name=".name"></a>
1230 <div class="fixedFont">
1231 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1237 <div class="short">name of the input</div>
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-placeholder" name=".placeholder"></a>
1263 <div class="fixedFont">
1264 <b class="itemname">placeholder</b> : string
1270 <div class="short">- placeholder to put in text.</div>
1275 - placeholder to put in text.
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-readOnly" name=".readOnly"></a>
1296 <div class="fixedFont">
1297 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1303 <div class="short">Specifies that the field should be read-only</div>
1308 Specifies that the field should be read-only
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-regex" name=".regex"></a>
1329 <div class="fixedFont">
1330 <b class="itemname">regex</b> : RegExp
1336 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1341 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>}.
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-regexText" name=".regexText"></a>
1362 <div class="fixedFont">
1363 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1369 <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>
1374 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
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-selectOnFocus" name=".selectOnFocus"></a>
1395 <div class="fixedFont">
1396 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1402 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1407 True to automatically select any existing field text when the field receives input focus (defaults to false)
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-size" name=".size"></a>
1428 <div class="fixedFont">
1429 <b class="itemname">size</b> : string
1435 <div class="short">- (lg|sm) or leave empty.</div>
1440 - (lg|sm) or leave empty..
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-sm" name=".sm"></a>
1461 <div class="fixedFont">
1462 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1468 <div class="short">colspan out of 12 for tablet-sized screens</div>
1473 colspan out of 12 for tablet-sized screens
1481 <td class="msource">
1489 <tr class="config-row expandable config-row-alt1">
1490 <td class="micon"><a class="exi" href="#expand"> </a></td>
1493 <a id="Roo.bootstrap.Component-cfg-style" name=".style"></a>
1494 <div class="fixedFont">
1495 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1501 <div class="short">any extra css</div>
1514 <td class="msource">
1516 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1522 <tr class="config-row expandable config-row-alt0">
1523 <td class="micon"><a class="exi" href="#expand"> </a></td>
1526 <a id="Roo.bootstrap.Component-cfg-tooltip" name=".tooltip"></a>
1527 <div class="fixedFont">
1528 <b class="itemname">tooltip</b> : string
1534 <div class="short">Text for the tooltip</div>
1539 Text for the tooltip
1547 <td class="msource">
1549 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
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-validClass" name=".validClass"></a>
1560 <div class="fixedFont">
1561 <b class="itemname">validClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1567 <div class="short">The CSS class to use when marking a field valid (defaults to "x-form-invalid")</div>
1572 The CSS class to use when marking a field valid (defaults to "x-form-invalid")
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-validFeedbackIcon" name=".validFeedbackIcon"></a>
1593 <div class="fixedFont">
1594 <b class="itemname">validFeedbackIcon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1600 <div class="short">The CSS class to use when create feedback icon (defaults to "x-form-invalid")</div>
1605 The CSS class to use when create feedback icon (defaults to "x-form-invalid")
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-validateOnBlur" name=".validateOnBlur"></a>
1626 <div class="fixedFont">
1627 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1633 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1638 Whether the field should validate when it loses focus (defaults to true).
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-validationDelay" name=".validationDelay"></a>
1659 <div class="fixedFont">
1660 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1666 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1671 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
1679 <td class="msource">
1687 <tr class="config-row expandable config-row-alt1 notInherited">
1688 <td class="micon"><a class="exi" href="#expand"> </a></td>
1691 <a id="Roo.bootstrap.Input-cfg-validationEvent" name=".validationEvent"></a>
1692 <div class="fixedFont">
1693 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1699 <div class="short">The event that should initiate field validation.</div>
1704 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
1712 <td class="msource">
1720 <tr class="config-row expandable config-row-alt0 notInherited">
1721 <td class="micon"><a class="exi" href="#expand"> </a></td>
1724 <a id="Roo.bootstrap.Input-cfg-validator" name=".validator"></a>
1725 <div class="fixedFont">
1726 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1732 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1737 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.
1745 <td class="msource">
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-value" name=".value"></a>
1758 <div class="fixedFont">
1759 <b class="itemname">value</b> : string
1765 <div class="short">default value of the input</div>
1770 default value of the input
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-vtype" name=".vtype"></a>
1791 <div class="fixedFont">
1792 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1798 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1803 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1811 <td class="msource">
1819 <tr class="config-row expandable config-row-alt1">
1820 <td class="micon"><a class="exi" href="#expand"> </a></td>
1823 <a id="Roo.bootstrap.Component-cfg-xattr" name=".xattr"></a>
1824 <div class="fixedFont">
1825 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1831 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1836 extra attributes to add to 'element' (used by builder to store stuff.)
1844 <td class="msource">
1846 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
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-xs" name=".xs"></a>
1857 <div class="fixedFont">
1858 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1864 <div class="short">colspan out of 12 for mobile-sized screens</div>
1869 colspan out of 12 for mobile-sized screens
1877 <td class="msource">
1895 <!-- ============================== public properties ==================== -->
1899 <a id="Roo.bootstrap.Input-props"></a>
1905 <table cellspacing="0" class="member-table">
1906 <caption class="Empty">Public Properties - Has None</caption>
1912 <!-- ============================== methods summary / details ======================== -->
1915 <a id="Roo.bootstrap.Input-methods"></a>
1916 <!-- constructor?? -->
1923 <!-- then dynamics first -->
1930 <table cellspacing="0" class="member-table">
1931 <caption>Public Methods</caption>
1933 <th class="sig-header" colspan="2">Method</th>
1934 <th class="msource-header">Defined By</th>
1944 <tr class="method-row config-row-alt0 expandable notInherited">
1945 <td class="micon"><a class="exi" href="#expand"> </a></td>
1949 <a id="Roo.bootstrap-method-Input" name=".Input"></a>
1950 <div class="fixedFont">
1951 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">Input</b>
1953 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1961 <div class="short">Create a new Roo.bootstrap.Input</div>
1968 Create a new Roo.bootstrap.Input
1971 <dl class="detailList">
1972 <dt class="heading">Parameters:</dt>
1975 <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>
1978 <dd>The config object</dd>
1996 <td class="msource">
2002 <tr class="method-row config-row-alt1 expandable">
2003 <td class="micon"><a class="exi" href="#expand"> </a></td>
2007 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
2008 <div class="fixedFont">
2009 <span class="attributes"></span><b class="itemname">addEvents</b>
2011 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
2018 <div class="short">Used to define events on this Observable</div>
2024 Used to define events on this Observable
2031 <dl class="detailList">
2032 <dt class="heading">Parameters:</dt>
2035 <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>
2038 <dd>The object with the events defined</dd>
2056 <td class="msource">
2058 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2064 <tr class="method-row config-row-alt0 expandable">
2065 <td class="micon"><a class="exi" href="#expand"> </a></td>
2069 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
2070 <div class="fixedFont">
2071 <span class="attributes"></span><b class="itemname">addListener</b>
2073 (<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>)
2080 <div class="short">Appends an event handler to this component</div>
2086 Appends an event handler to this component
2093 <dl class="detailList">
2094 <dt class="heading">Parameters:</dt>
2097 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2100 <dd>The type of event to listen for</dd>
2103 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2106 <dd>The method the event invokes</dd>
2109 <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>
2112 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2115 <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>
2118 <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>
2136 <td class="msource">
2138 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2144 <tr class="method-row config-row-alt1 expandable notInherited">
2145 <td class="micon"><a class="exi" href="#expand"> </a></td>
2149 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
2150 <div class="fixedFont">
2151 <span class="attributes"></span><b class="itemname">clearInvalid</b>
2160 <div class="short">Clear any invalid styles/messages for this field</div>
2166 Clear any invalid styles/messages for this field
2187 <td class="msource">
2195 <tr class="method-row config-row-alt0 expandable">
2196 <td class="micon"><a class="exi" href="#expand"> </a></td>
2200 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2201 <div class="fixedFont">
2202 <span class="attributes"></span><b class="itemname">destroy</b>
2211 <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>
2217 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}.
2238 <td class="msource">
2240 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2246 <tr class="method-row config-row-alt1 expandable">
2247 <td class="micon"><a class="exi" href="#expand"> </a></td>
2251 <a id="Roo.Component-method-disable" name=".disable"></a>
2252 <div class="fixedFont">
2253 <span class="attributes"></span><b class="itemname">disable</b>
2261 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2270 <div class="short">Disable this component.</div>
2276 Disable this component.
2287 <dl class="detailList">
2288 <dt class="heading">Returns:</dt>
2290 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2304 <td class="msource">
2306 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2312 <tr class="method-row config-row-alt0 expandable">
2313 <td class="micon"><a class="exi" href="#expand"> </a></td>
2317 <a id="Roo.Component-method-enable" name=".enable"></a>
2318 <div class="fixedFont">
2319 <span class="attributes"></span><b class="itemname">enable</b>
2327 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2336 <div class="short">Enable this component.</div>
2342 Enable this component.
2353 <dl class="detailList">
2354 <dt class="heading">Returns:</dt>
2356 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2370 <td class="msource">
2372 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2378 <tr class="method-row config-row-alt1 expandable">
2379 <td class="micon"><a class="exi" href="#expand"> </a></td>
2383 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2384 <div class="fixedFont">
2385 <span class="attributes"></span><b class="itemname">fireEvent</b>
2387 (<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>)
2393 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2402 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2408 Fires the specified event with the passed parameters (minus the event name).
2415 <dl class="detailList">
2416 <dt class="heading">Parameters:</dt>
2419 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2425 <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>
2428 <dd>Variable number of parameters are passed to handlers</dd>
2436 <dl class="detailList">
2437 <dt class="heading">Returns:</dt>
2439 <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>
2453 <td class="msource">
2455 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2461 <tr class="method-row config-row-alt0 expandable">
2462 <td class="micon"><a class="exi" href="#expand"> </a></td>
2466 <a id="Roo.Component-method-focus" name=".focus"></a>
2467 <div class="fixedFont">
2468 <span class="attributes"></span><b class="itemname">focus</b>
2470 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2476 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2485 <div class="short">Try to focus this component.</div>
2491 Try to focus this component.
2498 <dl class="detailList">
2499 <dt class="heading">Parameters:</dt>
2502 <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>
2505 <dd>True to also select the text in this component (if applicable)</dd>
2513 <dl class="detailList">
2514 <dt class="heading">Returns:</dt>
2516 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2530 <td class="msource">
2532 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2538 <tr class="method-row config-row-alt1 expandable">
2539 <td class="micon"><a class="exi" href="#expand"> </a></td>
2543 <a id="Roo.bootstrap.Component-method-getChildContainer" name=".getChildContainer"></a>
2544 <div class="fixedFont">
2545 <span class="attributes"></span><b class="itemname">getChildContainer</b>
2553 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2562 <div class="short">Fetch the element to add children to</div>
2568 Fetch the element to add children to
2579 <dl class="detailList">
2580 <dt class="heading">Returns:</dt>
2582 <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>
2596 <td class="msource">
2598 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
2604 <tr class="method-row config-row-alt0 expandable">
2605 <td class="micon"><a class="exi" href="#expand"> </a></td>
2609 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2610 <div class="fixedFont">
2611 <span class="attributes"></span><b class="itemname">getEl</b>
2619 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2628 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2634 Returns the underlying {<b>link</b> Roo.Element}.
2645 <dl class="detailList">
2646 <dt class="heading">Returns:</dt>
2648 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2662 <td class="msource">
2664 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2670 <tr class="method-row config-row-alt1 expandable">
2671 <td class="micon"><a class="exi" href="#expand"> </a></td>
2675 <a id="Roo.Component-method-getId" name=".getId"></a>
2676 <div class="fixedFont">
2677 <span class="attributes"></span><b class="itemname">getId</b>
2685 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2694 <div class="short">Returns the id of this component.</div>
2700 Returns the id of this component.
2711 <dl class="detailList">
2712 <dt class="heading">Returns:</dt>
2714 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2728 <td class="msource">
2730 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2736 <tr class="method-row config-row-alt0 expandable notInherited">
2737 <td class="micon"><a class="exi" href="#expand"> </a></td>
2741 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2742 <div class="fixedFont">
2743 <span class="attributes"></span><b class="itemname">getName</b>
2760 <div class="short">Returns the name of the field</div>
2766 Returns the name of the field
2777 <dl class="detailList">
2778 <dt class="heading">Returns:</dt>
2780 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
2794 <td class="msource">
2802 <tr class="method-row config-row-alt1 expandable notInherited">
2803 <td class="micon"><a class="exi" href="#expand"> </a></td>
2807 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2808 <div class="fixedFont">
2809 <span class="attributes"></span><b class="itemname">getRawValue</b>
2826 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2832 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>}.
2843 <dl class="detailList">
2844 <dt class="heading">Returns:</dt>
2846 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2860 <td class="msource">
2868 <tr class="method-row config-row-alt0 expandable notInherited">
2869 <td class="micon"><a class="exi" href="#expand"> </a></td>
2873 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2874 <div class="fixedFont">
2875 <span class="attributes"></span><b class="itemname">getValue</b>
2892 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2898 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2909 <dl class="detailList">
2910 <dt class="heading">Returns:</dt>
2912 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2926 <td class="msource">
2934 <tr class="method-row config-row-alt1 expandable">
2935 <td class="micon"><a class="exi" href="#expand"> </a></td>
2939 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2940 <div class="fixedFont">
2941 <span class="attributes"></span><b class="itemname">hasListener</b>
2943 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2949 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2958 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2964 Checks to see if this object has any listeners for a specified event
2971 <dl class="detailList">
2972 <dt class="heading">Parameters:</dt>
2975 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2978 <dd>The name of the event to check for</dd>
2986 <dl class="detailList">
2987 <dt class="heading">Returns:</dt>
2989 <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>
3003 <td class="msource">
3005 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3011 <tr class="method-row config-row-alt0 expandable">
3012 <td class="micon"><a class="exi" href="#expand"> </a></td>
3016 <a id="Roo.bootstrap.Component-method-hide" name=".hide"></a>
3017 <div class="fixedFont">
3018 <span class="attributes"></span><b class="itemname">hide</b>
3027 <div class="short">Hide a component - adds 'hidden' class</div>
3033 Hide a component - adds 'hidden' class
3054 <td class="msource">
3056 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3062 <tr class="method-row config-row-alt1 expandable">
3063 <td class="micon"><a class="exi" href="#expand"> </a></td>
3067 <a id="Roo.bootstrap.Component-method-initEvents" name=".initEvents"></a>
3068 <div class="fixedFont">
3069 <span class="attributes"></span><b class="itemname">initEvents</b>
3078 <div class="short">Initialize Events for the element</div>
3084 Initialize Events for the element
3105 <td class="msource">
3107 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3113 <tr class="method-row config-row-alt0 expandable notInherited">
3114 <td class="micon"><a class="exi" href="#expand"> </a></td>
3118 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
3119 <div class="fixedFont">
3120 <span class="attributes"></span><b class="itemname">inputEl</b>
3129 <div class="short">return the real input element.</div>
3135 return the real input element.
3156 <td class="msource">
3164 <tr class="method-row config-row-alt1 expandable">
3165 <td class="micon"><a class="exi" href="#expand"> </a></td>
3169 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3170 <div class="fixedFont">
3171 <span class="attributes"></span><b class="itemname">isVisible</b>
3180 <div class="short">Returns true if this component is visible.</div>
3186 Returns true if this component is visible.
3207 <td class="msource">
3209 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3215 <tr class="method-row config-row-alt0 expandable notInherited">
3216 <td class="micon"><a class="exi" href="#expand"> </a></td>
3220 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
3221 <div class="fixedFont">
3222 <span class="attributes"></span><b class="itemname">markInvalid</b>
3224 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3231 <div class="short">Mark this field as invalid</div>
3237 Mark this field as invalid
3244 <dl class="detailList">
3245 <dt class="heading">Parameters:</dt>
3248 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3251 <dd>The validation message</dd>
3269 <td class="msource">
3277 <tr class="method-row config-row-alt1 expandable notInherited">
3278 <td class="micon"><a class="exi" href="#expand"> </a></td>
3282 <a id="Roo.bootstrap.Input-method-markValid" name=".markValid"></a>
3283 <div class="fixedFont">
3284 <span class="attributes"></span><b class="itemname">markValid</b>
3293 <div class="short">Mark this field as valid</div>
3299 Mark this field as valid
3320 <td class="msource">
3328 <tr class="method-row config-row-alt0 expandable">
3329 <td class="micon"><a class="exi" href="#expand"> </a></td>
3333 <a id="Roo.util.Observable-method-on" name=".on"></a>
3334 <div class="fixedFont">
3335 <span class="attributes"></span><b class="itemname">on</b>
3337 (<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>)
3344 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3350 Appends an event handler to this element (shorthand for addListener)
3357 <dl class="detailList">
3358 <dt class="heading">Parameters:</dt>
3361 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3364 <dd>The type of event to listen for</dd>
3367 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3370 <dd>The method the event invokes</dd>
3373 <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>
3376 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3379 <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>
3400 <td class="msource">
3402 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3408 <tr class="method-row config-row-alt1 expandable">
3409 <td class="micon"><a class="exi" href="#expand"> </a></td>
3413 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3414 <div class="fixedFont">
3415 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3424 <div class="short">Removes all listeners for this object</div>
3430 Removes all listeners for this object
3451 <td class="msource">
3453 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3459 <tr class="method-row config-row-alt0 expandable">
3460 <td class="micon"><a class="exi" href="#expand"> </a></td>
3464 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3465 <div class="fixedFont">
3466 <span class="attributes"></span><b class="itemname">removeListener</b>
3468 (<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>)
3475 <div class="short">Removes a listener</div>
3488 <dl class="detailList">
3489 <dt class="heading">Parameters:</dt>
3492 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3495 <dd>The type of event to listen for</dd>
3498 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3501 <dd>The handler to remove</dd>
3504 <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>
3507 <dd>(optional) The scope (this object) for the handler</dd>
3525 <td class="msource">
3527 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3533 <tr class="method-row config-row-alt1 expandable">
3534 <td class="micon"><a class="exi" href="#expand"> </a></td>
3538 <a id="Roo.Component-method-render" name=".render"></a>
3539 <div class="fixedFont">
3540 <span class="attributes"></span><b class="itemname">render</b>
3542 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3549 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3555 If this is a lazy rendering component, render it to its container element.
3562 <dl class="detailList">
3563 <dt class="heading">Parameters:</dt>
3566 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3569 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3587 <td class="msource">
3589 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3595 <tr class="method-row config-row-alt0 expandable notInherited">
3596 <td class="micon"><a class="exi" href="#expand"> </a></td>
3600 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3601 <div class="fixedFont">
3602 <span class="attributes"></span><b class="itemname">reset</b>
3611 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3617 Resets the current field value to the originally loaded value and clears any validation messages
3638 <td class="msource">
3646 <tr class="method-row config-row-alt1 expandable">
3647 <td class="micon"><a class="exi" href="#expand"> </a></td>
3651 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3652 <div class="fixedFont">
3653 <span class="attributes"></span><b class="itemname">setDisabled</b>
3655 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3662 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3668 Convenience function for setting disabled/enabled by boolean.
3675 <dl class="detailList">
3676 <dt class="heading">Parameters:</dt>
3679 <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>
3700 <td class="msource">
3702 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3708 <tr class="method-row config-row-alt0 expandable notInherited">
3709 <td class="micon"><a class="exi" href="#expand"> </a></td>
3713 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3714 <div class="fixedFont">
3715 <span class="attributes"></span><b class="itemname">setRawValue</b>
3717 (Mixed <B><i>value</i></B>)
3724 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3730 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3737 <dl class="detailList">
3738 <dt class="heading">Parameters:</dt>
3741 <span class="fixedFont">Mixed</span> <b>value</b>
3744 <dd>The value to set</dd>
3762 <td class="msource">
3770 <tr class="method-row config-row-alt1 expandable notInherited">
3771 <td class="micon"><a class="exi" href="#expand"> </a></td>
3775 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3776 <div class="fixedFont">
3777 <span class="attributes"></span><b class="itemname">setValue</b>
3779 (Mixed <B><i>value</i></B>)
3786 <div class="short">Sets a data value into the field and validates it.</div>
3792 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3799 <dl class="detailList">
3800 <dt class="heading">Parameters:</dt>
3803 <span class="fixedFont">Mixed</span> <b>value</b>
3806 <dd>The value to set</dd>
3824 <td class="msource">
3832 <tr class="method-row config-row-alt0 expandable">
3833 <td class="micon"><a class="exi" href="#expand"> </a></td>
3837 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3838 <div class="fixedFont">
3839 <span class="attributes"></span><b class="itemname">setVisible</b>
3841 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3847 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3856 <div class="short">Convenience function to hide or show this component by boolean.</div>
3862 Convenience function to hide or show this component by boolean.
3869 <dl class="detailList">
3870 <dt class="heading">Parameters:</dt>
3873 <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>
3876 <dd>True to show, false to hide</dd>
3884 <dl class="detailList">
3885 <dt class="heading">Returns:</dt>
3887 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3901 <td class="msource">
3903 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3909 <tr class="method-row config-row-alt1 expandable">
3910 <td class="micon"><a class="exi" href="#expand"> </a></td>
3914 <a id="Roo.bootstrap.Component-method-show" name=".show"></a>
3915 <div class="fixedFont">
3916 <span class="attributes"></span><b class="itemname">show</b>
3925 <div class="short">Show a component - removes 'hidden' class</div>
3931 Show a component - removes 'hidden' class
3952 <td class="msource">
3954 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3960 <tr class="method-row config-row-alt0 expandable">
3961 <td class="micon"><a class="exi" href="#expand"> </a></td>
3965 <a id="Roo.bootstrap.Component-method-tooltipEl" name=".tooltipEl"></a>
3966 <div class="fixedFont">
3967 <span class="attributes"></span><b class="itemname">tooltipEl</b>
3975 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
3984 <div class="short">Fetch the element to display the tooltip on.</div>
3990 Fetch the element to display the tooltip on.
4001 <dl class="detailList">
4002 <dt class="heading">Returns:</dt>
4004 <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>
4018 <td class="msource">
4020 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
4026 <tr class="method-row config-row-alt1 expandable">
4027 <td class="micon"><a class="exi" href="#expand"> </a></td>
4031 <a id="Roo.util.Observable-method-un" name=".un"></a>
4032 <div class="fixedFont">
4033 <span class="attributes"></span><b class="itemname">un</b>
4035 (<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>)
4042 <div class="short">Removes a listener (shorthand for removeListener)</div>
4048 Removes a listener (shorthand for removeListener)
4055 <dl class="detailList">
4056 <dt class="heading">Parameters:</dt>
4059 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4062 <dd>The type of event to listen for</dd>
4065 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4068 <dd>The handler to remove</dd>
4071 <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>
4074 <dd>(optional) The scope (this object) for the handler</dd>
4092 <td class="msource">
4094 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4100 <tr class="method-row config-row-alt0 expandable notInherited">
4101 <td class="micon"><a class="exi" href="#expand"> </a></td>
4105 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
4106 <div class="fixedFont">
4107 <span class="attributes"></span><b class="itemname">validate</b>
4115 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4124 <div class="short">Validates the field value</div>
4130 Validates the field value
4141 <dl class="detailList">
4142 <dt class="heading">Returns:</dt>
4144 <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>
4158 <td class="msource">
4166 <tr class="method-row config-row-alt1 expandable notInherited">
4167 <td class="micon"><a class="exi" href="#expand"> </a></td>
4171 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
4172 <div class="fixedFont">
4173 <span class="attributes"></span><b class="itemname">validateValue</b>
4175 (Mixed <B><i>value</i></B>)
4181 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4190 <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>
4196 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4203 <dl class="detailList">
4204 <dt class="heading">Parameters:</dt>
4207 <span class="fixedFont">Mixed</span> <b>value</b>
4210 <dd>The value to validate</dd>
4218 <dl class="detailList">
4219 <dt class="heading">Returns:</dt>
4221 <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>
4235 <td class="msource">
4246 <!-- ============================== events summary / details ======================== -->
4249 <a id="Roo.bootstrap.Input-events"></a>
4258 <table cellspacing="0" class="member-table">
4259 <caption>Events</caption>
4262 <th class="sig-header" colspan="2">Event</th>
4263 <th class="msource-header">Defined By</th>
4272 <tr class="method-row expandable config-row-alt0">
4273 <td class="micon"><a class="exi" href="#expand"> </a></td>
4276 <a id="Roo.Component-event-*beforedestroy"></a>
4278 <div class="fixedFont">
4279 <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>)
4285 <div class="short">Fires before the component is destroyed.
4291 Fires before the component is destroyed. Return false to stop the destroy.
4297 <dl class="detailList">
4298 <dt class="heading">Parameters:</dt>
4301 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4322 <td class="msource">
4323 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4327 <tr class="method-row expandable config-row-alt1">
4328 <td class="micon"><a class="exi" href="#expand"> </a></td>
4331 <a id="Roo.Component-event-*beforehide"></a>
4333 <div class="fixedFont">
4334 <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>)
4340 <div class="short">Fires before the component is hidden.
4346 Fires before the component is hidden. Return false to stop the hide.
4352 <dl class="detailList">
4353 <dt class="heading">Parameters:</dt>
4356 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4377 <td class="msource">
4378 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4382 <tr class="method-row expandable config-row-alt0">
4383 <td class="micon"><a class="exi" href="#expand"> </a></td>
4386 <a id="Roo.Component-event-*beforerender"></a>
4388 <div class="fixedFont">
4389 <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>)
4395 <div class="short">Fires before the component is rendered.
4401 Fires before the component is rendered. Return false to stop the render.
4407 <dl class="detailList">
4408 <dt class="heading">Parameters:</dt>
4411 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4432 <td class="msource">
4433 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4437 <tr class="method-row expandable config-row-alt1">
4438 <td class="micon"><a class="exi" href="#expand"> </a></td>
4441 <a id="Roo.Component-event-*beforeshow"></a>
4443 <div class="fixedFont">
4444 <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>)
4450 <div class="short">Fires before the component is shown.
4456 Fires before the component is shown. Return false to stop the show.
4462 <dl class="detailList">
4463 <dt class="heading">Parameters:</dt>
4466 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4487 <td class="msource">
4488 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4492 <tr class="method-row expandable config-row-alt0 notInherited">
4493 <td class="micon"><a class="exi" href="#expand"> </a></td>
4496 <a id="Roo.bootstrap.Input-event-*blur"></a>
4498 <div class="fixedFont">
4499 <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>)
4505 <div class="short">Fires when this field loses input focus.
4511 Fires when this field loses input focus.
4517 <dl class="detailList">
4518 <dt class="heading">Parameters:</dt>
4521 <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>
4542 <td class="msource">
4547 <tr class="method-row expandable config-row-alt1 notInherited">
4548 <td class="micon"><a class="exi" href="#expand"> </a></td>
4551 <a id="Roo.bootstrap.Input-event-*change"></a>
4553 <div class="fixedFont">
4554 <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>)
4560 <div class="short">Fires just before the field blurs if the field value has changed.
4566 Fires just before the field blurs if the field value has changed.
4572 <dl class="detailList">
4573 <dt class="heading">Parameters:</dt>
4576 <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>
4582 <span class="fixedFont">Mixed</span> <b>newValue</b>
4585 <dd>The new value</dd>
4588 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4591 <dd>The original value</dd>
4609 <td class="msource">
4614 <tr class="method-row expandable config-row-alt0">
4615 <td class="micon"><a class="exi" href="#expand"> </a></td>
4618 <a id="Roo.bootstrap.Component-event-*childrenrendered"></a>
4620 <div class="fixedFont">
4621 <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>)
4627 <div class="short">Fires when the children have been rendered.
4633 Fires when the children have been rendered..
4639 <dl class="detailList">
4640 <dt class="heading">Parameters:</dt>
4643 <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>
4664 <td class="msource">
4665 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
4669 <tr class="method-row expandable config-row-alt1">
4670 <td class="micon"><a class="exi" href="#expand"> </a></td>
4673 <a id="Roo.Component-event-*destroy"></a>
4675 <div class="fixedFont">
4676 <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>)
4682 <div class="short">Fires after the component is destroyed.
4688 Fires after the component is destroyed.
4694 <dl class="detailList">
4695 <dt class="heading">Parameters:</dt>
4698 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4719 <td class="msource">
4720 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4724 <tr class="method-row expandable config-row-alt0">
4725 <td class="micon"><a class="exi" href="#expand"> </a></td>
4728 <a id="Roo.Component-event-*disable"></a>
4730 <div class="fixedFont">
4731 <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>)
4737 <div class="short">Fires after the component is disabled.
4743 Fires after the component is disabled.
4749 <dl class="detailList">
4750 <dt class="heading">Parameters:</dt>
4753 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4774 <td class="msource">
4775 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4779 <tr class="method-row expandable config-row-alt1">
4780 <td class="micon"><a class="exi" href="#expand"> </a></td>
4783 <a id="Roo.Component-event-*enable"></a>
4785 <div class="fixedFont">
4786 <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>)
4792 <div class="short">Fires after the component is enabled.
4798 Fires after the component is enabled.
4804 <dl class="detailList">
4805 <dt class="heading">Parameters:</dt>
4808 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4829 <td class="msource">
4830 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4834 <tr class="method-row expandable config-row-alt0 notInherited">
4835 <td class="micon"><a class="exi" href="#expand"> </a></td>
4838 <a id="Roo.bootstrap.Input-event-*focus"></a>
4840 <div class="fixedFont">
4841 <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>)
4847 <div class="short">Fires when this field receives input focus.
4853 Fires when this field receives input focus.
4859 <dl class="detailList">
4860 <dt class="heading">Parameters:</dt>
4863 <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>
4884 <td class="msource">
4889 <tr class="method-row expandable config-row-alt1">
4890 <td class="micon"><a class="exi" href="#expand"> </a></td>
4893 <a id="Roo.Component-event-*hide"></a>
4895 <div class="fixedFont">
4896 <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>)
4902 <div class="short">Fires after the component is hidden.
4908 Fires after the component is hidden.
4914 <dl class="detailList">
4915 <dt class="heading">Parameters:</dt>
4918 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4939 <td class="msource">
4940 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4944 <tr class="method-row expandable config-row-alt0 notInherited">
4945 <td class="micon"><a class="exi" href="#expand"> </a></td>
4948 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4950 <div class="fixedFont">
4951 <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>)
4957 <div class="short">Fires after the field has been marked as invalid.
4963 Fires after the field has been marked as invalid.
4969 <dl class="detailList">
4970 <dt class="heading">Parameters:</dt>
4973 <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>
4979 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4982 <dd>The validation message</dd>
5000 <td class="msource">
5005 <tr class="method-row expandable config-row-alt1 notInherited">
5006 <td class="micon"><a class="exi" href="#expand"> </a></td>
5009 <a id="Roo.bootstrap.Input-event-*keyup"></a>
5011 <div class="fixedFont">
5012 <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>)
5018 <div class="short">Fires after the key up
5024 Fires after the key up
5030 <dl class="detailList">
5031 <dt class="heading">Parameters:</dt>
5034 <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>
5040 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5043 <dd>The event Object</dd>
5061 <td class="msource">
5066 <tr class="method-row expandable config-row-alt0">
5067 <td class="micon"><a class="exi" href="#expand"> </a></td>
5070 <a id="Roo.Component-event-*render"></a>
5072 <div class="fixedFont">
5073 <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>)
5079 <div class="short">Fires after the component is rendered.
5085 Fires after the component is rendered.
5091 <dl class="detailList">
5092 <dt class="heading">Parameters:</dt>
5095 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5116 <td class="msource">
5117 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5121 <tr class="method-row expandable config-row-alt1">
5122 <td class="micon"><a class="exi" href="#expand"> </a></td>
5125 <a id="Roo.Component-event-*show"></a>
5127 <div class="fixedFont">
5128 <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>)
5134 <div class="short">Fires after the component is shown.
5140 Fires after the component is shown.
5146 <dl class="detailList">
5147 <dt class="heading">Parameters:</dt>
5150 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5171 <td class="msource">
5172 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5176 <tr class="method-row expandable config-row-alt0 notInherited">
5177 <td class="micon"><a class="exi" href="#expand"> </a></td>
5180 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
5182 <div class="fixedFont">
5183 <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>)
5189 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5195 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.
5201 <dl class="detailList">
5202 <dt class="heading">Parameters:</dt>
5205 <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>
5211 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5214 <dd>The event object</dd>
5232 <td class="msource">
5237 <tr class="method-row expandable config-row-alt1 notInherited">
5238 <td class="micon"><a class="exi" href="#expand"> </a></td>
5241 <a id="Roo.bootstrap.Input-event-*valid"></a>
5243 <div class="fixedFont">
5244 <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>)
5250 <div class="short">Fires after the field has been validated with no errors.
5256 Fires after the field has been validated with no errors.
5262 <dl class="detailList">
5263 <dt class="heading">Parameters:</dt>
5266 <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>
5287 <td class="msource">
5299 <!-- ============================== footer ================================= -->
5300 <div class="fineprint" style="clear:both">
5302 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Apr 15 2016 15:47:50 GMT+0800 (HKT)
5304 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>