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.TriggerField</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.TriggerField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.bootstrap.TriggerField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.bootstrap.TriggerField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.bootstrap.TriggerField-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 class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.bootstrap.TriggerField
55 <!-- ============================== class title / details ============================ -->
58 <h1 class="classTitle">
60 Class Roo.bootstrap.TriggerField
63 <table cellspacing="0" class="class-summary-table">
65 <tr><td class="label">Package:</td><td class="hd-info">Roo.bootstrap</td></tr>
67 <tr><td class="label">Defined In:</td><td class="hd-info">
69 <a href="./src/Roo_bootstrap_TriggerField.js.html">Roo/bootstrap/TriggerField.js</a>.
72 <tr><td class="label">Class:</td><td class="hd-info">TriggerField</td></tr>
75 <tr><td class="label">Subclasses:</td><td class="hd-info">
76 <a href="./Roo.bootstrap.ComboBox.html#constructor" roo:cls="Roo.bootstrap.ComboBox.html#constructor">Roo.bootstrap.ComboBox</a>
84 <tr><td class="label">Extends:</td><td class="hd-info">
85 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
93 <!-- ============================== class summary ========================== -->
94 <div class="description">
95 Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).<br/>The trigger has no default action, so you must assign a function to implement the trigger click handler by<br/>overriding {<b>link</b> <b>onTriggerClick</b>}. You can create a TriggerField directly, as it renders exactly like a combobox<br/>for which you can provide a custom implementation. For example:<br/><pre><code><br/>var trigger = new Roo.bootstrap.TriggerField();<br/>trigger.onTriggerClick = myTriggerFn;<br/>trigger.applyTo('my-field');<br/></code></pre><br/><br/>However, in general you will most likely want to use TriggerField as the base class for a reusable component.<br/>{<b>link</b> Roo.bootstrap.DateField} and {<b>link</b> Roo.bootstrap.ComboBox} are perfect examples of this.
99 <!-- ============================== Class comment block... ========================== -->
101 <div class="comments">
102 <b>Class Comments / Notes</B> =>
103 <u onclick="parent.CommentDialog.showCommentId = 'Roo.bootstrap.TriggerField';">[Add Your comment/notes about this class]</u>
105 <iframe frameborder="0" id="comments-Roo.bootstrap" style="border: none;width:100%;"
106 src="/blog.php/GtkDjsComments/Roo.bootstrap.TriggerField.html"></iframe>
111 <!-- ============================== config options ========================== -->
116 <div class="hr"></div>
117 <a id="Roo.bootstrap.TriggerField-configs"></a>
123 <table cellspacing="0" class="member-table">
124 <caption>Config Options (Usually are also Properties)</caption>
128 <th class="sig-header" colspan="2">Options</th>
130 <th class="msource-header">Defined By</th>
137 <tr class="config-row expandable config-row-alt0">
138 <td class="micon"><a class="exi" href="#expand"> </a></td>
141 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
142 <div class="fixedFont">
143 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
149 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
153 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
161 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
167 <tr class="config-row expandable config-row-alt1">
168 <td class="micon"><a class="exi" href="#expand"> </a></td>
171 <a id="Roo.bootstrap.Input-cfg-after" name=".after"></a>
172 <div class="fixedFont">
173 <b class="itemname">after</b> : string
179 <div class="short">- input group add on after</div>
183 <div class="long">- input group add on after</div>
191 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
197 <tr class="config-row expandable config-row-alt0">
198 <td class="micon"><a class="exi" href="#expand"> </a></td>
201 <a id="Roo.bootstrap.Input-cfg-allowBlank" name=".allowBlank"></a>
202 <div class="fixedFont">
203 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
209 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
213 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
221 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
227 <tr class="config-row expandable config-row-alt1">
228 <td class="micon"><a class="exi" href="#expand"> </a></td>
231 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
232 <div class="fixedFont">
233 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
239 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
243 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
251 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
257 <tr class="config-row expandable config-row-alt0">
258 <td class="micon"><a class="exi" href="#expand"> </a></td>
261 <a id="Roo.bootstrap.Input-cfg-before" name=".before"></a>
262 <div class="fixedFont">
263 <b class="itemname">before</b> : string
269 <div class="short">- input group add on before</div>
273 <div class="long">- input group add on before</div>
281 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
287 <tr class="config-row expandable config-row-alt1">
288 <td class="micon"><a class="exi" href="#expand"> </a></td>
291 <a id="Roo.bootstrap.Input-cfg-blankText" name=".blankText"></a>
292 <div class="fixedFont">
293 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
299 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
303 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
311 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
317 <tr class="config-row expandable config-row-alt0">
318 <td class="micon"><a class="exi" href="#expand"> </a></td>
321 <a id="Roo.bootstrap.Component-cfg-can_build_overlaid" name=".can_build_overlaid"></a>
322 <div class="fixedFont">
323 <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>
329 <div class="short">True if element can be rebuild from a HTML page</div>
333 <div class="long">True if element can be rebuild from a HTML page</div>
341 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
347 <tr class="config-row expandable config-row-alt1">
348 <td class="micon"><a class="exi" href="#expand"> </a></td>
351 <a id="Roo.bootstrap.Input-cfg-checked" name=".checked"></a>
352 <div class="fixedFont">
353 <b class="itemname">checked</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
359 <div class="short">initial checkbox</div>
363 <div class="long">initial checkbox</div>
371 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
377 <tr class="config-row expandable config-row-alt0">
378 <td class="micon"><a class="exi" href="#expand"> </a></td>
381 <a id="Roo.bootstrap.Component-cfg-cls" name=".cls"></a>
382 <div class="fixedFont">
383 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
389 <div class="short">css class</div>
393 <div class="long">css class</div>
401 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
407 <tr class="config-row expandable config-row-alt1">
408 <td class="micon"><a class="exi" href="#expand"> </a></td>
411 <a id="Roo.bootstrap.Component-cfg-dataId" name=".dataId"></a>
412 <div class="fixedFont">
413 <b class="itemname">dataId</b> : string
419 <div class="short">cutomer id</div>
423 <div class="long">cutomer id</div>
431 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
437 <tr class="config-row expandable config-row-alt0">
438 <td class="micon"><a class="exi" href="#expand"> </a></td>
441 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
442 <div class="fixedFont">
443 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
449 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
453 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
461 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
467 <tr class="config-row expandable config-row-alt1">
468 <td class="micon"><a class="exi" href="#expand"> </a></td>
471 <a id="Roo.bootstrap.Input-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
472 <div class="fixedFont">
473 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
479 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
483 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
491 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
497 <tr class="config-row expandable config-row-alt0">
498 <td class="micon"><a class="exi" href="#expand"> </a></td>
501 <a id="Roo.bootstrap.Input-cfg-disabled" name=".disabled"></a>
502 <div class="fixedFont">
503 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
509 <div class="short">is it disabled</div>
513 <div class="long">is it disabled</div>
521 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
527 <tr class="config-row expandable config-row-alt1">
528 <td class="micon"><a class="exi" href="#expand"> </a></td>
531 <a id="Roo.bootstrap.Input-cfg-fieldLabel" name=".fieldLabel"></a>
532 <div class="fixedFont">
533 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
539 <div class="short">- the label associated</div>
543 <div class="long">- the label associated</div>
551 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
557 <tr class="config-row expandable config-row-alt0">
558 <td class="micon"><a class="exi" href="#expand"> </a></td>
561 <a id="Roo.bootstrap.Input-cfg-focusClass" name=".focusClass"></a>
562 <div class="fixedFont">
563 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
569 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
573 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
581 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
587 <tr class="config-row expandable config-row-alt1">
588 <td class="micon"><a class="exi" href="#expand"> </a></td>
591 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
592 <div class="fixedFont">
593 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
599 <div class="short">How this component should hidden.</div>
603 <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>
611 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
617 <tr class="config-row expandable config-row-alt0 notInherited">
618 <td class="micon"><a class="exi" href="#expand"> </a></td>
621 <a id="Roo.bootstrap.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
622 <div class="fixedFont">
623 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
629 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
633 <div class="long">True to hide the trigger element and display only the base text field (defaults to false)</div>
641 Roo.bootstrap.TriggerField
647 <tr class="config-row expandable config-row-alt1">
648 <td class="micon"><a class="exi" href="#expand"> </a></td>
651 <a id="Roo.bootstrap.Input-cfg-inputType" name=".inputType"></a>
652 <div class="fixedFont">
653 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
659 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
663 <div class="long">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
671 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
677 <tr class="config-row expandable config-row-alt0">
678 <td class="micon"><a class="exi" href="#expand"> </a></td>
681 <a id="Roo.bootstrap.Input-cfg-invalidClass" name=".invalidClass"></a>
682 <div class="fixedFont">
683 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
689 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
693 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
701 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
707 <tr class="config-row expandable config-row-alt1">
708 <td class="micon"><a class="exi" href="#expand"> </a></td>
711 <a id="Roo.bootstrap.Input-cfg-labelAlign" name=".labelAlign"></a>
712 <div class="fixedFont">
713 <b class="itemname">labelAlign</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
719 <div class="short">(top|left)</div>
723 <div class="long">(top|left)</div>
731 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
737 <tr class="config-row expandable config-row-alt0">
738 <td class="micon"><a class="exi" href="#expand"> </a></td>
741 <a id="Roo.bootstrap.Input-cfg-labelWidth" name=".labelWidth"></a>
742 <div class="fixedFont">
743 <b class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
749 <div class="short">set the width of label (0-12)</div>
753 <div class="long">set the width of label (0-12)</div>
761 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
767 <tr class="config-row expandable config-row-alt1">
768 <td class="micon"><a class="exi" href="#expand"> </a></td>
771 <a id="Roo.bootstrap.Input-cfg-lg" name=".lg"></a>
772 <div class="fixedFont">
773 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
779 <div class="short">colspan out of 12 for large computer-sized screens</div>
783 <div class="long">colspan out of 12 for large computer-sized screens</div>
791 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
797 <tr class="config-row expandable config-row-alt0">
798 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
802 <div class="fixedFont">
803 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
809 <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>
813 <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>
821 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
827 <tr class="config-row expandable config-row-alt1">
828 <td class="micon"><a class="exi" href="#expand"> </a></td>
831 <a id="Roo.bootstrap.Input-cfg-maskRe" name=".maskRe"></a>
832 <div class="fixedFont">
833 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
839 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
843 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
851 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
857 <tr class="config-row expandable config-row-alt0">
858 <td class="micon"><a class="exi" href="#expand"> </a></td>
861 <a id="Roo.bootstrap.Input-cfg-maxLength" name=".maxLength"></a>
862 <div class="fixedFont">
863 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
869 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
873 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
881 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
887 <tr class="config-row expandable config-row-alt1">
888 <td class="micon"><a class="exi" href="#expand"> </a></td>
891 <a id="Roo.bootstrap.Input-cfg-maxLengthText" name=".maxLengthText"></a>
892 <div class="fixedFont">
893 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
899 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
903 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
911 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
917 <tr class="config-row expandable config-row-alt0">
918 <td class="micon"><a class="exi" href="#expand"> </a></td>
921 <a id="Roo.bootstrap.Input-cfg-md" name=".md"></a>
922 <div class="fixedFont">
923 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
929 <div class="short">colspan out of 12 for computer-sized screens</div>
933 <div class="long">colspan out of 12 for computer-sized screens</div>
941 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
947 <tr class="config-row expandable config-row-alt1">
948 <td class="micon"><a class="exi" href="#expand"> </a></td>
951 <a id="Roo.bootstrap.Input-cfg-minLength" name=".minLength"></a>
952 <div class="fixedFont">
953 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
959 <div class="short">Minimum input field length required (defaults to 0)</div>
963 <div class="long">Minimum input field length required (defaults to 0)</div>
971 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
977 <tr class="config-row expandable config-row-alt0">
978 <td class="micon"><a class="exi" href="#expand"> </a></td>
981 <a id="Roo.bootstrap.Input-cfg-minLengthText" name=".minLengthText"></a>
982 <div class="fixedFont">
983 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
989 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
993 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
1001 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1007 <tr class="config-row expandable config-row-alt1">
1008 <td class="micon"><a class="exi" href="#expand"> </a></td>
1011 <a id="Roo.bootstrap.Input-cfg-name" name=".name"></a>
1012 <div class="fixedFont">
1013 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1019 <div class="short">name of the input</div>
1023 <div class="long">name of the input</div>
1029 <td class="msource">
1031 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1037 <tr class="config-row expandable config-row-alt0">
1038 <td class="micon"><a class="exi" href="#expand"> </a></td>
1041 <a id="Roo.bootstrap.Input-cfg-placeholder" name=".placeholder"></a>
1042 <div class="fixedFont">
1043 <b class="itemname">placeholder</b> : string
1049 <div class="short">- placeholder to put in text.</div>
1053 <div class="long">- placeholder to put in text.</div>
1059 <td class="msource">
1061 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1067 <tr class="config-row expandable config-row-alt1">
1068 <td class="micon"><a class="exi" href="#expand"> </a></td>
1071 <a id="Roo.bootstrap.Input-cfg-regex" name=".regex"></a>
1072 <div class="fixedFont">
1073 <b class="itemname">regex</b> : RegExp
1079 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1083 <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>
1089 <td class="msource">
1091 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1097 <tr class="config-row expandable config-row-alt0">
1098 <td class="micon"><a class="exi" href="#expand"> </a></td>
1101 <a id="Roo.bootstrap.Input-cfg-regexText" name=".regexText"></a>
1102 <div class="fixedFont">
1103 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1109 <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>
1113 <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>
1119 <td class="msource">
1121 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1127 <tr class="config-row expandable config-row-alt1">
1128 <td class="micon"><a class="exi" href="#expand"> </a></td>
1131 <a id="Roo.bootstrap.Input-cfg-selectOnFocus" name=".selectOnFocus"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1139 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1143 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1149 <td class="msource">
1151 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1157 <tr class="config-row expandable config-row-alt0">
1158 <td class="micon"><a class="exi" href="#expand"> </a></td>
1161 <a id="Roo.bootstrap.Input-cfg-size" name=".size"></a>
1162 <div class="fixedFont">
1163 <b class="itemname">size</b> : string
1169 <div class="short">- (lg|sm) or leave empty.</div>
1173 <div class="long">- (lg|sm) or leave empty..</div>
1179 <td class="msource">
1181 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1187 <tr class="config-row expandable config-row-alt1">
1188 <td class="micon"><a class="exi" href="#expand"> </a></td>
1191 <a id="Roo.bootstrap.Input-cfg-sm" name=".sm"></a>
1192 <div class="fixedFont">
1193 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1199 <div class="short">colspan out of 12 for tablet-sized screens</div>
1203 <div class="long">colspan out of 12 for tablet-sized screens</div>
1209 <td class="msource">
1211 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1217 <tr class="config-row expandable config-row-alt0">
1218 <td class="micon"><a class="exi" href="#expand"> </a></td>
1221 <a id="Roo.bootstrap.Component-cfg-style" name=".style"></a>
1222 <div class="fixedFont">
1223 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1229 <div class="short">any extra css</div>
1233 <div class="long">any extra css</div>
1239 <td class="msource">
1241 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1247 <tr class="config-row expandable config-row-alt1 notInherited">
1248 <td class="micon"><a class="exi" href="#expand"> </a></td>
1251 <a id="Roo.bootstrap.TriggerField-cfg-triggerClass" name=".triggerClass"></a>
1252 <div class="fixedFont">
1253 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1259 <div class="short">An additional CSS class used to style the trigger button.</div>
1263 <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>
1269 <td class="msource">
1271 Roo.bootstrap.TriggerField
1277 <tr class="config-row expandable config-row-alt0">
1278 <td class="micon"><a class="exi" href="#expand"> </a></td>
1281 <a id="Roo.bootstrap.Input-cfg-validateOnBlur" name=".validateOnBlur"></a>
1282 <div class="fixedFont">
1283 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1289 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1293 <div class="long">Whether the field should validate when it loses focus (defaults to true).</div>
1299 <td class="msource">
1301 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1307 <tr class="config-row expandable config-row-alt1">
1308 <td class="micon"><a class="exi" href="#expand"> </a></td>
1311 <a id="Roo.bootstrap.Input-cfg-validationDelay" name=".validationDelay"></a>
1312 <div class="fixedFont">
1313 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1319 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1323 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1329 <td class="msource">
1331 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1337 <tr class="config-row expandable config-row-alt0">
1338 <td class="micon"><a class="exi" href="#expand"> </a></td>
1341 <a id="Roo.bootstrap.Input-cfg-validationEvent" name=".validationEvent"></a>
1342 <div class="fixedFont">
1343 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1349 <div class="short">The event that should initiate field validation.</div>
1353 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1359 <td class="msource">
1361 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1367 <tr class="config-row expandable config-row-alt1">
1368 <td class="micon"><a class="exi" href="#expand"> </a></td>
1371 <a id="Roo.bootstrap.Input-cfg-validator" name=".validator"></a>
1372 <div class="fixedFont">
1373 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1379 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1383 <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>
1389 <td class="msource">
1391 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1397 <tr class="config-row expandable config-row-alt0">
1398 <td class="micon"><a class="exi" href="#expand"> </a></td>
1401 <a id="Roo.bootstrap.Input-cfg-value" name=".value"></a>
1402 <div class="fixedFont">
1403 <b class="itemname">value</b> : string
1409 <div class="short">default value of the input</div>
1413 <div class="long">default value of the input</div>
1419 <td class="msource">
1421 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1427 <tr class="config-row expandable config-row-alt1">
1428 <td class="micon"><a class="exi" href="#expand"> </a></td>
1431 <a id="Roo.bootstrap.Input-cfg-vtype" name=".vtype"></a>
1432 <div class="fixedFont">
1433 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1439 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1443 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1449 <td class="msource">
1451 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1457 <tr class="config-row expandable config-row-alt0">
1458 <td class="micon"><a class="exi" href="#expand"> </a></td>
1461 <a id="Roo.bootstrap.Component-cfg-xattr" name=".xattr"></a>
1462 <div class="fixedFont">
1463 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1469 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1473 <div class="long">extra attributes to add to 'element' (used by builder to store stuff.)</div>
1479 <td class="msource">
1481 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1487 <tr class="config-row expandable config-row-alt1">
1488 <td class="micon"><a class="exi" href="#expand"> </a></td>
1491 <a id="Roo.bootstrap.Input-cfg-xs" name=".xs"></a>
1492 <div class="fixedFont">
1493 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1499 <div class="short">colspan out of 12 for mobile-sized screens</div>
1503 <div class="long">colspan out of 12 for mobile-sized screens</div>
1509 <td class="msource">
1511 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1527 <!-- ============================== public properties ==================== -->
1531 <a id="Roo.bootstrap.TriggerField-props"></a>
1537 <table cellspacing="0" class="member-table">
1538 <caption class="Empty">Public Properties - Has None</caption>
1544 <!-- ============================== methods summary / details ======================== -->
1547 <a id="Roo.bootstrap.TriggerField-methods"></a>
1548 <!-- constructor?? -->
1555 <!-- then dynamics first -->
1562 <table cellspacing="0" class="member-table">
1563 <caption>Public Methods</caption>
1565 <th class="sig-header" colspan="2">Method</th>
1566 <th class="msource-header">Defined By</th>
1576 <tr class="method-row config-row-alt0 expandable notInherited">
1577 <td class="micon"><a class="exi" href="#expand"> </a></td>
1581 <a id="Roo.bootstrap-method-TriggerField" name=".TriggerField"></a>
1582 <div class="fixedFont">
1583 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">TriggerField</b>
1585 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1593 <div class="short">Create a new Roo.bootstrap.TriggerField</div>
1600 Create a new Roo.bootstrap.TriggerField
1603 <dl class="detailList">
1604 <dt class="heading">Parameters:</dt>
1607 <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>
1610 <dd>Configuration options (valid {<b>Roo</b>.bootstrap.Input} config options will also be applied<br/>to the base TextField)</dd>
1628 <td class="msource">
1634 <tr class="method-row config-row-alt1 expandable">
1635 <td class="micon"><a class="exi" href="#expand"> </a></td>
1639 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1640 <div class="fixedFont">
1641 <span class="attributes"></span><b class="itemname">addEvents</b>
1643 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1650 <div class="short">Used to define events on this Observable</div>
1656 Used to define events on this Observable
1663 <dl class="detailList">
1664 <dt class="heading">Parameters:</dt>
1667 <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>
1670 <dd>The object with the events defined</dd>
1688 <td class="msource">
1690 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1696 <tr class="method-row config-row-alt0 expandable">
1697 <td class="micon"><a class="exi" href="#expand"> </a></td>
1701 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1702 <div class="fixedFont">
1703 <span class="attributes"></span><b class="itemname">addListener</b>
1705 (<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>)
1712 <div class="short">Appends an event handler to this component</div>
1718 Appends an event handler to this component
1725 <dl class="detailList">
1726 <dt class="heading">Parameters:</dt>
1729 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1732 <dd>The type of event to listen for</dd>
1735 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1738 <dd>The method the event invokes</dd>
1741 <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>
1744 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1747 <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>
1750 <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>
1768 <td class="msource">
1770 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1776 <tr class="method-row config-row-alt1 expandable notInherited">
1777 <td class="micon"><a class="exi" href="#expand"> </a></td>
1781 <a id="Roo.bootstrap.TriggerField-method-autoSize" name=".autoSize"></a>
1782 <div class="fixedFont">
1783 <span class="attributes"></span><b class="itemname">autoSize</b>
1792 <div class="short"></div>
1819 <td class="msource">
1821 Roo.bootstrap.TriggerField
1827 <tr class="method-row config-row-alt0 expandable">
1828 <td class="micon"><a class="exi" href="#expand"> </a></td>
1832 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
1833 <div class="fixedFont">
1834 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1843 <div class="short">Clear any invalid styles/messages for this field</div>
1849 Clear any invalid styles/messages for this field
1870 <td class="msource">
1872 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1878 <tr class="method-row config-row-alt1 expandable">
1879 <td class="micon"><a class="exi" href="#expand"> </a></td>
1883 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1884 <div class="fixedFont">
1885 <span class="attributes"></span><b class="itemname">destroy</b>
1894 <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>
1900 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}.
1921 <td class="msource">
1923 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1929 <tr class="method-row config-row-alt0 expandable">
1930 <td class="micon"><a class="exi" href="#expand"> </a></td>
1934 <a id="Roo.Component-method-disable" name=".disable"></a>
1935 <div class="fixedFont">
1936 <span class="attributes"></span><b class="itemname">disable</b>
1944 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1953 <div class="short">Disable this component.</div>
1959 Disable this component.
1970 <dl class="detailList">
1971 <dt class="heading">Returns:</dt>
1973 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1987 <td class="msource">
1989 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1995 <tr class="method-row config-row-alt1 expandable">
1996 <td class="micon"><a class="exi" href="#expand"> </a></td>
2000 <a id="Roo.Component-method-enable" name=".enable"></a>
2001 <div class="fixedFont">
2002 <span class="attributes"></span><b class="itemname">enable</b>
2010 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2019 <div class="short">Enable this component.</div>
2025 Enable this component.
2036 <dl class="detailList">
2037 <dt class="heading">Returns:</dt>
2039 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2053 <td class="msource">
2055 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2061 <tr class="method-row config-row-alt0 expandable">
2062 <td class="micon"><a class="exi" href="#expand"> </a></td>
2066 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2067 <div class="fixedFont">
2068 <span class="attributes"></span><b class="itemname">fireEvent</b>
2070 (<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>)
2076 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2085 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2091 Fires the specified event with the passed parameters (minus the event name).
2098 <dl class="detailList">
2099 <dt class="heading">Parameters:</dt>
2102 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2108 <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>
2111 <dd>Variable number of parameters are passed to handlers</dd>
2119 <dl class="detailList">
2120 <dt class="heading">Returns:</dt>
2122 <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>
2136 <td class="msource">
2138 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2144 <tr class="method-row config-row-alt1 expandable">
2145 <td class="micon"><a class="exi" href="#expand"> </a></td>
2149 <a id="Roo.Component-method-focus" name=".focus"></a>
2150 <div class="fixedFont">
2151 <span class="attributes"></span><b class="itemname">focus</b>
2153 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2159 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2168 <div class="short">Try to focus this component.</div>
2174 Try to focus this component.
2181 <dl class="detailList">
2182 <dt class="heading">Parameters:</dt>
2185 <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>
2188 <dd>True to also select the text in this component (if applicable)</dd>
2196 <dl class="detailList">
2197 <dt class="heading">Returns:</dt>
2199 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2213 <td class="msource">
2215 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2221 <tr class="method-row config-row-alt0 expandable">
2222 <td class="micon"><a class="exi" href="#expand"> </a></td>
2226 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2227 <div class="fixedFont">
2228 <span class="attributes"></span><b class="itemname">getEl</b>
2236 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2245 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2251 Returns the underlying {<b>link</b> Roo.Element}.
2262 <dl class="detailList">
2263 <dt class="heading">Returns:</dt>
2265 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2279 <td class="msource">
2281 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2287 <tr class="method-row config-row-alt1 expandable">
2288 <td class="micon"><a class="exi" href="#expand"> </a></td>
2292 <a id="Roo.Component-method-getId" name=".getId"></a>
2293 <div class="fixedFont">
2294 <span class="attributes"></span><b class="itemname">getId</b>
2302 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2311 <div class="short">Returns the id of this component.</div>
2317 Returns the id of this component.
2328 <dl class="detailList">
2329 <dt class="heading">Returns:</dt>
2331 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2345 <td class="msource">
2347 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2353 <tr class="method-row config-row-alt0 expandable">
2354 <td class="micon"><a class="exi" href="#expand"> </a></td>
2358 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2359 <div class="fixedFont">
2360 <span class="attributes"></span><b class="itemname">getName</b>
2377 <div class="short">Returns the name of the field</div>
2383 Returns the name of the field
2394 <dl class="detailList">
2395 <dt class="heading">Returns:</dt>
2397 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
2411 <td class="msource">
2413 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2419 <tr class="method-row config-row-alt1 expandable">
2420 <td class="micon"><a class="exi" href="#expand"> </a></td>
2424 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2425 <div class="fixedFont">
2426 <span class="attributes"></span><b class="itemname">getRawValue</b>
2443 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2449 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>}.
2460 <dl class="detailList">
2461 <dt class="heading">Returns:</dt>
2463 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2477 <td class="msource">
2479 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2485 <tr class="method-row config-row-alt0 expandable">
2486 <td class="micon"><a class="exi" href="#expand"> </a></td>
2490 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2491 <div class="fixedFont">
2492 <span class="attributes"></span><b class="itemname">getValue</b>
2509 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2515 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2526 <dl class="detailList">
2527 <dt class="heading">Returns:</dt>
2529 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2543 <td class="msource">
2545 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2551 <tr class="method-row config-row-alt1 expandable">
2552 <td class="micon"><a class="exi" href="#expand"> </a></td>
2556 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2557 <div class="fixedFont">
2558 <span class="attributes"></span><b class="itemname">hasListener</b>
2560 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2566 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2575 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2581 Checks to see if this object has any listeners for a specified event
2588 <dl class="detailList">
2589 <dt class="heading">Parameters:</dt>
2592 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2595 <dd>The name of the event to check for</dd>
2603 <dl class="detailList">
2604 <dt class="heading">Returns:</dt>
2606 <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>
2620 <td class="msource">
2622 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2628 <tr class="method-row config-row-alt0 expandable">
2629 <td class="micon"><a class="exi" href="#expand"> </a></td>
2633 <a id="Roo.Component-method-hide" name=".hide"></a>
2634 <div class="fixedFont">
2635 <span class="attributes"></span><b class="itemname">hide</b>
2643 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2652 <div class="short">Hide this component.</div>
2658 Hide this component.
2669 <dl class="detailList">
2670 <dt class="heading">Returns:</dt>
2672 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2686 <td class="msource">
2688 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2694 <tr class="method-row config-row-alt1 expandable">
2695 <td class="micon"><a class="exi" href="#expand"> </a></td>
2699 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
2700 <div class="fixedFont">
2701 <span class="attributes"></span><b class="itemname">inputEl</b>
2710 <div class="short">return the real input element.</div>
2716 return the real input element.
2737 <td class="msource">
2739 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2745 <tr class="method-row config-row-alt0 expandable">
2746 <td class="micon"><a class="exi" href="#expand"> </a></td>
2750 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2751 <div class="fixedFont">
2752 <span class="attributes"></span><b class="itemname">isVisible</b>
2761 <div class="short">Returns true if this component is visible.</div>
2767 Returns true if this component is visible.
2788 <td class="msource">
2790 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2796 <tr class="method-row config-row-alt1 expandable">
2797 <td class="micon"><a class="exi" href="#expand"> </a></td>
2801 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
2802 <div class="fixedFont">
2803 <span class="attributes"></span><b class="itemname">markInvalid</b>
2805 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
2812 <div class="short">Mark this field as invalid</div>
2818 Mark this field as invalid
2825 <dl class="detailList">
2826 <dt class="heading">Parameters:</dt>
2829 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
2832 <dd>The validation message</dd>
2850 <td class="msource">
2852 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2858 <tr class="method-row config-row-alt0 expandable">
2859 <td class="micon"><a class="exi" href="#expand"> </a></td>
2863 <a id="Roo.util.Observable-method-on" name=".on"></a>
2864 <div class="fixedFont">
2865 <span class="attributes"></span><b class="itemname">on</b>
2867 (<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>)
2874 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2880 Appends an event handler to this element (shorthand for addListener)
2887 <dl class="detailList">
2888 <dt class="heading">Parameters:</dt>
2891 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2894 <dd>The type of event to listen for</dd>
2897 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2900 <dd>The method the event invokes</dd>
2903 <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>
2906 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2909 <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>
2930 <td class="msource">
2932 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2938 <tr class="method-row config-row-alt1 expandable notInherited">
2939 <td class="micon"><a class="exi" href="#expand"> </a></td>
2943 <a id="Roo.bootstrap.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
2944 <div class="fixedFont">
2945 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
2947 (EventObject <B><i>e</i></B>)
2954 <div class="short">The function that should handle the trigger's click event.</div>
2960 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
2967 <dl class="detailList">
2968 <dt class="heading">Parameters:</dt>
2971 <span class="fixedFont">EventObject</span> <b>e</b>
2992 <td class="msource">
2994 Roo.bootstrap.TriggerField
3000 <tr class="method-row config-row-alt0 expandable">
3001 <td class="micon"><a class="exi" href="#expand"> </a></td>
3005 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3006 <div class="fixedFont">
3007 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3016 <div class="short">Removes all listeners for this object</div>
3022 Removes all listeners for this object
3043 <td class="msource">
3045 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3051 <tr class="method-row config-row-alt1 expandable">
3052 <td class="micon"><a class="exi" href="#expand"> </a></td>
3056 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3057 <div class="fixedFont">
3058 <span class="attributes"></span><b class="itemname">removeListener</b>
3060 (<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>)
3067 <div class="short">Removes a listener</div>
3080 <dl class="detailList">
3081 <dt class="heading">Parameters:</dt>
3084 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3087 <dd>The type of event to listen for</dd>
3090 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3093 <dd>The handler to remove</dd>
3096 <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>
3099 <dd>(optional) The scope (this object) for the handler</dd>
3117 <td class="msource">
3119 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3125 <tr class="method-row config-row-alt0 expandable">
3126 <td class="micon"><a class="exi" href="#expand"> </a></td>
3130 <a id="Roo.Component-method-render" name=".render"></a>
3131 <div class="fixedFont">
3132 <span class="attributes"></span><b class="itemname">render</b>
3134 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3141 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3147 If this is a lazy rendering component, render it to its container element.
3154 <dl class="detailList">
3155 <dt class="heading">Parameters:</dt>
3158 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3161 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3179 <td class="msource">
3181 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3187 <tr class="method-row config-row-alt1 expandable">
3188 <td class="micon"><a class="exi" href="#expand"> </a></td>
3192 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3193 <div class="fixedFont">
3194 <span class="attributes"></span><b class="itemname">reset</b>
3203 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3209 Resets the current field value to the originally loaded value and clears any validation messages
3230 <td class="msource">
3232 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3238 <tr class="method-row config-row-alt0 expandable">
3239 <td class="micon"><a class="exi" href="#expand"> </a></td>
3243 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3244 <div class="fixedFont">
3245 <span class="attributes"></span><b class="itemname">setDisabled</b>
3247 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3254 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3260 Convenience function for setting disabled/enabled by boolean.
3267 <dl class="detailList">
3268 <dt class="heading">Parameters:</dt>
3271 <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>
3292 <td class="msource">
3294 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3300 <tr class="method-row config-row-alt1 expandable">
3301 <td class="micon"><a class="exi" href="#expand"> </a></td>
3305 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3306 <div class="fixedFont">
3307 <span class="attributes"></span><b class="itemname">setRawValue</b>
3309 (Mixed <B><i>value</i></B>)
3316 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3322 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3329 <dl class="detailList">
3330 <dt class="heading">Parameters:</dt>
3333 <span class="fixedFont">Mixed</span> <b>value</b>
3336 <dd>The value to set</dd>
3354 <td class="msource">
3356 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3362 <tr class="method-row config-row-alt0 expandable">
3363 <td class="micon"><a class="exi" href="#expand"> </a></td>
3367 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3368 <div class="fixedFont">
3369 <span class="attributes"></span><b class="itemname">setValue</b>
3371 (Mixed <B><i>value</i></B>)
3378 <div class="short">Sets a data value into the field and validates it.</div>
3384 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3391 <dl class="detailList">
3392 <dt class="heading">Parameters:</dt>
3395 <span class="fixedFont">Mixed</span> <b>value</b>
3398 <dd>The value to set</dd>
3416 <td class="msource">
3418 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3424 <tr class="method-row config-row-alt1 expandable">
3425 <td class="micon"><a class="exi" href="#expand"> </a></td>
3429 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3430 <div class="fixedFont">
3431 <span class="attributes"></span><b class="itemname">setVisible</b>
3433 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3439 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3448 <div class="short">Convenience function to hide or show this component by boolean.</div>
3454 Convenience function to hide or show this component by boolean.
3461 <dl class="detailList">
3462 <dt class="heading">Parameters:</dt>
3465 <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>
3468 <dd>True to show, false to hide</dd>
3476 <dl class="detailList">
3477 <dt class="heading">Returns:</dt>
3479 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3493 <td class="msource">
3495 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3501 <tr class="method-row config-row-alt0 expandable">
3502 <td class="micon"><a class="exi" href="#expand"> </a></td>
3506 <a id="Roo.Component-method-show" name=".show"></a>
3507 <div class="fixedFont">
3508 <span class="attributes"></span><b class="itemname">show</b>
3516 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3525 <div class="short">Show this component.</div>
3531 Show this component.
3542 <dl class="detailList">
3543 <dt class="heading">Returns:</dt>
3545 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3559 <td class="msource">
3561 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3567 <tr class="method-row config-row-alt1 expandable">
3568 <td class="micon"><a class="exi" href="#expand"> </a></td>
3572 <a id="Roo.util.Observable-method-un" name=".un"></a>
3573 <div class="fixedFont">
3574 <span class="attributes"></span><b class="itemname">un</b>
3576 (<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>)
3583 <div class="short">Removes a listener (shorthand for removeListener)</div>
3589 Removes a listener (shorthand for removeListener)
3596 <dl class="detailList">
3597 <dt class="heading">Parameters:</dt>
3600 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3603 <dd>The type of event to listen for</dd>
3606 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3609 <dd>The handler to remove</dd>
3612 <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>
3615 <dd>(optional) The scope (this object) for the handler</dd>
3633 <td class="msource">
3635 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3641 <tr class="method-row config-row-alt0 expandable">
3642 <td class="micon"><a class="exi" href="#expand"> </a></td>
3646 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
3647 <div class="fixedFont">
3648 <span class="attributes"></span><b class="itemname">validate</b>
3656 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3665 <div class="short">Validates the field value</div>
3671 Validates the field value
3682 <dl class="detailList">
3683 <dt class="heading">Returns:</dt>
3685 <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>
3699 <td class="msource">
3701 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3707 <tr class="method-row config-row-alt1 expandable">
3708 <td class="micon"><a class="exi" href="#expand"> </a></td>
3712 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
3713 <div class="fixedFont">
3714 <span class="attributes"></span><b class="itemname">validateValue</b>
3716 (Mixed <B><i>value</i></B>)
3722 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3731 <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>
3737 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
3744 <dl class="detailList">
3745 <dt class="heading">Parameters:</dt>
3748 <span class="fixedFont">Mixed</span> <b>value</b>
3751 <dd>The value to validate</dd>
3759 <dl class="detailList">
3760 <dt class="heading">Returns:</dt>
3762 <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>
3776 <td class="msource">
3778 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3787 <!-- ============================== events summary / details ======================== -->
3790 <a id="Roo.bootstrap.TriggerField-events"></a>
3799 <table cellspacing="0" class="member-table">
3800 <caption>Events</caption>
3803 <th class="sig-header" colspan="2">Event</th>
3804 <th class="msource-header">Defined By</th>
3813 <tr class="method-row expandable config-row-alt0">
3814 <td class="micon"><a class="exi" href="#expand"> </a></td>
3817 <a id="Roo.Component-event-*beforedestroy"></a>
3819 <div class="fixedFont">
3820 <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>)
3826 <div class="short">Fires before the component is destroyed.
3832 Fires before the component is destroyed. Return false to stop the destroy.
3838 <dl class="detailList">
3839 <dt class="heading">Parameters:</dt>
3842 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3863 <td class="msource">
3864 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3868 <tr class="method-row expandable config-row-alt1">
3869 <td class="micon"><a class="exi" href="#expand"> </a></td>
3872 <a id="Roo.Component-event-*beforehide"></a>
3874 <div class="fixedFont">
3875 <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>)
3881 <div class="short">Fires before the component is hidden.
3887 Fires before the component is hidden. Return false to stop the hide.
3893 <dl class="detailList">
3894 <dt class="heading">Parameters:</dt>
3897 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3918 <td class="msource">
3919 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3923 <tr class="method-row expandable config-row-alt0">
3924 <td class="micon"><a class="exi" href="#expand"> </a></td>
3927 <a id="Roo.Component-event-*beforerender"></a>
3929 <div class="fixedFont">
3930 <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>)
3936 <div class="short">Fires before the component is rendered.
3942 Fires before the component is rendered. Return false to stop the render.
3948 <dl class="detailList">
3949 <dt class="heading">Parameters:</dt>
3952 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3973 <td class="msource">
3974 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3978 <tr class="method-row expandable config-row-alt1">
3979 <td class="micon"><a class="exi" href="#expand"> </a></td>
3982 <a id="Roo.Component-event-*beforeshow"></a>
3984 <div class="fixedFont">
3985 <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>)
3991 <div class="short">Fires before the component is shown.
3997 Fires before the component is shown. Return false to stop the show.
4003 <dl class="detailList">
4004 <dt class="heading">Parameters:</dt>
4007 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4028 <td class="msource">
4029 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4033 <tr class="method-row expandable config-row-alt0">
4034 <td class="micon"><a class="exi" href="#expand"> </a></td>
4037 <a id="Roo.bootstrap.Input-event-*blur"></a>
4039 <div class="fixedFont">
4040 <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>)
4046 <div class="short">Fires when this field loses input focus.
4052 Fires when this field loses input focus.
4058 <dl class="detailList">
4059 <dt class="heading">Parameters:</dt>
4062 <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>
4083 <td class="msource">
4084 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4088 <tr class="method-row expandable config-row-alt1">
4089 <td class="micon"><a class="exi" href="#expand"> </a></td>
4092 <a id="Roo.bootstrap.Input-event-*change"></a>
4094 <div class="fixedFont">
4095 <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>)
4101 <div class="short">Fires just before the field blurs if the field value has changed.
4107 Fires just before the field blurs if the field value has changed.
4113 <dl class="detailList">
4114 <dt class="heading">Parameters:</dt>
4117 <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>
4123 <span class="fixedFont">Mixed</span> <b>newValue</b>
4126 <dd>The new value</dd>
4129 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4132 <dd>The original value</dd>
4150 <td class="msource">
4151 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4155 <tr class="method-row expandable config-row-alt0">
4156 <td class="micon"><a class="exi" href="#expand"> </a></td>
4159 <a id="Roo.Component-event-*destroy"></a>
4161 <div class="fixedFont">
4162 <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>)
4168 <div class="short">Fires after the component is destroyed.
4174 Fires after the component is destroyed.
4180 <dl class="detailList">
4181 <dt class="heading">Parameters:</dt>
4184 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4205 <td class="msource">
4206 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4210 <tr class="method-row expandable config-row-alt1">
4211 <td class="micon"><a class="exi" href="#expand"> </a></td>
4214 <a id="Roo.Component-event-*disable"></a>
4216 <div class="fixedFont">
4217 <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>)
4223 <div class="short">Fires after the component is disabled.
4229 Fires after the component is disabled.
4235 <dl class="detailList">
4236 <dt class="heading">Parameters:</dt>
4239 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4260 <td class="msource">
4261 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4265 <tr class="method-row expandable config-row-alt0">
4266 <td class="micon"><a class="exi" href="#expand"> </a></td>
4269 <a id="Roo.Component-event-*enable"></a>
4271 <div class="fixedFont">
4272 <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>)
4278 <div class="short">Fires after the component is enabled.
4284 Fires after the component is enabled.
4290 <dl class="detailList">
4291 <dt class="heading">Parameters:</dt>
4294 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4315 <td class="msource">
4316 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4320 <tr class="method-row expandable config-row-alt1">
4321 <td class="micon"><a class="exi" href="#expand"> </a></td>
4324 <a id="Roo.bootstrap.Input-event-*focus"></a>
4326 <div class="fixedFont">
4327 <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>)
4333 <div class="short">Fires when this field receives input focus.
4339 Fires when this field receives input focus.
4345 <dl class="detailList">
4346 <dt class="heading">Parameters:</dt>
4349 <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>
4370 <td class="msource">
4371 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4375 <tr class="method-row expandable config-row-alt0">
4376 <td class="micon"><a class="exi" href="#expand"> </a></td>
4379 <a id="Roo.Component-event-*hide"></a>
4381 <div class="fixedFont">
4382 <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>)
4388 <div class="short">Fires after the component is hidden.
4394 Fires after the component is hidden.
4400 <dl class="detailList">
4401 <dt class="heading">Parameters:</dt>
4404 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4425 <td class="msource">
4426 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4430 <tr class="method-row expandable config-row-alt1">
4431 <td class="micon"><a class="exi" href="#expand"> </a></td>
4434 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4436 <div class="fixedFont">
4437 <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>)
4443 <div class="short">Fires after the field has been marked as invalid.
4449 Fires after the field has been marked as invalid.
4455 <dl class="detailList">
4456 <dt class="heading">Parameters:</dt>
4459 <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>
4465 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4468 <dd>The validation message</dd>
4486 <td class="msource">
4487 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4491 <tr class="method-row expandable config-row-alt0">
4492 <td class="micon"><a class="exi" href="#expand"> </a></td>
4495 <a id="Roo.bootstrap.Input-event-*keyup"></a>
4497 <div class="fixedFont">
4498 <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>)
4504 <div class="short">Fires after the key up
4510 Fires after the key up
4516 <dl class="detailList">
4517 <dt class="heading">Parameters:</dt>
4520 <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>
4526 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4529 <dd>The event Object</dd>
4547 <td class="msource">
4548 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4552 <tr class="method-row expandable config-row-alt1">
4553 <td class="micon"><a class="exi" href="#expand"> </a></td>
4556 <a id="Roo.Component-event-*render"></a>
4558 <div class="fixedFont">
4559 <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>)
4565 <div class="short">Fires after the component is rendered.
4571 Fires after the component is rendered.
4577 <dl class="detailList">
4578 <dt class="heading">Parameters:</dt>
4581 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4602 <td class="msource">
4603 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4607 <tr class="method-row expandable config-row-alt0">
4608 <td class="micon"><a class="exi" href="#expand"> </a></td>
4611 <a id="Roo.Component-event-*show"></a>
4613 <div class="fixedFont">
4614 <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>)
4620 <div class="short">Fires after the component is shown.
4626 Fires after the component is shown.
4632 <dl class="detailList">
4633 <dt class="heading">Parameters:</dt>
4636 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4657 <td class="msource">
4658 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4662 <tr class="method-row expandable config-row-alt1">
4663 <td class="micon"><a class="exi" href="#expand"> </a></td>
4666 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
4668 <div class="fixedFont">
4669 <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>)
4675 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
4681 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.
4687 <dl class="detailList">
4688 <dt class="heading">Parameters:</dt>
4691 <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>
4697 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4700 <dd>The event object</dd>
4718 <td class="msource">
4719 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4723 <tr class="method-row expandable config-row-alt0">
4724 <td class="micon"><a class="exi" href="#expand"> </a></td>
4727 <a id="Roo.bootstrap.Input-event-*valid"></a>
4729 <div class="fixedFont">
4730 <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>)
4736 <div class="short">Fires after the field has been validated with no errors.
4742 Fires after the field has been validated with no errors.
4748 <dl class="detailList">
4749 <dt class="heading">Parameters:</dt>
4752 <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>
4773 <td class="msource">
4774 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4785 <!-- ============================== footer ================================= -->
4786 <div class="fineprint" style="clear:both">
4788 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 24 2014 16:54:35 GMT+0800 (HKT)
4790 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>