sync
[roojs1] / docs / symbols / Roo.ContentPanel.html
index be61745..3a56ecb 100644 (file)
         <tr><td class="label">Class:</td><td class="hd-info">ContentPanel</td></tr>
        
        
+        <tr><td class="label">Subclasses:</td><td class="hd-info">
+               <a href="./Roo.GridPanel.html#constructor" roo:cls="Roo.GridPanel.html#constructor">Roo.GridPanel</a>, <a href="./Roo.NestedLayoutPanel.html#constructor" roo:cls="Roo.NestedLayoutPanel.html#constructor">Roo.NestedLayoutPanel</a>, <a href="./Roo.TreePanel.html#constructor" roo:cls="Roo.TreePanel.html#constructor">Roo.TreePanel</a>
+
+       
+       
+       </td></tr>
+       
        
        
                <tr><td class="label">Extends:</td><td class="hd-info">
                </tr>
         
        
-               <tr class="config-row expandable config-row-alt1 notInherited">
+               <tr class="config-row expandable config-row-alt1">
+                  <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+                   <td class="sig">
+
+                       <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
+                       <div class="fixedFont">
+                               <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
+                               
+                               
+                       </div>
+                 
+                       <div class="mdesc">
+                           <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> 
+                       </div>
+                       
+                       <div class="mdesc">
+                           <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> 
+                       </div>
+                       
+                       
+
+                   </td>
+                   <td class="msource">
+                       
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
+                               
+                   </td>
+               </tr>
+        
+       
+               <tr class="config-row expandable config-row-alt0 notInherited">
                   <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
                    <td class="sig">
 
                </tr>
         
        
-               <tr class="config-row expandable config-row-alt0 notInherited">
+               <tr class="config-row expandable config-row-alt1 notInherited">
                   <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
                    <td class="sig">
 
                </tr>
         
        
-               <tr class="config-row expandable config-row-alt1 notInherited">
+               <tr class="config-row expandable config-row-alt0 notInherited">
                   <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
                    <td class="sig">
 
                </tr>
         
        
-               <tr class="config-row expandable config-row-alt0 notInherited">
+               <tr class="config-row expandable config-row-alt1 notInherited">
                   <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
                    <td class="sig">
 
                </tr>
         
        
-               <tr class="config-row expandable config-row-alt1 notInherited">
+               <tr class="config-row expandable config-row-alt0 notInherited">
                   <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
                    <td class="sig">
 
                </tr>
         
        
-               <tr class="config-row expandable config-row-alt0 notInherited">
+               <tr class="config-row expandable config-row-alt1 notInherited">
                   <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
                    <td class="sig">
 
         </tr>
        
          
-          <tr class="method-row config-row-alt1 expandable notInherited">
+          <tr class="method-row config-row-alt1 expandable">
             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-addxtype"   name=".addxtype"></a>
+                <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">addxtype</b>
+                       <span class="attributes"></span><b class="itemname">addEvents</b>
                                
