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.DateField</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.DateField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.bootstrap.DateField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.bootstrap.DateField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.bootstrap.DateField-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 src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.bootstrap.TriggerField.html#constructor" roo:cls="Roo.bootstrap.TriggerField.html#constructor">Roo.bootstrap.TriggerField</a>
51 <img src="../../images/default/s.gif" height="1" width="100"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.bootstrap.DateField
56 <!-- ============================== class title / details ============================ -->
59 <h1 class="classTitle">
61 Class Roo.bootstrap.DateField
64 <table cellspacing="0" class="class-summary-table">
66 <tr><td class="label">Package:</td><td class="hd-info">Roo.bootstrap</td></tr>
68 <tr><td class="label">Defined In:</td><td class="hd-info">
70 <a href="./src/Roo_bootstrap_DateField.js.html">Roo/bootstrap/DateField.js</a>.
73 <tr><td class="label">Class:</td><td class="hd-info">DateField</td></tr>
78 <tr><td class="label">Extends:</td><td class="hd-info">
79 <a href="./Roo.bootstrap.TriggerField.html#constructor" roo:cls="Roo.bootstrap.TriggerField.html#constructor">Roo.bootstrap.TriggerField</a>
87 <!-- ============================== class summary ========================== -->
88 <div class="description">
89 Bootstrap DateField class
93 <!-- ============================== Class comment block... ========================== -->
95 <div class="comments">
96 <b>Class Comments / Notes</B> =>
97 <u onclick="parent.CommentDialog.showCommentId = 'Roo.bootstrap.DateField';">[Add Your comment/notes about this class]</u>
99 <iframe frameborder="0" id="comments-Roo.bootstrap" style="border: none;width:100%;"
100 src="/blog.php/GtkDjsComments/Roo.bootstrap.DateField.html"></iframe>
105 <!-- ============================== config options ========================== -->
110 <div class="hr"></div>
111 <a id="Roo.bootstrap.DateField-configs"></a>
117 <table cellspacing="0" class="member-table">
118 <caption>Config Options (Usually are also Properties)</caption>
122 <th class="sig-header" colspan="2">Options</th>
124 <th class="msource-header">Defined By</th>
131 <tr class="config-row expandable config-row-alt0">
132 <td class="micon"><a class="exi" href="#expand"> </a></td>
135 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
136 <div class="fixedFont">
137 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
143 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
147 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
155 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
161 <tr class="config-row expandable config-row-alt1">
162 <td class="micon"><a class="exi" href="#expand"> </a></td>
165 <a id="Roo.bootstrap.Input-cfg-after" name=".after"></a>
166 <div class="fixedFont">
167 <b class="itemname">after</b> : string
173 <div class="short">- input group add on after</div>
177 <div class="long">- input group add on after</div>
185 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
191 <tr class="config-row expandable config-row-alt0">
192 <td class="micon"><a class="exi" href="#expand"> </a></td>
195 <a id="Roo.bootstrap.Input-cfg-allowBlank" name=".allowBlank"></a>
196 <div class="fixedFont">
197 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
203 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
207 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
215 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
221 <tr class="config-row expandable config-row-alt1">
222 <td class="micon"><a class="exi" href="#expand"> </a></td>
225 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
226 <div class="fixedFont">
227 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
233 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
237 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
245 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
251 <tr class="config-row expandable config-row-alt0">
252 <td class="micon"><a class="exi" href="#expand"> </a></td>
255 <a id="Roo.bootstrap.Input-cfg-before" name=".before"></a>
256 <div class="fixedFont">
257 <b class="itemname">before</b> : string
263 <div class="short">- input group add on before</div>
267 <div class="long">- input group add on before</div>
275 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
281 <tr class="config-row expandable config-row-alt1">
282 <td class="micon"><a class="exi" href="#expand"> </a></td>
285 <a id="Roo.bootstrap.Input-cfg-blankText" name=".blankText"></a>
286 <div class="fixedFont">
287 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
293 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
297 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
305 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
311 <tr class="config-row expandable config-row-alt0">
312 <td class="micon"><a class="exi" href="#expand"> </a></td>
315 <a id="Roo.bootstrap.Component-cfg-can_build_overlaid" name=".can_build_overlaid"></a>
316 <div class="fixedFont">
317 <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>
323 <div class="short">True if element can be rebuild from a HTML page</div>
327 <div class="long">True if element can be rebuild from a HTML page</div>
335 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
341 <tr class="config-row expandable config-row-alt1">
342 <td class="micon"><a class="exi" href="#expand"> </a></td>
345 <a id="Roo.bootstrap.Input-cfg-checked" name=".checked"></a>
346 <div class="fixedFont">
347 <b class="itemname">checked</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
353 <div class="short">initial checkbox</div>
357 <div class="long">initial checkbox</div>
365 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
371 <tr class="config-row expandable config-row-alt0">
372 <td class="micon"><a class="exi" href="#expand"> </a></td>
375 <a id="Roo.bootstrap.Component-cfg-cls" name=".cls"></a>
376 <div class="fixedFont">
377 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
383 <div class="short">css class</div>
387 <div class="long">css class</div>
395 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
401 <tr class="config-row expandable config-row-alt1">
402 <td class="micon"><a class="exi" href="#expand"> </a></td>
405 <a id="Roo.bootstrap.Component-cfg-dataId" name=".dataId"></a>
406 <div class="fixedFont">
407 <b class="itemname">dataId</b> : string
413 <div class="short">cutomer id</div>
417 <div class="long">cutomer id</div>
425 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
431 <tr class="config-row expandable config-row-alt0">
432 <td class="micon"><a class="exi" href="#expand"> </a></td>
435 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
436 <div class="fixedFont">
437 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
443 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
447 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
455 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
461 <tr class="config-row expandable config-row-alt1">
462 <td class="micon"><a class="exi" href="#expand"> </a></td>
465 <a id="Roo.bootstrap.Input-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
466 <div class="fixedFont">
467 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
473 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
477 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
485 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
491 <tr class="config-row expandable config-row-alt0">
492 <td class="micon"><a class="exi" href="#expand"> </a></td>
495 <a id="Roo.bootstrap.Input-cfg-disabled" name=".disabled"></a>
496 <div class="fixedFont">
497 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
503 <div class="short">is it disabled</div>
507 <div class="long">is it disabled</div>
515 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
521 <tr class="config-row expandable config-row-alt1">
522 <td class="micon"><a class="exi" href="#expand"> </a></td>
525 <a id="Roo.bootstrap.Input-cfg-fieldLabel" name=".fieldLabel"></a>
526 <div class="fixedFont">
527 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
533 <div class="short">- the label associated</div>
537 <div class="long">- the label associated</div>
545 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
551 <tr class="config-row expandable config-row-alt0">
552 <td class="micon"><a class="exi" href="#expand"> </a></td>
555 <a id="Roo.bootstrap.Input-cfg-focusClass" name=".focusClass"></a>
556 <div class="fixedFont">
557 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
563 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
567 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
575 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
581 <tr class="config-row expandable config-row-alt1">
582 <td class="micon"><a class="exi" href="#expand"> </a></td>
585 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
586 <div class="fixedFont">
587 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
593 <div class="short">How this component should hidden.</div>
597 <div class="long">How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".</div>
605 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
611 <tr class="config-row expandable config-row-alt0">
612 <td class="micon"><a class="exi" href="#expand"> </a></td>
615 <a id="Roo.bootstrap.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
616 <div class="fixedFont">
617 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
623 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
627 <div class="long">True to hide the trigger element and display only the base text field (defaults to false)</div>
635 <a href="./Roo.bootstrap.TriggerField.html#constructor" roo:cls="Roo.bootstrap.TriggerField.html#constructor">Roo.bootstrap.TriggerField</a>
641 <tr class="config-row expandable config-row-alt1">
642 <td class="micon"><a class="exi" href="#expand"> </a></td>
645 <a id="Roo.bootstrap.Input-cfg-inputType" name=".inputType"></a>
646 <div class="fixedFont">
647 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
653 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
657 <div class="long">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
665 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
671 <tr class="config-row expandable config-row-alt0">
672 <td class="micon"><a class="exi" href="#expand"> </a></td>
675 <a id="Roo.bootstrap.Input-cfg-invalidClass" name=".invalidClass"></a>
676 <div class="fixedFont">
677 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
683 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
687 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
695 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
701 <tr class="config-row expandable config-row-alt1">
702 <td class="micon"><a class="exi" href="#expand"> </a></td>
705 <a id="Roo.bootstrap.Input-cfg-labelWidth" name=".labelWidth"></a>
706 <div class="fixedFont">
707 <b class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
713 <div class="short">set the width of label (0-12)</div>
717 <div class="long">set the width of label (0-12)</div>
725 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
731 <tr class="config-row expandable config-row-alt0">
732 <td class="micon"><a class="exi" href="#expand"> </a></td>
735 <a id="Roo.bootstrap.Input-cfg-lg" name=".lg"></a>
736 <div class="fixedFont">
737 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
743 <div class="short">colspan out of 12 for large computer-sized screens</div>
747 <div class="long">colspan out of 12 for large computer-sized screens</div>
755 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
761 <tr class="config-row expandable config-row-alt1">
762 <td class="micon"><a class="exi" href="#expand"> </a></td>
765 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
766 <div class="fixedFont">
767 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
773 <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> .</div>
777 <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre></div>
785 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
791 <tr class="config-row expandable config-row-alt0">
792 <td class="micon"><a class="exi" href="#expand"> </a></td>
795 <a id="Roo.bootstrap.Input-cfg-maskRe" name=".maskRe"></a>
796 <div class="fixedFont">
797 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
803 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
807 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
815 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
821 <tr class="config-row expandable config-row-alt1">
822 <td class="micon"><a class="exi" href="#expand"> </a></td>
825 <a id="Roo.bootstrap.Input-cfg-maxLength" name=".maxLength"></a>
826 <div class="fixedFont">
827 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
833 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
837 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
845 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
851 <tr class="config-row expandable config-row-alt0">
852 <td class="micon"><a class="exi" href="#expand"> </a></td>
855 <a id="Roo.bootstrap.Input-cfg-maxLengthText" name=".maxLengthText"></a>
856 <div class="fixedFont">
857 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
863 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
867 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
875 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
881 <tr class="config-row expandable config-row-alt1">
882 <td class="micon"><a class="exi" href="#expand"> </a></td>
885 <a id="Roo.bootstrap.Input-cfg-md" name=".md"></a>
886 <div class="fixedFont">
887 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
893 <div class="short">colspan out of 12 for computer-sized screens</div>
897 <div class="long">colspan out of 12 for computer-sized screens</div>
905 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
911 <tr class="config-row expandable config-row-alt0">
912 <td class="micon"><a class="exi" href="#expand"> </a></td>
915 <a id="Roo.bootstrap.Input-cfg-minLength" name=".minLength"></a>
916 <div class="fixedFont">
917 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
923 <div class="short">Minimum input field length required (defaults to 0)</div>
927 <div class="long">Minimum input field length required (defaults to 0)</div>
935 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
941 <tr class="config-row expandable config-row-alt1">
942 <td class="micon"><a class="exi" href="#expand"> </a></td>
945 <a id="Roo.bootstrap.Input-cfg-minLengthText" name=".minLengthText"></a>
946 <div class="fixedFont">
947 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
953 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
957 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
965 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
971 <tr class="config-row expandable config-row-alt0">
972 <td class="micon"><a class="exi" href="#expand"> </a></td>
975 <a id="Roo.bootstrap.Input-cfg-name" name=".name"></a>
976 <div class="fixedFont">
977 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
983 <div class="short">name of the input</div>
987 <div class="long">name of the input</div>
995 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1001 <tr class="config-row expandable config-row-alt1">
1002 <td class="micon"><a class="exi" href="#expand"> </a></td>
1005 <a id="Roo.bootstrap.Input-cfg-placeholder" name=".placeholder"></a>
1006 <div class="fixedFont">
1007 <b class="itemname">placeholder</b> : string
1013 <div class="short">- placeholder to put in text.</div>
1017 <div class="long">- placeholder to put in text.</div>
1023 <td class="msource">
1025 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1031 <tr class="config-row expandable config-row-alt0">
1032 <td class="micon"><a class="exi" href="#expand"> </a></td>
1035 <a id="Roo.bootstrap.Input-cfg-regex" name=".regex"></a>
1036 <div class="fixedFont">
1037 <b class="itemname">regex</b> : RegExp
1043 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1047 <div class="long">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).<br/>If available, this regex will be evaluated only after the basic validators all return true, and will be passed the<br/>current field value. If the test fails, the field will be marked invalid using {<b>link</b> <b>regexText</b>}.</div>
1053 <td class="msource">
1055 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1061 <tr class="config-row expandable config-row-alt1">
1062 <td class="micon"><a class="exi" href="#expand"> </a></td>
1065 <a id="Roo.bootstrap.Input-cfg-regexText" name=".regexText"></a>
1066 <div class="fixedFont">
1067 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1073 <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>
1077 <div class="long">The error text to display if {<b>link</b> <b>regex</b>} is used and the test fails during validation (defaults to "")</div>
1083 <td class="msource">
1085 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1091 <tr class="config-row expandable config-row-alt0">
1092 <td class="micon"><a class="exi" href="#expand"> </a></td>
1095 <a id="Roo.bootstrap.Input-cfg-selectOnFocus" name=".selectOnFocus"></a>
1096 <div class="fixedFont">
1097 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1103 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1107 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1113 <td class="msource">
1115 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1121 <tr class="config-row expandable config-row-alt1">
1122 <td class="micon"><a class="exi" href="#expand"> </a></td>
1125 <a id="Roo.bootstrap.Input-cfg-size" name=".size"></a>
1126 <div class="fixedFont">
1127 <b class="itemname">size</b> : string
1133 <div class="short">- (lg|sm) or leave empty.</div>
1137 <div class="long">- (lg|sm) or leave empty..</div>
1143 <td class="msource">
1145 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1151 <tr class="config-row expandable config-row-alt0">
1152 <td class="micon"><a class="exi" href="#expand"> </a></td>
1155 <a id="Roo.bootstrap.Input-cfg-sm" name=".sm"></a>
1156 <div class="fixedFont">
1157 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1163 <div class="short">colspan out of 12 for tablet-sized screens</div>
1167 <div class="long">colspan out of 12 for tablet-sized screens</div>
1173 <td class="msource">
1175 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1181 <tr class="config-row expandable config-row-alt1">
1182 <td class="micon"><a class="exi" href="#expand"> </a></td>
1185 <a id="Roo.bootstrap.Component-cfg-style" name=".style"></a>
1186 <div class="fixedFont">
1187 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1193 <div class="short">any extra css</div>
1197 <div class="long">any extra css</div>
1203 <td class="msource">
1205 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1211 <tr class="config-row expandable config-row-alt0">
1212 <td class="micon"><a class="exi" href="#expand"> </a></td>
1215 <a id="Roo.bootstrap.TriggerField-cfg-triggerClass" name=".triggerClass"></a>
1216 <div class="fixedFont">
1217 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1223 <div class="short">An additional CSS class used to style the trigger button.</div>
1227 <div class="long">An additional CSS class used to style the trigger button. The trigger will always get the<br/>class 'x-form-trigger' by default and triggerClass will be <b>appended</b> if specified.</div>
1233 <td class="msource">
1235 <a href="./Roo.bootstrap.TriggerField.html#constructor" roo:cls="Roo.bootstrap.TriggerField.html#constructor">Roo.bootstrap.TriggerField</a>
1241 <tr class="config-row expandable config-row-alt1">
1242 <td class="micon"><a class="exi" href="#expand"> </a></td>
1245 <a id="Roo.bootstrap.Input-cfg-validateOnBlur" name=".validateOnBlur"></a>
1246 <div class="fixedFont">
1247 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1253 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1257 <div class="long">Whether the field should validate when it loses focus (defaults to true).</div>
1263 <td class="msource">
1265 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1271 <tr class="config-row expandable config-row-alt0">
1272 <td class="micon"><a class="exi" href="#expand"> </a></td>
1275 <a id="Roo.bootstrap.Input-cfg-validationDelay" name=".validationDelay"></a>
1276 <div class="fixedFont">
1277 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1283 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1287 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1293 <td class="msource">
1295 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1301 <tr class="config-row expandable config-row-alt1">
1302 <td class="micon"><a class="exi" href="#expand"> </a></td>
1305 <a id="Roo.bootstrap.Input-cfg-validationEvent" name=".validationEvent"></a>
1306 <div class="fixedFont">
1307 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1313 <div class="short">The event that should initiate field validation.</div>
1317 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1323 <td class="msource">
1325 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1331 <tr class="config-row expandable config-row-alt0">
1332 <td class="micon"><a class="exi" href="#expand"> </a></td>
1335 <a id="Roo.bootstrap.Input-cfg-validator" name=".validator"></a>
1336 <div class="fixedFont">
1337 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1343 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1347 <div class="long">A custom validation function to be called during field validation (defaults to null).<br/>If available, this function will be called only after the basic validators all return true, and will be passed the<br/>current field value and expected to return boolean true if the value is valid or a string error message if invalid.</div>
1353 <td class="msource">
1355 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1361 <tr class="config-row expandable config-row-alt1">
1362 <td class="micon"><a class="exi" href="#expand"> </a></td>
1365 <a id="Roo.bootstrap.Input-cfg-value" name=".value"></a>
1366 <div class="fixedFont">
1367 <b class="itemname">value</b> : string
1373 <div class="short">default value of the input</div>
1377 <div class="long">default value of the input</div>
1383 <td class="msource">
1385 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1391 <tr class="config-row expandable config-row-alt0">
1392 <td class="micon"><a class="exi" href="#expand"> </a></td>
1395 <a id="Roo.bootstrap.Input-cfg-vtype" name=".vtype"></a>
1396 <div class="fixedFont">
1397 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1403 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1407 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1413 <td class="msource">
1415 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1421 <tr class="config-row expandable config-row-alt1">
1422 <td class="micon"><a class="exi" href="#expand"> </a></td>
1425 <a id="Roo.bootstrap.Component-cfg-xattr" name=".xattr"></a>
1426 <div class="fixedFont">
1427 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1433 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1437 <div class="long">extra attributes to add to 'element' (used by builder to store stuff.)</div>
1443 <td class="msource">
1445 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1451 <tr class="config-row expandable config-row-alt0">
1452 <td class="micon"><a class="exi" href="#expand"> </a></td>
1455 <a id="Roo.bootstrap.Input-cfg-xs" name=".xs"></a>
1456 <div class="fixedFont">
1457 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1463 <div class="short">colspan out of 12 for mobile-sized screens</div>
1467 <div class="long">colspan out of 12 for mobile-sized screens</div>
1473 <td class="msource">
1475 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1491 <!-- ============================== public properties ==================== -->
1495 <a id="Roo.bootstrap.DateField-props"></a>
1501 <table cellspacing="0" class="member-table">
1502 <caption class="Empty">Public Properties - Has None</caption>
1508 <!-- ============================== methods summary / details ======================== -->
1511 <a id="Roo.bootstrap.DateField-methods"></a>
1512 <!-- constructor?? -->
1519 <!-- then dynamics first -->
1526 <table cellspacing="0" class="member-table">
1527 <caption>Public Methods</caption>
1529 <th class="sig-header" colspan="2">Method</th>
1530 <th class="msource-header">Defined By</th>
1540 <tr class="method-row config-row-alt0 expandable notInherited">
1541 <td class="micon"><a class="exi" href="#expand"> </a></td>
1545 <a id="Roo.bootstrap-method-DateField" name=".DateField"></a>
1546 <div class="fixedFont">
1547 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">DateField</b>
1549 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1557 <div class="short">Create a new Roo.bootstrap.DateField</div>
1564 Create a new Roo.bootstrap.DateField
1567 <dl class="detailList">
1568 <dt class="heading">Parameters:</dt>
1571 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
1574 <dd>The config object</dd>
1592 <td class="msource">
1598 <tr class="method-row config-row-alt1 expandable">
1599 <td class="micon"><a class="exi" href="#expand"> </a></td>
1603 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1604 <div class="fixedFont">
1605 <span class="attributes"></span><b class="itemname">addEvents</b>
1607 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1614 <div class="short">Used to define events on this Observable</div>
1620 Used to define events on this Observable
1627 <dl class="detailList">
1628 <dt class="heading">Parameters:</dt>
1631 <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>
1634 <dd>The object with the events defined</dd>
1652 <td class="msource">
1654 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1660 <tr class="method-row config-row-alt0 expandable">
1661 <td class="micon"><a class="exi" href="#expand"> </a></td>
1665 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1666 <div class="fixedFont">
1667 <span class="attributes"></span><b class="itemname">addListener</b>
1669 (<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>)
1676 <div class="short">Appends an event handler to this component</div>
1682 Appends an event handler to this component
1689 <dl class="detailList">
1690 <dt class="heading">Parameters:</dt>
1693 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1696 <dd>The type of event to listen for</dd>
1699 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1702 <dd>The method the event invokes</dd>
1705 <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>
1708 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1711 <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>
1714 <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>
1732 <td class="msource">
1734 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1740 <tr class="method-row config-row-alt1 expandable">
1741 <td class="micon"><a class="exi" href="#expand"> </a></td>
1745 <a id="Roo.bootstrap.TriggerField-method-autoSize" name=".autoSize"></a>
1746 <div class="fixedFont">
1747 <span class="attributes"></span><b class="itemname">autoSize</b>
1756 <div class="short"></div>
1783 <td class="msource">
1785 <a href="./Roo.bootstrap.TriggerField.html#constructor" roo:cls="Roo.bootstrap.TriggerField.html#constructor">Roo.bootstrap.TriggerField</a>
1791 <tr class="method-row config-row-alt0 expandable">
1792 <td class="micon"><a class="exi" href="#expand"> </a></td>
1796 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
1797 <div class="fixedFont">
1798 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1807 <div class="short">Clear any invalid styles/messages for this field</div>
1813 Clear any invalid styles/messages for this field
1834 <td class="msource">
1836 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1842 <tr class="method-row config-row-alt1 expandable">
1843 <td class="micon"><a class="exi" href="#expand"> </a></td>
1847 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1848 <div class="fixedFont">
1849 <span class="attributes"></span><b class="itemname">destroy</b>
1858 <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>
1864 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}.
1885 <td class="msource">
1887 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1893 <tr class="method-row config-row-alt0 expandable">
1894 <td class="micon"><a class="exi" href="#expand"> </a></td>
1898 <a id="Roo.Component-method-disable" name=".disable"></a>
1899 <div class="fixedFont">
1900 <span class="attributes"></span><b class="itemname">disable</b>
1908 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1917 <div class="short">Disable this component.</div>
1923 Disable this component.
1934 <dl class="detailList">
1935 <dt class="heading">Returns:</dt>
1937 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1951 <td class="msource">
1953 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1959 <tr class="method-row config-row-alt1 expandable">
1960 <td class="micon"><a class="exi" href="#expand"> </a></td>
1964 <a id="Roo.Component-method-enable" name=".enable"></a>
1965 <div class="fixedFont">
1966 <span class="attributes"></span><b class="itemname">enable</b>
1974 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1983 <div class="short">Enable this component.</div>
1989 Enable this component.
2000 <dl class="detailList">
2001 <dt class="heading">Returns:</dt>
2003 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2017 <td class="msource">
2019 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2025 <tr class="method-row config-row-alt0 expandable">
2026 <td class="micon"><a class="exi" href="#expand"> </a></td>
2030 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2031 <div class="fixedFont">
2032 <span class="attributes"></span><b class="itemname">fireEvent</b>
2034 (<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>)
2040 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2049 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2055 Fires the specified event with the passed parameters (minus the event name).
2062 <dl class="detailList">
2063 <dt class="heading">Parameters:</dt>
2066 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2072 <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>
2075 <dd>Variable number of parameters are passed to handlers</dd>
2083 <dl class="detailList">
2084 <dt class="heading">Returns:</dt>
2086 <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>
2100 <td class="msource">
2102 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2108 <tr class="method-row config-row-alt1 expandable">
2109 <td class="micon"><a class="exi" href="#expand"> </a></td>
2113 <a id="Roo.Component-method-focus" name=".focus"></a>
2114 <div class="fixedFont">
2115 <span class="attributes"></span><b class="itemname">focus</b>
2117 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2123 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2132 <div class="short">Try to focus this component.</div>
2138 Try to focus this component.
2145 <dl class="detailList">
2146 <dt class="heading">Parameters:</dt>
2149 <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>
2152 <dd>True to also select the text in this component (if applicable)</dd>
2160 <dl class="detailList">
2161 <dt class="heading">Returns:</dt>
2163 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2177 <td class="msource">
2179 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2185 <tr class="method-row config-row-alt0 expandable">
2186 <td class="micon"><a class="exi" href="#expand"> </a></td>
2190 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2191 <div class="fixedFont">
2192 <span class="attributes"></span><b class="itemname">getEl</b>
2200 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2209 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2215 Returns the underlying {<b>link</b> Roo.Element}.
2226 <dl class="detailList">
2227 <dt class="heading">Returns:</dt>
2229 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2243 <td class="msource">
2245 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2251 <tr class="method-row config-row-alt1 expandable">
2252 <td class="micon"><a class="exi" href="#expand"> </a></td>
2256 <a id="Roo.Component-method-getId" name=".getId"></a>
2257 <div class="fixedFont">
2258 <span class="attributes"></span><b class="itemname">getId</b>
2266 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2275 <div class="short">Returns the id of this component.</div>
2281 Returns the id of this component.
2292 <dl class="detailList">
2293 <dt class="heading">Returns:</dt>
2295 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2309 <td class="msource">
2311 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2317 <tr class="method-row config-row-alt0 expandable">
2318 <td class="micon"><a class="exi" href="#expand"> </a></td>
2322 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2323 <div class="fixedFont">
2324 <span class="attributes"></span><b class="itemname">getName</b>
2341 <div class="short">Returns the name of the field</div>
2347 Returns the name of the field
2358 <dl class="detailList">
2359 <dt class="heading">Returns:</dt>
2361 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
2375 <td class="msource">
2377 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2383 <tr class="method-row config-row-alt1 expandable">
2384 <td class="micon"><a class="exi" href="#expand"> </a></td>
2388 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2389 <div class="fixedFont">
2390 <span class="attributes"></span><b class="itemname">getRawValue</b>
2407 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2413 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>}.
2424 <dl class="detailList">
2425 <dt class="heading">Returns:</dt>
2427 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2441 <td class="msource">
2443 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2449 <tr class="method-row config-row-alt0 expandable">
2450 <td class="micon"><a class="exi" href="#expand"> </a></td>
2454 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2455 <div class="fixedFont">
2456 <span class="attributes"></span><b class="itemname">getValue</b>
2473 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2479 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2490 <dl class="detailList">
2491 <dt class="heading">Returns:</dt>
2493 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2507 <td class="msource">
2509 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2515 <tr class="method-row config-row-alt1 expandable">
2516 <td class="micon"><a class="exi" href="#expand"> </a></td>
2520 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2521 <div class="fixedFont">
2522 <span class="attributes"></span><b class="itemname">hasListener</b>
2524 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2530 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2539 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2545 Checks to see if this object has any listeners for a specified event
2552 <dl class="detailList">
2553 <dt class="heading">Parameters:</dt>
2556 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2559 <dd>The name of the event to check for</dd>
2567 <dl class="detailList">
2568 <dt class="heading">Returns:</dt>
2570 <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>
2584 <td class="msource">
2586 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2592 <tr class="method-row config-row-alt0 expandable">
2593 <td class="micon"><a class="exi" href="#expand"> </a></td>
2597 <a id="Roo.Component-method-hide" name=".hide"></a>
2598 <div class="fixedFont">
2599 <span class="attributes"></span><b class="itemname">hide</b>
2607 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2616 <div class="short">Hide this component.</div>
2622 Hide this component.
2633 <dl class="detailList">
2634 <dt class="heading">Returns:</dt>
2636 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2650 <td class="msource">
2652 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2658 <tr class="method-row config-row-alt1 expandable">
2659 <td class="micon"><a class="exi" href="#expand"> </a></td>
2663 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
2664 <div class="fixedFont">
2665 <span class="attributes"></span><b class="itemname">inputEl</b>
2674 <div class="short">return the real input element.</div>
2680 return the real input element.
2701 <td class="msource">
2703 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2709 <tr class="method-row config-row-alt0 expandable">
2710 <td class="micon"><a class="exi" href="#expand"> </a></td>
2714 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2715 <div class="fixedFont">
2716 <span class="attributes"></span><b class="itemname">isVisible</b>
2725 <div class="short">Returns true if this component is visible.</div>
2731 Returns true if this component is visible.
2752 <td class="msource">
2754 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2760 <tr class="method-row config-row-alt1 expandable">
2761 <td class="micon"><a class="exi" href="#expand"> </a></td>
2765 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
2766 <div class="fixedFont">
2767 <span class="attributes"></span><b class="itemname">markInvalid</b>
2769 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
2776 <div class="short">Mark this field as invalid</div>
2782 Mark this field as invalid
2789 <dl class="detailList">
2790 <dt class="heading">Parameters:</dt>
2793 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
2796 <dd>The validation message</dd>
2814 <td class="msource">
2816 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2822 <tr class="method-row config-row-alt0 expandable">
2823 <td class="micon"><a class="exi" href="#expand"> </a></td>
2827 <a id="Roo.util.Observable-method-on" name=".on"></a>
2828 <div class="fixedFont">
2829 <span class="attributes"></span><b class="itemname">on</b>
2831 (<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>)
2838 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2844 Appends an event handler to this element (shorthand for addListener)
2851 <dl class="detailList">
2852 <dt class="heading">Parameters:</dt>
2855 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2858 <dd>The type of event to listen for</dd>
2861 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2864 <dd>The method the event invokes</dd>
2867 <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>
2870 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2873 <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>
2894 <td class="msource">
2896 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2902 <tr class="method-row config-row-alt1 expandable">
2903 <td class="micon"><a class="exi" href="#expand"> </a></td>
2907 <a id="Roo.bootstrap.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
2908 <div class="fixedFont">
2909 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
2911 (EventObject <B><i>e</i></B>)
2918 <div class="short">The function that should handle the trigger's click event.</div>
2924 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
2931 <dl class="detailList">
2932 <dt class="heading">Parameters:</dt>
2935 <span class="fixedFont">EventObject</span> <b>e</b>
2956 <td class="msource">
2958 <a href="./Roo.bootstrap.TriggerField.html#constructor" roo:cls="Roo.bootstrap.TriggerField.html#constructor">Roo.bootstrap.TriggerField</a>
2964 <tr class="method-row config-row-alt0 expandable">
2965 <td class="micon"><a class="exi" href="#expand"> </a></td>
2969 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2970 <div class="fixedFont">
2971 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2980 <div class="short">Removes all listeners for this object</div>
2986 Removes all listeners for this object
3007 <td class="msource">
3009 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3015 <tr class="method-row config-row-alt1 expandable">
3016 <td class="micon"><a class="exi" href="#expand"> </a></td>
3020 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3021 <div class="fixedFont">
3022 <span class="attributes"></span><b class="itemname">removeListener</b>
3024 (<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>)
3031 <div class="short">Removes a listener</div>
3044 <dl class="detailList">
3045 <dt class="heading">Parameters:</dt>
3048 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3051 <dd>The type of event to listen for</dd>
3054 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3057 <dd>The handler to remove</dd>
3060 <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>
3063 <dd>(optional) The scope (this object) for the handler</dd>
3081 <td class="msource">
3083 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3089 <tr class="method-row config-row-alt0 expandable">
3090 <td class="micon"><a class="exi" href="#expand"> </a></td>
3094 <a id="Roo.Component-method-render" name=".render"></a>
3095 <div class="fixedFont">
3096 <span class="attributes"></span><b class="itemname">render</b>
3098 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3105 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3111 If this is a lazy rendering component, render it to its container element.
3118 <dl class="detailList">
3119 <dt class="heading">Parameters:</dt>
3122 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3125 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3143 <td class="msource">
3145 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3151 <tr class="method-row config-row-alt1 expandable">
3152 <td class="micon"><a class="exi" href="#expand"> </a></td>
3156 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3157 <div class="fixedFont">
3158 <span class="attributes"></span><b class="itemname">reset</b>
3167 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3173 Resets the current field value to the originally loaded value and clears any validation messages
3194 <td class="msource">
3196 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3202 <tr class="method-row config-row-alt0 expandable">
3203 <td class="micon"><a class="exi" href="#expand"> </a></td>
3207 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3208 <div class="fixedFont">
3209 <span class="attributes"></span><b class="itemname">setDisabled</b>
3211 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3218 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3224 Convenience function for setting disabled/enabled by boolean.
3231 <dl class="detailList">
3232 <dt class="heading">Parameters:</dt>
3235 <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>
3256 <td class="msource">
3258 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3264 <tr class="method-row config-row-alt1 expandable">
3265 <td class="micon"><a class="exi" href="#expand"> </a></td>
3269 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3270 <div class="fixedFont">
3271 <span class="attributes"></span><b class="itemname">setRawValue</b>
3273 (Mixed <B><i>value</i></B>)
3280 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3286 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3293 <dl class="detailList">
3294 <dt class="heading">Parameters:</dt>
3297 <span class="fixedFont">Mixed</span> <b>value</b>
3300 <dd>The value to set</dd>
3318 <td class="msource">
3320 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3326 <tr class="method-row config-row-alt0 expandable">
3327 <td class="micon"><a class="exi" href="#expand"> </a></td>
3331 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3332 <div class="fixedFont">
3333 <span class="attributes"></span><b class="itemname">setValue</b>
3335 (Mixed <B><i>value</i></B>)
3342 <div class="short">Sets a data value into the field and validates it.</div>
3348 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3355 <dl class="detailList">
3356 <dt class="heading">Parameters:</dt>
3359 <span class="fixedFont">Mixed</span> <b>value</b>
3362 <dd>The value to set</dd>
3380 <td class="msource">
3382 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3388 <tr class="method-row config-row-alt1 expandable">
3389 <td class="micon"><a class="exi" href="#expand"> </a></td>
3393 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3394 <div class="fixedFont">
3395 <span class="attributes"></span><b class="itemname">setVisible</b>
3397 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3403 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3412 <div class="short">Convenience function to hide or show this component by boolean.</div>
3418 Convenience function to hide or show this component by boolean.
3425 <dl class="detailList">
3426 <dt class="heading">Parameters:</dt>
3429 <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>
3432 <dd>True to show, false to hide</dd>
3440 <dl class="detailList">
3441 <dt class="heading">Returns:</dt>
3443 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3457 <td class="msource">
3459 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3465 <tr class="method-row config-row-alt0 expandable">
3466 <td class="micon"><a class="exi" href="#expand"> </a></td>
3470 <a id="Roo.Component-method-show" name=".show"></a>
3471 <div class="fixedFont">
3472 <span class="attributes"></span><b class="itemname">show</b>
3480 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3489 <div class="short">Show this component.</div>
3495 Show this component.
3506 <dl class="detailList">
3507 <dt class="heading">Returns:</dt>
3509 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3523 <td class="msource">
3525 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3531 <tr class="method-row config-row-alt1 expandable">
3532 <td class="micon"><a class="exi" href="#expand"> </a></td>
3536 <a id="Roo.util.Observable-method-un" name=".un"></a>
3537 <div class="fixedFont">
3538 <span class="attributes"></span><b class="itemname">un</b>
3540 (<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>)
3547 <div class="short">Removes a listener (shorthand for removeListener)</div>
3553 Removes a listener (shorthand for removeListener)
3560 <dl class="detailList">
3561 <dt class="heading">Parameters:</dt>
3564 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3567 <dd>The type of event to listen for</dd>
3570 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3573 <dd>The handler to remove</dd>
3576 <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>
3579 <dd>(optional) The scope (this object) for the handler</dd>
3597 <td class="msource">
3599 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3605 <tr class="method-row config-row-alt0 expandable">
3606 <td class="micon"><a class="exi" href="#expand"> </a></td>
3610 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
3611 <div class="fixedFont">
3612 <span class="attributes"></span><b class="itemname">validate</b>
3620 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3629 <div class="short">Validates the field value</div>
3635 Validates the field value
3646 <dl class="detailList">
3647 <dt class="heading">Returns:</dt>
3649 <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>
3663 <td class="msource">
3665 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3671 <tr class="method-row config-row-alt1 expandable">
3672 <td class="micon"><a class="exi" href="#expand"> </a></td>
3676 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
3677 <div class="fixedFont">
3678 <span class="attributes"></span><b class="itemname">validateValue</b>
3680 (Mixed <B><i>value</i></B>)
3686 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3695 <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>
3701 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
3708 <dl class="detailList">
3709 <dt class="heading">Parameters:</dt>
3712 <span class="fixedFont">Mixed</span> <b>value</b>
3715 <dd>The value to validate</dd>
3723 <dl class="detailList">
3724 <dt class="heading">Returns:</dt>
3726 <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>
3740 <td class="msource">
3742 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3751 <!-- ============================== events summary / details ======================== -->
3754 <a id="Roo.bootstrap.DateField-events"></a>
3763 <table cellspacing="0" class="member-table">
3764 <caption>Events</caption>
3767 <th class="sig-header" colspan="2">Event</th>
3768 <th class="msource-header">Defined By</th>
3777 <tr class="method-row expandable config-row-alt0">
3778 <td class="micon"><a class="exi" href="#expand"> </a></td>
3781 <a id="Roo.Component-event-*beforedestroy"></a>
3783 <div class="fixedFont">
3784 <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>)
3790 <div class="short">Fires before the component is destroyed.
3796 Fires before the component is destroyed. Return false to stop the destroy.
3802 <dl class="detailList">
3803 <dt class="heading">Parameters:</dt>
3806 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3827 <td class="msource">
3828 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3832 <tr class="method-row expandable config-row-alt1">
3833 <td class="micon"><a class="exi" href="#expand"> </a></td>
3836 <a id="Roo.Component-event-*beforehide"></a>
3838 <div class="fixedFont">
3839 <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>)
3845 <div class="short">Fires before the component is hidden.
3851 Fires before the component is hidden. Return false to stop the hide.
3857 <dl class="detailList">
3858 <dt class="heading">Parameters:</dt>
3861 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3882 <td class="msource">
3883 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3887 <tr class="method-row expandable config-row-alt0">
3888 <td class="micon"><a class="exi" href="#expand"> </a></td>
3891 <a id="Roo.Component-event-*beforerender"></a>
3893 <div class="fixedFont">
3894 <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>)
3900 <div class="short">Fires before the component is rendered.
3906 Fires before the component is rendered. Return false to stop the render.
3912 <dl class="detailList">
3913 <dt class="heading">Parameters:</dt>
3916 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3937 <td class="msource">
3938 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3942 <tr class="method-row expandable config-row-alt1">
3943 <td class="micon"><a class="exi" href="#expand"> </a></td>
3946 <a id="Roo.Component-event-*beforeshow"></a>
3948 <div class="fixedFont">
3949 <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>)
3955 <div class="short">Fires before the component is shown.
3961 Fires before the component is shown. Return false to stop the show.
3967 <dl class="detailList">
3968 <dt class="heading">Parameters:</dt>
3971 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3992 <td class="msource">
3993 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3997 <tr class="method-row expandable config-row-alt0">
3998 <td class="micon"><a class="exi" href="#expand"> </a></td>
4001 <a id="Roo.bootstrap.Input-event-*blur"></a>
4003 <div class="fixedFont">
4004 <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>)
4010 <div class="short">Fires when this field loses input focus.
4016 Fires when this field loses input focus.
4022 <dl class="detailList">
4023 <dt class="heading">Parameters:</dt>
4026 <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>
4047 <td class="msource">
4048 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4052 <tr class="method-row expandable config-row-alt1">
4053 <td class="micon"><a class="exi" href="#expand"> </a></td>
4056 <a id="Roo.bootstrap.Input-event-*change"></a>
4058 <div class="fixedFont">
4059 <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>)
4065 <div class="short">Fires just before the field blurs if the field value has changed.
4071 Fires just before the field blurs if the field value has changed.
4077 <dl class="detailList">
4078 <dt class="heading">Parameters:</dt>
4081 <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>
4087 <span class="fixedFont">Mixed</span> <b>newValue</b>
4090 <dd>The new value</dd>
4093 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4096 <dd>The original value</dd>
4114 <td class="msource">
4115 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4119 <tr class="method-row expandable config-row-alt0">
4120 <td class="micon"><a class="exi" href="#expand"> </a></td>
4123 <a id="Roo.Component-event-*destroy"></a>
4125 <div class="fixedFont">
4126 <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>)
4132 <div class="short">Fires after the component is destroyed.
4138 Fires after the component is destroyed.
4144 <dl class="detailList">
4145 <dt class="heading">Parameters:</dt>
4148 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4169 <td class="msource">
4170 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4174 <tr class="method-row expandable config-row-alt1">
4175 <td class="micon"><a class="exi" href="#expand"> </a></td>
4178 <a id="Roo.Component-event-*disable"></a>
4180 <div class="fixedFont">
4181 <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>)
4187 <div class="short">Fires after the component is disabled.
4193 Fires after the component is disabled.
4199 <dl class="detailList">
4200 <dt class="heading">Parameters:</dt>
4203 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4224 <td class="msource">
4225 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4229 <tr class="method-row expandable config-row-alt0">
4230 <td class="micon"><a class="exi" href="#expand"> </a></td>
4233 <a id="Roo.Component-event-*enable"></a>
4235 <div class="fixedFont">
4236 <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>)
4242 <div class="short">Fires after the component is enabled.
4248 Fires after the component is enabled.
4254 <dl class="detailList">
4255 <dt class="heading">Parameters:</dt>
4258 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4279 <td class="msource">
4280 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4284 <tr class="method-row expandable config-row-alt1">
4285 <td class="micon"><a class="exi" href="#expand"> </a></td>
4288 <a id="Roo.bootstrap.Input-event-*focus"></a>
4290 <div class="fixedFont">
4291 <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>)
4297 <div class="short">Fires when this field receives input focus.
4303 Fires when this field receives input focus.
4309 <dl class="detailList">
4310 <dt class="heading">Parameters:</dt>
4313 <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>
4334 <td class="msource">
4335 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4339 <tr class="method-row expandable config-row-alt0">
4340 <td class="micon"><a class="exi" href="#expand"> </a></td>
4343 <a id="Roo.Component-event-*hide"></a>
4345 <div class="fixedFont">
4346 <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>)
4352 <div class="short">Fires after the component is hidden.
4358 Fires after the component is hidden.
4364 <dl class="detailList">
4365 <dt class="heading">Parameters:</dt>
4368 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4389 <td class="msource">
4390 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4394 <tr class="method-row expandable config-row-alt1">
4395 <td class="micon"><a class="exi" href="#expand"> </a></td>
4398 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4400 <div class="fixedFont">
4401 <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>)
4407 <div class="short">Fires after the field has been marked as invalid.
4413 Fires after the field has been marked as invalid.
4419 <dl class="detailList">
4420 <dt class="heading">Parameters:</dt>
4423 <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>
4429 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4432 <dd>The validation message</dd>
4450 <td class="msource">
4451 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4455 <tr class="method-row expandable config-row-alt0">
4456 <td class="micon"><a class="exi" href="#expand"> </a></td>
4459 <a id="Roo.bootstrap.Input-event-*keyup"></a>
4461 <div class="fixedFont">
4462 <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>)
4468 <div class="short">Fires after the key up
4474 Fires after the key up
4480 <dl class="detailList">
4481 <dt class="heading">Parameters:</dt>
4484 <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>
4490 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4493 <dd>The event Object</dd>
4511 <td class="msource">
4512 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4516 <tr class="method-row expandable config-row-alt1">
4517 <td class="micon"><a class="exi" href="#expand"> </a></td>
4520 <a id="Roo.Component-event-*render"></a>
4522 <div class="fixedFont">
4523 <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>)
4529 <div class="short">Fires after the component is rendered.
4535 Fires after the component is rendered.
4541 <dl class="detailList">
4542 <dt class="heading">Parameters:</dt>
4545 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4566 <td class="msource">
4567 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4571 <tr class="method-row expandable config-row-alt0">
4572 <td class="micon"><a class="exi" href="#expand"> </a></td>
4575 <a id="Roo.Component-event-*show"></a>
4577 <div class="fixedFont">
4578 <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>)
4584 <div class="short">Fires after the component is shown.
4590 Fires after the component is shown.
4596 <dl class="detailList">
4597 <dt class="heading">Parameters:</dt>
4600 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4621 <td class="msource">
4622 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4626 <tr class="method-row expandable config-row-alt1">
4627 <td class="micon"><a class="exi" href="#expand"> </a></td>
4630 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
4632 <div class="fixedFont">
4633 <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>)
4639 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
4645 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.
4651 <dl class="detailList">
4652 <dt class="heading">Parameters:</dt>
4655 <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>
4661 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4664 <dd>The event object</dd>
4682 <td class="msource">
4683 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4687 <tr class="method-row expandable config-row-alt0">
4688 <td class="micon"><a class="exi" href="#expand"> </a></td>
4691 <a id="Roo.bootstrap.Input-event-*valid"></a>
4693 <div class="fixedFont">
4694 <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>)
4700 <div class="short">Fires after the field has been validated with no errors.
4706 Fires after the field has been validated with no errors.
4712 <dl class="detailList">
4713 <dt class="heading">Parameters:</dt>
4716 <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>
4737 <td class="msource">
4738 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4749 <!-- ============================== footer ================================= -->
4750 <div class="fineprint" style="clear:both">
4752 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Apr 11 2014 12:52:51 GMT+0800 (HKT)
4754 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>