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>
145 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
153 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
159 <tr class="config-row expandable config-row-alt1">
160 <td class="micon"><a class="exi" href="#expand"> </a></td>
163 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
164 <div class="fixedFont">
165 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
171 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
175 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
183 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
189 <tr class="config-row expandable config-row-alt0">
190 <td class="micon"><a class="exi" href="#expand"> </a></td>
193 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
194 <div class="fixedFont">
195 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
201 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
205 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
213 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
219 <tr class="config-row expandable config-row-alt1">
220 <td class="micon"><a class="exi" href="#expand"> </a></td>
223 <a id="Roo.BoxComponent-cfg-height" name=".height"></a>
224 <div class="fixedFont">
225 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
231 <div class="short">height (optional) size of component</div>
235 <div class="long">height (optional) size of component</div>
243 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
249 <tr class="config-row expandable config-row-alt0">
250 <td class="micon"><a class="exi" href="#expand"> </a></td>
253 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
254 <div class="fixedFont">
255 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
261 <div class="short">How this component should hidden.</div>
265 <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>
273 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
279 <tr class="config-row expandable config-row-alt1">
280 <td class="micon"><a class="exi" href="#expand"> </a></td>
283 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
284 <div class="fixedFont">
285 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
291 <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>
295 <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>
303 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
309 <tr class="config-row expandable config-row-alt0">
310 <td class="micon"><a class="exi" href="#expand"> </a></td>
313 <a id="Roo.BoxComponent-cfg-width" name=".width"></a>
314 <div class="fixedFont">
315 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
321 <div class="short">width (optional) size of component</div>
325 <div class="long">width (optional) size of component</div>
333 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
349 <!-- ============================== public properties ==================== -->
353 <a id="Roo.form.ComboBoxArray.Item-props"></a>
359 <table cellspacing="0" class="member-table">
360 <caption class="Empty">Public Properties - Has None</caption>
366 <!-- ============================== methods summary / details ======================== -->
369 <a id="Roo.form.ComboBoxArray.Item-methods"></a>
370 <!-- constructor?? -->
377 <!-- then dynamics first -->
384 <table cellspacing="0" class="member-table">
385 <caption>Public Methods</caption>
387 <th class="sig-header" colspan="2">Method</th>
388 <th class="msource-header">Defined By</th>
398 <tr class="method-row config-row-alt0 expandable notInherited">
399 <td class="micon"><a class="exi" href="#expand"> </a></td>
403 <a id="Roo.form.ComboBoxArray-method-Item" name=".Item"></a>
404 <div class="fixedFont">
405 <span class="attributes">new <B>Roo.form.ComboBoxArray.</B></span><b class="itemname">Item</b>
407 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
415 <div class="short">Create a new Roo.form.ComboBoxArray.Item</div>
422 Create a new Roo.form.ComboBoxArray.Item
425 <dl class="detailList">
426 <dt class="heading">Parameters:</dt>
429 <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>
432 <dd>Configuration options</dd>
456 <tr class="method-row config-row-alt1 expandable">
457 <td class="micon"><a class="exi" href="#expand"> </a></td>
461 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
462 <div class="fixedFont">
463 <span class="attributes"></span><b class="itemname">addEvents</b>
465 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
472 <div class="short">Used to define events on this Observable</div>
478 Used to define events on this Observable
485 <dl class="detailList">
486 <dt class="heading">Parameters:</dt>
489 <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>
492 <dd>The object with the events defined</dd>
512 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
518 <tr class="method-row config-row-alt0 expandable">
519 <td class="micon"><a class="exi" href="#expand"> </a></td>
523 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
524 <div class="fixedFont">
525 <span class="attributes"></span><b class="itemname">addListener</b>
527 (<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>)
534 <div class="short">Appends an event handler to this component</div>
540 Appends an event handler to this component
547 <dl class="detailList">
548 <dt class="heading">Parameters:</dt>
551 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
554 <dd>The type of event to listen for</dd>
557 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
560 <dd>The method the event invokes</dd>
563 <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>
566 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
569 <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>
572 <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>
592 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
598 <tr class="method-row config-row-alt1 expandable">
599 <td class="micon"><a class="exi" href="#expand"> </a></td>
603 <a id="Roo.Component-method-destroy" name=".destroy"></a>
604 <div class="fixedFont">
605 <span class="attributes"></span><b class="itemname">destroy</b>
614 <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>
620 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}.
643 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
649 <tr class="method-row config-row-alt0 expandable">
650 <td class="micon"><a class="exi" href="#expand"> </a></td>
654 <a id="Roo.Component-method-disable" name=".disable"></a>
655 <div class="fixedFont">
656 <span class="attributes"></span><b class="itemname">disable</b>
664 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
673 <div class="short">Disable this component.</div>
679 Disable this component.
690 <dl class="detailList">
691 <dt class="heading">Returns:</dt>
693 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
709 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
715 <tr class="method-row config-row-alt1 expandable">
716 <td class="micon"><a class="exi" href="#expand"> </a></td>
720 <a id="Roo.Component-method-enable" name=".enable"></a>
721 <div class="fixedFont">
722 <span class="attributes"></span><b class="itemname">enable</b>
730 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
739 <div class="short">Enable this component.</div>
745 Enable this component.
756 <dl class="detailList">
757 <dt class="heading">Returns:</dt>
759 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
775 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
781 <tr class="method-row config-row-alt0 expandable">
782 <td class="micon"><a class="exi" href="#expand"> </a></td>
786 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
787 <div class="fixedFont">
788 <span class="attributes"></span><b class="itemname">fireEvent</b>
790 (<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>)
796 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
805 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
811 Fires the specified event with the passed parameters (minus the event name).
818 <dl class="detailList">
819 <dt class="heading">Parameters:</dt>
822 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
828 <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>
831 <dd>Variable number of parameters are passed to handlers</dd>
839 <dl class="detailList">
840 <dt class="heading">Returns:</dt>
842 <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>
858 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
864 <tr class="method-row config-row-alt1 expandable">
865 <td class="micon"><a class="exi" href="#expand"> </a></td>
869 <a id="Roo.Component-method-focus" name=".focus"></a>
870 <div class="fixedFont">
871 <span class="attributes"></span><b class="itemname">focus</b>
873 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
879 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
888 <div class="short">Try to focus this component.</div>
894 Try to focus this component.
901 <dl class="detailList">
902 <dt class="heading">Parameters:</dt>
905 <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>
908 <dd>True to also select the text in this component (if applicable)</dd>
916 <dl class="detailList">
917 <dt class="heading">Returns:</dt>
919 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
935 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
941 <tr class="method-row config-row-alt0 expandable">
942 <td class="micon"><a class="exi" href="#expand"> </a></td>
946 <a id="Roo.BoxComponent-method-getBox" name=".getBox"></a>
947 <div class="fixedFont">
948 <span class="attributes"></span><b class="itemname">getBox</b>
950 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
957 <div class="short">Gets the current box measurements of the component's underlying element.</div>
963 Gets the current box measurements of the component's underlying element.
970 <dl class="detailList">
971 <dt class="heading">Parameters:</dt>
974 <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>
977 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
997 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1003 <tr class="method-row config-row-alt1 expandable">
1004 <td class="micon"><a class="exi" href="#expand"> </a></td>
1008 <a id="Roo.Component-method-getEl" name=".getEl"></a>
1009 <div class="fixedFont">
1010 <span class="attributes"></span><b class="itemname">getEl</b>
1018 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1027 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
1033 Returns the underlying {<b>link</b> Roo.Element}.
1044 <dl class="detailList">
1045 <dt class="heading">Returns:</dt>
1047 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
1061 <td class="msource">
1063 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1069 <tr class="method-row config-row-alt0 expandable">
1070 <td class="micon"><a class="exi" href="#expand"> </a></td>
1074 <a id="Roo.Component-method-getId" name=".getId"></a>
1075 <div class="fixedFont">
1076 <span class="attributes"></span><b class="itemname">getId</b>
1084 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1093 <div class="short">Returns the id of this component.</div>
1099 Returns the id of this component.
1110 <dl class="detailList">
1111 <dt class="heading">Returns:</dt>
1113 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1127 <td class="msource">
1129 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1135 <tr class="method-row config-row-alt1 expandable">
1136 <td class="micon"><a class="exi" href="#expand"> </a></td>
1140 <a id="Roo.BoxComponent-method-getPosition" name=".getPosition"></a>
1141 <div class="fixedFont">
1142 <span class="attributes"></span><b class="itemname">getPosition</b>
1144 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>local</i></B>)
1150 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
1159 <div class="short">Gets the current XY position of the component's underlying element.</div>
1165 Gets the current XY position of the component's underlying element.
1172 <dl class="detailList">
1173 <dt class="heading">Parameters:</dt>
1176 <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>
1179 <dd>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</dd>
1187 <dl class="detailList">
1188 <dt class="heading">Returns:</dt>
1190 <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>
1204 <td class="msource">
1206 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1212 <tr class="method-row config-row-alt0 expandable">
1213 <td class="micon"><a class="exi" href="#expand"> </a></td>
1217 <a id="Roo.BoxComponent-method-getSize" name=".getSize"></a>
1218 <div class="fixedFont">
1219 <span class="attributes"></span><b class="itemname">getSize</b>
1227 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1236 <div class="short">Gets the current size of the component's underlying element.</div>
1242 Gets the current size of the component's underlying element.
1253 <dl class="detailList">
1254 <dt class="heading">Returns:</dt>
1256 <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>
1270 <td class="msource">
1272 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1278 <tr class="method-row config-row-alt1 expandable">
1279 <td class="micon"><a class="exi" href="#expand"> </a></td>
1283 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1284 <div class="fixedFont">
1285 <span class="attributes"></span><b class="itemname">hasListener</b>
1287 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1293 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1302 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1308 Checks to see if this object has any listeners for a specified event
1315 <dl class="detailList">
1316 <dt class="heading">Parameters:</dt>
1319 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1322 <dd>The name of the event to check for</dd>
1330 <dl class="detailList">
1331 <dt class="heading">Returns:</dt>
1333 <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>
1347 <td class="msource">
1349 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1355 <tr class="method-row config-row-alt0 expandable">
1356 <td class="micon"><a class="exi" href="#expand"> </a></td>
1360 <a id="Roo.Component-method-hide" name=".hide"></a>
1361 <div class="fixedFont">
1362 <span class="attributes"></span><b class="itemname">hide</b>
1370 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1379 <div class="short">Hide this component.</div>
1385 Hide this component.
1396 <dl class="detailList">
1397 <dt class="heading">Returns:</dt>
1399 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1413 <td class="msource">
1415 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1421 <tr class="method-row config-row-alt1 expandable">
1422 <td class="micon"><a class="exi" href="#expand"> </a></td>
1426 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
1427 <div class="fixedFont">
1428 <span class="attributes"></span><b class="itemname">isVisible</b>
1437 <div class="short">Returns true if this component is visible.</div>
1443 Returns true if this component is visible.
1464 <td class="msource">
1466 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1472 <tr class="method-row config-row-alt0 expandable">
1473 <td class="micon"><a class="exi" href="#expand"> </a></td>
1477 <a id="Roo.util.Observable-method-on" name=".on"></a>
1478 <div class="fixedFont">
1479 <span class="attributes"></span><b class="itemname">on</b>
1481 (<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>)
1488 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1494 Appends an event handler to this element (shorthand for addListener)
1501 <dl class="detailList">
1502 <dt class="heading">Parameters:</dt>
1505 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1508 <dd>The type of event to listen for</dd>
1511 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1514 <dd>The method the event invokes</dd>
1517 <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>
1520 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1523 <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>
1544 <td class="msource">
1546 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1552 <tr class="method-row config-row-alt1 expandable">
1553 <td class="micon"><a class="exi" href="#expand"> </a></td>
1557 <a id="Roo.BoxComponent-method-onPosition" name=".onPosition"></a>
1558 <div class="fixedFont">
1559 <span class="attributes"></span><b class="itemname">onPosition</b>
1561 (<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>)
1568 <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>
1574 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.
1581 <dl class="detailList">
1582 <dt class="heading">Parameters:</dt>
1585 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
1588 <dd>The new x position</dd>
1591 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
1594 <dd>The new y position</dd>
1612 <td class="msource">
1614 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1620 <tr class="method-row config-row-alt0 expandable">
1621 <td class="micon"><a class="exi" href="#expand"> </a></td>
1625 <a id="Roo.BoxComponent-method-onResize" name=".onResize"></a>
1626 <div class="fixedFont">
1627 <span class="attributes"></span><b class="itemname">onResize</b>
1629 (<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>)
1636 <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>
1642 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.
1649 <dl class="detailList">
1650 <dt class="heading">Parameters:</dt>
1653 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
1656 <dd>The box-adjusted width that was set</dd>
1659 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
1662 <dd>The box-adjusted height that was set</dd>
1665 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
1668 <dd>The width that was originally specified</dd>
1671 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
1674 <dd>The height that was originally specified</dd>
1692 <td class="msource">
1694 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
1700 <tr class="method-row config-row-alt1 expandable">
1701 <td class="micon"><a class="exi" href="#expand"> </a></td>
1705 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1706 <div class="fixedFont">
1707 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1716 <div class="short">Removes all listeners for this object</div>
1722 Removes all listeners for this object
1743 <td class="msource">
1745 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1751 <tr class="method-row config-row-alt0 expandable">
1752 <td class="micon"><a class="exi" href="#expand"> </a></td>
1756 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1757 <div class="fixedFont">
1758 <span class="attributes"></span><b class="itemname">removeListener</b>
1760 (<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>)
1767 <div class="short">Removes a listener</div>
1780 <dl class="detailList">
1781 <dt class="heading">Parameters:</dt>
1784 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1787 <dd>The type of event to listen for</dd>
1790 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1793 <dd>The handler to remove</dd>
1796 <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>
1799 <dd>(optional) The scope (this object) for the handler</dd>
1817 <td class="msource">
1819 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1825 <tr class="method-row config-row-alt1 expandable">
1826 <td class="micon"><a class="exi" href="#expand"> </a></td>
1830 <a id="Roo.Component-method-render" name=".render"></a>
1831 <div class="fixedFont">
1832 <span class="attributes"></span><b class="itemname">render</b>
1834 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
1841 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
1847 If this is a lazy rendering component, render it to its container element.
1854 <dl class="detailList">
1855 <dt class="heading">Parameters:</dt>
1858 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
1861 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
1879 <td class="msource">
1881 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1887 <tr class="method-row config-row-alt0 expandable">
1888 <td class="micon"><a class="exi" href="#expand"> </a></td>
1892 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
1893 <div class="fixedFont">
1894 <span class="attributes"></span><b class="itemname">setDisabled</b>
1896 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
1903 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
1909 Convenience function for setting disabled/enabled by boolean.
1916 <dl class="detailList">
1917 <dt class="heading">Parameters:</dt>
1920 <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>
1941 <td class="msource">
1943 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1949 <tr class="method-row config-row-alt1 expandable">
1950 <td class="micon"><a class="exi" href="#expand"> </a></td>
1954 <a id="Roo.BoxComponent-method-setPagePosition" name=".setPagePosition"></a>
1955 <div class="fixedFont">
1956 <span class="attributes"></span><b class="itemname">setPagePosition</b>
1958 (<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>)
1965 <div class="short">Sets the page XY position of the component.</div>
1971 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.
1978 <dl class="detailList">
1979 <dt class="heading">Parameters:</dt>
1982 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
1985 <dd>The new x position</dd>
1988 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
1991 <dd>The new y position</dd>
2009 <td class="msource">
2011 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2017 <tr class="method-row config-row-alt0 expandable">
2018 <td class="micon"><a class="exi" href="#expand"> </a></td>
2022 <a id="Roo.BoxComponent-method-setPosition" name=".setPosition"></a>
2023 <div class="fixedFont">
2024 <span class="attributes"></span><b class="itemname">setPosition</b>
2026 (<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>)
2033 <div class="short">Sets the left and top of the component.</div>
2039 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.
2046 <dl class="detailList">
2047 <dt class="heading">Parameters:</dt>
2050 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>left</b>
2053 <dd>The new left</dd>
2056 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>top</b>
2059 <dd>The new top</dd>
2077 <td class="msource">
2079 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2085 <tr class="method-row config-row-alt1 expandable">
2086 <td class="micon"><a class="exi" href="#expand"> </a></td>
2090 <a id="Roo.BoxComponent-method-setSize" name=".setSize"></a>
2091 <div class="fixedFont">
2092 <span class="attributes"></span><b class="itemname">setSize</b>
2094 (<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>)
2100 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2109 <div class="short">Sets the width and height of the component.</div>
2115 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}.
2122 <dl class="detailList">
2123 <dt class="heading">Parameters:</dt>
2126 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Object</span> <b>width</b>
2129 <dd>The new width to set, or a size object in the format {width, height}</dd>
2132 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
2135 <dd>The new height to set (not required if a size object is passed as the first arg)</dd>
2143 <dl class="detailList">
2144 <dt class="heading">Returns:</dt>
2146 <dd><span class="fixedFont"><a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a></span> this</dd>
2160 <td class="msource">
2162 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2168 <tr class="method-row config-row-alt0 expandable">
2169 <td class="micon"><a class="exi" href="#expand"> </a></td>
2173 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
2174 <div class="fixedFont">
2175 <span class="attributes"></span><b class="itemname">setVisible</b>
2177 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
2183 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2192 <div class="short">Convenience function to hide or show this component by boolean.</div>
2198 Convenience function to hide or show this component by boolean.
2205 <dl class="detailList">
2206 <dt class="heading">Parameters:</dt>
2209 <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>
2212 <dd>True to show, false to hide</dd>
2220 <dl class="detailList">
2221 <dt class="heading">Returns:</dt>
2223 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2237 <td class="msource">
2239 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2245 <tr class="method-row config-row-alt1 expandable">
2246 <td class="micon"><a class="exi" href="#expand"> </a></td>
2250 <a id="Roo.Component-method-show" name=".show"></a>
2251 <div class="fixedFont">
2252 <span class="attributes"></span><b class="itemname">show</b>
2260 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2269 <div class="short">Show this component.</div>
2275 Show this component.
2286 <dl class="detailList">
2287 <dt class="heading">Returns:</dt>
2289 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2303 <td class="msource">
2305 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2311 <tr class="method-row config-row-alt0 expandable">
2312 <td class="micon"><a class="exi" href="#expand"> </a></td>
2316 <a id="Roo.BoxComponent-method-syncSize" name=".syncSize"></a>
2317 <div class="fixedFont">
2318 <span class="attributes"></span><b class="itemname">syncSize</b>
2327 <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
2333 Force the component's size to recalculate based on the underlying element's current height and width.
2354 <td class="msource">
2356 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2362 <tr class="method-row config-row-alt1 expandable">
2363 <td class="micon"><a class="exi" href="#expand"> </a></td>
2367 <a id="Roo.util.Observable-method-un" name=".un"></a>
2368 <div class="fixedFont">
2369 <span class="attributes"></span><b class="itemname">un</b>
2371 (<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>)
2378 <div class="short">Removes a listener (shorthand for removeListener)</div>
2384 Removes a listener (shorthand for removeListener)
2391 <dl class="detailList">
2392 <dt class="heading">Parameters:</dt>
2395 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2398 <dd>The type of event to listen for</dd>
2401 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2404 <dd>The handler to remove</dd>
2407 <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>
2410 <dd>(optional) The scope (this object) for the handler</dd>
2428 <td class="msource">
2430 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2436 <tr class="method-row config-row-alt0 expandable">
2437 <td class="micon"><a class="exi" href="#expand"> </a></td>
2441 <a id="Roo.BoxComponent-method-updateBox" name=".updateBox"></a>
2442 <div class="fixedFont">
2443 <span class="attributes"></span><b class="itemname">updateBox</b>
2445 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>box</i></B>)
2452 <div class="short">Sets the current box measurements of the component's underlying element.</div>
2458 Sets the current box measurements of the component's underlying element.
2465 <dl class="detailList">
2466 <dt class="heading">Parameters:</dt>
2469 <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>
2472 <dd>An object in the format {x, y, width, height}</dd>
2490 <td class="msource">
2492 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
2501 <!-- ============================== events summary / details ======================== -->
2504 <a id="Roo.form.ComboBoxArray.Item-events"></a>
2513 <table cellspacing="0" class="member-table">
2514 <caption>Events</caption>
2517 <th class="sig-header" colspan="2">Event</th>
2518 <th class="msource-header">Defined By</th>
2527 <tr class="method-row expandable config-row-alt0">
2528 <td class="micon"><a class="exi" href="#expand"> </a></td>
2531 <a id="Roo.Component-event-*beforedestroy"></a>
2533 <div class="fixedFont">
2534 <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>)
2540 <div class="short">Fires before the component is destroyed.
2546 Fires before the component is destroyed. Return false to stop the destroy.
2552 <dl class="detailList">
2553 <dt class="heading">Parameters:</dt>
2556 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2577 <td class="msource">
2578 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2582 <tr class="method-row expandable config-row-alt1">
2583 <td class="micon"><a class="exi" href="#expand"> </a></td>
2586 <a id="Roo.Component-event-*beforehide"></a>
2588 <div class="fixedFont">
2589 <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>)
2595 <div class="short">Fires before the component is hidden.
2601 Fires before the component is hidden. Return false to stop the hide.
2607 <dl class="detailList">
2608 <dt class="heading">Parameters:</dt>
2611 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2632 <td class="msource">
2633 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2637 <tr class="method-row expandable config-row-alt0">
2638 <td class="micon"><a class="exi" href="#expand"> </a></td>
2641 <a id="Roo.Component-event-*beforerender"></a>
2643 <div class="fixedFont">
2644 <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>)
2650 <div class="short">Fires before the component is rendered.
2656 Fires before the component is rendered. Return false to stop the render.
2662 <dl class="detailList">
2663 <dt class="heading">Parameters:</dt>
2666 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2687 <td class="msource">
2688 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2692 <tr class="method-row expandable config-row-alt1">
2693 <td class="micon"><a class="exi" href="#expand"> </a></td>
2696 <a id="Roo.Component-event-*beforeshow"></a>
2698 <div class="fixedFont">
2699 <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>)
2705 <div class="short">Fires before the component is shown.
2711 Fires before the component is shown. Return false to stop the show.
2717 <dl class="detailList">
2718 <dt class="heading">Parameters:</dt>
2721 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2742 <td class="msource">
2743 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2747 <tr class="method-row expandable config-row-alt0">
2748 <td class="micon"><a class="exi" href="#expand"> </a></td>
2751 <a id="Roo.Component-event-*destroy"></a>
2753 <div class="fixedFont">
2754 <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>)
2760 <div class="short">Fires after the component is destroyed.
2766 Fires after the component is destroyed.
2772 <dl class="detailList">
2773 <dt class="heading">Parameters:</dt>
2776 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2797 <td class="msource">
2798 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2802 <tr class="method-row expandable config-row-alt1">
2803 <td class="micon"><a class="exi" href="#expand"> </a></td>
2806 <a id="Roo.Component-event-*disable"></a>
2808 <div class="fixedFont">
2809 <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>)
2815 <div class="short">Fires after the component is disabled.
2821 Fires after the component is disabled.
2827 <dl class="detailList">
2828 <dt class="heading">Parameters:</dt>
2831 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2852 <td class="msource">
2853 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2857 <tr class="method-row expandable config-row-alt0">
2858 <td class="micon"><a class="exi" href="#expand"> </a></td>
2861 <a id="Roo.Component-event-*enable"></a>
2863 <div class="fixedFont">
2864 <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>)
2870 <div class="short">Fires after the component is enabled.
2876 Fires after the component is enabled.
2882 <dl class="detailList">
2883 <dt class="heading">Parameters:</dt>
2886 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2907 <td class="msource">
2908 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2912 <tr class="method-row expandable config-row-alt1">
2913 <td class="micon"><a class="exi" href="#expand"> </a></td>
2916 <a id="Roo.Component-event-*hide"></a>
2918 <div class="fixedFont">
2919 <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>)
2925 <div class="short">Fires after the component is hidden.
2931 Fires after the component is hidden.
2937 <dl class="detailList">
2938 <dt class="heading">Parameters:</dt>
2941 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2962 <td class="msource">
2963 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2967 <tr class="method-row expandable config-row-alt0">
2968 <td class="micon"><a class="exi" href="#expand"> </a></td>
2971 <a id="Roo.BoxComponent-event-*move"></a>
2973 <div class="fixedFont">
2974 <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>)
2980 <div class="short">Fires after the component is moved.
2986 Fires after the component is moved.
2992 <dl class="detailList">
2993 <dt class="heading">Parameters:</dt>
2996 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3002 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>x</b>
3005 <dd>The new x position</dd>
3008 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>y</b>
3011 <dd>The new y position</dd>
3029 <td class="msource">
3030 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3034 <tr class="method-row expandable config-row-alt1">
3035 <td class="micon"><a class="exi" href="#expand"> </a></td>
3038 <a id="Roo.Component-event-*render"></a>
3040 <div class="fixedFont">
3041 <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>)
3047 <div class="short">Fires after the component is rendered.
3053 Fires after the component is rendered.
3059 <dl class="detailList">
3060 <dt class="heading">Parameters:</dt>
3063 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3084 <td class="msource">
3085 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3089 <tr class="method-row expandable config-row-alt0">
3090 <td class="micon"><a class="exi" href="#expand"> </a></td>
3093 <a id="Roo.BoxComponent-event-*resize"></a>
3095 <div class="fixedFont">
3096 <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>)
3102 <div class="short">Fires after the component is resized.
3108 Fires after the component is resized.
3114 <dl class="detailList">
3115 <dt class="heading">Parameters:</dt>
3118 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3124 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjWidth</b>
3127 <dd>The box-adjusted width that was set</dd>
3130 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>adjHeight</b>
3133 <dd>The box-adjusted height that was set</dd>
3136 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawWidth</b>
3139 <dd>The width that was originally specified</dd>
3142 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rawHeight</b>
3145 <dd>The height that was originally specified</dd>
3163 <td class="msource">
3164 <a href="./Roo.BoxComponent.html#constructor" roo:cls="Roo.BoxComponent.html#constructor">Roo.BoxComponent</a>
3168 <tr class="method-row expandable config-row-alt1">
3169 <td class="micon"><a class="exi" href="#expand"> </a></td>
3172 <a id="Roo.Component-event-*show"></a>
3174 <div class="fixedFont">
3175 <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>)
3181 <div class="short">Fires after the component is shown.
3187 Fires after the component is shown.
3193 <dl class="detailList">
3194 <dt class="heading">Parameters:</dt>
3197 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3218 <td class="msource">
3219 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3230 <!-- ============================== footer ================================= -->
3231 <div class="fineprint" style="clear:both">
3233 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 24 2014 16:54:37 GMT+0800 (HKT)
3235 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>