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>, <a href="./Roo.bootstrap.ComboBox2.html#constructor" roo:cls="Roo.bootstrap.ComboBox2.html#constructor">Roo.bootstrap.ComboBox2</a>, <a href="./Roo.bootstrap.ComboBox_old.html#constructor" roo:cls="Roo.bootstrap.ComboBox_old.html#constructor">Roo.bootstrap.ComboBox_old</a>
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-align" name=".align"></a>
202 <div class="fixedFont">
203 <b class="itemname">align</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
209 <div class="short">(left|center|right) Default left</div>
213 <div class="long">(left|center|right) Default left</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.bootstrap.Input-cfg-allowBlank" name=".allowBlank"></a>
232 <div class="fixedFont">
233 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
239 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
243 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
251 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</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.Component-cfg-allowDomMove" name=".allowDomMove"></a>
262 <div class="fixedFont">
263 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
269 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
273 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
281 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</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-before" name=".before"></a>
292 <div class="fixedFont">
293 <b class="itemname">before</b> : string
299 <div class="short">- input group add on before</div>
303 <div class="long">- input group add on before</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.Input-cfg-blankText" name=".blankText"></a>
322 <div class="fixedFont">
323 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
329 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
333 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
341 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</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.Component-cfg-can_build_overlaid" name=".can_build_overlaid"></a>
352 <div class="fixedFont">
353 <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>
359 <div class="short">True if element can be rebuild from a HTML page</div>
363 <div class="long">True if element can be rebuild from a HTML page</div>
371 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</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-readOnly" name=".readOnly"></a>
1072 <div class="fixedFont">
1073 <b class="itemname">readOnly</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1079 <div class="short">Specifies that the field should be read-only</div>
1083 <div class="long">Specifies that the field should be read-only</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-regex" name=".regex"></a>
1102 <div class="fixedFont">
1103 <b class="itemname">regex</b> : RegExp
1109 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1113 <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>
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-regexText" name=".regexText"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1139 <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>
1143 <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>
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-selectOnFocus" name=".selectOnFocus"></a>
1162 <div class="fixedFont">
1163 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1169 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1173 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</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-size" name=".size"></a>
1192 <div class="fixedFont">
1193 <b class="itemname">size</b> : string
1199 <div class="short">- (lg|sm) or leave empty.</div>
1203 <div class="long">- (lg|sm) or leave empty..</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.Input-cfg-sm" name=".sm"></a>
1222 <div class="fixedFont">
1223 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1229 <div class="short">colspan out of 12 for tablet-sized screens</div>
1233 <div class="long">colspan out of 12 for tablet-sized screens</div>
1239 <td class="msource">
1241 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1247 <tr class="config-row expandable config-row-alt1">
1248 <td class="micon"><a class="exi" href="#expand"> </a></td>
1251 <a id="Roo.bootstrap.Component-cfg-style" name=".style"></a>
1252 <div class="fixedFont">
1253 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1259 <div class="short">any extra css</div>
1263 <div class="long">any extra css</div>
1269 <td class="msource">
1271 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1277 <tr class="config-row expandable config-row-alt0 notInherited">
1278 <td class="micon"><a class="exi" href="#expand"> </a></td>
1281 <a id="Roo.bootstrap.TriggerField-cfg-triggerClass" name=".triggerClass"></a>
1282 <div class="fixedFont">
1283 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1289 <div class="short">An additional CSS class used to style the trigger button.</div>
1293 <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>
1299 <td class="msource">
1301 Roo.bootstrap.TriggerField
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-validateOnBlur" name=".validateOnBlur"></a>
1312 <div class="fixedFont">
1313 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1319 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1323 <div class="long">Whether the field should validate when it loses focus (defaults to true).</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-validationDelay" name=".validationDelay"></a>
1342 <div class="fixedFont">
1343 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1349 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1353 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</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-validationEvent" name=".validationEvent"></a>
1372 <div class="fixedFont">
1373 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1379 <div class="short">The event that should initiate field validation.</div>
1383 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</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-validator" name=".validator"></a>
1402 <div class="fixedFont">
1403 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1409 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1413 <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>
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-value" name=".value"></a>
1432 <div class="fixedFont">
1433 <b class="itemname">value</b> : string
1439 <div class="short">default value of the input</div>
1443 <div class="long">default value of the input</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.Input-cfg-vtype" name=".vtype"></a>
1462 <div class="fixedFont">
1463 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1469 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1473 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1479 <td class="msource">
1481 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</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.Component-cfg-xattr" name=".xattr"></a>
1492 <div class="fixedFont">
1493 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1499 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1503 <div class="long">extra attributes to add to 'element' (used by builder to store stuff.)</div>
1509 <td class="msource">
1511 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1517 <tr class="config-row expandable config-row-alt0">
1518 <td class="micon"><a class="exi" href="#expand"> </a></td>
1521 <a id="Roo.bootstrap.Input-cfg-xs" name=".xs"></a>
1522 <div class="fixedFont">
1523 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1529 <div class="short">colspan out of 12 for mobile-sized screens</div>
1533 <div class="long">colspan out of 12 for mobile-sized screens</div>
1539 <td class="msource">
1541 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1557 <!-- ============================== public properties ==================== -->
1561 <a id="Roo.bootstrap.TriggerField-props"></a>
1567 <table cellspacing="0" class="member-table">
1568 <caption class="Empty">Public Properties - Has None</caption>
1574 <!-- ============================== methods summary / details ======================== -->
1577 <a id="Roo.bootstrap.TriggerField-methods"></a>
1578 <!-- constructor?? -->
1585 <!-- then dynamics first -->
1592 <table cellspacing="0" class="member-table">
1593 <caption>Public Methods</caption>
1595 <th class="sig-header" colspan="2">Method</th>
1596 <th class="msource-header">Defined By</th>
1606 <tr class="method-row config-row-alt0 expandable notInherited">
1607 <td class="micon"><a class="exi" href="#expand"> </a></td>
1611 <a id="Roo.bootstrap-method-TriggerField" name=".TriggerField"></a>
1612 <div class="fixedFont">
1613 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">TriggerField</b>
1615 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1623 <div class="short">Create a new Roo.bootstrap.TriggerField</div>
1630 Create a new Roo.bootstrap.TriggerField
1633 <dl class="detailList">
1634 <dt class="heading">Parameters:</dt>
1637 <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>
1640 <dd>Configuration options (valid {<b>Roo</b>.bootstrap.Input} config options will also be applied<br/>to the base TextField)</dd>
1658 <td class="msource">
1664 <tr class="method-row config-row-alt1 expandable">
1665 <td class="micon"><a class="exi" href="#expand"> </a></td>
1669 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1670 <div class="fixedFont">
1671 <span class="attributes"></span><b class="itemname">addEvents</b>
1673 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1680 <div class="short">Used to define events on this Observable</div>
1686 Used to define events on this Observable
1693 <dl class="detailList">
1694 <dt class="heading">Parameters:</dt>
1697 <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>
1700 <dd>The object with the events defined</dd>
1718 <td class="msource">
1720 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1726 <tr class="method-row config-row-alt0 expandable">
1727 <td class="micon"><a class="exi" href="#expand"> </a></td>
1731 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1732 <div class="fixedFont">
1733 <span class="attributes"></span><b class="itemname">addListener</b>
1735 (<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>)
1742 <div class="short">Appends an event handler to this component</div>
1748 Appends an event handler to this component
1755 <dl class="detailList">
1756 <dt class="heading">Parameters:</dt>
1759 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1762 <dd>The type of event to listen for</dd>
1765 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1768 <dd>The method the event invokes</dd>
1771 <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>
1774 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1777 <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>
1780 <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>
1798 <td class="msource">
1800 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1806 <tr class="method-row config-row-alt1 expandable notInherited">
1807 <td class="micon"><a class="exi" href="#expand"> </a></td>
1811 <a id="Roo.bootstrap.TriggerField-method-autoSize" name=".autoSize"></a>
1812 <div class="fixedFont">
1813 <span class="attributes"></span><b class="itemname">autoSize</b>
1822 <div class="short"></div>
1849 <td class="msource">
1851 Roo.bootstrap.TriggerField
1857 <tr class="method-row config-row-alt0 expandable">
1858 <td class="micon"><a class="exi" href="#expand"> </a></td>
1862 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
1863 <div class="fixedFont">
1864 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1873 <div class="short">Clear any invalid styles/messages for this field</div>
1879 Clear any invalid styles/messages for this field
1900 <td class="msource">
1902 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1908 <tr class="method-row config-row-alt1 expandable">
1909 <td class="micon"><a class="exi" href="#expand"> </a></td>
1913 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1914 <div class="fixedFont">
1915 <span class="attributes"></span><b class="itemname">destroy</b>
1924 <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>
1930 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}.
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-alt0 expandable">
1960 <td class="micon"><a class="exi" href="#expand"> </a></td>
1964 <a id="Roo.Component-method-disable" name=".disable"></a>
1965 <div class="fixedFont">
1966 <span class="attributes"></span><b class="itemname">disable</b>
1974 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1983 <div class="short">Disable this component.</div>
1989 Disable 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-alt1 expandable">
2026 <td class="micon"><a class="exi" href="#expand"> </a></td>
2030 <a id="Roo.Component-method-enable" name=".enable"></a>
2031 <div class="fixedFont">
2032 <span class="attributes"></span><b class="itemname">enable</b>
2040 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2049 <div class="short">Enable this component.</div>
2055 Enable this component.
2066 <dl class="detailList">
2067 <dt class="heading">Returns:</dt>
2069 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2083 <td class="msource">
2085 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2091 <tr class="method-row config-row-alt0 expandable">
2092 <td class="micon"><a class="exi" href="#expand"> </a></td>
2096 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2097 <div class="fixedFont">
2098 <span class="attributes"></span><b class="itemname">fireEvent</b>
2100 (<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>)
2106 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2115 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2121 Fires the specified event with the passed parameters (minus the event name).
2128 <dl class="detailList">
2129 <dt class="heading">Parameters:</dt>
2132 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2138 <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>
2141 <dd>Variable number of parameters are passed to handlers</dd>
2149 <dl class="detailList">
2150 <dt class="heading">Returns:</dt>
2152 <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>
2166 <td class="msource">
2168 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2174 <tr class="method-row config-row-alt1 expandable">
2175 <td class="micon"><a class="exi" href="#expand"> </a></td>
2179 <a id="Roo.Component-method-focus" name=".focus"></a>
2180 <div class="fixedFont">
2181 <span class="attributes"></span><b class="itemname">focus</b>
2183 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2189 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2198 <div class="short">Try to focus this component.</div>
2204 Try to focus this component.
2211 <dl class="detailList">
2212 <dt class="heading">Parameters:</dt>
2215 <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>
2218 <dd>True to also select the text in this component (if applicable)</dd>
2226 <dl class="detailList">
2227 <dt class="heading">Returns:</dt>
2229 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</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-alt0 expandable">
2252 <td class="micon"><a class="exi" href="#expand"> </a></td>
2256 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2257 <div class="fixedFont">
2258 <span class="attributes"></span><b class="itemname">getEl</b>
2266 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2275 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2281 Returns the underlying {<b>link</b> Roo.Element}.
2292 <dl class="detailList">
2293 <dt class="heading">Returns:</dt>
2295 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</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-alt1 expandable">
2318 <td class="micon"><a class="exi" href="#expand"> </a></td>
2322 <a id="Roo.Component-method-getId" name=".getId"></a>
2323 <div class="fixedFont">
2324 <span class="attributes"></span><b class="itemname">getId</b>
2332 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2341 <div class="short">Returns the id of this component.</div>
2347 Returns the id of this component.
2358 <dl class="detailList">
2359 <dt class="heading">Returns:</dt>
2361 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2375 <td class="msource">
2377 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2383 <tr class="method-row config-row-alt0 expandable">
2384 <td class="micon"><a class="exi" href="#expand"> </a></td>
2388 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2389 <div class="fixedFont">
2390 <span class="attributes"></span><b class="itemname">getName</b>
2407 <div class="short">Returns the name of the field</div>
2413 Returns the name of the field
2424 <dl class="detailList">
2425 <dt class="heading">Returns:</dt>
2427 <dd><span class="fixedFont">Mixed</span> name The name field</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-alt1 expandable">
2450 <td class="micon"><a class="exi" href="#expand"> </a></td>
2454 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2455 <div class="fixedFont">
2456 <span class="attributes"></span><b class="itemname">getRawValue</b>
2473 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2479 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>}.
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-alt0 expandable">
2516 <td class="micon"><a class="exi" href="#expand"> </a></td>
2520 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2521 <div class="fixedFont">
2522 <span class="attributes"></span><b class="itemname">getValue</b>
2539 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2545 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2556 <dl class="detailList">
2557 <dt class="heading">Returns:</dt>
2559 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2573 <td class="msource">
2575 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2581 <tr class="method-row config-row-alt1 expandable">
2582 <td class="micon"><a class="exi" href="#expand"> </a></td>
2586 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2587 <div class="fixedFont">
2588 <span class="attributes"></span><b class="itemname">hasListener</b>
2590 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2596 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2605 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2611 Checks to see if this object has any listeners for a specified event
2618 <dl class="detailList">
2619 <dt class="heading">Parameters:</dt>
2622 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2625 <dd>The name of the event to check for</dd>
2633 <dl class="detailList">
2634 <dt class="heading">Returns:</dt>
2636 <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>
2650 <td class="msource">
2652 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2658 <tr class="method-row config-row-alt0 expandable">
2659 <td class="micon"><a class="exi" href="#expand"> </a></td>
2663 <a id="Roo.Component-method-hide" name=".hide"></a>
2664 <div class="fixedFont">
2665 <span class="attributes"></span><b class="itemname">hide</b>
2673 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2682 <div class="short">Hide this component.</div>
2688 Hide this component.
2699 <dl class="detailList">
2700 <dt class="heading">Returns:</dt>
2702 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2716 <td class="msource">
2718 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2724 <tr class="method-row config-row-alt1 expandable">
2725 <td class="micon"><a class="exi" href="#expand"> </a></td>
2729 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
2730 <div class="fixedFont">
2731 <span class="attributes"></span><b class="itemname">inputEl</b>
2740 <div class="short">return the real input element.</div>
2746 return the real input element.
2767 <td class="msource">
2769 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2775 <tr class="method-row config-row-alt0 expandable">
2776 <td class="micon"><a class="exi" href="#expand"> </a></td>
2780 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2781 <div class="fixedFont">
2782 <span class="attributes"></span><b class="itemname">isVisible</b>
2791 <div class="short">Returns true if this component is visible.</div>
2797 Returns true if this component is visible.
2818 <td class="msource">
2820 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2826 <tr class="method-row config-row-alt1 expandable">
2827 <td class="micon"><a class="exi" href="#expand"> </a></td>
2831 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
2832 <div class="fixedFont">
2833 <span class="attributes"></span><b class="itemname">markInvalid</b>
2835 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
2842 <div class="short">Mark this field as invalid</div>
2848 Mark this field as invalid
2855 <dl class="detailList">
2856 <dt class="heading">Parameters:</dt>
2859 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
2862 <dd>The validation message</dd>
2880 <td class="msource">
2882 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2888 <tr class="method-row config-row-alt0 expandable">
2889 <td class="micon"><a class="exi" href="#expand"> </a></td>
2893 <a id="Roo.util.Observable-method-on" name=".on"></a>
2894 <div class="fixedFont">
2895 <span class="attributes"></span><b class="itemname">on</b>
2897 (<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>)
2904 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2910 Appends an event handler to this element (shorthand for addListener)
2917 <dl class="detailList">
2918 <dt class="heading">Parameters:</dt>
2921 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2924 <dd>The type of event to listen for</dd>
2927 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2930 <dd>The method the event invokes</dd>
2933 <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>
2936 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2939 <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>
2960 <td class="msource">
2962 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2968 <tr class="method-row config-row-alt1 expandable notInherited">
2969 <td class="micon"><a class="exi" href="#expand"> </a></td>
2973 <a id="Roo.bootstrap.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
2974 <div class="fixedFont">
2975 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
2977 (EventObject <B><i>e</i></B>)
2984 <div class="short">The function that should handle the trigger's click event.</div>
2990 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
2997 <dl class="detailList">
2998 <dt class="heading">Parameters:</dt>
3001 <span class="fixedFont">EventObject</span> <b>e</b>
3022 <td class="msource">
3024 Roo.bootstrap.TriggerField
3030 <tr class="method-row config-row-alt0 expandable">
3031 <td class="micon"><a class="exi" href="#expand"> </a></td>
3035 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
3036 <div class="fixedFont">
3037 <span class="attributes"></span><b class="itemname">purgeListeners</b>
3046 <div class="short">Removes all listeners for this object</div>
3052 Removes all listeners for this object
3073 <td class="msource">
3075 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3081 <tr class="method-row config-row-alt1 expandable">
3082 <td class="micon"><a class="exi" href="#expand"> </a></td>
3086 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
3087 <div class="fixedFont">
3088 <span class="attributes"></span><b class="itemname">removeListener</b>
3090 (<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>)
3097 <div class="short">Removes a listener</div>
3110 <dl class="detailList">
3111 <dt class="heading">Parameters:</dt>
3114 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3117 <dd>The type of event to listen for</dd>
3120 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3123 <dd>The handler to remove</dd>
3126 <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>
3129 <dd>(optional) The scope (this object) for the handler</dd>
3147 <td class="msource">
3149 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3155 <tr class="method-row config-row-alt0 expandable">
3156 <td class="micon"><a class="exi" href="#expand"> </a></td>
3160 <a id="Roo.Component-method-render" name=".render"></a>
3161 <div class="fixedFont">
3162 <span class="attributes"></span><b class="itemname">render</b>
3164 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3171 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3177 If this is a lazy rendering component, render it to its container element.
3184 <dl class="detailList">
3185 <dt class="heading">Parameters:</dt>
3188 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3191 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3209 <td class="msource">
3211 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3217 <tr class="method-row config-row-alt1 expandable">
3218 <td class="micon"><a class="exi" href="#expand"> </a></td>
3222 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3223 <div class="fixedFont">
3224 <span class="attributes"></span><b class="itemname">reset</b>
3233 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3239 Resets the current field value to the originally loaded value and clears any validation messages
3260 <td class="msource">
3262 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3268 <tr class="method-row config-row-alt0 expandable">
3269 <td class="micon"><a class="exi" href="#expand"> </a></td>
3273 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3274 <div class="fixedFont">
3275 <span class="attributes"></span><b class="itemname">setDisabled</b>
3277 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3284 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3290 Convenience function for setting disabled/enabled by boolean.
3297 <dl class="detailList">
3298 <dt class="heading">Parameters:</dt>
3301 <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>
3322 <td class="msource">
3324 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3330 <tr class="method-row config-row-alt1 expandable">
3331 <td class="micon"><a class="exi" href="#expand"> </a></td>
3335 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3336 <div class="fixedFont">
3337 <span class="attributes"></span><b class="itemname">setRawValue</b>
3339 (Mixed <B><i>value</i></B>)
3346 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3352 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3359 <dl class="detailList">
3360 <dt class="heading">Parameters:</dt>
3363 <span class="fixedFont">Mixed</span> <b>value</b>
3366 <dd>The value to set</dd>
3384 <td class="msource">
3386 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3392 <tr class="method-row config-row-alt0 expandable">
3393 <td class="micon"><a class="exi" href="#expand"> </a></td>
3397 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3398 <div class="fixedFont">
3399 <span class="attributes"></span><b class="itemname">setValue</b>
3401 (Mixed <B><i>value</i></B>)
3408 <div class="short">Sets a data value into the field and validates it.</div>
3414 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3421 <dl class="detailList">
3422 <dt class="heading">Parameters:</dt>
3425 <span class="fixedFont">Mixed</span> <b>value</b>
3428 <dd>The value to set</dd>
3446 <td class="msource">
3448 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3454 <tr class="method-row config-row-alt1 expandable">
3455 <td class="micon"><a class="exi" href="#expand"> </a></td>
3459 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3460 <div class="fixedFont">
3461 <span class="attributes"></span><b class="itemname">setVisible</b>
3463 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3469 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3478 <div class="short">Convenience function to hide or show this component by boolean.</div>
3484 Convenience function to hide or show this component by boolean.
3491 <dl class="detailList">
3492 <dt class="heading">Parameters:</dt>
3495 <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>
3498 <dd>True to show, false to hide</dd>
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-alt0 expandable">
3532 <td class="micon"><a class="exi" href="#expand"> </a></td>
3536 <a id="Roo.Component-method-show" name=".show"></a>
3537 <div class="fixedFont">
3538 <span class="attributes"></span><b class="itemname">show</b>
3546 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3555 <div class="short">Show this component.</div>
3561 Show this component.
3572 <dl class="detailList">
3573 <dt class="heading">Returns:</dt>
3575 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3589 <td class="msource">
3591 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3597 <tr class="method-row config-row-alt1 expandable">
3598 <td class="micon"><a class="exi" href="#expand"> </a></td>
3602 <a id="Roo.util.Observable-method-un" name=".un"></a>
3603 <div class="fixedFont">
3604 <span class="attributes"></span><b class="itemname">un</b>
3606 (<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>)
3613 <div class="short">Removes a listener (shorthand for removeListener)</div>
3619 Removes a listener (shorthand for removeListener)
3626 <dl class="detailList">
3627 <dt class="heading">Parameters:</dt>
3630 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3633 <dd>The type of event to listen for</dd>
3636 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3639 <dd>The handler to remove</dd>
3642 <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>
3645 <dd>(optional) The scope (this object) for the handler</dd>
3663 <td class="msource">
3665 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3671 <tr class="method-row config-row-alt0 expandable">
3672 <td class="micon"><a class="exi" href="#expand"> </a></td>
3676 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
3677 <div class="fixedFont">
3678 <span class="attributes"></span><b class="itemname">validate</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 the field value</div>
3701 Validates the field value
3712 <dl class="detailList">
3713 <dt class="heading">Returns:</dt>
3715 <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>
3729 <td class="msource">
3731 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3737 <tr class="method-row config-row-alt1 expandable">
3738 <td class="micon"><a class="exi" href="#expand"> </a></td>
3742 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
3743 <div class="fixedFont">
3744 <span class="attributes"></span><b class="itemname">validateValue</b>
3746 (Mixed <B><i>value</i></B>)
3752 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3761 <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>
3767 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
3774 <dl class="detailList">
3775 <dt class="heading">Parameters:</dt>
3778 <span class="fixedFont">Mixed</span> <b>value</b>
3781 <dd>The value to validate</dd>
3789 <dl class="detailList">
3790 <dt class="heading">Returns:</dt>
3792 <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>
3806 <td class="msource">
3808 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3817 <!-- ============================== events summary / details ======================== -->
3820 <a id="Roo.bootstrap.TriggerField-events"></a>
3829 <table cellspacing="0" class="member-table">
3830 <caption>Events</caption>
3833 <th class="sig-header" colspan="2">Event</th>
3834 <th class="msource-header">Defined By</th>
3843 <tr class="method-row expandable config-row-alt0">
3844 <td class="micon"><a class="exi" href="#expand"> </a></td>
3847 <a id="Roo.Component-event-*beforedestroy"></a>
3849 <div class="fixedFont">
3850 <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>)
3856 <div class="short">Fires before the component is destroyed.
3862 Fires before the component is destroyed. Return false to stop the destroy.
3868 <dl class="detailList">
3869 <dt class="heading">Parameters:</dt>
3872 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3893 <td class="msource">
3894 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3898 <tr class="method-row expandable config-row-alt1">
3899 <td class="micon"><a class="exi" href="#expand"> </a></td>
3902 <a id="Roo.Component-event-*beforehide"></a>
3904 <div class="fixedFont">
3905 <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>)
3911 <div class="short">Fires before the component is hidden.
3917 Fires before the component is hidden. Return false to stop the hide.
3923 <dl class="detailList">
3924 <dt class="heading">Parameters:</dt>
3927 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3948 <td class="msource">
3949 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3953 <tr class="method-row expandable config-row-alt0">
3954 <td class="micon"><a class="exi" href="#expand"> </a></td>
3957 <a id="Roo.Component-event-*beforerender"></a>
3959 <div class="fixedFont">
3960 <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>)
3966 <div class="short">Fires before the component is rendered.
3972 Fires before the component is rendered. Return false to stop the render.
3978 <dl class="detailList">
3979 <dt class="heading">Parameters:</dt>
3982 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4003 <td class="msource">
4004 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4008 <tr class="method-row expandable config-row-alt1">
4009 <td class="micon"><a class="exi" href="#expand"> </a></td>
4012 <a id="Roo.Component-event-*beforeshow"></a>
4014 <div class="fixedFont">
4015 <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>)
4021 <div class="short">Fires before the component is shown.
4027 Fires before the component is shown. Return false to stop the show.
4033 <dl class="detailList">
4034 <dt class="heading">Parameters:</dt>
4037 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4058 <td class="msource">
4059 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4063 <tr class="method-row expandable config-row-alt0">
4064 <td class="micon"><a class="exi" href="#expand"> </a></td>
4067 <a id="Roo.bootstrap.Input-event-*blur"></a>
4069 <div class="fixedFont">
4070 <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>)
4076 <div class="short">Fires when this field loses input focus.
4082 Fires when this field loses input focus.
4088 <dl class="detailList">
4089 <dt class="heading">Parameters:</dt>
4092 <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>
4113 <td class="msource">
4114 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4118 <tr class="method-row expandable config-row-alt1">
4119 <td class="micon"><a class="exi" href="#expand"> </a></td>
4122 <a id="Roo.bootstrap.Input-event-*change"></a>
4124 <div class="fixedFont">
4125 <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>)
4131 <div class="short">Fires just before the field blurs if the field value has changed.
4137 Fires just before the field blurs if the field value has changed.
4143 <dl class="detailList">
4144 <dt class="heading">Parameters:</dt>
4147 <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>
4153 <span class="fixedFont">Mixed</span> <b>newValue</b>
4156 <dd>The new value</dd>
4159 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4162 <dd>The original value</dd>
4180 <td class="msource">
4181 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4185 <tr class="method-row expandable config-row-alt0">
4186 <td class="micon"><a class="exi" href="#expand"> </a></td>
4189 <a id="Roo.Component-event-*destroy"></a>
4191 <div class="fixedFont">
4192 <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>)
4198 <div class="short">Fires after the component is destroyed.
4204 Fires after the component is destroyed.
4210 <dl class="detailList">
4211 <dt class="heading">Parameters:</dt>
4214 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4235 <td class="msource">
4236 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4240 <tr class="method-row expandable config-row-alt1">
4241 <td class="micon"><a class="exi" href="#expand"> </a></td>
4244 <a id="Roo.Component-event-*disable"></a>
4246 <div class="fixedFont">
4247 <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>)
4253 <div class="short">Fires after the component is disabled.
4259 Fires after the component is disabled.
4265 <dl class="detailList">
4266 <dt class="heading">Parameters:</dt>
4269 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4290 <td class="msource">
4291 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4295 <tr class="method-row expandable config-row-alt0">
4296 <td class="micon"><a class="exi" href="#expand"> </a></td>
4299 <a id="Roo.Component-event-*enable"></a>
4301 <div class="fixedFont">
4302 <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>)
4308 <div class="short">Fires after the component is enabled.
4314 Fires after the component is enabled.
4320 <dl class="detailList">
4321 <dt class="heading">Parameters:</dt>
4324 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4345 <td class="msource">
4346 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4350 <tr class="method-row expandable config-row-alt1">
4351 <td class="micon"><a class="exi" href="#expand"> </a></td>
4354 <a id="Roo.bootstrap.Input-event-*focus"></a>
4356 <div class="fixedFont">
4357 <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>)
4363 <div class="short">Fires when this field receives input focus.
4369 Fires when this field receives input focus.
4375 <dl class="detailList">
4376 <dt class="heading">Parameters:</dt>
4379 <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>
4400 <td class="msource">
4401 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4405 <tr class="method-row expandable config-row-alt0">
4406 <td class="micon"><a class="exi" href="#expand"> </a></td>
4409 <a id="Roo.Component-event-*hide"></a>
4411 <div class="fixedFont">
4412 <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>)
4418 <div class="short">Fires after the component is hidden.
4424 Fires after the component is hidden.
4430 <dl class="detailList">
4431 <dt class="heading">Parameters:</dt>
4434 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4455 <td class="msource">
4456 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4460 <tr class="method-row expandable config-row-alt1">
4461 <td class="micon"><a class="exi" href="#expand"> </a></td>
4464 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4466 <div class="fixedFont">
4467 <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>)
4473 <div class="short">Fires after the field has been marked as invalid.
4479 Fires after the field has been marked as invalid.
4485 <dl class="detailList">
4486 <dt class="heading">Parameters:</dt>
4489 <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>
4495 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4498 <dd>The validation message</dd>
4516 <td class="msource">
4517 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4521 <tr class="method-row expandable config-row-alt0">
4522 <td class="micon"><a class="exi" href="#expand"> </a></td>
4525 <a id="Roo.bootstrap.Input-event-*keyup"></a>
4527 <div class="fixedFont">
4528 <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>)
4534 <div class="short">Fires after the key up
4540 Fires after the key up
4546 <dl class="detailList">
4547 <dt class="heading">Parameters:</dt>
4550 <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>
4556 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4559 <dd>The event Object</dd>
4577 <td class="msource">
4578 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4582 <tr class="method-row expandable config-row-alt1">
4583 <td class="micon"><a class="exi" href="#expand"> </a></td>
4586 <a id="Roo.Component-event-*render"></a>
4588 <div class="fixedFont">
4589 <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>)
4595 <div class="short">Fires after the component is rendered.
4601 Fires after the component is rendered.
4607 <dl class="detailList">
4608 <dt class="heading">Parameters:</dt>
4611 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4632 <td class="msource">
4633 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4637 <tr class="method-row expandable config-row-alt0">
4638 <td class="micon"><a class="exi" href="#expand"> </a></td>
4641 <a id="Roo.Component-event-*show"></a>
4643 <div class="fixedFont">
4644 <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>)
4650 <div class="short">Fires after the component is shown.
4656 Fires after the component is shown.
4662 <dl class="detailList">
4663 <dt class="heading">Parameters:</dt>
4666 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4687 <td class="msource">
4688 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4692 <tr class="method-row expandable config-row-alt1">
4693 <td class="micon"><a class="exi" href="#expand"> </a></td>
4696 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
4698 <div class="fixedFont">
4699 <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>)
4705 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
4711 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.
4717 <dl class="detailList">
4718 <dt class="heading">Parameters:</dt>
4721 <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>
4727 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4730 <dd>The event object</dd>
4748 <td class="msource">
4749 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4753 <tr class="method-row expandable config-row-alt0">
4754 <td class="micon"><a class="exi" href="#expand"> </a></td>
4757 <a id="Roo.bootstrap.Input-event-*valid"></a>
4759 <div class="fixedFont">
4760 <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>)
4766 <div class="short">Fires after the field has been validated with no errors.
4772 Fires after the field has been validated with no errors.
4778 <dl class="detailList">
4779 <dt class="heading">Parameters:</dt>
4782 <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>
4803 <td class="msource">
4804 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4815 <!-- ============================== footer ================================= -->
4816 <div class="fineprint" style="clear:both">
4818 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Feb 12 2015 14:07:09 GMT+0800 (HKT)
4820 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>