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.form.ComboBoxArray.Item</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.form.ComboBoxArray.Item-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.ComboBoxArray.Item-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.ComboBoxArray.Item-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.ComboBoxArray.Item-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.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.form.ComboBoxArray.Item
54 <!-- ============================== class title / details ============================ -->
57 <h1 class="classTitle">
59 Class Roo.form.ComboBoxArray.Item
62 <table cellspacing="0" class="class-summary-table">
64 <tr><td class="label">Package:</td><td class="hd-info">Roo.form.ComboBoxArray</td></tr>
66 <tr><td class="label">Defined In:</td><td class="hd-info">
68 <a href="./src/Roo_form_ComboBoxArray.js.html">Roo/form/ComboBoxArray.js</a>.
71 <tr><td class="label">Class:</td><td class="hd-info">Item</td></tr>
76 <tr><td class="label">Extends:</td><td class="hd-info">
77 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
85 <!-- ============================== class summary ========================== -->
86 <div class="description">
87 A selected item in the list<br/> Fred [x] Brian [x] [Pick another |v]
91 <!-- ============================== Class comment block... ========================== -->
93 <div class="comments">
94 <b>Class Comments / Notes</B> =>
95 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.ComboBoxArray.Item';">[Add Your comment/notes about this class]</u>
97 <iframe frameborder="0" id="comments-Roo.form.ComboBoxArray" style="border: none;width:100%;"
98 src="/blog.php/GtkDjsComments/Roo.form.ComboBoxArray.Item.html"></iframe>
103 <!-- ============================== config options ========================== -->
108 <div class="hr"></div>
109 <a id="Roo.form.ComboBoxArray.Item-configs"></a>
115 <table cellspacing="0" class="member-table">
116 <caption>Config Options (Usually are also Properties)</caption>
120 <th class="sig-header" colspan="2">Options</th>
122 <th class="msource-header">Defined By</th>
129 <tr class="config-row expandable config-row-alt0">
130 <td class="micon"><a class="exi" href="#expand"> </a></td>
133 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
134 <div class="fixedFont">
135 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
141 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
146 which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'
156 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
162 <tr class="config-row expandable config-row-alt1">
163 <td class="micon"><a class="exi" href="#expand"> </a></td>
166 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
167 <div class="fixedFont">
168 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
174 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
179 Whether the component can move the Dom node when rendering (defaults to true).
189 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
195 <tr class="config-row expandable config-row-alt0">
196 <td class="micon"><a class="exi" href="#expand"> </a></td>
199 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
200 <div class="fixedFont">
201 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
207 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
212 CSS class added to the component when it is disabled (defaults to "x-item-disabled").
222 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
228 <tr class="config-row expandable config-row-alt1">
229 <td class="micon"><a class="exi" href="#expand"> </a></td>
232 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
233 <div class="fixedFont">
234 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
240 <div class="short">height (optional) size of component</div>
245 height (optional) size of component
255 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
261 <tr class="config-row expandable config-row-alt0">
262 <td class="micon"><a class="exi" href="#expand"> </a></td>
265 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
266 <div class="fixedFont">
267 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
273 <div class="short">How this component should hidden.</div>
278 How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".
279 <BR/>Possible Values: display, visibility
288 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
294 <tr class="config-row expandable config-row-alt1">
295 <td class="micon"><a class="exi" href="#expand"> </a></td>
298 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
299 <div class="fixedFont">
300 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
306 <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>
311 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>
321 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
327 <tr class="config-row expandable config-row-alt0">
328 <td class="micon"><a class="exi" href="#expand"> </a></td>
331 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
332 <div class="fixedFont">
333 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
339 <div class="short">width (optional) size of component</div>
344 width (optional) size of component
354 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
370 <!-- ============================== public properties ==================== -->
374 <a id="Roo.form.ComboBoxArray.Item-props"></a>
380 <table cellspacing="0" class="member-table">
381 <caption class="Empty">Public Properties - Has None</caption>
387 <!-- ============================== methods summary / details ======================== -->
390 <a id="Roo.form.ComboBoxArray.Item-methods"></a>
391 <!-- constructor?? -->
398 <!-- then dynamics first -->
405 <table cellspacing="0" class="member-table">
406 <caption>Public Methods</caption>
408 <th class="sig-header" colspan="2">Method</th>
409 <th class="msource-header">Defined By</th>
419 <tr class="method-row config-row-alt0 expandable notInherited">
420 <td class="micon"><a class="exi" href="#expand"> </a></td>
424 <a id="Roo.form.ComboBoxArray-method-Item" name=".Item"></a>
425 <div class="fixedFont">
426 <span class="attributes">new <B>Roo.form.ComboBoxArray.</B></span><b class="itemname">Item</b>
428 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
436 <div class="short">Create a new Roo.form.ComboBoxArray.Item</div>
443 Create a new Roo.form.ComboBoxArray.Item
446 <dl class="detailList">
447 <dt class="heading">Parameters:</dt>
450 <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>
453 <dd>Configuration options</dd>
477 <tr class="method-row config-row-alt1 expandable">
478 <td class="micon"><a class="exi" href="#expand"> </a></td>
482 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
483 <div class="fixedFont">
484 <span class="attributes"></span><b class="itemname">addEvents</b>
486 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
493 <div class="short">Used to define events on this Observable</div>
499 Used to define events on this Observable
506 <dl class="detailList">
507 <dt class="heading">Parameters:</dt>
510 <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>
513 <dd>The object with the events defined</dd>
533 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
539 <tr class="method-row config-row-alt0 expandable">
540 <td class="micon"><a class="exi" href="#expand"> </a></td>
544 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
545 <div class="fixedFont">
546 <span class="attributes"></span><b class="itemname">addListener</b>
548 (<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>)
555 <div class="short">Appends an event handler to this component</div>
561 Appends an event handler to this component
568 <dl class="detailList">
569 <dt class="heading">Parameters:</dt>
572 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
575 <dd>The type of event to listen for</dd>
578 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
581 <dd>The method the event invokes</dd>
584 <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>
587 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
590 <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>
593 <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>
613 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
619 <tr class="method-row config-row-alt1 expandable">
620 <td class="micon"><a class="exi" href="#expand"> </a></td>
624 <a id="Roo.Component-method-destroy" name=".destroy"></a>
625 <div class="fixedFont">
626 <span class="attributes"></span><b class="itemname">destroy</b>
635 <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>
641 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}.
664 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
670 <tr class="method-row config-row-alt0 expandable">
671 <td class="micon"><a class="exi" href="#expand"> </a></td>
675 <a id="Roo.Component-method-disable" name=".disable"></a>
676 <div class="fixedFont">
677 <span class="attributes"></span><b class="itemname">disable</b>
685 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
694 <div class="short">Disable this component.</div>
700 Disable this component.
711 <dl class="detailList">
712 <dt class="heading">Returns:</dt>
714 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
730 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
736 <tr class="method-row config-row-alt1 expandable">
737 <td class="micon"><a class="exi" href="#expand"> </a></td>
741 <a id="Roo.Component-method-enable" name=".enable"></a>
742 <div class="fixedFont">
743 <span class="attributes"></span><b class="itemname">enable</b>
751 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
760 <div class="short">Enable this component.</div>
766 Enable this component.
777 <dl class="detailList">
778 <dt class="heading">Returns:</dt>
780 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
796 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
802 <tr class="method-row config-row-alt0 expandable">
803 <td class="micon"><a class="exi" href="#expand"> </a></td>
807 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
808 <div class="fixedFont">
809 <span class="attributes"></span><b class="itemname">fireEvent</b>
811 (<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>)
817 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
826 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
832 Fires the specified event with the passed parameters (minus the event name).
839 <dl class="detailList">
840 <dt class="heading">Parameters:</dt>
843 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
849 <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>
852 <dd>Variable number of parameters are passed to handlers</dd>
860 <dl class="detailList">
861 <dt class="heading">Returns:</dt>
863 <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>
879 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
885 <tr class="method-row config-row-alt1 expandable">
886 <td class="micon"><a class="exi" href="#expand"> </a></td>
890 <a id="Roo.Component-method-focus" name=".focus"></a>
891 <div class="fixedFont">
892 <span class="attributes"></span><b class="itemname">focus</b>
894 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
900 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
909 <div class="short">Try to focus this component.</div>
915 Try to focus this component.
922 <dl class="detailList">
923 <dt class="heading">Parameters:</dt>
926 <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>
929 <dd>True to also select the text in this component (if applicable)</dd>
937 <dl class="detailList">
938 <dt class="heading">Returns:</dt>
940 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
956 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
962 <tr class="method-row config-row-alt0 expandable">
963 <td class="micon"><a class="exi" href="#expand"> </a></td>
967 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
968 <div class="fixedFont">
969 <span class="attributes"></span><b class="itemname">getBox</b>
971 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
978 <div class="short">Gets the current box measurements of the component's underlying element.</div>
984 Gets the current box measurements of the component's underlying element.
991 <dl class="detailList">
992 <dt class="heading">Parameters:</dt>
995 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>local</b>
998 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
1016 <td class="msource">
1018 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1024 <tr class="method-row config-row-alt1 expandable">
1025 <td class="micon"><a class="exi" href="#expand"> </a></td>
1029 <a id="Roo.Component-method-getEl" name=".getEl"></a>
1030 <div class="fixedFont">
1031 <span class="attributes"></span><b class="itemname">getEl</b>
1039 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1048 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
1054 Returns the underlying {<b>link</b> Roo.Element}.
1065 <dl class="detailList">
1066 <dt class="heading">Returns:</dt>
1068 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
1082 <td class="msource">
1084 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1090 <tr class="method-row config-row-alt0 expandable">
1091 <td class="micon"><a class="exi" href="#expand"> </a></td>
1095 <a id="Roo.Component-method-getId" name=".getId"></a>
1096 <div class="fixedFont">
1097 <span class="attributes"></span><b class="itemname">getId</b>
1105 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1114 <div class="short">Returns the id of this component.</div>
1120 Returns the id of this component.
1131 <dl class="detailList">
1132 <dt class="heading">Returns:</dt>
1134 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1148 <td class="msource">
1150 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1156 <tr class="method-row config-row-alt1 expandable">
1157 <td class="micon"><a class="exi" href="#expand"> </a></td>
1161 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
1162 <div class="fixedFont">
1163 <span class="attributes"></span><b class="itemname">getPosition</b>
1165 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
1171 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1180 <div class="short">Gets the current XY position of the component's underlying element.</div>
1186 Gets the current XY position of the component's underlying element.
1193 <dl class="detailList">
1194 <dt class="heading">Parameters:</dt>
1197 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>local</b>
1200 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
1208 <dl class="detailList">
1209 <dt class="heading">Returns:</dt>
1211 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> The XY position of the element (e.g., [100, 200])</dd>
1225 <td class="msource">
1227 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1233 <tr class="method-row config-row-alt0 expandable">
1234 <td class="micon"><a class="exi" href="#expand"> </a></td>
1238 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
1239 <div class="fixedFont">
1240 <span class="attributes"></span><b class="itemname">getSize</b>
1248 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1257 <div class="short">Gets the current size of the component's underlying element.</div>
1263 Gets the current size of the component's underlying element.
1274 <dl class="detailList">
1275 <dt class="heading">Returns:</dt>
1277 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> An object containing the element's size {width: (element width), height: (element height)}</dd>
1291 <td class="msource">
1293 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1299 <tr class="method-row config-row-alt1 expandable">
1300 <td class="micon"><a class="exi" href="#expand"> </a></td>
1304 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1305 <div class="fixedFont">
1306 <span class="attributes"></span><b class="itemname">hasListener</b>
1308 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1314 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1323 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1329 Checks to see if this object has any listeners for a specified event
1336 <dl class="detailList">
1337 <dt class="heading">Parameters:</dt>
1340 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1343 <dd>The name of the event to check for</dd>
1351 <dl class="detailList">
1352 <dt class="heading">Returns:</dt>
1354 <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>
1368 <td class="msource">
1370 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1376 <tr class="method-row config-row-alt0 expandable">
1377 <td class="micon"><a class="exi" href="#expand"> </a></td>
1381 <a id="Roo.Component-method-hide" name=".hide"></a>
1382 <div class="fixedFont">
1383 <span class="attributes"></span><b class="itemname">hide</b>
1391 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1400 <div class="short">Hide this component.</div>
1406 Hide this component.
1417 <dl class="detailList">
1418 <dt class="heading">Returns:</dt>
1420 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1434 <td class="msource">
1436 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1442 <tr class="method-row config-row-alt1 expandable">
1443 <td class="micon"><a class="exi" href="#expand"> </a></td>
1447 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
1448 <div class="fixedFont">
1449 <span class="attributes"></span><b class="itemname">isVisible</b>
1458 <div class="short">Returns true if this component is visible.</div>
1464 Returns true if this component is visible.
1485 <td class="msource">
1487 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1493 <tr class="method-row config-row-alt0 expandable">
1494 <td class="micon"><a class="exi" href="#expand"> </a></td>
1498 <a id="Roo.util.Observable-method-on" name=".on"></a>
1499 <div class="fixedFont">
1500 <span class="attributes"></span><b class="itemname">on</b>
1502 (<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>)
1509 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1515 Appends an event handler to this element (shorthand for addListener)
1522 <dl class="detailList">
1523 <dt class="heading">Parameters:</dt>
1526 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1529 <dd>The type of event to listen for</dd>
1532 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1535 <dd>The method the event invokes</dd>
1538 <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>
1541 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1544 <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>
1565 <td class="msource">
1567 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1573 <tr class="method-row config-row-alt1 expandable">
1574 <td class="micon"><a class="exi" href="#expand"> </a></td>
1578 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
1579 <div class="fixedFont">
1580 <span class="attributes"></span><b class="itemname">onPosition</b>
1582 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
1589 <div class="short">Called after the component is moved, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a move occurs.</div>
1595 Called after the component is moved, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a move occurs.
1602 <dl class="detailList">
1603 <dt class="heading">Parameters:</dt>
1606 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
1609 <dd>The new x position</dd>
1612 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
1615 <dd>The new y position</dd>
1633 <td class="msource">
1635 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1641 <tr class="method-row config-row-alt0 expandable">
1642 <td class="micon"><a class="exi" href="#expand"> </a></td>
1646 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
1647 <div class="fixedFont">
1648 <span class="attributes"></span><b class="itemname">onResize</b>
1650 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjHeight</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawHeight</i></B>)
1657 <div class="short">Called after the component is resized, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a resize occurs.</div>
1663 Called after the component is resized, this method is empty by default but can be implemented by any<br/>subclass that needs to perform custom logic after a resize occurs.
1670 <dl class="detailList">
1671 <dt class="heading">Parameters:</dt>
1674 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
1677 <dd>The box-adjusted width that was set</dd>
1680 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
1683 <dd>The box-adjusted height that was set</dd>
1686 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
1689 <dd>The width that was originally specified</dd>
1692 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
1695 <dd>The height that was originally specified</dd>
1713 <td class="msource">
1715 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1721 <tr class="method-row config-row-alt1 expandable">
1722 <td class="micon"><a class="exi" href="#expand"> </a></td>
1726 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1727 <div class="fixedFont">
1728 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1737 <div class="short">Removes all listeners for this object</div>
1743 Removes all listeners for this object
1764 <td class="msource">
1766 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1772 <tr class="method-row config-row-alt0 expandable">
1773 <td class="micon"><a class="exi" href="#expand"> </a></td>
1777 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1778 <div class="fixedFont">
1779 <span class="attributes"></span><b class="itemname">removeListener</b>
1781 (<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>)
1788 <div class="short">Removes a listener</div>
1801 <dl class="detailList">
1802 <dt class="heading">Parameters:</dt>
1805 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1808 <dd>The type of event to listen for</dd>
1811 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1814 <dd>The handler to remove</dd>
1817 <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>
1820 <dd>(optional) The scope (this object) for the handler</dd>
1838 <td class="msource">
1840 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1846 <tr class="method-row config-row-alt1 expandable">
1847 <td class="micon"><a class="exi" href="#expand"> </a></td>
1851 <a id="Roo.Component-method-render" name=".render"></a>
1852 <div class="fixedFont">
1853 <span class="attributes"></span><b class="itemname">render</b>
1855 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
1862 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
1868 If this is a lazy rendering component, render it to its container element.
1875 <dl class="detailList">
1876 <dt class="heading">Parameters:</dt>
1879 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
1882 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
1900 <td class="msource">
1902 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1908 <tr class="method-row config-row-alt0 expandable">
1909 <td class="micon"><a class="exi" href="#expand"> </a></td>
1913 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
1914 <div class="fixedFont">
1915 <span class="attributes"></span><b class="itemname">setDisabled</b>
1917 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
1924 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1930 Convenience function for setting disabled/enabled by boolean.
1937 <dl class="detailList">
1938 <dt class="heading">Parameters:</dt>
1941 <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>
1962 <td class="msource">
1964 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1970 <tr class="method-row config-row-alt1 expandable">
1971 <td class="micon"><a class="exi" href="#expand"> </a></td>
1975 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
1976 <div class="fixedFont">
1977 <span class="attributes"></span><b class="itemname">setPagePosition</b>
1979 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
1986 <div class="short">Sets the page XY position of the component.</div>
1992 Sets the page XY position of the component. To set the left and top instead, use {<b>link</b> <b>setPosition</b>}.<br/>This method fires the move event.
1999 <dl class="detailList">
2000 <dt class="heading">Parameters:</dt>
2003 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
2006 <dd>The new x position</dd>
2009 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
2012 <dd>The new y position</dd>
2030 <td class="msource">
2032 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2038 <tr class="method-row config-row-alt0 expandable">
2039 <td class="micon"><a class="exi" href="#expand"> </a></td>
2043 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
2044 <div class="fixedFont">
2045 <span class="attributes"></span><b class="itemname">setPosition</b>
2047 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>left</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>top</i></B>)
2054 <div class="short">Sets the left and top of the component.</div>
2060 Sets the left and top of the component. To set the page XY position instead, use {<b>link</b> <b>setPagePosition</b>}.<br/>This method fires the move event.
2067 <dl class="detailList">
2068 <dt class="heading">Parameters:</dt>
2071 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
2074 <dd>The new left</dd>
2077 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
2080 <dd>The new top</dd>
2098 <td class="msource">
2100 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2106 <tr class="method-row config-row-alt1 expandable">
2107 <td class="micon"><a class="exi" href="#expand"> </a></td>
2111 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
2112 <div class="fixedFont">
2113 <span class="attributes"></span><b class="itemname">setSize</b>
2115 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
2121 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2130 <div class="short">Sets the width and height of the component.</div>
2136 Sets the width and height of the component. This method fires the resize event. This method can accept<br/>either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}.
2143 <dl class="detailList">
2144 <dt class="heading">Parameters:</dt>
2147 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
2150 <dd>The new width to set, or a size object in the format {width, height}</dd>
2153 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
2156 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
2164 <dl class="detailList">
2165 <dt class="heading">Returns:</dt>
2167 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
2181 <td class="msource">
2183 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2189 <tr class="method-row config-row-alt0 expandable">
2190 <td class="micon"><a class="exi" href="#expand"> </a></td>
2194 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
2195 <div class="fixedFont">
2196 <span class="attributes"></span><b class="itemname">setVisible</b>
2198 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
2204 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2213 <div class="short">Convenience function to hide or show this component by boolean.</div>
2219 Convenience function to hide or show this component by boolean.
2226 <dl class="detailList">
2227 <dt class="heading">Parameters:</dt>
2230 <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>
2233 <dd>True to show, false to hide</dd>
2241 <dl class="detailList">
2242 <dt class="heading">Returns:</dt>
2244 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2258 <td class="msource">
2260 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2266 <tr class="method-row config-row-alt1 expandable">
2267 <td class="micon"><a class="exi" href="#expand"> </a></td>
2271 <a id="Roo.Component-method-show" name=".show"></a>
2272 <div class="fixedFont">
2273 <span class="attributes"></span><b class="itemname">show</b>
2281 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2290 <div class="short">Show this component.</div>
2296 Show this component.
2307 <dl class="detailList">
2308 <dt class="heading">Returns:</dt>
2310 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2324 <td class="msource">
2326 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2332 <tr class="method-row config-row-alt0 expandable">
2333 <td class="micon"><a class="exi" href="#expand"> </a></td>
2337 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
2338 <div class="fixedFont">
2339 <span class="attributes"></span><b class="itemname">syncSize</b>
2348 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
2354 Force the component's size to recalculate based on the underlying element's current height and width.
2375 <td class="msource">
2377 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2383 <tr class="method-row config-row-alt1 expandable">
2384 <td class="micon"><a class="exi" href="#expand"> </a></td>
2388 <a id="Roo.util.Observable-method-un" name=".un"></a>
2389 <div class="fixedFont">
2390 <span class="attributes"></span><b class="itemname">un</b>
2392 (<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>)
2399 <div class="short">Removes a listener (shorthand for removeListener)</div>
2405 Removes a listener (shorthand for removeListener)
2412 <dl class="detailList">
2413 <dt class="heading">Parameters:</dt>
2416 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2419 <dd>The type of event to listen for</dd>
2422 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2425 <dd>The handler to remove</dd>
2428 <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>
2431 <dd>(optional) The scope (this object) for the handler</dd>
2449 <td class="msource">
2451 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2457 <tr class="method-row config-row-alt0 expandable">
2458 <td class="micon"><a class="exi" href="#expand"> </a></td>
2462 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
2463 <div class="fixedFont">
2464 <span class="attributes"></span><b class="itemname">updateBox</b>
2466 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
2473 <div class="short">Sets the current box measurements of the component's underlying element.</div>
2479 Sets the current box measurements of the component's underlying element.
2486 <dl class="detailList">
2487 <dt class="heading">Parameters:</dt>
2490 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>box</b>
2493 <dd>An object in the format {x, y, width, height}</dd>
2511 <td class="msource">
2513 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2522 <!-- ============================== events summary / details ======================== -->
2525 <a id="Roo.form.ComboBoxArray.Item-events"></a>
2534 <table cellspacing="0" class="member-table">
2535 <caption>Events</caption>
2538 <th class="sig-header" colspan="2">Event</th>
2539 <th class="msource-header">Defined By</th>
2548 <tr class="method-row expandable config-row-alt0">
2549 <td class="micon"><a class="exi" href="#expand"> </a></td>
2552 <a id="Roo.Component-event-*beforedestroy"></a>
2554 <div class="fixedFont">
2555 <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>)
2561 <div class="short">Fires before the component is destroyed.
2567 Fires before the component is destroyed. Return false to stop the destroy.
2573 <dl class="detailList">
2574 <dt class="heading">Parameters:</dt>
2577 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2598 <td class="msource">
2599 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2603 <tr class="method-row expandable config-row-alt1">
2604 <td class="micon"><a class="exi" href="#expand"> </a></td>
2607 <a id="Roo.Component-event-*beforehide"></a>
2609 <div class="fixedFont">
2610 <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>)
2616 <div class="short">Fires before the component is hidden.
2622 Fires before the component is hidden. Return false to stop the hide.
2628 <dl class="detailList">
2629 <dt class="heading">Parameters:</dt>
2632 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2653 <td class="msource">
2654 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2658 <tr class="method-row expandable config-row-alt0">
2659 <td class="micon"><a class="exi" href="#expand"> </a></td>
2662 <a id="Roo.Component-event-*beforerender"></a>
2664 <div class="fixedFont">
2665 <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>)
2671 <div class="short">Fires before the component is rendered.
2677 Fires before the component is rendered. Return false to stop the render.
2683 <dl class="detailList">
2684 <dt class="heading">Parameters:</dt>
2687 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2708 <td class="msource">
2709 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2713 <tr class="method-row expandable config-row-alt1">
2714 <td class="micon"><a class="exi" href="#expand"> </a></td>
2717 <a id="Roo.Component-event-*beforeshow"></a>
2719 <div class="fixedFont">
2720 <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>)
2726 <div class="short">Fires before the component is shown.
2732 Fires before the component is shown. Return false to stop the show.
2738 <dl class="detailList">
2739 <dt class="heading">Parameters:</dt>
2742 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2763 <td class="msource">
2764 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2768 <tr class="method-row expandable config-row-alt0">
2769 <td class="micon"><a class="exi" href="#expand"> </a></td>
2772 <a id="Roo.Component-event-*destroy"></a>
2774 <div class="fixedFont">
2775 <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>)
2781 <div class="short">Fires after the component is destroyed.
2787 Fires after the component is destroyed.
2793 <dl class="detailList">
2794 <dt class="heading">Parameters:</dt>
2797 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2818 <td class="msource">
2819 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2823 <tr class="method-row expandable config-row-alt1">
2824 <td class="micon"><a class="exi" href="#expand"> </a></td>
2827 <a id="Roo.Component-event-*disable"></a>
2829 <div class="fixedFont">
2830 <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>)
2836 <div class="short">Fires after the component is disabled.
2842 Fires after the component is disabled.
2848 <dl class="detailList">
2849 <dt class="heading">Parameters:</dt>
2852 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2873 <td class="msource">
2874 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2878 <tr class="method-row expandable config-row-alt0">
2879 <td class="micon"><a class="exi" href="#expand"> </a></td>
2882 <a id="Roo.Component-event-*enable"></a>
2884 <div class="fixedFont">
2885 <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>)
2891 <div class="short">Fires after the component is enabled.
2897 Fires after the component is enabled.
2903 <dl class="detailList">
2904 <dt class="heading">Parameters:</dt>
2907 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2928 <td class="msource">
2929 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2933 <tr class="method-row expandable config-row-alt1">
2934 <td class="micon"><a class="exi" href="#expand"> </a></td>
2937 <a id="Roo.Component-event-*hide"></a>
2939 <div class="fixedFont">
2940 <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>)
2946 <div class="short">Fires after the component is hidden.
2952 Fires after the component is hidden.
2958 <dl class="detailList">
2959 <dt class="heading">Parameters:</dt>
2962 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2983 <td class="msource">
2984 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2988 <tr class="method-row expandable config-row-alt0">
2989 <td class="micon"><a class="exi" href="#expand"> </a></td>
2992 <a id="Roo.BoxComponent-event-*move"></a>
2994 <div class="fixedFont">
2995 <b class="itemname">move</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>x</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>y</i></B>)
3001 <div class="short">Fires after the component is moved.
3007 Fires after the component is moved.
3013 <dl class="detailList">
3014 <dt class="heading">Parameters:</dt>
3017 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3023 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3026 <dd>The new x position</dd>
3029 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3032 <dd>The new y position</dd>
3050 <td class="msource">
3051 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3055 <tr class="method-row expandable config-row-alt1">
3056 <td class="micon"><a class="exi" href="#expand"> </a></td>
3059 <a id="Roo.Component-event-*render"></a>
3061 <div class="fixedFont">
3062 <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>)
3068 <div class="short">Fires after the component is rendered.
3074 Fires after the component is rendered.
3080 <dl class="detailList">
3081 <dt class="heading">Parameters:</dt>
3084 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3105 <td class="msource">
3106 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3110 <tr class="method-row expandable config-row-alt0">
3111 <td class="micon"><a class="exi" href="#expand"> </a></td>
3114 <a id="Roo.BoxComponent-event-*resize"></a>
3116 <div class="fixedFont">
3117 <b class="itemname">resize</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>adjHeight</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawWidth</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rawHeight</i></B>)
3123 <div class="short">Fires after the component is resized.
3129 Fires after the component is resized.
3135 <dl class="detailList">
3136 <dt class="heading">Parameters:</dt>
3139 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3145 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3148 <dd>The box-adjusted width that was set</dd>
3151 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3154 <dd>The box-adjusted height that was set</dd>
3157 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3160 <dd>The width that was originally specified</dd>
3163 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3166 <dd>The height that was originally specified</dd>
3184 <td class="msource">
3185 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3189 <tr class="method-row expandable config-row-alt1">
3190 <td class="micon"><a class="exi" href="#expand"> </a></td>
3193 <a id="Roo.Component-event-*show"></a>
3195 <div class="fixedFont">
3196 <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>)
3202 <div class="short">Fires after the component is shown.
3208 Fires after the component is shown.
3214 <dl class="detailList">
3215 <dt class="heading">Parameters:</dt>
3218 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3239 <td class="msource">
3240 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3251 <!-- ============================== footer ================================= -->
3252 <div class="fineprint" style="clear:both">
3254 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Mar 03 2016 16:15:37 GMT+0800 (HKT)
3256 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>