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-cls" name=".cls"></a>
322 <div class="fixedFont">
323 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
329 <div class="short">css class</div>
333 <div class="long">css class</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.Component-cfg-disableClass" name=".disableClass"></a>
352 <div class="fixedFont">
353 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
359 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
363 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
371 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.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.Input-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
382 <div class="fixedFont">
383 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
389 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
393 <div class="long">True to disable input keystroke filtering (defaults to false)</div>
401 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</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.Input-cfg-disabled" name=".disabled"></a>
412 <div class="fixedFont">
413 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
419 <div class="short">is it disabled</div>
423 <div class="long">is it disabled</div>
431 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</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.bootstrap.Input-cfg-fieldLabel" name=".fieldLabel"></a>
442 <div class="fixedFont">
443 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
449 <div class="short">- the label associated</div>
453 <div class="long">- the label associated</div>
461 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</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-focusClass" name=".focusClass"></a>
472 <div class="fixedFont">
473 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
479 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
483 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</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.Component-cfg-hideMode" name=".hideMode"></a>
502 <div class="fixedFont">
503 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
509 <div class="short">How this component should hidden.</div>
513 <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>
521 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
527 <tr class="config-row expandable config-row-alt1 notInherited">
528 <td class="micon"><a class="exi" href="#expand"> </a></td>
531 <a id="Roo.bootstrap.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
532 <div class="fixedFont">
533 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
539 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
543 <div class="long">True to hide the trigger element and display only the base text field (defaults to false)</div>
551 Roo.bootstrap.TriggerField
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-inputType" name=".inputType"></a>
562 <div class="fixedFont">
563 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
569 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
573 <div class="long">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</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.bootstrap.Input-cfg-invalidClass" name=".invalidClass"></a>
592 <div class="fixedFont">
593 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
599 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
603 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
611 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
617 <tr class="config-row expandable config-row-alt0">
618 <td class="micon"><a class="exi" href="#expand"> </a></td>
621 <a id="Roo.bootstrap.Input-cfg-lg" name=".lg"></a>
622 <div class="fixedFont">
623 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
629 <div class="short">colspan out of 12 for large computer-sized screens</div>
633 <div class="long">colspan out of 12 for large computer-sized screens</div>
641 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
647 <tr class="config-row expandable config-row-alt1">
648 <td class="micon"><a class="exi" href="#expand"> </a></td>
651 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
652 <div class="fixedFont">
653 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
659 <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>
663 <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>
671 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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-maskRe" name=".maskRe"></a>
682 <div class="fixedFont">
683 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
689 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
693 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</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-maxLength" name=".maxLength"></a>
712 <div class="fixedFont">
713 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
719 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
723 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</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-maxLengthText" name=".maxLengthText"></a>
742 <div class="fixedFont">
743 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
749 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
753 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</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-md" name=".md"></a>
772 <div class="fixedFont">
773 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
779 <div class="short">colspan out of 12 for computer-sized screens</div>
783 <div class="long">colspan out of 12 for 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.bootstrap.Input-cfg-minLength" name=".minLength"></a>
802 <div class="fixedFont">
803 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
809 <div class="short">Minimum input field length required (defaults to 0)</div>
813 <div class="long">Minimum input field length required (defaults to 0)</div>
821 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</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-minLengthText" name=".minLengthText"></a>
832 <div class="fixedFont">
833 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
839 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
843 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</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-name" name=".name"></a>
862 <div class="fixedFont">
863 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
869 <div class="short">name of the input</div>
873 <div class="long">name of the input</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-placeholder" name=".placeholder"></a>
892 <div class="fixedFont">
893 <b class="itemname">placeholder</b> : string
899 <div class="short">- placeholder to put in text.</div>
903 <div class="long">- placeholder to put in text.</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-regex" name=".regex"></a>
922 <div class="fixedFont">
923 <b class="itemname">regex</b> : RegExp
929 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
933 <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>
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-regexText" name=".regexText"></a>
952 <div class="fixedFont">
953 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
959 <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>
963 <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>
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-selectOnFocus" name=".selectOnFocus"></a>
982 <div class="fixedFont">
983 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
989 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
993 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</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-size" name=".size"></a>
1012 <div class="fixedFont">
1013 <b class="itemname">size</b> : string
1019 <div class="short">- (lg|sm) or leave empty.</div>
1023 <div class="long">- (lg|sm) or leave empty..</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-sm" name=".sm"></a>
1042 <div class="fixedFont">
1043 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1049 <div class="short">colspan out of 12 for tablet-sized screens</div>
1053 <div class="long">colspan out of 12 for tablet-sized screens</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.Component-cfg-style" name=".style"></a>
1072 <div class="fixedFont">
1073 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1079 <div class="short">any extra css</div>
1083 <div class="long">any extra css</div>
1089 <td class="msource">
1091 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1097 <tr class="config-row expandable config-row-alt0 notInherited">
1098 <td class="micon"><a class="exi" href="#expand"> </a></td>
1101 <a id="Roo.bootstrap.TriggerField-cfg-triggerClass" name=".triggerClass"></a>
1102 <div class="fixedFont">
1103 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1109 <div class="short">An additional CSS class used to style the trigger button.</div>
1113 <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>
1119 <td class="msource">
1121 Roo.bootstrap.TriggerField
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-validateOnBlur" name=".validateOnBlur"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1139 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1143 <div class="long">Whether the field should validate when it loses focus (defaults to true).</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-validationDelay" name=".validationDelay"></a>
1162 <div class="fixedFont">
1163 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1169 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1173 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</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-validationEvent" name=".validationEvent"></a>
1192 <div class="fixedFont">
1193 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1199 <div class="short">The event that should initiate field validation.</div>
1203 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</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-validator" name=".validator"></a>
1222 <div class="fixedFont">
1223 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1229 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1233 <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>
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.Input-cfg-vtype" name=".vtype"></a>
1252 <div class="fixedFont">
1253 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1259 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1263 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1269 <td class="msource">
1271 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
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.Component-cfg-xattr" name=".xattr"></a>
1282 <div class="fixedFont">
1283 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1289 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1293 <div class="long">extra attributes to add to 'element' (used by builder to store stuff.)</div>
1299 <td class="msource">
1301 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</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-xs" name=".xs"></a>
1312 <div class="fixedFont">
1313 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1319 <div class="short">colspan out of 12 for mobile-sized screens</div>
1323 <div class="long">colspan out of 12 for mobile-sized screens</div>
1329 <td class="msource">
1331 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1347 <!-- ============================== public properties ==================== -->
1351 <a id="Roo.bootstrap.TriggerField-props"></a>
1357 <table cellspacing="0" class="member-table">
1358 <caption class="Empty">Public Properties - Has None</caption>
1364 <!-- ============================== methods summary / details ======================== -->
1367 <a id="Roo.bootstrap.TriggerField-methods"></a>
1368 <!-- constructor?? -->
1375 <!-- then dynamics first -->
1382 <table cellspacing="0" class="member-table">
1383 <caption>Public Methods</caption>
1385 <th class="sig-header" colspan="2">Method</th>
1386 <th class="msource-header">Defined By</th>
1396 <tr class="method-row config-row-alt0 expandable notInherited">
1397 <td class="micon"><a class="exi" href="#expand"> </a></td>
1401 <a id="Roo.bootstrap-method-TriggerField" name=".TriggerField"></a>
1402 <div class="fixedFont">
1403 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">TriggerField</b>
1405 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1413 <div class="short">Create a new Roo.bootstrap.TriggerField</div>
1420 Create a new Roo.bootstrap.TriggerField
1423 <dl class="detailList">
1424 <dt class="heading">Parameters:</dt>
1427 <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>
1430 <dd>Configuration options (valid {<b>Roo</b>.bootstrap.Input} config options will also be applied<br/>to the base TextField)</dd>
1448 <td class="msource">
1454 <tr class="method-row config-row-alt1 expandable">
1455 <td class="micon"><a class="exi" href="#expand"> </a></td>
1459 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1460 <div class="fixedFont">
1461 <span class="attributes"></span><b class="itemname">addEvents</b>
1463 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1470 <div class="short">Used to define events on this Observable</div>
1476 Used to define events on this Observable
1483 <dl class="detailList">
1484 <dt class="heading">Parameters:</dt>
1487 <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>
1490 <dd>The object with the events defined</dd>
1508 <td class="msource">
1510 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1516 <tr class="method-row config-row-alt0 expandable">
1517 <td class="micon"><a class="exi" href="#expand"> </a></td>
1521 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1522 <div class="fixedFont">
1523 <span class="attributes"></span><b class="itemname">addListener</b>
1525 (<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>)
1532 <div class="short">Appends an event handler to this component</div>
1538 Appends an event handler to this component
1545 <dl class="detailList">
1546 <dt class="heading">Parameters:</dt>
1549 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1552 <dd>The type of event to listen for</dd>
1555 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1558 <dd>The method the event invokes</dd>
1561 <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>
1564 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1567 <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>
1570 <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>
1588 <td class="msource">
1590 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1596 <tr class="method-row config-row-alt1 expandable notInherited">
1597 <td class="micon"><a class="exi" href="#expand"> </a></td>
1601 <a id="Roo.bootstrap.TriggerField-method-autoSize" name=".autoSize"></a>
1602 <div class="fixedFont">
1603 <span class="attributes"></span><b class="itemname">autoSize</b>
1612 <div class="short"></div>
1639 <td class="msource">
1641 Roo.bootstrap.TriggerField
1647 <tr class="method-row config-row-alt0 expandable">
1648 <td class="micon"><a class="exi" href="#expand"> </a></td>
1652 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
1653 <div class="fixedFont">
1654 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1663 <div class="short">Clear any invalid styles/messages for this field</div>
1669 Clear any invalid styles/messages for this field
1690 <td class="msource">
1692 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1698 <tr class="method-row config-row-alt1 expandable">
1699 <td class="micon"><a class="exi" href="#expand"> </a></td>
1703 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1704 <div class="fixedFont">
1705 <span class="attributes"></span><b class="itemname">destroy</b>
1714 <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>
1720 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}.
1741 <td class="msource">
1743 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1749 <tr class="method-row config-row-alt0 expandable">
1750 <td class="micon"><a class="exi" href="#expand"> </a></td>
1754 <a id="Roo.Component-method-disable" name=".disable"></a>
1755 <div class="fixedFont">
1756 <span class="attributes"></span><b class="itemname">disable</b>
1764 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1773 <div class="short">Disable this component.</div>
1779 Disable this component.
1790 <dl class="detailList">
1791 <dt class="heading">Returns:</dt>
1793 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1807 <td class="msource">
1809 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1815 <tr class="method-row config-row-alt1 expandable">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1820 <a id="Roo.Component-method-enable" name=".enable"></a>
1821 <div class="fixedFont">
1822 <span class="attributes"></span><b class="itemname">enable</b>
1830 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1839 <div class="short">Enable this component.</div>
1845 Enable this component.
1856 <dl class="detailList">
1857 <dt class="heading">Returns:</dt>
1859 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1873 <td class="msource">
1875 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1881 <tr class="method-row config-row-alt0 expandable">
1882 <td class="micon"><a class="exi" href="#expand"> </a></td>
1886 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1887 <div class="fixedFont">
1888 <span class="attributes"></span><b class="itemname">fireEvent</b>
1890 (<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>)
1896 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1905 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1911 Fires the specified event with the passed parameters (minus the event name).
1918 <dl class="detailList">
1919 <dt class="heading">Parameters:</dt>
1922 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1928 <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>
1931 <dd>Variable number of parameters are passed to handlers</dd>
1939 <dl class="detailList">
1940 <dt class="heading">Returns:</dt>
1942 <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>
1956 <td class="msource">
1958 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1964 <tr class="method-row config-row-alt1 expandable">
1965 <td class="micon"><a class="exi" href="#expand"> </a></td>
1969 <a id="Roo.Component-method-focus" name=".focus"></a>
1970 <div class="fixedFont">
1971 <span class="attributes"></span><b class="itemname">focus</b>
1973 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
1979 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1988 <div class="short">Try to focus this component.</div>
1994 Try to focus this component.
2001 <dl class="detailList">
2002 <dt class="heading">Parameters:</dt>
2005 <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>
2008 <dd>True to also select the text in this component (if applicable)</dd>
2016 <dl class="detailList">
2017 <dt class="heading">Returns:</dt>
2019 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2033 <td class="msource">
2035 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2041 <tr class="method-row config-row-alt0 expandable">
2042 <td class="micon"><a class="exi" href="#expand"> </a></td>
2046 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2047 <div class="fixedFont">
2048 <span class="attributes"></span><b class="itemname">getEl</b>
2056 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2065 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2071 Returns the underlying {<b>link</b> Roo.Element}.
2082 <dl class="detailList">
2083 <dt class="heading">Returns:</dt>
2085 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2099 <td class="msource">
2101 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2107 <tr class="method-row config-row-alt1 expandable">
2108 <td class="micon"><a class="exi" href="#expand"> </a></td>
2112 <a id="Roo.Component-method-getId" name=".getId"></a>
2113 <div class="fixedFont">
2114 <span class="attributes"></span><b class="itemname">getId</b>
2122 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2131 <div class="short">Returns the id of this component.</div>
2137 Returns the id of this component.
2148 <dl class="detailList">
2149 <dt class="heading">Returns:</dt>
2151 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2165 <td class="msource">
2167 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2173 <tr class="method-row config-row-alt0 expandable">
2174 <td class="micon"><a class="exi" href="#expand"> </a></td>
2178 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2179 <div class="fixedFont">
2180 <span class="attributes"></span><b class="itemname">getName</b>
2197 <div class="short">Returns the name of the field</div>
2203 Returns the name of the field
2214 <dl class="detailList">
2215 <dt class="heading">Returns:</dt>
2217 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
2231 <td class="msource">
2233 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2239 <tr class="method-row config-row-alt1 expandable">
2240 <td class="micon"><a class="exi" href="#expand"> </a></td>
2244 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2245 <div class="fixedFont">
2246 <span class="attributes"></span><b class="itemname">getRawValue</b>
2263 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2269 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>}.
2280 <dl class="detailList">
2281 <dt class="heading">Returns:</dt>
2283 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2297 <td class="msource">
2299 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2305 <tr class="method-row config-row-alt0 expandable">
2306 <td class="micon"><a class="exi" href="#expand"> </a></td>
2310 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2311 <div class="fixedFont">
2312 <span class="attributes"></span><b class="itemname">getValue</b>
2329 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2335 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2346 <dl class="detailList">
2347 <dt class="heading">Returns:</dt>
2349 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2363 <td class="msource">
2365 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2371 <tr class="method-row config-row-alt1 expandable">
2372 <td class="micon"><a class="exi" href="#expand"> </a></td>
2376 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2377 <div class="fixedFont">
2378 <span class="attributes"></span><b class="itemname">hasListener</b>
2380 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2386 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2395 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2401 Checks to see if this object has any listeners for a specified event
2408 <dl class="detailList">
2409 <dt class="heading">Parameters:</dt>
2412 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2415 <dd>The name of the event to check for</dd>
2423 <dl class="detailList">
2424 <dt class="heading">Returns:</dt>
2426 <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>
2440 <td class="msource">
2442 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2448 <tr class="method-row config-row-alt0 expandable">
2449 <td class="micon"><a class="exi" href="#expand"> </a></td>
2453 <a id="Roo.Component-method-hide" name=".hide"></a>
2454 <div class="fixedFont">
2455 <span class="attributes"></span><b class="itemname">hide</b>
2463 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2472 <div class="short">Hide this component.</div>
2478 Hide this component.
2489 <dl class="detailList">
2490 <dt class="heading">Returns:</dt>
2492 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2506 <td class="msource">
2508 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2514 <tr class="method-row config-row-alt1 expandable">
2515 <td class="micon"><a class="exi" href="#expand"> </a></td>
2519 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
2520 <div class="fixedFont">
2521 <span class="attributes"></span><b class="itemname">inputEl</b>
2530 <div class="short">return the real input element.</div>
2536 return the real input element.
2557 <td class="msource">
2559 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2565 <tr class="method-row config-row-alt0 expandable">
2566 <td class="micon"><a class="exi" href="#expand"> </a></td>
2570 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2571 <div class="fixedFont">
2572 <span class="attributes"></span><b class="itemname">isVisible</b>
2581 <div class="short">Returns true if this component is visible.</div>
2587 Returns true if this component is visible.
2608 <td class="msource">
2610 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2616 <tr class="method-row config-row-alt1 expandable">
2617 <td class="micon"><a class="exi" href="#expand"> </a></td>
2621 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
2622 <div class="fixedFont">
2623 <span class="attributes"></span><b class="itemname">markInvalid</b>
2625 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
2632 <div class="short">Mark this field as invalid</div>
2638 Mark this field as invalid
2645 <dl class="detailList">
2646 <dt class="heading">Parameters:</dt>
2649 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
2652 <dd>The validation message</dd>
2670 <td class="msource">
2672 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2678 <tr class="method-row config-row-alt0 expandable">
2679 <td class="micon"><a class="exi" href="#expand"> </a></td>
2683 <a id="Roo.util.Observable-method-on" name=".on"></a>
2684 <div class="fixedFont">
2685 <span class="attributes"></span><b class="itemname">on</b>
2687 (<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>)
2694 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2700 Appends an event handler to this element (shorthand for addListener)
2707 <dl class="detailList">
2708 <dt class="heading">Parameters:</dt>
2711 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2714 <dd>The type of event to listen for</dd>
2717 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2720 <dd>The method the event invokes</dd>
2723 <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>
2726 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2729 <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>
2750 <td class="msource">
2752 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2758 <tr class="method-row config-row-alt1 expandable notInherited">
2759 <td class="micon"><a class="exi" href="#expand"> </a></td>
2763 <a id="Roo.bootstrap.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
2764 <div class="fixedFont">
2765 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
2767 (EventObject <B><i>e</i></B>)
2774 <div class="short">The function that should handle the trigger's click event.</div>
2780 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
2787 <dl class="detailList">
2788 <dt class="heading">Parameters:</dt>
2791 <span class="fixedFont">EventObject</span> <b>e</b>
2812 <td class="msource">
2814 Roo.bootstrap.TriggerField
2820 <tr class="method-row config-row-alt0 expandable">
2821 <td class="micon"><a class="exi" href="#expand"> </a></td>
2825 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2826 <div class="fixedFont">
2827 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2836 <div class="short">Removes all listeners for this object</div>
2842 Removes all listeners for this object
2863 <td class="msource">
2865 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2871 <tr class="method-row config-row-alt1 expandable">
2872 <td class="micon"><a class="exi" href="#expand"> </a></td>
2876 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2877 <div class="fixedFont">
2878 <span class="attributes"></span><b class="itemname">removeListener</b>
2880 (<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>)
2887 <div class="short">Removes a listener</div>
2900 <dl class="detailList">
2901 <dt class="heading">Parameters:</dt>
2904 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2907 <dd>The type of event to listen for</dd>
2910 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2913 <dd>The handler to remove</dd>
2916 <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>
2919 <dd>(optional) The scope (this object) for the handler</dd>
2937 <td class="msource">
2939 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2945 <tr class="method-row config-row-alt0 expandable">
2946 <td class="micon"><a class="exi" href="#expand"> </a></td>
2950 <a id="Roo.Component-method-render" name=".render"></a>
2951 <div class="fixedFont">
2952 <span class="attributes"></span><b class="itemname">render</b>
2954 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
2961 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
2967 If this is a lazy rendering component, render it to its container element.
2974 <dl class="detailList">
2975 <dt class="heading">Parameters:</dt>
2978 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
2981 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
2999 <td class="msource">
3001 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3007 <tr class="method-row config-row-alt1 expandable">
3008 <td class="micon"><a class="exi" href="#expand"> </a></td>
3012 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3013 <div class="fixedFont">
3014 <span class="attributes"></span><b class="itemname">reset</b>
3023 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3029 Resets the current field value to the originally loaded value and clears any validation messages
3050 <td class="msource">
3052 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3058 <tr class="method-row config-row-alt0 expandable">
3059 <td class="micon"><a class="exi" href="#expand"> </a></td>
3063 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3064 <div class="fixedFont">
3065 <span class="attributes"></span><b class="itemname">setDisabled</b>
3067 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3074 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3080 Convenience function for setting disabled/enabled by boolean.
3087 <dl class="detailList">
3088 <dt class="heading">Parameters:</dt>
3091 <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>
3112 <td class="msource">
3114 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3120 <tr class="method-row config-row-alt1 expandable">
3121 <td class="micon"><a class="exi" href="#expand"> </a></td>
3125 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3126 <div class="fixedFont">
3127 <span class="attributes"></span><b class="itemname">setValue</b>
3129 (Mixed <B><i>value</i></B>)
3136 <div class="short">Sets a data value into the field and validates it.</div>
3142 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3149 <dl class="detailList">
3150 <dt class="heading">Parameters:</dt>
3153 <span class="fixedFont">Mixed</span> <b>value</b>
3156 <dd>The value to set</dd>
3174 <td class="msource">
3176 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3182 <tr class="method-row config-row-alt0 expandable">
3183 <td class="micon"><a class="exi" href="#expand"> </a></td>
3187 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3188 <div class="fixedFont">
3189 <span class="attributes"></span><b class="itemname">setVisible</b>
3191 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3197 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3206 <div class="short">Convenience function to hide or show this component by boolean.</div>
3212 Convenience function to hide or show this component by boolean.
3219 <dl class="detailList">
3220 <dt class="heading">Parameters:</dt>
3223 <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>
3226 <dd>True to show, false to hide</dd>
3234 <dl class="detailList">
3235 <dt class="heading">Returns:</dt>
3237 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3251 <td class="msource">
3253 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3259 <tr class="method-row config-row-alt1 expandable">
3260 <td class="micon"><a class="exi" href="#expand"> </a></td>
3264 <a id="Roo.Component-method-show" name=".show"></a>
3265 <div class="fixedFont">
3266 <span class="attributes"></span><b class="itemname">show</b>
3274 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3283 <div class="short">Show this component.</div>
3289 Show this component.
3300 <dl class="detailList">
3301 <dt class="heading">Returns:</dt>
3303 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3317 <td class="msource">
3319 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3325 <tr class="method-row config-row-alt0 expandable">
3326 <td class="micon"><a class="exi" href="#expand"> </a></td>
3330 <a id="Roo.util.Observable-method-un" name=".un"></a>
3331 <div class="fixedFont">
3332 <span class="attributes"></span><b class="itemname">un</b>
3334 (<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>)
3341 <div class="short">Removes a listener (shorthand for removeListener)</div>
3347 Removes a listener (shorthand for removeListener)
3354 <dl class="detailList">
3355 <dt class="heading">Parameters:</dt>
3358 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3361 <dd>The type of event to listen for</dd>
3364 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3367 <dd>The handler to remove</dd>
3370 <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>
3373 <dd>(optional) The scope (this object) for the handler</dd>
3391 <td class="msource">
3393 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3399 <tr class="method-row config-row-alt1 expandable">
3400 <td class="micon"><a class="exi" href="#expand"> </a></td>
3404 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
3405 <div class="fixedFont">
3406 <span class="attributes"></span><b class="itemname">validate</b>
3414 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3423 <div class="short">Validates the field value</div>
3429 Validates the field value
3440 <dl class="detailList">
3441 <dt class="heading">Returns:</dt>
3443 <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>
3457 <td class="msource">
3459 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3465 <tr class="method-row config-row-alt0 expandable">
3466 <td class="micon"><a class="exi" href="#expand"> </a></td>
3470 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
3471 <div class="fixedFont">
3472 <span class="attributes"></span><b class="itemname">validateValue</b>
3474 (Mixed <B><i>value</i></B>)
3480 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3489 <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>
3495 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
3502 <dl class="detailList">
3503 <dt class="heading">Parameters:</dt>
3506 <span class="fixedFont">Mixed</span> <b>value</b>
3509 <dd>The value to validate</dd>
3517 <dl class="detailList">
3518 <dt class="heading">Returns:</dt>
3520 <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>
3534 <td class="msource">
3536 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3545 <!-- ============================== events summary / details ======================== -->
3548 <a id="Roo.bootstrap.TriggerField-events"></a>
3557 <table cellspacing="0" class="member-table">
3558 <caption>Events</caption>
3561 <th class="sig-header" colspan="2">Event</th>
3562 <th class="msource-header">Defined By</th>
3571 <tr class="method-row expandable config-row-alt0">
3572 <td class="micon"><a class="exi" href="#expand"> </a></td>
3575 <a id="Roo.Component-event-*beforedestroy"></a>
3577 <div class="fixedFont">
3578 <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>)
3584 <div class="short">Fires before the component is destroyed.
3590 Fires before the component is destroyed. Return false to stop the destroy.
3596 <dl class="detailList">
3597 <dt class="heading">Parameters:</dt>
3600 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3621 <td class="msource">
3622 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3626 <tr class="method-row expandable config-row-alt1">
3627 <td class="micon"><a class="exi" href="#expand"> </a></td>
3630 <a id="Roo.Component-event-*beforehide"></a>
3632 <div class="fixedFont">
3633 <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>)
3639 <div class="short">Fires before the component is hidden.
3645 Fires before the component is hidden. Return false to stop the hide.
3651 <dl class="detailList">
3652 <dt class="heading">Parameters:</dt>
3655 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3676 <td class="msource">
3677 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3681 <tr class="method-row expandable config-row-alt0">
3682 <td class="micon"><a class="exi" href="#expand"> </a></td>
3685 <a id="Roo.Component-event-*beforerender"></a>
3687 <div class="fixedFont">
3688 <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>)
3694 <div class="short">Fires before the component is rendered.
3700 Fires before the component is rendered. Return false to stop the render.
3706 <dl class="detailList">
3707 <dt class="heading">Parameters:</dt>
3710 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3731 <td class="msource">
3732 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3736 <tr class="method-row expandable config-row-alt1">
3737 <td class="micon"><a class="exi" href="#expand"> </a></td>
3740 <a id="Roo.Component-event-*beforeshow"></a>
3742 <div class="fixedFont">
3743 <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>)
3749 <div class="short">Fires before the component is shown.
3755 Fires before the component is shown. Return false to stop the show.
3761 <dl class="detailList">
3762 <dt class="heading">Parameters:</dt>
3765 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3786 <td class="msource">
3787 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3791 <tr class="method-row expandable config-row-alt0">
3792 <td class="micon"><a class="exi" href="#expand"> </a></td>
3795 <a id="Roo.bootstrap.Input-event-*blur"></a>
3797 <div class="fixedFont">
3798 <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>)
3804 <div class="short">Fires when this field loses input focus.
3810 Fires when this field loses input focus.
3816 <dl class="detailList">
3817 <dt class="heading">Parameters:</dt>
3820 <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>
3841 <td class="msource">
3842 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3846 <tr class="method-row expandable config-row-alt1">
3847 <td class="micon"><a class="exi" href="#expand"> </a></td>
3850 <a id="Roo.bootstrap.Input-event-*change"></a>
3852 <div class="fixedFont">
3853 <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>)
3859 <div class="short">Fires just before the field blurs if the field value has changed.
3865 Fires just before the field blurs if the field value has changed.
3871 <dl class="detailList">
3872 <dt class="heading">Parameters:</dt>
3875 <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>
3881 <span class="fixedFont">Mixed</span> <b>newValue</b>
3884 <dd>The new value</dd>
3887 <span class="fixedFont">Mixed</span> <b>oldValue</b>
3890 <dd>The original value</dd>
3908 <td class="msource">
3909 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3913 <tr class="method-row expandable config-row-alt0">
3914 <td class="micon"><a class="exi" href="#expand"> </a></td>
3917 <a id="Roo.Component-event-*destroy"></a>
3919 <div class="fixedFont">
3920 <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>)
3926 <div class="short">Fires after the component is destroyed.
3932 Fires after the component is destroyed.
3938 <dl class="detailList">
3939 <dt class="heading">Parameters:</dt>
3942 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3963 <td class="msource">
3964 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3968 <tr class="method-row expandable config-row-alt1">
3969 <td class="micon"><a class="exi" href="#expand"> </a></td>
3972 <a id="Roo.Component-event-*disable"></a>
3974 <div class="fixedFont">
3975 <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>)
3981 <div class="short">Fires after the component is disabled.
3987 Fires after the component is disabled.
3993 <dl class="detailList">
3994 <dt class="heading">Parameters:</dt>
3997 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4018 <td class="msource">
4019 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4023 <tr class="method-row expandable config-row-alt0">
4024 <td class="micon"><a class="exi" href="#expand"> </a></td>
4027 <a id="Roo.Component-event-*enable"></a>
4029 <div class="fixedFont">
4030 <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>)
4036 <div class="short">Fires after the component is enabled.
4042 Fires after the component is enabled.
4048 <dl class="detailList">
4049 <dt class="heading">Parameters:</dt>
4052 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4073 <td class="msource">
4074 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4078 <tr class="method-row expandable config-row-alt1">
4079 <td class="micon"><a class="exi" href="#expand"> </a></td>
4082 <a id="Roo.bootstrap.Input-event-*focus"></a>
4084 <div class="fixedFont">
4085 <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>)
4091 <div class="short">Fires when this field receives input focus.
4097 Fires when this field receives input focus.
4103 <dl class="detailList">
4104 <dt class="heading">Parameters:</dt>
4107 <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>
4128 <td class="msource">
4129 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4133 <tr class="method-row expandable config-row-alt0">
4134 <td class="micon"><a class="exi" href="#expand"> </a></td>
4137 <a id="Roo.Component-event-*hide"></a>
4139 <div class="fixedFont">
4140 <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>)
4146 <div class="short">Fires after the component is hidden.
4152 Fires after the component is hidden.
4158 <dl class="detailList">
4159 <dt class="heading">Parameters:</dt>
4162 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4183 <td class="msource">
4184 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4188 <tr class="method-row expandable config-row-alt1">
4189 <td class="micon"><a class="exi" href="#expand"> </a></td>
4192 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4194 <div class="fixedFont">
4195 <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>)
4201 <div class="short">Fires after the field has been marked as invalid.
4207 Fires after the field has been marked as invalid.
4213 <dl class="detailList">
4214 <dt class="heading">Parameters:</dt>
4217 <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>
4223 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4226 <dd>The validation message</dd>
4244 <td class="msource">
4245 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4249 <tr class="method-row expandable config-row-alt0">
4250 <td class="micon"><a class="exi" href="#expand"> </a></td>
4253 <a id="Roo.bootstrap.Input-event-*keyup"></a>
4255 <div class="fixedFont">
4256 <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>)
4262 <div class="short">Fires after the key up
4268 Fires after the key up
4274 <dl class="detailList">
4275 <dt class="heading">Parameters:</dt>
4278 <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>
4284 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4287 <dd>The event Object</dd>
4305 <td class="msource">
4306 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4310 <tr class="method-row expandable config-row-alt1">
4311 <td class="micon"><a class="exi" href="#expand"> </a></td>
4314 <a id="Roo.Component-event-*render"></a>
4316 <div class="fixedFont">
4317 <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>)
4323 <div class="short">Fires after the component is rendered.
4329 Fires after the component is rendered.
4335 <dl class="detailList">
4336 <dt class="heading">Parameters:</dt>
4339 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4360 <td class="msource">
4361 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4365 <tr class="method-row expandable config-row-alt0">
4366 <td class="micon"><a class="exi" href="#expand"> </a></td>
4369 <a id="Roo.Component-event-*show"></a>
4371 <div class="fixedFont">
4372 <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>)
4378 <div class="short">Fires after the component is shown.
4384 Fires after the component is shown.
4390 <dl class="detailList">
4391 <dt class="heading">Parameters:</dt>
4394 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4415 <td class="msource">
4416 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4420 <tr class="method-row expandable config-row-alt1">
4421 <td class="micon"><a class="exi" href="#expand"> </a></td>
4424 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
4426 <div class="fixedFont">
4427 <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>)
4433 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
4439 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.
4445 <dl class="detailList">
4446 <dt class="heading">Parameters:</dt>
4449 <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>
4455 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4458 <dd>The event object</dd>
4476 <td class="msource">
4477 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4481 <tr class="method-row expandable config-row-alt0">
4482 <td class="micon"><a class="exi" href="#expand"> </a></td>
4485 <a id="Roo.bootstrap.Input-event-*valid"></a>
4487 <div class="fixedFont">
4488 <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>)
4494 <div class="short">Fires after the field has been validated with no errors.
4500 Fires after the field has been validated with no errors.
4506 <dl class="detailList">
4507 <dt class="heading">Parameters:</dt>
4510 <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>
4531 <td class="msource">
4532 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4543 <!-- ============================== footer ================================= -->
4544 <div class="fineprint" style="clear:both">
4546 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Feb 25 2014 20:05:06 GMT+0800 (HKT)
4548 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>