1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.bootstrap.TriggerField</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.bootstrap.TriggerField-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.bootstrap.TriggerField-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.bootstrap.TriggerField-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.bootstrap.TriggerField-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
50 <img src="../../images/default/s.gif" height="1" width="80"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.bootstrap.TriggerField
55 <!-- ============================== class title / details ============================ -->
58 <h1 class="classTitle">
60 Class Roo.bootstrap.TriggerField
63 <table cellspacing="0" class="class-summary-table">
65 <tr><td class="label">Package:</td><td class="hd-info">Roo.bootstrap</td></tr>
67 <tr><td class="label">Defined In:</td><td class="hd-info">
69 <a href="./src/Roo_bootstrap_TriggerField.js.html">Roo/bootstrap/TriggerField.js</a>.
72 <tr><td class="label">Class:</td><td class="hd-info">TriggerField</td></tr>
75 <tr><td class="label">Subclasses:</td><td class="hd-info">
76 <a href="./Roo.bootstrap.ComboBox.html#constructor" roo:cls="Roo.bootstrap.ComboBox.html#constructor">Roo.bootstrap.ComboBox</a>
84 <tr><td class="label">Extends:</td><td class="hd-info">
85 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
93 <!-- ============================== class summary ========================== -->
94 <div class="description">
95 Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).<br/>The trigger has no default action, so you must assign a function to implement the trigger click handler by<br/>overriding {<b>link</b> <b>onTriggerClick</b>}. You can create a TriggerField directly, as it renders exactly like a combobox<br/>for which you can provide a custom implementation. For example:<br/><pre><code><br/>var trigger = new Roo.bootstrap.TriggerField();<br/>trigger.onTriggerClick = myTriggerFn;<br/>trigger.applyTo('my-field');<br/></code></pre><br/><br/>However, in general you will most likely want to use TriggerField as the base class for a reusable component.<br/>{<b>link</b> Roo.bootstrap.DateField} and {<b>link</b> Roo.bootstrap.ComboBox} are perfect examples of this.
99 <!-- ============================== Class comment block... ========================== -->
101 <div class="comments">
102 <b>Class Comments / Notes</B> =>
103 <u onclick="parent.CommentDialog.showCommentId = 'Roo.bootstrap.TriggerField';">[Add Your comment/notes about this class]</u>
105 <iframe frameborder="0" id="comments-Roo.bootstrap" style="border: none;width:100%;"
106 src="/blog.php/GtkDjsComments/Roo.bootstrap.TriggerField.html"></iframe>
111 <!-- ============================== config options ========================== -->
116 <div class="hr"></div>
117 <a id="Roo.bootstrap.TriggerField-configs"></a>
123 <table cellspacing="0" class="member-table">
124 <caption>Config Options (Usually are also Properties)</caption>
128 <th class="sig-header" colspan="2">Options</th>
130 <th class="msource-header">Defined By</th>
137 <tr class="config-row expandable config-row-alt0">
138 <td class="micon"><a class="exi" href="#expand"> </a></td>
141 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
142 <div class="fixedFont">
143 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
149 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
153 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
161 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
167 <tr class="config-row expandable config-row-alt1">
168 <td class="micon"><a class="exi" href="#expand"> </a></td>
171 <a id="Roo.bootstrap.Input-cfg-after" name=".after"></a>
172 <div class="fixedFont">
173 <b class="itemname">after</b> : string
179 <div class="short">- input group add on after</div>
183 <div class="long">- input group add on after</div>
191 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
197 <tr class="config-row expandable config-row-alt0">
198 <td class="micon"><a class="exi" href="#expand"> </a></td>
201 <a id="Roo.bootstrap.Input-cfg-allowBlank" name=".allowBlank"></a>
202 <div class="fixedFont">
203 <b class="itemname">allowBlank</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
209 <div class="short">False to validate that the value length > 0 (defaults to true)</div>
213 <div class="long">False to validate that the value length > 0 (defaults to true)</div>
221 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
227 <tr class="config-row expandable config-row-alt1">
228 <td class="micon"><a class="exi" href="#expand"> </a></td>
231 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
232 <div class="fixedFont">
233 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
239 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
243 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
251 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
257 <tr class="config-row expandable config-row-alt0">
258 <td class="micon"><a class="exi" href="#expand"> </a></td>
261 <a id="Roo.bootstrap.Input-cfg-before" name=".before"></a>
262 <div class="fixedFont">
263 <b class="itemname">before</b> : string
269 <div class="short">- input group add on before</div>
273 <div class="long">- input group add on before</div>
281 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
287 <tr class="config-row expandable config-row-alt1">
288 <td class="micon"><a class="exi" href="#expand"> </a></td>
291 <a id="Roo.bootstrap.Input-cfg-blankText" name=".blankText"></a>
292 <div class="fixedFont">
293 <b class="itemname">blankText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
299 <div class="short">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
303 <div class="long">Error text to display if the allow blank validation fails (defaults to "This field is required")</div>
311 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
317 <tr class="config-row expandable config-row-alt0">
318 <td class="micon"><a class="exi" href="#expand"> </a></td>
321 <a id="Roo.bootstrap.Component-cfg-can_build_overlaid" name=".can_build_overlaid"></a>
322 <div class="fixedFont">
323 <b class="itemname">can_build_overlaid</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
329 <div class="short">True if element can be rebuild from a HTML page</div>
333 <div class="long">True if element can be rebuild from a HTML page</div>
341 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
347 <tr class="config-row expandable config-row-alt1">
348 <td class="micon"><a class="exi" href="#expand"> </a></td>
351 <a id="Roo.bootstrap.Component-cfg-cls" name=".cls"></a>
352 <div class="fixedFont">
353 <b class="itemname">cls</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
359 <div class="short">css class</div>
363 <div class="long">css class</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-dataId" name=".dataId"></a>
382 <div class="fixedFont">
383 <b class="itemname">dataId</b> : string
389 <div class="short">cutomer id</div>
393 <div class="long">cutomer id</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.Component-cfg-disableClass" name=".disableClass"></a>
412 <div class="fixedFont">
413 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
419 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
423 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
431 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.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.bootstrap.Input-cfg-disableKeyFilter" name=".disableKeyFilter"></a>
442 <div class="fixedFont">
443 <b class="itemname">disableKeyFilter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
449 <div class="short">True to disable input keystroke filtering (defaults to false)</div>
453 <div class="long">True to disable input keystroke filtering (defaults to false)</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-disabled" name=".disabled"></a>
472 <div class="fixedFont">
473 <b class="itemname">disabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
479 <div class="short">is it disabled</div>
483 <div class="long">is it disabled</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-fieldLabel" name=".fieldLabel"></a>
502 <div class="fixedFont">
503 <b class="itemname">fieldLabel</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
509 <div class="short">- the label associated</div>
513 <div class="long">- the label associated</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-focusClass" name=".focusClass"></a>
532 <div class="fixedFont">
533 <b class="itemname">focusClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
539 <div class="short">The CSS class to use when the field receives focus (defaults to "x-form-focus")</div>
543 <div class="long">The CSS class to use when the field receives focus (defaults to "x-form-focus")</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.Component-cfg-hideMode" name=".hideMode"></a>
562 <div class="fixedFont">
563 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
569 <div class="short">How this component should hidden.</div>
573 <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>
581 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
587 <tr class="config-row expandable config-row-alt1 notInherited">
588 <td class="micon"><a class="exi" href="#expand"> </a></td>
591 <a id="Roo.bootstrap.TriggerField-cfg-hideTrigger" name=".hideTrigger"></a>
592 <div class="fixedFont">
593 <b class="itemname">hideTrigger</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
599 <div class="short">True to hide the trigger element and display only the base text field (defaults to false)</div>
603 <div class="long">True to hide the trigger element and display only the base text field (defaults to false)</div>
611 Roo.bootstrap.TriggerField
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-inputType" name=".inputType"></a>
622 <div class="fixedFont">
623 <b class="itemname">inputType</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
629 <div class="short">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</div>
633 <div class="long">button | checkbox | email | file | hidden | image | number | password | radio | range | reset | search | submit | text</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.bootstrap.Input-cfg-invalidClass" name=".invalidClass"></a>
652 <div class="fixedFont">
653 <b class="itemname">invalidClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
659 <div class="short">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</div>
663 <div class="long">The CSS class to use when marking a field invalid (defaults to "x-form-invalid")</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-labelWidth" name=".labelWidth"></a>
682 <div class="fixedFont">
683 <b class="itemname">labelWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
689 <div class="short">set the width of label (0-12)</div>
693 <div class="long">set the width of label (0-12)</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-lg" name=".lg"></a>
712 <div class="fixedFont">
713 <b class="itemname">lg</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
719 <div class="short">colspan out of 12 for large computer-sized screens</div>
723 <div class="long">colspan out of 12 for large computer-sized screens</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.util.Observable-cfg-listeners" name=".listeners"></a>
742 <div class="fixedFont">
743 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
749 <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>
753 <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>
761 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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-maskRe" name=".maskRe"></a>
772 <div class="fixedFont">
773 <b class="itemname">maskRe</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
779 <div class="short">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</div>
783 <div class="long">An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)</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-maxLength" name=".maxLength"></a>
802 <div class="fixedFont">
803 <b class="itemname">maxLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
809 <div class="short">Maximum input field length allowed (defaults to Number.MAX_VALUE)</div>
813 <div class="long">Maximum input field length allowed (defaults to Number.MAX_VALUE)</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-maxLengthText" name=".maxLengthText"></a>
832 <div class="fixedFont">
833 <b class="itemname">maxLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
839 <div class="short">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</div>
843 <div class="long">Error text to display if the maximum length validation fails (defaults to "The maximum length for this field is {maxLength}")</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-md" name=".md"></a>
862 <div class="fixedFont">
863 <b class="itemname">md</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
869 <div class="short">colspan out of 12 for computer-sized screens</div>
873 <div class="long">colspan out of 12 for computer-sized screens</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-minLength" name=".minLength"></a>
892 <div class="fixedFont">
893 <b class="itemname">minLength</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
899 <div class="short">Minimum input field length required (defaults to 0)</div>
903 <div class="long">Minimum input field length required (defaults to 0)</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-minLengthText" name=".minLengthText"></a>
922 <div class="fixedFont">
923 <b class="itemname">minLengthText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
929 <div class="short">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</div>
933 <div class="long">Error text to display if the minimum length validation fails (defaults to "The minimum length for this field is {minLength}")</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-name" name=".name"></a>
952 <div class="fixedFont">
953 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
959 <div class="short">name of the input</div>
963 <div class="long">name of the input</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-placeholder" name=".placeholder"></a>
982 <div class="fixedFont">
983 <b class="itemname">placeholder</b> : string
989 <div class="short">- placeholder to put in text.</div>
993 <div class="long">- placeholder to put in text.</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-regex" name=".regex"></a>
1012 <div class="fixedFont">
1013 <b class="itemname">regex</b> : RegExp
1019 <div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null).</div>
1023 <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>
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-regexText" name=".regexText"></a>
1042 <div class="fixedFont">
1043 <b class="itemname">regexText</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1049 <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>
1053 <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>
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-selectOnFocus" name=".selectOnFocus"></a>
1072 <div class="fixedFont">
1073 <b class="itemname">selectOnFocus</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1079 <div class="short">True to automatically select any existing field text when the field receives input focus (defaults to false)</div>
1083 <div class="long">True to automatically select any existing field text when the field receives input focus (defaults to false)</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-size" name=".size"></a>
1102 <div class="fixedFont">
1103 <b class="itemname">size</b> : string
1109 <div class="short">- (lg|sm) or leave empty.</div>
1113 <div class="long">- (lg|sm) or leave empty..</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-sm" name=".sm"></a>
1132 <div class="fixedFont">
1133 <b class="itemname">sm</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1139 <div class="short">colspan out of 12 for tablet-sized screens</div>
1143 <div class="long">colspan out of 12 for tablet-sized screens</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.Component-cfg-style" name=".style"></a>
1162 <div class="fixedFont">
1163 <b class="itemname">style</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1169 <div class="short">any extra css</div>
1173 <div class="long">any extra css</div>
1179 <td class="msource">
1181 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</a>
1187 <tr class="config-row expandable config-row-alt1 notInherited">
1188 <td class="micon"><a class="exi" href="#expand"> </a></td>
1191 <a id="Roo.bootstrap.TriggerField-cfg-triggerClass" name=".triggerClass"></a>
1192 <div class="fixedFont">
1193 <b class="itemname">triggerClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1199 <div class="short">An additional CSS class used to style the trigger button.</div>
1203 <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>
1209 <td class="msource">
1211 Roo.bootstrap.TriggerField
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-validateOnBlur" name=".validateOnBlur"></a>
1222 <div class="fixedFont">
1223 <b class="itemname">validateOnBlur</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1229 <div class="short">Whether the field should validate when it loses focus (defaults to true).</div>
1233 <div class="long">Whether the field should validate when it loses focus (defaults to true).</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-validationDelay" name=".validationDelay"></a>
1252 <div class="fixedFont">
1253 <b class="itemname">validationDelay</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1259 <div class="short">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</div>
1263 <div class="long">The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)</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.Input-cfg-validationEvent" name=".validationEvent"></a>
1282 <div class="fixedFont">
1283 <b class="itemname">validationEvent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Boolean
1289 <div class="short">The event that should initiate field validation.</div>
1293 <div class="long">The event that should initiate field validation. Set to false to disable<br/> automatic validation (defaults to "keyup").</div>
1299 <td class="msource">
1301 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1307 <tr class="config-row expandable config-row-alt1">
1308 <td class="micon"><a class="exi" href="#expand"> </a></td>
1311 <a id="Roo.bootstrap.Input-cfg-validator" name=".validator"></a>
1312 <div class="fixedFont">
1313 <b class="itemname">validator</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>
1319 <div class="short">A custom validation function to be called during field validation (defaults to null).</div>
1323 <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>
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-value" name=".value"></a>
1342 <div class="fixedFont">
1343 <b class="itemname">value</b> : string
1349 <div class="short">default value of the input</div>
1353 <div class="long">default value of the input</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-vtype" name=".vtype"></a>
1372 <div class="fixedFont">
1373 <b class="itemname">vtype</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1379 <div class="short">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</div>
1383 <div class="long">A validation type name as defined in {<b>link</b> Roo.form.VTypes} (defaults to null)</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.Component-cfg-xattr" name=".xattr"></a>
1402 <div class="fixedFont">
1403 <b class="itemname">xattr</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1409 <div class="short">extra attributes to add to 'element' (used by builder to store stuff.</div>
1413 <div class="long">extra attributes to add to 'element' (used by builder to store stuff.)</div>
1419 <td class="msource">
1421 <a href="./Roo.bootstrap.Component.html#constructor" roo:cls="Roo.bootstrap.Component.html#constructor">Roo.bootstrap.Component</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-xs" name=".xs"></a>
1432 <div class="fixedFont">
1433 <b class="itemname">xs</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
1439 <div class="short">colspan out of 12 for mobile-sized screens</div>
1443 <div class="long">colspan out of 12 for mobile-sized screens</div>
1449 <td class="msource">
1451 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1467 <!-- ============================== public properties ==================== -->
1471 <a id="Roo.bootstrap.TriggerField-props"></a>
1477 <table cellspacing="0" class="member-table">
1478 <caption class="Empty">Public Properties - Has None</caption>
1484 <!-- ============================== methods summary / details ======================== -->
1487 <a id="Roo.bootstrap.TriggerField-methods"></a>
1488 <!-- constructor?? -->
1495 <!-- then dynamics first -->
1502 <table cellspacing="0" class="member-table">
1503 <caption>Public Methods</caption>
1505 <th class="sig-header" colspan="2">Method</th>
1506 <th class="msource-header">Defined By</th>
1516 <tr class="method-row config-row-alt0 expandable notInherited">
1517 <td class="micon"><a class="exi" href="#expand"> </a></td>
1521 <a id="Roo.bootstrap-method-TriggerField" name=".TriggerField"></a>
1522 <div class="fixedFont">
1523 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">TriggerField</b>
1525 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1533 <div class="short">Create a new Roo.bootstrap.TriggerField</div>
1540 Create a new Roo.bootstrap.TriggerField
1543 <dl class="detailList">
1544 <dt class="heading">Parameters:</dt>
1547 <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>
1550 <dd>Configuration options (valid {<b>Roo</b>.bootstrap.Input} config options will also be applied<br/>to the base TextField)</dd>
1568 <td class="msource">
1574 <tr class="method-row config-row-alt1 expandable">
1575 <td class="micon"><a class="exi" href="#expand"> </a></td>
1579 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1580 <div class="fixedFont">
1581 <span class="attributes"></span><b class="itemname">addEvents</b>
1583 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1590 <div class="short">Used to define events on this Observable</div>
1596 Used to define events on this Observable
1603 <dl class="detailList">
1604 <dt class="heading">Parameters:</dt>
1607 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
1610 <dd>The object with the events defined</dd>
1628 <td class="msource">
1630 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1636 <tr class="method-row config-row-alt0 expandable">
1637 <td class="micon"><a class="exi" href="#expand"> </a></td>
1641 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1642 <div class="fixedFont">
1643 <span class="attributes"></span><b class="itemname">addListener</b>
1645 (<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>)
1652 <div class="short">Appends an event handler to this component</div>
1658 Appends an event handler to this component
1665 <dl class="detailList">
1666 <dt class="heading">Parameters:</dt>
1669 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1672 <dd>The type of event to listen for</dd>
1675 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1678 <dd>The method the event invokes</dd>
1681 <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>
1684 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1687 <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>
1690 <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>
1708 <td class="msource">
1710 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1716 <tr class="method-row config-row-alt1 expandable notInherited">
1717 <td class="micon"><a class="exi" href="#expand"> </a></td>
1721 <a id="Roo.bootstrap.TriggerField-method-autoSize" name=".autoSize"></a>
1722 <div class="fixedFont">
1723 <span class="attributes"></span><b class="itemname">autoSize</b>
1732 <div class="short"></div>
1759 <td class="msource">
1761 Roo.bootstrap.TriggerField
1767 <tr class="method-row config-row-alt0 expandable">
1768 <td class="micon"><a class="exi" href="#expand"> </a></td>
1772 <a id="Roo.bootstrap.Input-method-clearInvalid" name=".clearInvalid"></a>
1773 <div class="fixedFont">
1774 <span class="attributes"></span><b class="itemname">clearInvalid</b>
1783 <div class="short">Clear any invalid styles/messages for this field</div>
1789 Clear any invalid styles/messages for this field
1810 <td class="msource">
1812 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
1818 <tr class="method-row config-row-alt1 expandable">
1819 <td class="micon"><a class="exi" href="#expand"> </a></td>
1823 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1824 <div class="fixedFont">
1825 <span class="attributes"></span><b class="itemname">destroy</b>
1834 <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>
1840 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}.
1861 <td class="msource">
1863 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1869 <tr class="method-row config-row-alt0 expandable">
1870 <td class="micon"><a class="exi" href="#expand"> </a></td>
1874 <a id="Roo.Component-method-disable" name=".disable"></a>
1875 <div class="fixedFont">
1876 <span class="attributes"></span><b class="itemname">disable</b>
1884 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1893 <div class="short">Disable this component.</div>
1899 Disable this component.
1910 <dl class="detailList">
1911 <dt class="heading">Returns:</dt>
1913 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1927 <td class="msource">
1929 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1935 <tr class="method-row config-row-alt1 expandable">
1936 <td class="micon"><a class="exi" href="#expand"> </a></td>
1940 <a id="Roo.Component-method-enable" name=".enable"></a>
1941 <div class="fixedFont">
1942 <span class="attributes"></span><b class="itemname">enable</b>
1950 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1959 <div class="short">Enable this component.</div>
1965 Enable this component.
1976 <dl class="detailList">
1977 <dt class="heading">Returns:</dt>
1979 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1993 <td class="msource">
1995 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2001 <tr class="method-row config-row-alt0 expandable">
2002 <td class="micon"><a class="exi" href="#expand"> </a></td>
2006 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
2007 <div class="fixedFont">
2008 <span class="attributes"></span><b class="itemname">fireEvent</b>
2010 (<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>)
2016 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2025 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
2031 Fires the specified event with the passed parameters (minus the event name).
2038 <dl class="detailList">
2039 <dt class="heading">Parameters:</dt>
2042 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2048 <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>
2051 <dd>Variable number of parameters are passed to handlers</dd>
2059 <dl class="detailList">
2060 <dt class="heading">Returns:</dt>
2062 <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>
2076 <td class="msource">
2078 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2084 <tr class="method-row config-row-alt1 expandable">
2085 <td class="micon"><a class="exi" href="#expand"> </a></td>
2089 <a id="Roo.Component-method-focus" name=".focus"></a>
2090 <div class="fixedFont">
2091 <span class="attributes"></span><b class="itemname">focus</b>
2093 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
2099 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2108 <div class="short">Try to focus this component.</div>
2114 Try to focus this component.
2121 <dl class="detailList">
2122 <dt class="heading">Parameters:</dt>
2125 <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>
2128 <dd>True to also select the text in this component (if applicable)</dd>
2136 <dl class="detailList">
2137 <dt class="heading">Returns:</dt>
2139 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2153 <td class="msource">
2155 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2161 <tr class="method-row config-row-alt0 expandable">
2162 <td class="micon"><a class="exi" href="#expand"> </a></td>
2166 <a id="Roo.Component-method-getEl" name=".getEl"></a>
2167 <div class="fixedFont">
2168 <span class="attributes"></span><b class="itemname">getEl</b>
2176 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
2185 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
2191 Returns the underlying {<b>link</b> Roo.Element}.
2202 <dl class="detailList">
2203 <dt class="heading">Returns:</dt>
2205 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
2219 <td class="msource">
2221 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2227 <tr class="method-row config-row-alt1 expandable">
2228 <td class="micon"><a class="exi" href="#expand"> </a></td>
2232 <a id="Roo.Component-method-getId" name=".getId"></a>
2233 <div class="fixedFont">
2234 <span class="attributes"></span><b class="itemname">getId</b>
2242 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
2251 <div class="short">Returns the id of this component.</div>
2257 Returns the id of this component.
2268 <dl class="detailList">
2269 <dt class="heading">Returns:</dt>
2271 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
2285 <td class="msource">
2287 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2293 <tr class="method-row config-row-alt0 expandable">
2294 <td class="micon"><a class="exi" href="#expand"> </a></td>
2298 <a id="Roo.bootstrap.Input-method-getName" name=".getName"></a>
2299 <div class="fixedFont">
2300 <span class="attributes"></span><b class="itemname">getName</b>
2317 <div class="short">Returns the name of the field</div>
2323 Returns the name of the field
2334 <dl class="detailList">
2335 <dt class="heading">Returns:</dt>
2337 <dd><span class="fixedFont">Mixed</span> name The name field</dd>
2351 <td class="msource">
2353 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2359 <tr class="method-row config-row-alt1 expandable">
2360 <td class="micon"><a class="exi" href="#expand"> </a></td>
2364 <a id="Roo.bootstrap.Input-method-getRawValue" name=".getRawValue"></a>
2365 <div class="fixedFont">
2366 <span class="attributes"></span><b class="itemname">getRawValue</b>
2383 <div class="short">Returns the raw data value which may or may not be a valid, defined value.</div>
2389 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>}.
2400 <dl class="detailList">
2401 <dt class="heading">Returns:</dt>
2403 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2417 <td class="msource">
2419 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2425 <tr class="method-row config-row-alt0 expandable">
2426 <td class="micon"><a class="exi" href="#expand"> </a></td>
2430 <a id="Roo.bootstrap.Input-method-getValue" name=".getValue"></a>
2431 <div class="fixedFont">
2432 <span class="attributes"></span><b class="itemname">getValue</b>
2449 <div class="short">Returns the normalized data value (undefined or emptyText will be returned as '').</div>
2455 Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {<b>link</b> <b>getRawValue</b>}.
2466 <dl class="detailList">
2467 <dt class="heading">Returns:</dt>
2469 <dd><span class="fixedFont">Mixed</span> value The field value</dd>
2483 <td class="msource">
2485 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2491 <tr class="method-row config-row-alt1 expandable">
2492 <td class="micon"><a class="exi" href="#expand"> </a></td>
2496 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
2497 <div class="fixedFont">
2498 <span class="attributes"></span><b class="itemname">hasListener</b>
2500 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
2506 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
2515 <div class="short">Checks to see if this object has any listeners for a specified event</div>
2521 Checks to see if this object has any listeners for a specified event
2528 <dl class="detailList">
2529 <dt class="heading">Parameters:</dt>
2532 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2535 <dd>The name of the event to check for</dd>
2543 <dl class="detailList">
2544 <dt class="heading">Returns:</dt>
2546 <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>
2560 <td class="msource">
2562 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2568 <tr class="method-row config-row-alt0 expandable">
2569 <td class="micon"><a class="exi" href="#expand"> </a></td>
2573 <a id="Roo.Component-method-hide" name=".hide"></a>
2574 <div class="fixedFont">
2575 <span class="attributes"></span><b class="itemname">hide</b>
2583 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2592 <div class="short">Hide this component.</div>
2598 Hide this component.
2609 <dl class="detailList">
2610 <dt class="heading">Returns:</dt>
2612 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2626 <td class="msource">
2628 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2634 <tr class="method-row config-row-alt1 expandable">
2635 <td class="micon"><a class="exi" href="#expand"> </a></td>
2639 <a id="Roo.bootstrap.Input-method-inputEl" name=".inputEl"></a>
2640 <div class="fixedFont">
2641 <span class="attributes"></span><b class="itemname">inputEl</b>
2650 <div class="short">return the real input element.</div>
2656 return the real input element.
2677 <td class="msource">
2679 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2685 <tr class="method-row config-row-alt0 expandable">
2686 <td class="micon"><a class="exi" href="#expand"> </a></td>
2690 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
2691 <div class="fixedFont">
2692 <span class="attributes"></span><b class="itemname">isVisible</b>
2701 <div class="short">Returns true if this component is visible.</div>
2707 Returns true if this component is visible.
2728 <td class="msource">
2730 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2736 <tr class="method-row config-row-alt1 expandable">
2737 <td class="micon"><a class="exi" href="#expand"> </a></td>
2741 <a id="Roo.bootstrap.Input-method-markInvalid" name=".markInvalid"></a>
2742 <div class="fixedFont">
2743 <span class="attributes"></span><b class="itemname">markInvalid</b>
2745 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>msg</i></B>)
2752 <div class="short">Mark this field as invalid</div>
2758 Mark this field as invalid
2765 <dl class="detailList">
2766 <dt class="heading">Parameters:</dt>
2769 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
2772 <dd>The validation message</dd>
2790 <td class="msource">
2792 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
2798 <tr class="method-row config-row-alt0 expandable">
2799 <td class="micon"><a class="exi" href="#expand"> </a></td>
2803 <a id="Roo.util.Observable-method-on" name=".on"></a>
2804 <div class="fixedFont">
2805 <span class="attributes"></span><b class="itemname">on</b>
2807 (<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>)
2814 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
2820 Appends an event handler to this element (shorthand for addListener)
2827 <dl class="detailList">
2828 <dt class="heading">Parameters:</dt>
2831 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2834 <dd>The type of event to listen for</dd>
2837 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2840 <dd>The method the event invokes</dd>
2843 <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>
2846 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
2849 <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>
2870 <td class="msource">
2872 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2878 <tr class="method-row config-row-alt1 expandable notInherited">
2879 <td class="micon"><a class="exi" href="#expand"> </a></td>
2883 <a id="Roo.bootstrap.TriggerField-method-onTriggerClick" name=".onTriggerClick"></a>
2884 <div class="fixedFont">
2885 <span class="attributes"></span><b class="itemname">onTriggerClick</b>
2887 (EventObject <B><i>e</i></B>)
2894 <div class="short">The function that should handle the trigger's click event.</div>
2900 The function that should handle the trigger's click event. This method does nothing by default until overridden<br/>by an implementing function.
2907 <dl class="detailList">
2908 <dt class="heading">Parameters:</dt>
2911 <span class="fixedFont">EventObject</span> <b>e</b>
2932 <td class="msource">
2934 Roo.bootstrap.TriggerField
2940 <tr class="method-row config-row-alt0 expandable">
2941 <td class="micon"><a class="exi" href="#expand"> </a></td>
2945 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
2946 <div class="fixedFont">
2947 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2956 <div class="short">Removes all listeners for this object</div>
2962 Removes all listeners for this object
2983 <td class="msource">
2985 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2991 <tr class="method-row config-row-alt1 expandable">
2992 <td class="micon"><a class="exi" href="#expand"> </a></td>
2996 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2997 <div class="fixedFont">
2998 <span class="attributes"></span><b class="itemname">removeListener</b>
3000 (<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>)
3007 <div class="short">Removes a listener</div>
3020 <dl class="detailList">
3021 <dt class="heading">Parameters:</dt>
3024 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3027 <dd>The type of event to listen for</dd>
3030 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3033 <dd>The handler to remove</dd>
3036 <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>
3039 <dd>(optional) The scope (this object) for the handler</dd>
3057 <td class="msource">
3059 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3065 <tr class="method-row config-row-alt0 expandable">
3066 <td class="micon"><a class="exi" href="#expand"> </a></td>
3070 <a id="Roo.Component-method-render" name=".render"></a>
3071 <div class="fixedFont">
3072 <span class="attributes"></span><b class="itemname">render</b>
3074 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
3081 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
3087 If this is a lazy rendering component, render it to its container element.
3094 <dl class="detailList">
3095 <dt class="heading">Parameters:</dt>
3098 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
3101 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
3119 <td class="msource">
3121 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3127 <tr class="method-row config-row-alt1 expandable">
3128 <td class="micon"><a class="exi" href="#expand"> </a></td>
3132 <a id="Roo.bootstrap.Input-method-reset" name=".reset"></a>
3133 <div class="fixedFont">
3134 <span class="attributes"></span><b class="itemname">reset</b>
3143 <div class="short">Resets the current field value to the originally loaded value and clears any validation messages</div>
3149 Resets the current field value to the originally loaded value and clears any validation messages
3170 <td class="msource">
3172 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3178 <tr class="method-row config-row-alt0 expandable">
3179 <td class="micon"><a class="exi" href="#expand"> </a></td>
3183 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
3184 <div class="fixedFont">
3185 <span class="attributes"></span><b class="itemname">setDisabled</b>
3187 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
3194 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
3200 Convenience function for setting disabled/enabled by boolean.
3207 <dl class="detailList">
3208 <dt class="heading">Parameters:</dt>
3211 <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>
3232 <td class="msource">
3234 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3240 <tr class="method-row config-row-alt1 expandable">
3241 <td class="micon"><a class="exi" href="#expand"> </a></td>
3245 <a id="Roo.bootstrap.Input-method-setRawValue" name=".setRawValue"></a>
3246 <div class="fixedFont">
3247 <span class="attributes"></span><b class="itemname">setRawValue</b>
3249 (Mixed <B><i>value</i></B>)
3256 <div class="short">Sets the underlying DOM field's value directly, bypassing validation.</div>
3262 Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {<b>link</b> <b>setValue</b>}.
3269 <dl class="detailList">
3270 <dt class="heading">Parameters:</dt>
3273 <span class="fixedFont">Mixed</span> <b>value</b>
3276 <dd>The value to set</dd>
3294 <td class="msource">
3296 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3302 <tr class="method-row config-row-alt0 expandable">
3303 <td class="micon"><a class="exi" href="#expand"> </a></td>
3307 <a id="Roo.bootstrap.Input-method-setValue" name=".setValue"></a>
3308 <div class="fixedFont">
3309 <span class="attributes"></span><b class="itemname">setValue</b>
3311 (Mixed <B><i>value</i></B>)
3318 <div class="short">Sets a data value into the field and validates it.</div>
3324 Sets a data value into the field and validates it. To set the value directly without validation see {<b>link</b> <b>setRawValue</b>}.
3331 <dl class="detailList">
3332 <dt class="heading">Parameters:</dt>
3335 <span class="fixedFont">Mixed</span> <b>value</b>
3338 <dd>The value to set</dd>
3356 <td class="msource">
3358 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3364 <tr class="method-row config-row-alt1 expandable">
3365 <td class="micon"><a class="exi" href="#expand"> </a></td>
3369 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
3370 <div class="fixedFont">
3371 <span class="attributes"></span><b class="itemname">setVisible</b>
3373 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
3379 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3388 <div class="short">Convenience function to hide or show this component by boolean.</div>
3394 Convenience function to hide or show this component by boolean.
3401 <dl class="detailList">
3402 <dt class="heading">Parameters:</dt>
3405 <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>
3408 <dd>True to show, false to hide</dd>
3416 <dl class="detailList">
3417 <dt class="heading">Returns:</dt>
3419 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3433 <td class="msource">
3435 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3441 <tr class="method-row config-row-alt0 expandable">
3442 <td class="micon"><a class="exi" href="#expand"> </a></td>
3446 <a id="Roo.Component-method-show" name=".show"></a>
3447 <div class="fixedFont">
3448 <span class="attributes"></span><b class="itemname">show</b>
3456 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3465 <div class="short">Show this component.</div>
3471 Show this component.
3482 <dl class="detailList">
3483 <dt class="heading">Returns:</dt>
3485 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
3499 <td class="msource">
3501 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3507 <tr class="method-row config-row-alt1 expandable">
3508 <td class="micon"><a class="exi" href="#expand"> </a></td>
3512 <a id="Roo.util.Observable-method-un" name=".un"></a>
3513 <div class="fixedFont">
3514 <span class="attributes"></span><b class="itemname">un</b>
3516 (<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>)
3523 <div class="short">Removes a listener (shorthand for removeListener)</div>
3529 Removes a listener (shorthand for removeListener)
3536 <dl class="detailList">
3537 <dt class="heading">Parameters:</dt>
3540 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
3543 <dd>The type of event to listen for</dd>
3546 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
3549 <dd>The handler to remove</dd>
3552 <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>
3555 <dd>(optional) The scope (this object) for the handler</dd>
3573 <td class="msource">
3575 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
3581 <tr class="method-row config-row-alt0 expandable">
3582 <td class="micon"><a class="exi" href="#expand"> </a></td>
3586 <a id="Roo.bootstrap.Input-method-validate" name=".validate"></a>
3587 <div class="fixedFont">
3588 <span class="attributes"></span><b class="itemname">validate</b>
3596 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3605 <div class="short">Validates the field value</div>
3611 Validates the field value
3622 <dl class="detailList">
3623 <dt class="heading">Returns:</dt>
3625 <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>
3639 <td class="msource">
3641 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3647 <tr class="method-row config-row-alt1 expandable">
3648 <td class="micon"><a class="exi" href="#expand"> </a></td>
3652 <a id="Roo.bootstrap.Input-method-validateValue" name=".validateValue"></a>
3653 <div class="fixedFont">
3654 <span class="attributes"></span><b class="itemname">validateValue</b>
3656 (Mixed <B><i>value</i></B>)
3662 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
3671 <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>
3677 Validates a value according to the field's validation rules and marks the field as invalid<br/>if the validation fails
3684 <dl class="detailList">
3685 <dt class="heading">Parameters:</dt>
3688 <span class="fixedFont">Mixed</span> <b>value</b>
3691 <dd>The value to validate</dd>
3699 <dl class="detailList">
3700 <dt class="heading">Returns:</dt>
3702 <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>
3716 <td class="msource">
3718 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
3727 <!-- ============================== events summary / details ======================== -->
3730 <a id="Roo.bootstrap.TriggerField-events"></a>
3739 <table cellspacing="0" class="member-table">
3740 <caption>Events</caption>
3743 <th class="sig-header" colspan="2">Event</th>
3744 <th class="msource-header">Defined By</th>
3753 <tr class="method-row expandable config-row-alt0">
3754 <td class="micon"><a class="exi" href="#expand"> </a></td>
3757 <a id="Roo.Component-event-*beforedestroy"></a>
3759 <div class="fixedFont">
3760 <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>)
3766 <div class="short">Fires before the component is destroyed.
3772 Fires before the component is destroyed. Return false to stop the destroy.
3778 <dl class="detailList">
3779 <dt class="heading">Parameters:</dt>
3782 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3803 <td class="msource">
3804 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3808 <tr class="method-row expandable config-row-alt1">
3809 <td class="micon"><a class="exi" href="#expand"> </a></td>
3812 <a id="Roo.Component-event-*beforehide"></a>
3814 <div class="fixedFont">
3815 <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>)
3821 <div class="short">Fires before the component is hidden.
3827 Fires before the component is hidden. Return false to stop the hide.
3833 <dl class="detailList">
3834 <dt class="heading">Parameters:</dt>
3837 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3858 <td class="msource">
3859 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3863 <tr class="method-row expandable config-row-alt0">
3864 <td class="micon"><a class="exi" href="#expand"> </a></td>
3867 <a id="Roo.Component-event-*beforerender"></a>
3869 <div class="fixedFont">
3870 <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>)
3876 <div class="short">Fires before the component is rendered.
3882 Fires before the component is rendered. Return false to stop the render.
3888 <dl class="detailList">
3889 <dt class="heading">Parameters:</dt>
3892 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3913 <td class="msource">
3914 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3918 <tr class="method-row expandable config-row-alt1">
3919 <td class="micon"><a class="exi" href="#expand"> </a></td>
3922 <a id="Roo.Component-event-*beforeshow"></a>
3924 <div class="fixedFont">
3925 <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>)
3931 <div class="short">Fires before the component is shown.
3937 Fires before the component is shown. Return false to stop the show.
3943 <dl class="detailList">
3944 <dt class="heading">Parameters:</dt>
3947 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3968 <td class="msource">
3969 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3973 <tr class="method-row expandable config-row-alt0">
3974 <td class="micon"><a class="exi" href="#expand"> </a></td>
3977 <a id="Roo.bootstrap.Input-event-*blur"></a>
3979 <div class="fixedFont">
3980 <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>)
3986 <div class="short">Fires when this field loses input focus.
3992 Fires when this field loses input focus.
3998 <dl class="detailList">
3999 <dt class="heading">Parameters:</dt>
4002 <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>
4023 <td class="msource">
4024 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4028 <tr class="method-row expandable config-row-alt1">
4029 <td class="micon"><a class="exi" href="#expand"> </a></td>
4032 <a id="Roo.bootstrap.Input-event-*change"></a>
4034 <div class="fixedFont">
4035 <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>)
4041 <div class="short">Fires just before the field blurs if the field value has changed.
4047 Fires just before the field blurs if the field value has changed.
4053 <dl class="detailList">
4054 <dt class="heading">Parameters:</dt>
4057 <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>
4063 <span class="fixedFont">Mixed</span> <b>newValue</b>
4066 <dd>The new value</dd>
4069 <span class="fixedFont">Mixed</span> <b>oldValue</b>
4072 <dd>The original value</dd>
4090 <td class="msource">
4091 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4095 <tr class="method-row expandable config-row-alt0">
4096 <td class="micon"><a class="exi" href="#expand"> </a></td>
4099 <a id="Roo.Component-event-*destroy"></a>
4101 <div class="fixedFont">
4102 <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>)
4108 <div class="short">Fires after the component is destroyed.
4114 Fires after the component is destroyed.
4120 <dl class="detailList">
4121 <dt class="heading">Parameters:</dt>
4124 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4145 <td class="msource">
4146 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4150 <tr class="method-row expandable config-row-alt1">
4151 <td class="micon"><a class="exi" href="#expand"> </a></td>
4154 <a id="Roo.Component-event-*disable"></a>
4156 <div class="fixedFont">
4157 <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>)
4163 <div class="short">Fires after the component is disabled.
4169 Fires after the component is disabled.
4175 <dl class="detailList">
4176 <dt class="heading">Parameters:</dt>
4179 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4200 <td class="msource">
4201 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4205 <tr class="method-row expandable config-row-alt0">
4206 <td class="micon"><a class="exi" href="#expand"> </a></td>
4209 <a id="Roo.Component-event-*enable"></a>
4211 <div class="fixedFont">
4212 <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>)
4218 <div class="short">Fires after the component is enabled.
4224 Fires after the component is enabled.
4230 <dl class="detailList">
4231 <dt class="heading">Parameters:</dt>
4234 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4255 <td class="msource">
4256 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4260 <tr class="method-row expandable config-row-alt1">
4261 <td class="micon"><a class="exi" href="#expand"> </a></td>
4264 <a id="Roo.bootstrap.Input-event-*focus"></a>
4266 <div class="fixedFont">
4267 <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>)
4273 <div class="short">Fires when this field receives input focus.
4279 Fires when this field receives input focus.
4285 <dl class="detailList">
4286 <dt class="heading">Parameters:</dt>
4289 <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>
4310 <td class="msource">
4311 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4315 <tr class="method-row expandable config-row-alt0">
4316 <td class="micon"><a class="exi" href="#expand"> </a></td>
4319 <a id="Roo.Component-event-*hide"></a>
4321 <div class="fixedFont">
4322 <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>)
4328 <div class="short">Fires after the component is hidden.
4334 Fires after the component is hidden.
4340 <dl class="detailList">
4341 <dt class="heading">Parameters:</dt>
4344 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4365 <td class="msource">
4366 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4370 <tr class="method-row expandable config-row-alt1">
4371 <td class="micon"><a class="exi" href="#expand"> </a></td>
4374 <a id="Roo.bootstrap.Input-event-*invalid"></a>
4376 <div class="fixedFont">
4377 <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>)
4383 <div class="short">Fires after the field has been marked as invalid.
4389 Fires after the field has been marked as invalid.
4395 <dl class="detailList">
4396 <dt class="heading">Parameters:</dt>
4399 <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>
4405 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>msg</b>
4408 <dd>The validation message</dd>
4426 <td class="msource">
4427 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4431 <tr class="method-row expandable config-row-alt0">
4432 <td class="micon"><a class="exi" href="#expand"> </a></td>
4435 <a id="Roo.bootstrap.Input-event-*keyup"></a>
4437 <div class="fixedFont">
4438 <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>)
4444 <div class="short">Fires after the key up
4450 Fires after the key up
4456 <dl class="detailList">
4457 <dt class="heading">Parameters:</dt>
4460 <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>
4466 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4469 <dd>The event Object</dd>
4487 <td class="msource">
4488 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4492 <tr class="method-row expandable config-row-alt1">
4493 <td class="micon"><a class="exi" href="#expand"> </a></td>
4496 <a id="Roo.Component-event-*render"></a>
4498 <div class="fixedFont">
4499 <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>)
4505 <div class="short">Fires after the component is rendered.
4511 Fires after the component is rendered.
4517 <dl class="detailList">
4518 <dt class="heading">Parameters:</dt>
4521 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4542 <td class="msource">
4543 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4547 <tr class="method-row expandable config-row-alt0">
4548 <td class="micon"><a class="exi" href="#expand"> </a></td>
4551 <a id="Roo.Component-event-*show"></a>
4553 <div class="fixedFont">
4554 <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>)
4560 <div class="short">Fires after the component is shown.
4566 Fires after the component is shown.
4572 <dl class="detailList">
4573 <dt class="heading">Parameters:</dt>
4576 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
4597 <td class="msource">
4598 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
4602 <tr class="method-row expandable config-row-alt1">
4603 <td class="micon"><a class="exi" href="#expand"> </a></td>
4606 <a id="Roo.bootstrap.Input-event-*specialkey"></a>
4608 <div class="fixedFont">
4609 <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>)
4615 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
4621 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.
4627 <dl class="detailList">
4628 <dt class="heading">Parameters:</dt>
4631 <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>
4637 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4640 <dd>The event object</dd>
4658 <td class="msource">
4659 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4663 <tr class="method-row expandable config-row-alt0">
4664 <td class="micon"><a class="exi" href="#expand"> </a></td>
4667 <a id="Roo.bootstrap.Input-event-*valid"></a>
4669 <div class="fixedFont">
4670 <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>)
4676 <div class="short">Fires after the field has been validated with no errors.
4682 Fires after the field has been validated with no errors.
4688 <dl class="detailList">
4689 <dt class="heading">Parameters:</dt>
4692 <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>
4713 <td class="msource">
4714 <a href="./Roo.bootstrap.Input.html#constructor" roo:cls="Roo.bootstrap.Input.html#constructor">Roo.bootstrap.Input</a>
4725 <!-- ============================== footer ================================= -->
4726 <div class="fineprint" style="clear:both">
4728 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Apr 01 2014 13:11:09 GMT+0800 (HKT)
4730 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>