-                                (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>cfg</i></B>) 
+                                (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
                        
                                
                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Adds a xtype elements to the panel - currently only supports Forms.</div> 
+                   <div class="short">Used to define events on this Observable</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Adds a xtype elements to the panel - currently only supports Forms.<br/><pre><code><br/><br/>layout.addxtype({<br/>       xtype : 'Form',<br/>       items: [ .... ]<br/>   }<br/>);<br/><br/></code></pre>
+                               Used to define events on this Observable
                    
                                
                        
                                <dt class="heading">Parameters:</dt>
                                
                                        <dt>
-                                               <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>cfg</b>
+                                               <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>
                                                
                                        </dt>
-                                       <dd>Xtype definition of item to add.</dd>
+                                       <dd>The object with the events defined</dd>
                                
                                </dl>
                        
             </td>
             <td class="msource">
                
-                       Roo.ContentPanel
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
                &nbsp;
             </td>
         </tr>
        
          
-          <tr class="method-row config-row-alt0 expandable notInherited">
+          <tr class="method-row config-row-alt0 expandable">
             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-destroy"   name=".destroy"></a>
+                <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">destroy</b>
+                       <span class="attributes"></span><b class="itemname">addListener</b>
                                
-                                () 
+                                (<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>
                        
                                
                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Destroys this panel</div> 
+                   <div class="short">Appends an event handler to this component</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Destroys this panel
+                               Appends an event handler to this component
                    
                                
                        
                        
                        
                        
+                               <dl class="detailList">
+                               <dt class="heading">Parameters:</dt>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
+                                               
+                                       </dt>
+                                       <dd>The type of event to listen for</dd>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
+                                               
+                                       </dt>
+                                       <dd>The method the event invokes</dd>
+                               
+                                       <dt>
+                                               <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>
+                                               
+                                       </dt>
+                                       <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
+                               
+                                       <dt>
+                                               <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>
+                                               
+                                       </dt>
+                                       <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>
+                               
+                               </dl>
+                       
                        
                        
                        
             </td>
             <td class="msource">
                
-                       Roo.ContentPanel
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
                &nbsp;
             </td>
         </tr>
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-getEl"   name=".getEl"></a>
+                <a id="Roo.ContentPanel-method-addxtype"   name=".addxtype"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">getEl</b>
+                       <span class="attributes"></span><b class="itemname">addxtype</b>
                                
-                                () 
+                                (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>cfg</i></B>
                        
                                
-                                        : 
-                                       
-                                               
-                                               <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
-                                       
-                                       
-                                       
-                               
                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Returns this panel's element - used by regiosn to add.</div> 
+                   <div class="short">Adds a xtype elements to the panel - currently only supports Forms, View, JsonView.</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Returns this panel's element - used by regiosn to add.
+                               Adds a xtype elements to the panel - currently only supports Forms, View, JsonView.<br/><pre><code><br/><br/>layout.addxtype({<br/>       xtype : 'Form',<br/>       items: [ .... ]<br/>   }<br/>);<br/><br/></code></pre>
                    
                                
                        
                        
                        
                        
-                       
-                       
-                       
-                       
                                <dl class="detailList">
-                               <dt class="heading">Returns:</dt>
+                               <dt class="heading">Parameters:</dt>
                                
-                                       <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
+                                       <dt>
+                                               <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span>  <b>cfg</b>
+                                               
+                                       </dt>
+                                       <dd>Xtype definition of item to add.</dd>
                                
                                </dl>
                        
                        
                        
+                       
+                       
+                       
+                       
 
                    
                    
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-getId"   name=".getId"></a>
+                <a id="Roo.ContentPanel-method-destroy"   name=".destroy"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">getId</b>
+                       <span class="attributes"></span><b class="itemname">destroy</b>
                                
                                 () 
                        
                                
-                                        : 
-                                       
-                                               
-                                               <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
-                                       
-                                       
-                                       
-                               
                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Returns this panel's id</div> 
+                   <div class="short">Destroys this panel</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Returns this panel's id
+                               Destroys this panel
                    
                                
                        
                        
                        
                        
-                               <dl class="detailList">
-                               <dt class="heading">Returns:</dt>
-                               
-                                       <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  </dd>
-                               
-                               </dl>
-                       
                        
                        
 
         </tr>
        
          
-          <tr class="method-row config-row-alt1 expandable notInherited">
+          <tr class="method-row config-row-alt1 expandable">
             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-getTitle"   name=".getTitle"></a>
+                <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">getTitle</b>
+                       <span class="attributes"></span><b class="itemname">fireEvent</b>
                                
-                                () 
+                                (<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>
                        
                                
                                         : 
                                        
                                                
-                                               <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
+                                               <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
                                        
                                        
                                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Returns this panel's title</div> 
+                   <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Returns this panel's title
+                               Fires the specified event with the passed parameters (minus the event name).
                    
                                
                        
                        
                        
                        
+                               <dl class="detailList">
+                               <dt class="heading">Parameters:</dt>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
+                                               
+                                       </dt>
+                                       <dd></dd>
+                               
+                                       <dt>
+                                               <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>
+                                               
+                                       </dt>
+                                       <dd>Variable number of parameters are passed to handlers</dd>
+                               
+                               </dl>
+                       
                        
                        
                        
                                <dl class="detailList">
                                <dt class="heading">Returns:</dt>
                                
-                                       <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  </dd>
+                                       <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>
                                
                                </dl>
                        
             </td>
             <td class="msource">
                
-                       Roo.ContentPanel
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
                &nbsp;
             </td>
         </tr>
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-getToolbar"   name=".getToolbar"></a>
+                <a id="Roo.ContentPanel-method-getEl"   name=".getEl"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">getToolbar</b>
+                       <span class="attributes"></span><b class="itemname">getEl</b>
                                
                                 () 
                        
                                         : 
                                        
                                                
-                                               <a href="./Roo.Toolbar.html#constructor" roo:cls="Roo.Toolbar.html#constructor">Roo.Toolbar</a>
+                                               <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
                                        
                                        
                                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Returns the toolbar for this Panel if one was configured.</div> 
+                   <div class="short">Returns this panel's element - used by regiosn to add.</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Returns the toolbar for this Panel if one was configured.
+                               Returns this panel's element - used by regiosn to add.
                    
                                
                        
                                <dl class="detailList">
                                <dt class="heading">Returns:</dt>
                                
-                                       <dd><span class="fixedFont"><a href="./Roo.Toolbar.html#constructor" roo:cls="Roo.Toolbar.html#constructor">Roo.Toolbar</a></span>  </dd>
+                                       <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span>  </dd>
                                
                                </dl>
                        
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-getUpdateManager"   name=".getUpdateManager"></a>
+                <a id="Roo.ContentPanel-method-getId"   name=".getId"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">getUpdateManager</b>
+                       <span class="attributes"></span><b class="itemname">getId</b>
                                
                                 () 
                        
                                         : 
                                        
                                                
-                                               <a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a>
+                                               <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
                                        
                                        
                                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Get the {<b>link</b> Roo.UpdateManager} for this panel.</div> 
+                   <div class="short">Returns this panel's id</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Get the {<b>link</b> Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.
+                               Returns this panel's id
                    
                                
                        
                                <dl class="detailList">
                                <dt class="heading">Returns:</dt>
                                
-                                       <dd><span class="fixedFont"><a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a></span>  The UpdateManager</dd>
+                                       <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  </dd>
                                
                                </dl>
                        
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-isClosable"   name=".isClosable"></a>
+                <a id="Roo.ContentPanel-method-getTitle"   name=".getTitle"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">isClosable</b>
+                       <span class="attributes"></span><b class="itemname">getTitle</b>
                                
                                 () 
                        
                                         : 
                                        
                                                
-                                               <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
+                                               <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
                                        
                                        
                                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Returns true is this panel was configured to be closable</div> 
+                   <div class="short">Returns this panel's title</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Returns true is this panel was configured to be closable
+                               Returns this panel's title
                    
                                
                        
                                <dl class="detailList">
                                <dt class="heading">Returns:</dt>
                                
-                                       <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  </dd>
+                                       <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  </dd>
                                
                                </dl>
                        
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-load"   name=".load"></a>
+                <a id="Roo.ContentPanel-method-getToolbar"   name=".getToolbar"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">load</b>
+                       <span class="attributes"></span><b class="itemname">getToolbar</b>
                                
-                                (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String/Function <B><i>url</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object <B><i>params</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>discardUrl</i></B>
+                                () 
                        
                                
                                         : 
                                        
                                                
-                                               <a href="./Roo.ContentPanel.html#constructor" roo:cls="Roo.ContentPanel.html#constructor">Roo.ContentPanel</a>
+                                               <a href="./Roo.Toolbar.html#constructor" roo:cls="Roo.Toolbar.html#constructor">Roo.Toolbar</a>
                                        
                                        
                                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Loads this content panel immediately with content from XHR.</div> 
+                   <div class="short">Returns the toolbar for this Panel if one was configured.</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {<b>link</b> <b>setUrl</b>}.
+                               Returns the toolbar for this Panel if one was configured.
                    
                                
                        
                        
                        
                        
-                               <dl class="detailList">
-                               <dt class="heading">Parameters:</dt>
-                               
-                                       <dt>
-                                               <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String/Function</span>  <b>url</b>
-                                               
-                                       </dt>
-                                       <dd>The url for this request or a function to call to get the url or a config object containing any of the following options:<br/><pre><code><br/>panel.load({<br/>    url: "your-url.php",<br/>    params: {param1: "foo", param2: "bar"}, // or a URL encoded string<br/>    callback: yourFunction,<br/>    scope: yourObject, //(optional scope)<br/>    discardUrl: false,<br/>    nocache: false,<br/>    text: "Loading...",<br/>    timeout: 30,<br/>    scripts: false<br/>});<br/></code></pre><br/>The only required property is <i>url</i>. The optional properties <i>nocache</i>, <i>text</i> and <i>scripts</i><br/>are shorthand for <i>disableCaching</i>, <i>indicatorText</i> and <i>loadScripts</i> and are used to set their associated property on this panel UpdateManager instance.</dd>
-                               
-                                       <dt>
-                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span>  <b>params</b>
-                                               
-                                       </dt>
-                                       <dd>(optional) The parameters to pass as either a URL encoded string "param1=1&amp;param2=2" or an object {param1: 1, param2: 2}</dd>
-                               
-                                       <dt>
-                                               <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>callback</b>
-                                               
-                                       </dt>
-                                       <dd>(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)</dd>
-                               
-                                       <dt>
-                                               <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>discardUrl</b>
-                                               
-                                       </dt>
-                                       <dd>(optional) By default when you execute an update the defaultUrl is changed to the last used URL. If true, it will not store the URL.</dd>
-                               
-                               </dl>
-                       
                        
                        
                        
                                <dl class="detailList">
                                <dt class="heading">Returns:</dt>
                                
-                                       <dd><span class="fixedFont"><a href="./Roo.ContentPanel.html#constructor" roo:cls="Roo.ContentPanel.html#constructor">Roo.ContentPanel</a></span>  this</dd>
+                                       <dd><span class="fixedFont"><a href="./Roo.Toolbar.html#constructor" roo:cls="Roo.Toolbar.html#constructor">Roo.Toolbar</a></span>  </dd>
                                
                                </dl>
                        
           
           
             <td class="sig">
-                <a id="Roo.ContentPanel-method-refresh"   name=".refresh"></a>
+                <a id="Roo.ContentPanel-method-getUpdateManager"   name=".getUpdateManager"></a>
                <div class="fixedFont">
-                       <span class="attributes"></span><b class="itemname">refresh</b>
+                       <span class="attributes"></span><b class="itemname">getUpdateManager</b>
                                
                                 () 
                        
                                
+                                        : 
+                                       
+                                               
+                                               <a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a>
+                                       
+                                       
+                                       
+                               
                        
                </div>
                 <div class="mdesc">
                
-                   <div class="short">Force a content refresh from the URL specified in the {<b>link</b> <b>setUrl</b>} method.</div> 
+                   <div class="short">Get the {<b>link</b> Roo.UpdateManager} for this panel.</div> 
                 
                 
                 
                     <div class="long">
                        
-                               Force a content refresh from the URL specified in the {<b>link</b> <b>setUrl</b>} method.<br/>  Will fail silently if the {<b>link</b> <b>setUrl</b>} method has not been called.<br/>  This does not activate the panel, just updates its content.
+                               Get the {<b>link</b> Roo.UpdateManager} for this panel. Enables you to perform Ajax updates.
                    
                                
                        
                        
                        
                        
-                       
-                       
+                               <dl class="detailList">
+                               <dt class="heading">Returns:</dt>
+                               
+                                       <dd><span class="fixedFont"><a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a></span>  The UpdateManager</dd>
+                               
+                               </dl>
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       Roo.ContentPanel
+               &nbsp;
+            </td>
+        </tr>
+       
+         
+          <tr class="method-row config-row-alt1 expandable">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">hasListener</b>
+                               
+                                (<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:Boolean">Boolean</a>
+                                       
+                                       
+                                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Checks to see if this object has any listeners for a specified event</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Checks to see if this object has any listeners for a specified event
+                   
+                               
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Parameters:</dt>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
+                                               
+                                       </dt>
+                                       <dd>The name of the event to check for</dd>
+                               
+                               </dl>
+                       
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Returns:</dt>
+                               
+                                       <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>
+                               
+                               </dl>
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
+               &nbsp;
+            </td>
+        </tr>
+       
+         
+          <tr class="method-row config-row-alt0 expandable notInherited">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.ContentPanel-method-isClosable"   name=".isClosable"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">isClosable</b>
+                               
+                                () 
+                       
+                               
+                                        : 
+                                       
+                                               
+                                               <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
+                                       
+                                       
+                                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Returns true is this panel was configured to be closable</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Returns true is this panel was configured to be closable
+                   
+                               
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Returns:</dt>
+                               
+                                       <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  </dd>
+                               
+                               </dl>
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       Roo.ContentPanel
+               &nbsp;
+            </td>
+        </tr>
+       
+         
+          <tr class="method-row config-row-alt1 expandable notInherited">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.ContentPanel-method-load"   name=".load"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">load</b>
+                               
+                                (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String/Function <B><i>url</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object <B><i>params</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>callback</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>discardUrl</i></B>) 
+                       
+                               
+                                        : 
+                                       
+                                               
+                                               <a href="./Roo.ContentPanel.html#constructor" roo:cls="Roo.ContentPanel.html#constructor">Roo.ContentPanel</a>
+                                       
+                                       
+                                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Loads this content panel immediately with content from XHR.</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Loads this content panel immediately with content from XHR. Note: to delay loading until the panel is activated, use {<b>link</b> <b>setUrl</b>}.
+                   
+                               
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Parameters:</dt>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/String/Function</span>  <b>url</b>
+                                               
+                                       </dt>
+                                       <dd>The url for this request or a function to call to get the url or a config object containing any of the following options:<br/><pre><code><br/>panel.load({<br/>    url: "your-url.php",<br/>    params: {param1: "foo", param2: "bar"}, // or a URL encoded string<br/>    callback: yourFunction,<br/>    scope: yourObject, //(optional scope)<br/>    discardUrl: false,<br/>    nocache: false,<br/>    text: "Loading...",<br/>    timeout: 30,<br/>    scripts: false<br/>});<br/></code></pre><br/>The only required property is <i>url</i>. The optional properties <i>nocache</i>, <i>text</i> and <i>scripts</i><br/>are shorthand for <i>disableCaching</i>, <i>indicatorText</i> and <i>loadScripts</i> and are used to set their associated property on this panel UpdateManager instance.</dd>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span>  <b>params</b>
+                                               
+                                       </dt>
+                                       <dd>(optional) The parameters to pass as either a URL encoded string "param1=1&amp;param2=2" or an object {param1: 1, param2: 2}</dd>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>callback</b>
+                                               
+                                       </dt>
+                                       <dd>(optional) Callback when transaction is complete -- called with signature (oElement, bSuccess, oResponse)</dd>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>discardUrl</b>
+                                               
+                                       </dt>
+                                       <dd>(optional) By default when you execute an update the defaultUrl is changed to the last used URL. If true, it will not store the URL.</dd>
+                               
+                               </dl>
+                       
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Returns:</dt>
+                               
+                                       <dd><span class="fixedFont"><a href="./Roo.ContentPanel.html#constructor" roo:cls="Roo.ContentPanel.html#constructor">Roo.ContentPanel</a></span>  this</dd>
+                               
+                               </dl>
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       Roo.ContentPanel
+               &nbsp;
+            </td>
+        </tr>
+       
+         
+          <tr class="method-row config-row-alt0 expandable">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.util.Observable-method-on"   name=".on"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">on</b>
+                               
+                                (<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>) 
+                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Appends an event handler to this element (shorthand for addListener)
+                   
+                               
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Parameters:</dt>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
+                                               
+                                       </dt>
+                                       <dd>The type of event to listen for</dd>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
+                                               
+                                       </dt>
+                                       <dd>The method the event invokes</dd>
+                               
+                                       <dt>
+                                               <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>
+                                               
+                                       </dt>
+                                       <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
+                               
+                                       <dt>
+                                               <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>
+                                               
+                                       </dt>
+                                       <dd>(optional)</dd>
+                               
+                               </dl>
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
+               &nbsp;
+            </td>
+        </tr>
+       
+         
+          <tr class="method-row config-row-alt1 expandable">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">purgeListeners</b>
+                               
+                                () 
+                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Removes all listeners for this object</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Removes all listeners for this object
+                   
+                               
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
+               &nbsp;
+            </td>
+        </tr>
+       
+         
+          <tr class="method-row config-row-alt0 expandable notInherited">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.ContentPanel-method-refresh"   name=".refresh"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">refresh</b>
+                               
+                                () 
+                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Force a content refresh from the URL specified in the {<b>link</b> <b>setUrl</b>} method.</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Force a content refresh from the URL specified in the {<b>link</b> <b>setUrl</b>} method.<br/>  Will fail silently if the {<b>link</b> <b>setUrl</b>} method has not been called.<br/>  This does not activate the panel, just updates its content.
+                   
+                               
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+                       
 
                    
                    
         </tr>
        
          
-          <tr class="method-row config-row-alt1 expandable notInherited">
+          <tr class="method-row config-row-alt1 expandable">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">removeListener</b>
+                               
+                                (<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>) 
+                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Removes a listener</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Removes a listener
+                   
+                               
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Parameters:</dt>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
+                                               
+                                       </dt>
+                                       <dd>The type of event to listen for</dd>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
+                                               
+                                       </dt>
+                                       <dd>The handler to remove</dd>
+                               
+                                       <dt>
+                                               <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>
+                                               
+                                       </dt>
+                                       <dd>(optional) The scope (this object) for the handler</dd>
+                               
+                               </dl>
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
+               &nbsp;
+            </td>
+        </tr>
+       
+         
+          <tr class="method-row config-row-alt0 expandable notInherited">
             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
           
           
         </tr>
        
          
-          <tr class="method-row config-row-alt0 expandable notInherited">
+          <tr class="method-row config-row-alt1 expandable notInherited">
             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
           
           
         </tr>
        
          
-          <tr class="method-row config-row-alt1 expandable notInherited">
+          <tr class="method-row config-row-alt0 expandable notInherited">
             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
           
           
             </td>
         </tr>
        
+         
+          <tr class="method-row config-row-alt1 expandable">
+            <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
+          
+          
+            <td class="sig">
+                <a id="Roo.util.Observable-method-un"   name=".un"></a>
+               <div class="fixedFont">
+                       <span class="attributes"></span><b class="itemname">un</b>
+                               
+                                (<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>) 
+                       
+                               
+                       
+               </div>
+                <div class="mdesc">
+               
+                   <div class="short">Removes a listener (shorthand for removeListener)</div> 
+                
+                
+                
+                    <div class="long">
+                       
+                               Removes a listener (shorthand for removeListener)
+                   
+                               
+                       
+                       
+                       
+                       
+                               <dl class="detailList">
+                               <dt class="heading">Parameters:</dt>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
+                                               
+                                       </dt>
+                                       <dd>The type of event to listen for</dd>
+                               
+                                       <dt>
+                                               <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
+                                               
+                                       </dt>
+                                       <dd>The handler to remove</dd>
+                               
+                                       <dt>
+                                               <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>
+                                               
+                                       </dt>
+                                       <dd>(optional) The scope (this object) for the handler</dd>
+                               
+                               </dl>
+                       
+                       
+                       
+                       
+                       
+                       
+                       
+
+                   
+                   
+                    
+                    </div>                    
+                </div>
+
+            </td>
+            <td class="msource">
+               
+                       <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
+               &nbsp;
+            </td>
+        </tr>
+       
                                                       
     </table>
 
 <!-- ============================== footer ================================= -->
                <div class="fineprint" style="clear:both">
                        
-                       Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Fri Jul 16 2010 19:32:44 GMT+0800 (HKT)
+                       Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:06 GMT+0800 (HKT)
                        Based on 
                        <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
                </div>