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.ComboBox2.html#constructor" roo:cls="Roo.bootstrap.ComboBox2.html#constructor">Roo.bootstrap.ComboBox2</a>, <a href="./Roo.bootstrap.ComboBox_old.html#constructor" roo:cls="Roo.bootstrap.ComboBox_old.html#constructor">Roo.bootstrap.ComboBox_old</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> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
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-hasFeedback" name=".hasFeedback"></a>
702 <div class="fixedFont">
703 <b class="itemname">hasFeedback</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
709 <div class="short">default true</div>
715 <BR/>Possible Values: true, false
730 <tr class="config-row expandable config-row-alt0">
731 <td class="micon"><a class="exi" href="#expand"> </a></td>
734 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
735 <div class="fixedFont">
736 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
742 <div class="short">How this component should hidden.</div>
747 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
748 <BR/>Possible Values: display, visibility
757 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
763 <tr class="config-row expandable config-row-alt1 notInherited">
764 <td class="micon"><a class="exi" href="#expand"> </a></td>
767 <a id="Roo.bootstrap.Input-cfg-inputType" name=".inputType"></a>
768 <div class="fixedFont">
769 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
775 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
780 button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text
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-invalidClass" name=".invalidClass"></a>
801 <div class="fixedFont">
802 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
808 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
813 The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
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-invalidFeedbackIcon" name=".invalidFeedbackIcon"></a>
834 <div class="fixedFont">
835 <b class="itemname">invalidFeedbackIcon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
841 <div class="short">The CSS class to use when create feedback icon (defaults to "x-form-invalid")</div>
846 The CSS class to use when create feedback icon (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-labelAlign" name=".labelAlign"></a>
867 <div class="fixedFont">
868 <b class="itemname">labelAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
874 <div class="short"></div>
880 <BR/>Possible Values: top, left
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-labelWidth" name=".labelWidth"></a>
900 <div class="fixedFont">
901 <b class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
907 <div class="short">set the width of label (0-12)</div>
912 set the width of label (0-12)
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-lg" name=".lg"></a>
933 <div class="fixedFont">
934 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
940 <div class="short">colspan out of 12 for large computer-sized screens</div>
945 colspan out of 12 for large computer-sized screens
961 <tr class="config-row expandable config-row-alt1">
962 <td class="micon"><a class="exi" href="#expand"> </a></td>
965 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
966 <div class="fixedFont">
967 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
973 <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>
978 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>
988 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
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-maskRe" name=".maskRe"></a>
999 <div class="fixedFont">
1000 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1006 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
1011 An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
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-maxLength" name=".maxLength"></a>
1032 <div class="fixedFont">
1033 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1039 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
1044 Maximum input field length allowed (defaults to Number.MAX_VALUE)
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-maxLengthText" name=".maxLengthText"></a>
1065 <div class="fixedFont">
1066 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1072 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
1077 Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")
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-md" name=".md"></a>
1098 <div class="fixedFont">
1099 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1105 <div class="short">colspan out of 12 for computer-sized screens</div>
1110 colspan out of 12 for computer-sized screens
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-minLength" name=".minLength"></a>
1131 <div class="fixedFont">
1132 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1138 <div class="short">Minimum input field length required (defaults to 0)</div>
1143 Minimum input field length required (defaults to 0)
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-minLengthText" name=".minLengthText"></a>
1164 <div class="fixedFont">
1165 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1171 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1176 Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")
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-name" name=".name"></a>
1197 <div class="fixedFont">
1198 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1204 <div class="short">name of the input</div>
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-placeholder" name=".placeholder"></a>
1230 <div class="fixedFont">
1231 <b class="itemname">placeholder</b> : string
1237 <div class="short">- placeholder to put in text.</div>
1242 - placeholder to put in text.
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-readOnly" name=".readOnly"></a>
1263 <div class="fixedFont">
1264 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1270 <div class="short">Specifies that the field should be read-only</div>
1275 Specifies that the field should be read-only
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-regex" name=".regex"></a>
1296 <div class="fixedFont">
1297 <b class="itemname">regex</b> : RegExp
1303 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1308 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>}.
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-regexText" name=".regexText"></a>
1329 <div class="fixedFont">
1330 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1336 <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>
1341 The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")
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-selectOnFocus" name=".selectOnFocus"></a>
1362 <div class="fixedFont">
1363 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1369 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1374 True to automatically select any existing field text when the field receives input focus (defaults to false)
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-size" name=".size"></a>
1395 <div class="fixedFont">
1396 <b class="itemname">size</b> : string
1402 <div class="short">- (lg|sm) or leave empty.</div>
1407 - (lg|sm) or leave empty..
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-sm" name=".sm"></a>
1428 <div class="fixedFont">
1429 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1435 <div class="short">colspan out of 12 for tablet-sized screens</div>
1440 colspan out of 12 for tablet-sized screens
1448 <td class="msource">
1456 <tr class="config-row expandable config-row-alt0">
1457 <td class="micon"><a class="exi" href="#expand"> </a></td>
1460 <a id="Roo.bootstrap.Component-cfg-style" name=".style"></a>
1461 <div class="fixedFont">
1462 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1468 <div class="short">any extra css</div>
1481 <td class="msource">
1483 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
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-tooltip" name=".tooltip"></a>
1494 <div class="fixedFont">
1495 <b class="itemname">tooltip</b> : string
1501 <div class="short">Text for the tooltip</div>
1506 Text for the tooltip
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 notInherited">
1523 <td class="micon"><a class="exi" href="#expand"> </a></td>
1526 <a id="Roo.bootstrap.Input-cfg-validClass" name=".validClass"></a>
1527 <div class="fixedFont">
1528 <b class="itemname">validClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1534 <div class="short">The CSS class to use when marking a field valid (defaults to "x-form-invalid")</div>
1539 The CSS class to use when marking a field valid (defaults to "x-form-invalid")
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-validFeedbackIcon" name=".validFeedbackIcon"></a>
1560 <div class="fixedFont">
1561 <b class="itemname">validFeedbackIcon</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1567 <div class="short">The CSS class to use when create feedback icon (defaults to "x-form-invalid")</div>
1572 The CSS class to use when create feedback icon (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-validateOnBlur" name=".validateOnBlur"></a>
1593 <div class="fixedFont">
1594 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1600 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1605 Whether the field should validate when it loses focus (defaults to true).
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-validationDelay" name=".validationDelay"></a>
1626 <div class="fixedFont">
1627 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1633 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1638 The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
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-validationEvent" name=".validationEvent"></a>
1659 <div class="fixedFont">
1660 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1666 <div class="short">The event that should initiate field validation.</div>
1671 The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").
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-validator" name=".validator"></a>
1692 <div class="fixedFont">
1693 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1699 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1704 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.
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-value" name=".value"></a>
1725 <div class="fixedFont">
1726 <b class="itemname">value</b> : string
1732 <div class="short">default value of the input</div>
1737 default value of the input
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-vtype" name=".vtype"></a>
1758 <div class="fixedFont">
1759 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1765 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1770 A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)
1778 <td class="msource">
1786 <tr class="config-row expandable config-row-alt0">
1787 <td class="micon"><a class="exi" href="#expand"> </a></td>
1790 <a id="Roo.bootstrap.Component-cfg-xattr" name=".xattr"></a>
1791 <div class="fixedFont">
1792 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1798 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1803 extra attributes to add to 'element' (used by builder to store stuff.)
1811 <td class="msource">
1813 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
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-xs" name=".xs"></a>
1824 <div class="fixedFont">
1825 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1831 <div class="short">colspan out of 12 for mobile-sized screens</div>
1836 colspan out of 12 for mobile-sized screens
1844 <td class="msource">
1862 <!-- ============================== public properties ==================== -->
1866 <a id="Roo.bootstrap.Input-props"></a>
1872 <table cellspacing="0" class="member-table">
1873 <caption class="Empty">Public Properties - Has None</caption>
1879 <!-- ============================== methods summary / details ======================== -->
1882 <a id="Roo.bootstrap.Input-methods"></a>
1883 <!-- constructor?? -->
1890 <!-- then dynamics first -->
1897 <table cellspacing="0" class="member-table">
1898 <caption>Public Methods</caption>
1900 <th class="sig-header" colspan="2">Method</th>
1901 <th class="msource-header">Defined By</th>
1911 <tr class="method-row config-row-alt0 expandable notInherited">
1912 <td class="micon"><a class="exi" href="#expand"> </a></td>
1916 <a id="Roo.bootstrap-method-Input" name=".Input"></a>
1917 <div class="fixedFont">
1918 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">Input</b>
1920 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1928 <div class="short">Create a new Roo.bootstrap.Input</div>
1935 Create a new Roo.bootstrap.Input
1938 <dl class="detailList">
1939 <dt class="heading">Parameters:</dt>
1942 <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>
1945 <dd>The config object</dd>
1963 <td class="msource">
1969 <tr class="method-row config-row-alt1 expandable">
1970 <td class="micon"><a class="exi" href="#expand"> </a></td>
1974 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1975 <div class="fixedFont">
1976 <span class="attributes"></span><b class="itemname">addEvents</b>
1978 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1985 <div class="short">Used to define events on this Observable</div>
1991 Used to define events on this Observable
1998 <dl class="detailList">
1999 <dt class="heading">Parameters:</dt>
2002 <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>
2005 <dd>The object with the events defined</dd>
2023 <td class="msource">
2025 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2031 <tr class="method-row config-row-alt0 expandable">
2032 <td class="micon"><a class="exi" href="#expand"> </a></td>
2036 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
2037 <div class="fixedFont">
2038 <span class="attributes"></span><b class="itemname">addListener</b>
2040 (<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>)
2047 <div class="short">Appends an event handler to this component</div>
2053 Appends an event handler to this component
2060 <dl class="detailList">
2061 <dt class="heading">Parameters:</dt>
2064 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2067 <dd>The type of event to listen for</dd>
2070 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2073 <dd>The method the event invokes</dd>
2076 <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>
2079 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2082 <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>
2085 <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>
2103 <td class="msource">
2105 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2111 <tr class="method-row config-row-alt1 expandable notInherited">
2112 <td class="micon"><a class="exi" href="#expand"> </a></td>
2116 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
2117 <div class="fixedFont">
2118 <span class="attributes"></span><b class="itemname">clearInvalid</b>
2127 <div class="short">Clear any invalid styles/messages for this field</div>
2133 Clear any invalid styles/messages for this field
2154 <td class="msource">
2162 <tr class="method-row config-row-alt0 expandable">
2163 <td class="micon"><a class="exi" href="#expand"> </a></td>
2167 <a id="Roo.Component-method-destroy" name=".destroy"></a>
2168 <div class="fixedFont">
2169 <span class="attributes"></span><b class="itemname">destroy</b>
2178 <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>
2184 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}.
2205 <td class="msource">
2207 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2213 <tr class="method-row config-row-alt1 expandable">
2214 <td class="micon"><a class="exi" href="#expand"> </a></td>
2218 <a id="Roo.Component-method-disable" name=".disable"></a>
2219 <div class="fixedFont">
2220 <span class="attributes"></span><b class="itemname">disable</b>
2228 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2237 <div class="short">Disable this component.</div>
2243 Disable this component.
2254 <dl class="detailList">
2255 <dt class="heading">Returns:</dt>
2257 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2271 <td class="msource">
2273 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2279 <tr class="method-row config-row-alt0 expandable">
2280 <td class="micon"><a class="exi" href="#expand"> </a></td>
2284 <a id="Roo.Component-method-enable" name=".enable"></a>
2285 <div class="fixedFont">
2286 <span class="attributes"></span><b class="itemname">enable</b>
2294 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2303 <div class="short">Enable this component.</div>
2309 Enable this component.
2320 <dl class="detailList">
2321 <dt class="heading">Returns:</dt>
2323 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2337 <td class="msource">
2339 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2345 <tr class="method-row config-row-alt1 expandable">
2346 <td class="micon"><a class="exi" href="#expand"> </a></td>
2350 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2351 <div class="fixedFont">
2352 <span class="attributes"></span><b class="itemname">fireEvent</b>
2354 (<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>)
2360 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2369 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2375 Fires the specified event with the passed parameters (minus the event name).
2382 <dl class="detailList">
2383 <dt class="heading">Parameters:</dt>
2386 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2392 <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>
2395 <dd>Variable number of parameters are passed to handlers</dd>
2403 <dl class="detailList">
2404 <dt class="heading">Returns:</dt>
2406 <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>
2420 <td class="msource">
2422 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2428 <tr class="method-row config-row-alt0 expandable">
2429 <td class="micon"><a class="exi" href="#expand"> </a></td>
2433 <a id="Roo.Component-method-focus" name=".focus"></a>
2434 <div class="fixedFont">
2435 <span class="attributes"></span><b class="itemname">focus</b>
2437 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2443 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2452 <div class="short">Try to focus this component.</div>
2458 Try to focus this component.
2465 <dl class="detailList">
2466 <dt class="heading">Parameters:</dt>
2469 <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>
2472 <dd>True to also select the text in this component (if applicable)</dd>
2480 <dl class="detailList">
2481 <dt class="heading">Returns:</dt>
2483 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2497 <td class="msource">
2499 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2505 <tr class="method-row config-row-alt1 expandable">
2506 <td class="micon"><a class="exi" href="#expand"> </a></td>
2510 <a id="Roo.bootstrap.Component-method-getChildContainer" name=".getChildContainer"></a>
2511 <div class="fixedFont">
2512 <span class="attributes"></span><b class="itemname">getChildContainer</b>
2520 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2529 <div class="short">Fetch the element to add children to</div>
2535 Fetch the element to add children to
2546 <dl class="detailList">
2547 <dt class="heading">Returns:</dt>
2549 <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>
2563 <td class="msource">
2565 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
2571 <tr class="method-row config-row-alt0 expandable">
2572 <td class="micon"><a class="exi" href="#expand"> </a></td>
2576 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2577 <div class="fixedFont">
2578 <span class="attributes"></span><b class="itemname">getEl</b>
2586 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2595 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2601 Returns the underlying {<b>link</b> Roo.Element}.
2612 <dl class="detailList">
2613 <dt class="heading">Returns:</dt>
2615 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2629 <td class="msource">
2631 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2637 <tr class="method-row config-row-alt1 expandable">
2638 <td class="micon"><a class="exi" href="#expand"> </a></td>
2642 <a id="Roo.Component-method-getId" name=".getId"></a>
2643 <div class="fixedFont">
2644 <span class="attributes"></span><b class="itemname">getId</b>
2652 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2661 <div class="short">Returns the id of this component.</div>
2667 Returns the id of this component.
2678 <dl class="detailList">
2679 <dt class="heading">Returns:</dt>
2681 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2695 <td class="msource">
2697 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2703 <tr class="method-row config-row-alt0 expandable notInherited">
2704 <td class="micon"><a class="exi" href="#expand"> </a></td>
2708 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2709 <div class="fixedFont">
2710 <span class="attributes"></span><b class="itemname">getName</b>
2727 <div class="short">Returns the name of the field</div>
2733 Returns the name of the field
2744 <dl class="detailList">
2745 <dt class="heading">Returns:</dt>
2747 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
2761 <td class="msource">
2769 <tr class="method-row config-row-alt1 expandable notInherited">
2770 <td class="micon"><a class="exi" href="#expand"> </a></td>
2774 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2775 <div class="fixedFont">
2776 <span class="attributes"></span><b class="itemname">getRawValue</b>
2793 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2799 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>}.
2810 <dl class="detailList">
2811 <dt class="heading">Returns:</dt>
2813 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2827 <td class="msource">
2835 <tr class="method-row config-row-alt0 expandable notInherited">
2836 <td class="micon"><a class="exi" href="#expand"> </a></td>
2840 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2841 <div class="fixedFont">
2842 <span class="attributes"></span><b class="itemname">getValue</b>
2859 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2865 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2876 <dl class="detailList">
2877 <dt class="heading">Returns:</dt>
2879 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2893 <td class="msource">
2901 <tr class="method-row config-row-alt1 expandable">
2902 <td class="micon"><a class="exi" href="#expand"> </a></td>
2906 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2907 <div class="fixedFont">
2908 <span class="attributes"></span><b class="itemname">hasListener</b>
2910 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2916 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2925 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2931 Checks to see if this object has any listeners for a specified event
2938 <dl class="detailList">
2939 <dt class="heading">Parameters:</dt>
2942 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2945 <dd>The name of the event to check for</dd>
2953 <dl class="detailList">
2954 <dt class="heading">Returns:</dt>
2956 <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>
2970 <td class="msource">
2972 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2978 <tr class="method-row config-row-alt0 expandable">
2979 <td class="micon"><a class="exi" href="#expand"> </a></td>
2983 <a id="Roo.bootstrap.Component-method-hide" name=".hide"></a>
2984 <div class="fixedFont">
2985 <span class="attributes"></span><b class="itemname">hide</b>
2994 <div class="short">Hide a component - adds 'hidden' class</div>
3000 Hide a component - adds 'hidden' class
3021 <td class="msource">
3023 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3029 <tr class="method-row config-row-alt1 expandable">
3030 <td class="micon"><a class="exi" href="#expand"> </a></td>
3034 <a id="Roo.bootstrap.Component-method-initEvents" name=".initEvents"></a>
3035 <div class="fixedFont">
3036 <span class="attributes"></span><b class="itemname">initEvents</b>
3045 <div class="short">Initialize Events for the element</div>
3051 Initialize Events for the element
3072 <td class="msource">
3074 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3080 <tr class="method-row config-row-alt0 expandable notInherited">
3081 <td class="micon"><a class="exi" href="#expand"> </a></td>
3085 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
3086 <div class="fixedFont">
3087 <span class="attributes"></span><b class="itemname">inputEl</b>
3096 <div class="short">return the real input element.</div>
3102 return the real input element.
3123 <td class="msource">
3131 <tr class="method-row config-row-alt1 expandable">
3132 <td class="micon"><a class="exi" href="#expand"> </a></td>
3136 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
3137 <div class="fixedFont">
3138 <span class="attributes"></span><b class="itemname">isVisible</b>
3147 <div class="short">Returns true if this component is visible.</div>
3153 Returns true if this component is visible.
3174 <td class="msource">
3176 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3182 <tr class="method-row config-row-alt0 expandable notInherited">
3183 <td class="micon"><a class="exi" href="#expand"> </a></td>
3187 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
3188 <div class="fixedFont">
3189 <span class="attributes"></span><b class="itemname">markInvalid</b>
3191 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
3198 <div class="short">Mark this field as invalid</div>
3204 Mark this field as invalid
3211 <dl class="detailList">
3212 <dt class="heading">Parameters:</dt>
3215 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
3218 <dd>The validation message</dd>
3236 <td class="msource">
3244 <tr class="method-row config-row-alt1 expandable notInherited">
3245 <td class="micon"><a class="exi" href="#expand"> </a></td>
3249 <a id="Roo.bootstrap.Input-method-markValid" name=".markValid"></a>
3250 <div class="fixedFont">
3251 <span class="attributes"></span><b class="itemname">markValid</b>
3260 <div class="short">Mark this field as valid</div>
3266 Mark this field as valid
3287 <td class="msource">
3295 <tr class="method-row config-row-alt0 expandable">
3296 <td class="micon"><a class="exi" href="#expand"> </a></td>
3300 <a id="Roo.util.Observable-method-on" name=".on"></a>
3301 <div class="fixedFont">
3302 <span class="attributes"></span><b class="itemname">on</b>
3304 (<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>)
3311 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
3317 Appends an event handler to this element (shorthand for addListener)
3324 <dl class="detailList">
3325 <dt class="heading">Parameters:</dt>
3328 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3331 <dd>The type of event to listen for</dd>
3334 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3337 <dd>The method the event invokes</dd>
3340 <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>
3343 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
3346 <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>
3367 <td class="msource">
3369 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3375 <tr class="method-row config-row-alt1 expandable">
3376 <td class="micon"><a class="exi" href="#expand"> </a></td>
3380 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3381 <div class="fixedFont">
3382 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3391 <div class="short">Removes all listeners for this object</div>
3397 Removes all listeners for this object
3418 <td class="msource">
3420 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3426 <tr class="method-row config-row-alt0 expandable">
3427 <td class="micon"><a class="exi" href="#expand"> </a></td>
3431 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3432 <div class="fixedFont">
3433 <span class="attributes"></span><b class="itemname">removeListener</b>
3435 (<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>)
3442 <div class="short">Removes a listener</div>
3455 <dl class="detailList">
3456 <dt class="heading">Parameters:</dt>
3459 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3462 <dd>The type of event to listen for</dd>
3465 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3468 <dd>The handler to remove</dd>
3471 <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>
3474 <dd>(optional) The scope (this object) for the handler</dd>
3492 <td class="msource">
3494 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3500 <tr class="method-row config-row-alt1 expandable">
3501 <td class="micon"><a class="exi" href="#expand"> </a></td>
3505 <a id="Roo.Component-method-render" name=".render"></a>
3506 <div class="fixedFont">
3507 <span class="attributes"></span><b class="itemname">render</b>
3509 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3516 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3522 If this is a lazy rendering component, render it to its container element.
3529 <dl class="detailList">
3530 <dt class="heading">Parameters:</dt>
3533 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3536 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3554 <td class="msource">
3556 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3562 <tr class="method-row config-row-alt0 expandable notInherited">
3563 <td class="micon"><a class="exi" href="#expand"> </a></td>
3567 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3568 <div class="fixedFont">
3569 <span class="attributes"></span><b class="itemname">reset</b>
3578 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3584 Resets the current field value to the originally loaded value and clears any validation messages
3605 <td class="msource">
3613 <tr class="method-row config-row-alt1 expandable">
3614 <td class="micon"><a class="exi" href="#expand"> </a></td>
3618 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3619 <div class="fixedFont">
3620 <span class="attributes"></span><b class="itemname">setDisabled</b>
3622 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3629 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3635 Convenience function for setting disabled/enabled by boolean.
3642 <dl class="detailList">
3643 <dt class="heading">Parameters:</dt>
3646 <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>
3667 <td class="msource">
3669 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3675 <tr class="method-row config-row-alt0 expandable notInherited">
3676 <td class="micon"><a class="exi" href="#expand"> </a></td>
3680 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3681 <div class="fixedFont">
3682 <span class="attributes"></span><b class="itemname">setRawValue</b>
3684 (Mixed <B><i>value</i></B>)
3691 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3697 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3704 <dl class="detailList">
3705 <dt class="heading">Parameters:</dt>
3708 <span class="fixedFont">Mixed</span> <b>value</b>
3711 <dd>The value to set</dd>
3729 <td class="msource">
3737 <tr class="method-row config-row-alt1 expandable notInherited">
3738 <td class="micon"><a class="exi" href="#expand"> </a></td>
3742 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3743 <div class="fixedFont">
3744 <span class="attributes"></span><b class="itemname">setValue</b>
3746 (Mixed <B><i>value</i></B>)
3753 <div class="short">Sets a data value into the field and validates it.</div>
3759 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3766 <dl class="detailList">
3767 <dt class="heading">Parameters:</dt>
3770 <span class="fixedFont">Mixed</span> <b>value</b>
3773 <dd>The value to set</dd>
3791 <td class="msource">
3799 <tr class="method-row config-row-alt0 expandable">
3800 <td class="micon"><a class="exi" href="#expand"> </a></td>
3804 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3805 <div class="fixedFont">
3806 <span class="attributes"></span><b class="itemname">setVisible</b>
3808 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3814 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3823 <div class="short">Convenience function to hide or show this component by boolean.</div>
3829 Convenience function to hide or show this component by boolean.
3836 <dl class="detailList">
3837 <dt class="heading">Parameters:</dt>
3840 <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>
3843 <dd>True to show, false to hide</dd>
3851 <dl class="detailList">
3852 <dt class="heading">Returns:</dt>
3854 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3868 <td class="msource">
3870 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3876 <tr class="method-row config-row-alt1 expandable">
3877 <td class="micon"><a class="exi" href="#expand"> </a></td>
3881 <a id="Roo.bootstrap.Component-method-show" name=".show"></a>
3882 <div class="fixedFont">
3883 <span class="attributes"></span><b class="itemname">show</b>
3892 <div class="short">Show a component - removes 'hidden' class</div>
3898 Show a component - removes 'hidden' class
3919 <td class="msource">
3921 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3927 <tr class="method-row config-row-alt0 expandable">
3928 <td class="micon"><a class="exi" href="#expand"> </a></td>
3932 <a id="Roo.bootstrap.Component-method-tooltipEl" name=".tooltipEl"></a>
3933 <div class="fixedFont">
3934 <span class="attributes"></span><b class="itemname">tooltipEl</b>
3942 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
3951 <div class="short">Fetch the element to display the tooltip on.</div>
3957 Fetch the element to display the tooltip on.
3968 <dl class="detailList">
3969 <dt class="heading">Returns:</dt>
3971 <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>
3985 <td class="msource">
3987 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
3993 <tr class="method-row config-row-alt1 expandable">
3994 <td class="micon"><a class="exi" href="#expand"> </a></td>
3998 <a id="Roo.util.Observable-method-un" name=".un"></a>
3999 <div class="fixedFont">
4000 <span class="attributes"></span><b class="itemname">un</b>
4002 (<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>)
4009 <div class="short">Removes a listener (shorthand for removeListener)</div>
4015 Removes a listener (shorthand for removeListener)
4022 <dl class="detailList">
4023 <dt class="heading">Parameters:</dt>
4026 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
4029 <dd>The type of event to listen for</dd>
4032 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
4035 <dd>The handler to remove</dd>
4038 <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>
4041 <dd>(optional) The scope (this object) for the handler</dd>
4059 <td class="msource">
4061 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
4067 <tr class="method-row config-row-alt0 expandable notInherited">
4068 <td class="micon"><a class="exi" href="#expand"> </a></td>
4072 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
4073 <div class="fixedFont">
4074 <span class="attributes"></span><b class="itemname">validate</b>
4082 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4091 <div class="short">Validates the field value</div>
4097 Validates the field value
4108 <dl class="detailList">
4109 <dt class="heading">Returns:</dt>
4111 <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>
4125 <td class="msource">
4133 <tr class="method-row config-row-alt1 expandable notInherited">
4134 <td class="micon"><a class="exi" href="#expand"> </a></td>
4138 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
4139 <div class="fixedFont">
4140 <span class="attributes"></span><b class="itemname">validateValue</b>
4142 (Mixed <B><i>value</i></B>)
4148 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
4157 <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>
4163 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
4170 <dl class="detailList">
4171 <dt class="heading">Parameters:</dt>
4174 <span class="fixedFont">Mixed</span> <b>value</b>
4177 <dd>The value to validate</dd>
4185 <dl class="detailList">
4186 <dt class="heading">Returns:</dt>
4188 <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>
4202 <td class="msource">
4213 <!-- ============================== events summary / details ======================== -->
4216 <a id="Roo.bootstrap.Input-events"></a>
4225 <table cellspacing="0" class="member-table">
4226 <caption>Events</caption>
4229 <th class="sig-header" colspan="2">Event</th>
4230 <th class="msource-header">Defined By</th>
4239 <tr class="method-row expandable config-row-alt0">
4240 <td class="micon"><a class="exi" href="#expand"> </a></td>
4243 <a id="Roo.Component-event-*beforedestroy"></a>
4245 <div class="fixedFont">
4246 <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>)
4252 <div class="short">Fires before the component is destroyed.
4258 Fires before the component is destroyed. Return false to stop the destroy.
4264 <dl class="detailList">
4265 <dt class="heading">Parameters:</dt>
4268 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4289 <td class="msource">
4290 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4294 <tr class="method-row expandable config-row-alt1">
4295 <td class="micon"><a class="exi" href="#expand"> </a></td>
4298 <a id="Roo.Component-event-*beforehide"></a>
4300 <div class="fixedFont">
4301 <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>)
4307 <div class="short">Fires before the component is hidden.
4313 Fires before the component is hidden. Return false to stop the hide.
4319 <dl class="detailList">
4320 <dt class="heading">Parameters:</dt>
4323 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4344 <td class="msource">
4345 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4349 <tr class="method-row expandable config-row-alt0">
4350 <td class="micon"><a class="exi" href="#expand"> </a></td>
4353 <a id="Roo.Component-event-*beforerender"></a>
4355 <div class="fixedFont">
4356 <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>)
4362 <div class="short">Fires before the component is rendered.
4368 Fires before the component is rendered. Return false to stop the render.
4374 <dl class="detailList">
4375 <dt class="heading">Parameters:</dt>
4378 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4399 <td class="msource">
4400 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4404 <tr class="method-row expandable config-row-alt1">
4405 <td class="micon"><a class="exi" href="#expand"> </a></td>
4408 <a id="Roo.Component-event-*beforeshow"></a>
4410 <div class="fixedFont">
4411 <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>)
4417 <div class="short">Fires before the component is shown.
4423 Fires before the component is shown. Return false to stop the show.
4429 <dl class="detailList">
4430 <dt class="heading">Parameters:</dt>
4433 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4454 <td class="msource">
4455 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4459 <tr class="method-row expandable config-row-alt0 notInherited">
4460 <td class="micon"><a class="exi" href="#expand"> </a></td>
4463 <a id="Roo.bootstrap.Input-event-*blur"></a>
4465 <div class="fixedFont">
4466 <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>)
4472 <div class="short">Fires when this field loses input focus.
4478 Fires when this field loses input focus.
4484 <dl class="detailList">
4485 <dt class="heading">Parameters:</dt>
4488 <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>
4509 <td class="msource">
4514 <tr class="method-row expandable config-row-alt1 notInherited">
4515 <td class="micon"><a class="exi" href="#expand"> </a></td>
4518 <a id="Roo.bootstrap.Input-event-*change"></a>
4520 <div class="fixedFont">
4521 <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>)
4527 <div class="short">Fires just before the field blurs if the field value has changed.
4533 Fires just before the field blurs if the field value has changed.
4539 <dl class="detailList">
4540 <dt class="heading">Parameters:</dt>
4543 <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>
4549 <span class="fixedFont">Mixed</span> <b>newValue</b>
4552 <dd>The new value</dd>
4555 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4558 <dd>The original value</dd>
4576 <td class="msource">
4581 <tr class="method-row expandable config-row-alt0">
4582 <td class="micon"><a class="exi" href="#expand"> </a></td>
4585 <a id="Roo.bootstrap.Component-event-*childrenrendered"></a>
4587 <div class="fixedFont">
4588 <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>)
4594 <div class="short">Fires when the children have been rendered.
4600 Fires when the children have been rendered..
4606 <dl class="detailList">
4607 <dt class="heading">Parameters:</dt>
4610 <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>
4631 <td class="msource">
4632 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
4636 <tr class="method-row expandable config-row-alt1">
4637 <td class="micon"><a class="exi" href="#expand"> </a></td>
4640 <a id="Roo.Component-event-*destroy"></a>
4642 <div class="fixedFont">
4643 <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>)
4649 <div class="short">Fires after the component is destroyed.
4655 Fires after the component is destroyed.
4661 <dl class="detailList">
4662 <dt class="heading">Parameters:</dt>
4665 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4686 <td class="msource">
4687 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4691 <tr class="method-row expandable config-row-alt0">
4692 <td class="micon"><a class="exi" href="#expand"> </a></td>
4695 <a id="Roo.Component-event-*disable"></a>
4697 <div class="fixedFont">
4698 <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>)
4704 <div class="short">Fires after the component is disabled.
4710 Fires after the component is disabled.
4716 <dl class="detailList">
4717 <dt class="heading">Parameters:</dt>
4720 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4741 <td class="msource">
4742 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4746 <tr class="method-row expandable config-row-alt1">
4747 <td class="micon"><a class="exi" href="#expand"> </a></td>
4750 <a id="Roo.Component-event-*enable"></a>
4752 <div class="fixedFont">
4753 <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>)
4759 <div class="short">Fires after the component is enabled.
4765 Fires after the component is enabled.
4771 <dl class="detailList">
4772 <dt class="heading">Parameters:</dt>
4775 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4796 <td class="msource">
4797 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4801 <tr class="method-row expandable config-row-alt0 notInherited">
4802 <td class="micon"><a class="exi" href="#expand"> </a></td>
4805 <a id="Roo.bootstrap.Input-event-*focus"></a>
4807 <div class="fixedFont">
4808 <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>)
4814 <div class="short">Fires when this field receives input focus.
4820 Fires when this field receives input focus.
4826 <dl class="detailList">
4827 <dt class="heading">Parameters:</dt>
4830 <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>
4851 <td class="msource">
4856 <tr class="method-row expandable config-row-alt1">
4857 <td class="micon"><a class="exi" href="#expand"> </a></td>
4860 <a id="Roo.Component-event-*hide"></a>
4862 <div class="fixedFont">
4863 <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>)
4869 <div class="short">Fires after the component is hidden.
4875 Fires after the component is hidden.
4881 <dl class="detailList">
4882 <dt class="heading">Parameters:</dt>
4885 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4906 <td class="msource">
4907 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4911 <tr class="method-row expandable config-row-alt0 notInherited">
4912 <td class="micon"><a class="exi" href="#expand"> </a></td>
4915 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4917 <div class="fixedFont">
4918 <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>)
4924 <div class="short">Fires after the field has been marked as invalid.
4930 Fires after the field has been marked as invalid.
4936 <dl class="detailList">
4937 <dt class="heading">Parameters:</dt>
4940 <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>
4946 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4949 <dd>The validation message</dd>
4967 <td class="msource">
4972 <tr class="method-row expandable config-row-alt1 notInherited">
4973 <td class="micon"><a class="exi" href="#expand"> </a></td>
4976 <a id="Roo.bootstrap.Input-event-*keyup"></a>
4978 <div class="fixedFont">
4979 <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>)
4985 <div class="short">Fires after the key up
4991 Fires after the key up
4997 <dl class="detailList">
4998 <dt class="heading">Parameters:</dt>
5001 <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>
5007 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5010 <dd>The event Object</dd>
5028 <td class="msource">
5033 <tr class="method-row expandable config-row-alt0">
5034 <td class="micon"><a class="exi" href="#expand"> </a></td>
5037 <a id="Roo.Component-event-*render"></a>
5039 <div class="fixedFont">
5040 <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>)
5046 <div class="short">Fires after the component is rendered.
5052 Fires after the component is rendered.
5058 <dl class="detailList">
5059 <dt class="heading">Parameters:</dt>
5062 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5083 <td class="msource">
5084 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5088 <tr class="method-row expandable config-row-alt1">
5089 <td class="micon"><a class="exi" href="#expand"> </a></td>
5092 <a id="Roo.Component-event-*show"></a>
5094 <div class="fixedFont">
5095 <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>)
5101 <div class="short">Fires after the component is shown.
5107 Fires after the component is shown.
5113 <dl class="detailList">
5114 <dt class="heading">Parameters:</dt>
5117 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
5138 <td class="msource">
5139 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
5143 <tr class="method-row expandable config-row-alt0 notInherited">
5144 <td class="micon"><a class="exi" href="#expand"> </a></td>
5147 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
5149 <div class="fixedFont">
5150 <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>)
5156 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
5162 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.
5168 <dl class="detailList">
5169 <dt class="heading">Parameters:</dt>
5172 <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>
5178 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
5181 <dd>The event object</dd>
5199 <td class="msource">
5204 <tr class="method-row expandable config-row-alt1 notInherited">
5205 <td class="micon"><a class="exi" href="#expand"> </a></td>
5208 <a id="Roo.bootstrap.Input-event-*valid"></a>
5210 <div class="fixedFont">
5211 <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>)
5217 <div class="short">Fires after the field has been validated with no errors.
5223 Fires after the field has been validated with no errors.
5229 <dl class="detailList">
5230 <dt class="heading">Parameters:</dt>
5233 <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>
5254 <td class="msource">
5266 <!-- ============================== footer ================================= -->
5267 <div class="fineprint" style="clear:both">
5269 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Feb 19 2016 15:53:21 GMT+0800 (HKT)
5271 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>