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.XComponent</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.XComponent-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.XComponent-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.XComponent-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.XComponent-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 class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.XComponent
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_XComponent.js.html">Roo/XComponent.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">XComponent</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 A delayed Element creator...<br/><br/>Mypart.xyx = new Roo.XComponent({<br/><br/> parent : 'Mypart.xyz', // empty == document.element.!!<br/> order : '001',<br/> name : 'xxxx'<br/> region : 'xxxx'<br/> disabled : function() {} <br/> <br/> tree : function() { // return an tree of xtype declared components<br/> var MODULE = this;<br/> return <br/> {<br/> xtype : 'NestedLayoutPanel',<br/> // technicall<br/> }<br/> ]<br/>})
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.XComponent';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.XComponent.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.XComponent-configs"></a>
113 <table cellspacing="0" class="member-table">
114 <caption>Config Options (Usually are also Properties)</caption>
118 <th class="sig-header" colspan="2">Options</th>
120 <th class="msource-header">Defined By</th>
127 <tr class="config-row expandable config-row-alt0 notInherited">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.XComponent-cfg-disabled" name=".disabled"></a>
132 <div class="fixedFont">
133 <b class="itemname">disabled</b> : <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a>|boolean
139 <div class="short">If this module is disabled by some rule, return true from the funtion</div>
143 <div class="long">If this module is disabled by some rule, return true from the funtion</div>
157 <tr class="config-row expandable config-row-alt1 notInherited">
158 <td class="micon"><a class="exi" href="#expand"> </a></td>
161 <a id="Roo.XComponent-cfg-items" name=".items"></a>
162 <div class="fixedFont">
163 <b class="itemname">items</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
169 <div class="short">A single item array - the first element is the root of the tree.</div>
173 <div class="long">A single item array - the first element is the root of the tree..<br/>It's done this way to stay compatible with the Xtype system...</div>
187 <tr class="config-row expandable config-row-alt0">
188 <td class="micon"><a class="exi" href="#expand"> </a></td>
191 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
192 <div class="fixedFont">
193 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
199 <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>
203 <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>
211 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
217 <tr class="config-row expandable config-row-alt1 notInherited">
218 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo.XComponent-cfg-name" name=".name"></a>
222 <div class="fixedFont">
223 <b class="itemname">name</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
229 <div class="short">String to display while loading.</div>
233 <div class="long">String to display while loading.</div>
247 <tr class="config-row expandable config-row-alt0 notInherited">
248 <td class="micon"><a class="exi" href="#expand"> </a></td>
251 <a id="Roo.XComponent-cfg-order" name=".order"></a>
252 <div class="fixedFont">
253 <b class="itemname">order</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
259 <div class="short">Used to set the order in which elements are created (usefull for multiple tabs)</div>
263 <div class="long">Used to set the order in which elements are created (usefull for multiple tabs)</div>
277 <tr class="config-row expandable config-row-alt1 notInherited">
278 <td class="micon"><a class="exi" href="#expand"> </a></td>
281 <a id="Roo.XComponent-cfg-parent" name=".parent"></a>
282 <div class="fixedFont">
283 <b class="itemname">parent</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
289 <div class="short">Name of parent element which it get xtype added to.</div>
293 <div class="long">Name of parent element which it get xtype added to..</div>
317 <!-- ============================== public properties ==================== -->
321 <a id="Roo.XComponent-props"></a>
329 <table cellspacing="0" class="member-table">
330 <caption>Public Properties </caption>
332 <th class="sig-header" colspan="2">Property</th>
333 <th class="sig-header">Description</th>
334 <th class="msource-header">Defined By</th>
344 <tr class="property-row config-row-alt0 notInherited">
346 <a class="exi" href="#expand"> </a>
349 <a id="Roo.XComponent-prop-buildCompleted" name=".buildCompleted"></a>
350 <div class="fixedFont">
351 <span class="attributes">Roo.XComponent.</span><b class="itemname">buildCompleted</b> :
352 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>
360 True when the builder has completed building the interface.
368 True when the builder has completed building the interface.
383 <tr class="property-row config-row-alt1 notInherited">
385 <a class="exi" href="#expand"> </a>
388 <a id="Roo.XComponent-prop-modules" name=".modules"></a>
389 <div class="fixedFont">
390 <span class="attributes">Roo.XComponent.</span><b class="itemname">modules</b> :
391 <span type="etype"><a href="./Roo.XComponent.html#constructor" roo:cls="Roo.XComponent.html#constructor">Roo.XComponent</a></span>
399 array of modules to be created by registration system.
407 array of modules to be created by registration system.
422 <tr class="property-row config-row-alt0 notInherited">
424 <a class="exi" href="#expand"> </a>
427 <a id="Roo.XComponent-prop-topModule" name=".topModule"></a>
428 <div class="fixedFont">
429 <span class="attributes">Roo.XComponent.</span><b class="itemname">topModule</b> :
430 <span type="etype"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>
438 the upper most module - uses document.element as it's constructor.
446 the upper most module - uses document.element as it's constructor.
462 <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
463 <tr class="property-row alt">
470 <!-- ============================== methods summary / details ======================== -->
473 <a id="Roo.XComponent-methods"></a>
474 <!-- constructor?? -->
481 <!-- then dynamics first -->
488 <table cellspacing="0" class="member-table">
489 <caption>Public Methods</caption>
491 <th class="sig-header" colspan="2">Method</th>
492 <th class="msource-header">Defined By</th>
502 <tr class="method-row config-row-alt0 expandable notInherited">
503 <td class="micon"><a class="exi" href="#expand"> </a></td>
507 <a id="Roo-method-XComponent" name=".XComponent"></a>
508 <div class="fixedFont">
509 <span class="attributes">new <B>Roo.</B></span><b class="itemname">XComponent</b>
519 <div class="short">Create a new Roo.XComponent</div>
526 Create a new Roo.XComponent
529 <dl class="detailList">
530 <dt class="heading">Parameters:</dt>
536 <dd>{Object} configuration of component</dd>
560 <tr class="method-row config-row-alt1 expandable notInherited">
561 <td class="micon"><a class="exi" href="#expand"> </a></td>
565 <a id="Roo.XComponent-method-build" name=".build"></a>
566 <div class="fixedFont">
567 <span class="attributes">Roo.XComponent.</span><b class="itemname">build</b>
569 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>parent</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>optional</i></B>)
576 <div class="short">Build the registered modules.</div>
582 Build the registered modules.
589 <dl class="detailList">
590 <dt class="heading">Parameters:</dt>
593 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>parent</b>
599 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>optional</b>
602 <dd>method to call after module has been added.</dd>
628 <tr class="method-row config-row-alt0 expandable notInherited">
629 <td class="micon"><a class="exi" href="#expand"> </a></td>
633 <a id="Roo.XComponent-method-buildOrder" name=".buildOrder"></a>
634 <div class="fixedFont">
635 <span class="attributes">Roo.XComponent.</span><b class="itemname">buildOrder</b>
643 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
652 <div class="short">make a list of modules to build.</div>
658 make a list of modules to build.
669 <dl class="detailList">
670 <dt class="heading">Returns:</dt>
672 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> list of modules.</dd>
694 <tr class="method-row config-row-alt1 expandable notInherited">
695 <td class="micon"><a class="exi" href="#expand"> </a></td>
699 <a id="Roo.XComponent-method-preBuild" name=".preBuild"></a>
700 <div class="fixedFont">
701 <span class="attributes">Roo.XComponent.</span><b class="itemname">preBuild</b>
710 <div class="short">move modules into their correct place in the tree.</div>
716 move modules into their correct place in the tree..
745 <tr class="method-row config-row-alt0 expandable notInherited">
746 <td class="micon"><a class="exi" href="#expand"> </a></td>
750 <a id="Roo.XComponent-method-register" name=".register"></a>
751 <div class="fixedFont">
752 <span class="attributes">Roo.XComponent.</span><b class="itemname">register</b>
761 <div class="short">Register components to be built later.</div>
767 Register components to be built later.<br/><br/>This solves the following issues<br/>- Building is not done on page load, but after an authentication process has occured.<br/>- Interface elements are registered on page load<br/>- Parent Interface elements may not be loaded before child, so this handles that..<br/><br/><br/>example:<br/><br/>MyApp.register({<br/> order : '000001',<br/> module : 'Pman.Tab.projectMgr',<br/> region : 'center',<br/> parent : 'Pman.layout',<br/> disabled : false, // or use a function..<br/> })<br/>* <b>param</b> {Object} details about module
796 <tr class="method-row config-row-alt1 expandable notInherited">
797 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.XComponent-method-toObject" name=".toObject"></a>
802 <div class="fixedFont">
803 <span class="attributes">Roo.XComponent.</span><b class="itemname">toObject</b>
812 <div class="short">convert a string to an object.</div>
818 convert a string to an object..
847 <tr class="method-row config-row-alt0 expandable">
848 <td class="micon"><a class="exi" href="#expand"> </a></td>
852 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
853 <div class="fixedFont">
854 <span class="attributes"></span><b class="itemname">addEvents</b>
856 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
863 <div class="short">Used to define events on this Observable</div>
869 Used to define events on this Observable
876 <dl class="detailList">
877 <dt class="heading">Parameters:</dt>
880 <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>
883 <dd>The object with the events defined</dd>
903 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
909 <tr class="method-row config-row-alt1 expandable">
910 <td class="micon"><a class="exi" href="#expand"> </a></td>
914 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
915 <div class="fixedFont">
916 <span class="attributes"></span><b class="itemname">addListener</b>
918 (<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>)
925 <div class="short">Appends an event handler to this component</div>
931 Appends an event handler to this component
938 <dl class="detailList">
939 <dt class="heading">Parameters:</dt>
942 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
945 <dd>The type of event to listen for</dd>
948 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
951 <dd>The method the event invokes</dd>
954 <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>
957 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
960 <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>
963 <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>
983 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
989 <tr class="method-row config-row-alt0 expandable">
990 <td class="micon"><a class="exi" href="#expand"> </a></td>
994 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
995 <div class="fixedFont">
996 <span class="attributes"></span><b class="itemname">fireEvent</b>
998 (<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>)
1004 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1013 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1019 Fires the specified event with the passed parameters (minus the event name).
1026 <dl class="detailList">
1027 <dt class="heading">Parameters:</dt>
1030 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1036 <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>
1039 <dd>Variable number of parameters are passed to handlers</dd>
1047 <dl class="detailList">
1048 <dt class="heading">Returns:</dt>
1050 <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>
1064 <td class="msource">
1066 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1072 <tr class="method-row config-row-alt1 expandable">
1073 <td class="micon"><a class="exi" href="#expand"> </a></td>
1077 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1078 <div class="fixedFont">
1079 <span class="attributes"></span><b class="itemname">hasListener</b>
1081 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1087 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1096 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1102 Checks to see if this object has any listeners for a specified event
1109 <dl class="detailList">
1110 <dt class="heading">Parameters:</dt>
1113 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1116 <dd>The name of the event to check for</dd>
1124 <dl class="detailList">
1125 <dt class="heading">Returns:</dt>
1127 <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>
1141 <td class="msource">
1143 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1149 <tr class="method-row config-row-alt0 expandable">
1150 <td class="micon"><a class="exi" href="#expand"> </a></td>
1154 <a id="Roo.util.Observable-method-on" name=".on"></a>
1155 <div class="fixedFont">
1156 <span class="attributes"></span><b class="itemname">on</b>
1158 (<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>)
1165 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1171 Appends an event handler to this element (shorthand for addListener)
1178 <dl class="detailList">
1179 <dt class="heading">Parameters:</dt>
1182 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1185 <dd>The type of event to listen for</dd>
1188 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1191 <dd>The method the event invokes</dd>
1194 <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>
1197 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1200 <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>
1221 <td class="msource">
1223 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1229 <tr class="method-row config-row-alt1 expandable">
1230 <td class="micon"><a class="exi" href="#expand"> </a></td>
1234 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1235 <div class="fixedFont">
1236 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1245 <div class="short">Removes all listeners for this object</div>
1251 Removes all listeners for this object
1272 <td class="msource">
1274 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1280 <tr class="method-row config-row-alt0 expandable">
1281 <td class="micon"><a class="exi" href="#expand"> </a></td>
1285 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1286 <div class="fixedFont">
1287 <span class="attributes"></span><b class="itemname">removeListener</b>
1289 (<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>)
1296 <div class="short">Removes a listener</div>
1309 <dl class="detailList">
1310 <dt class="heading">Parameters:</dt>
1313 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1316 <dd>The type of event to listen for</dd>
1319 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1322 <dd>The handler to remove</dd>
1325 <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>
1328 <dd>(optional) The scope (this object) for the handler</dd>
1346 <td class="msource">
1348 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1354 <tr class="method-row config-row-alt1 expandable">
1355 <td class="micon"><a class="exi" href="#expand"> </a></td>
1359 <a id="Roo.util.Observable-method-un" name=".un"></a>
1360 <div class="fixedFont">
1361 <span class="attributes"></span><b class="itemname">un</b>
1363 (<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>)
1370 <div class="short">Removes a listener (shorthand for removeListener)</div>
1376 Removes a listener (shorthand for removeListener)
1383 <dl class="detailList">
1384 <dt class="heading">Parameters:</dt>
1387 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1390 <dd>The type of event to listen for</dd>
1393 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1396 <dd>The handler to remove</dd>
1399 <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>
1402 <dd>(optional) The scope (this object) for the handler</dd>
1420 <td class="msource">
1422 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1431 <!-- ============================== events summary / details ======================== -->
1434 <a id="Roo.XComponent-events"></a>
1443 <table cellspacing="0" class="member-table">
1444 <caption>Events</caption>
1447 <th class="sig-header" colspan="2">Event</th>
1448 <th class="msource-header">Defined By</th>
1457 <tr class="method-row expandable config-row-alt0 notInherited">
1458 <td class="micon"><a class="exi" href="#expand"> </a></td>
1461 <a id="Roo.XComponent-event-*buildcomplete"></a>
1463 <div class="fixedFont">
1464 <b class="itemname">buildcomplete</b> (<a href="./Roo.XComponent.html#constructor" roo:cls="Roo.XComponent.html#constructor">Roo.XComponent</a> <B><i>c</i></B>)
1470 <div class="short">Fires on the top level element when all elements have been built
1476 Fires on the top level element when all elements have been built
1482 <dl class="detailList">
1483 <dt class="heading">Parameters:</dt>
1486 <span class="fixedFont"><a href="./Roo.XComponent.html#constructor" roo:cls="Roo.XComponent.html#constructor">Roo.XComponent</a></span> <b>c</b>
1489 <dd>the top level component.</dd>
1507 <td class="msource">
1512 <tr class="method-row expandable config-row-alt1 notInherited">
1513 <td class="micon"><a class="exi" href="#expand"> </a></td>
1516 <a id="Roo.XComponent-event-*built"></a>
1518 <div class="fixedFont">
1519 <b class="itemname">built</b> (<a href="./Roo.XComponent.html#constructor" roo:cls="Roo.XComponent.html#constructor">Roo.XComponent</a> <B><i>c</i></B>)
1525 <div class="short">Fires when this the componnt is built
1531 Fires when this the componnt is built
1537 <dl class="detailList">
1538 <dt class="heading">Parameters:</dt>
1541 <span class="fixedFont"><a href="./Roo.XComponent.html#constructor" roo:cls="Roo.XComponent.html#constructor">Roo.XComponent</a></span> <b>c</b>
1544 <dd>the component</dd>
1562 <td class="msource">
1574 <!-- ============================== footer ================================= -->
1575 <div class="fineprint" style="clear:both">
1577 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Apr 01 2011 15:12:57 GMT+0800 (HKT)
1579 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>