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.TabPanelItem</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.TabPanelItem-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.TabPanelItem-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.TabPanelItem-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.TabPanelItem-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.TabPanelItem
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.TabPanelItem
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_TabPanel.js.html">Roo/TabPanel.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">TabPanelItem</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 Represents an individual item (tab plus body) in a TabPanel.
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.TabPanelItem';">[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.TabPanelItem.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.TabPanelItem-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">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
132 <div class="fixedFont">
133 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
139 <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>
143 <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>
151 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
167 <!-- ============================== public properties ==================== -->
171 <a id="Roo.TabPanelItem-props"></a>
177 <table cellspacing="0" class="member-table">
178 <caption class="Empty">Public Properties - Has None</caption>
184 <!-- ============================== methods summary / details ======================== -->
187 <a id="Roo.TabPanelItem-methods"></a>
188 <!-- constructor?? -->
195 <!-- then dynamics first -->
202 <table cellspacing="0" class="member-table">
203 <caption>Public Methods</caption>
205 <th class="sig-header" colspan="2">Method</th>
206 <th class="msource-header">Defined By</th>
216 <tr class="method-row config-row-alt0 expandable notInherited">
217 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo-method-TabPanelItem" name=".TabPanelItem"></a>
222 <div class="fixedFont">
223 <span class="attributes">new <B>Roo.</B></span><b class="itemname">TabPanelItem</b>
225 (<a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a> <B><i>tabPanel</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>closable</i></B>)
233 <div class="short">Create a new Roo.TabPanelItem</div>
240 Create a new Roo.TabPanelItem
243 <dl class="detailList">
244 <dt class="heading">Parameters:</dt>
247 <span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> <b>tabPanel</b>
250 <dd>The {<b>link</b> Roo.TabPanel} this TabPanelItem belongs to</dd>
253 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
256 <dd>The id of this TabPanelItem</dd>
259 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
262 <dd>The text for the tab of this TabPanelItem</dd>
265 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>closable</b>
268 <dd>True to allow this TabPanelItem to be closable (defaults to false)</dd>
292 <tr class="method-row config-row-alt1 expandable notInherited">
293 <td class="micon"><a class="exi" href="#expand"> </a></td>
297 <a id="Roo.TabPanelItem-method-activate" name=".activate"></a>
298 <div class="fixedFont">
299 <span class="attributes"></span><b class="itemname">activate</b>
308 <div class="short">Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.</div>
314 Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.
343 <tr class="method-row config-row-alt0 expandable">
344 <td class="micon"><a class="exi" href="#expand"> </a></td>
348 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
349 <div class="fixedFont">
350 <span class="attributes"></span><b class="itemname">addEvents</b>
352 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
359 <div class="short">Used to define events on this Observable</div>
365 Used to define events on this Observable
372 <dl class="detailList">
373 <dt class="heading">Parameters:</dt>
376 <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>
379 <dd>The object with the events defined</dd>
399 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
405 <tr class="method-row config-row-alt1 expandable">
406 <td class="micon"><a class="exi" href="#expand"> </a></td>
410 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
411 <div class="fixedFont">
412 <span class="attributes"></span><b class="itemname">addListener</b>
414 (<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>)
421 <div class="short">Appends an event handler to this component</div>
427 Appends an event handler to this component
434 <dl class="detailList">
435 <dt class="heading">Parameters:</dt>
438 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
441 <dd>The type of event to listen for</dd>
444 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
447 <dd>The method the event invokes</dd>
450 <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>
453 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
456 <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>
459 <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>
479 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
485 <tr class="method-row config-row-alt0 expandable notInherited">
486 <td class="micon"><a class="exi" href="#expand"> </a></td>
490 <a id="Roo.TabPanelItem-method-disable" name=".disable"></a>
491 <div class="fixedFont">
492 <span class="attributes"></span><b class="itemname">disable</b>
501 <div class="short">Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.</div>
507 Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.
536 <tr class="method-row config-row-alt1 expandable notInherited">
537 <td class="micon"><a class="exi" href="#expand"> </a></td>
541 <a id="Roo.TabPanelItem-method-enable" name=".enable"></a>
542 <div class="fixedFont">
543 <span class="attributes"></span><b class="itemname">enable</b>
552 <div class="short">Enables this TabPanelItem if it was previously disabled.</div>
558 Enables this TabPanelItem if it was previously disabled.
587 <tr class="method-row config-row-alt0 expandable">
588 <td class="micon"><a class="exi" href="#expand"> </a></td>
592 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
593 <div class="fixedFont">
594 <span class="attributes"></span><b class="itemname">fireEvent</b>
596 (<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>)
602 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
611 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
617 Fires the specified event with the passed parameters (minus the event name).
624 <dl class="detailList">
625 <dt class="heading">Parameters:</dt>
628 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
634 <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>
637 <dd>Variable number of parameters are passed to handlers</dd>
645 <dl class="detailList">
646 <dt class="heading">Returns:</dt>
648 <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>
664 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
670 <tr class="method-row config-row-alt1 expandable notInherited">
671 <td class="micon"><a class="exi" href="#expand"> </a></td>
675 <a id="Roo.TabPanelItem-method-getText" name=".getText"></a>
676 <div class="fixedFont">
677 <span class="attributes"></span><b class="itemname">getText</b>
685 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
694 <div class="short">Returns the text for this tab</div>
700 Returns the text for this tab
711 <dl class="detailList">
712 <dt class="heading">Returns:</dt>
714 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
736 <tr class="method-row config-row-alt0 expandable notInherited">
737 <td class="micon"><a class="exi" href="#expand"> </a></td>
741 <a id="Roo.TabPanelItem-method-getUpdateManager" name=".getUpdateManager"></a>
742 <div class="fixedFont">
743 <span class="attributes"></span><b class="itemname">getUpdateManager</b>
751 <a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a>
760 <div class="short">Gets the {<b>link</b> Roo.UpdateManager} for the body of this TabPanelItem.</div>
766 Gets the {<b>link</b> Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.
777 <dl class="detailList">
778 <dt class="heading">Returns:</dt>
780 <dd><span class="fixedFont"><a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a></span> The UpdateManager</dd>
802 <tr class="method-row config-row-alt1 expandable">
803 <td class="micon"><a class="exi" href="#expand"> </a></td>
807 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
808 <div class="fixedFont">
809 <span class="attributes"></span><b class="itemname">hasListener</b>
811 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
817 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
826 <div class="short">Checks to see if this object has any listeners for a specified event</div>
832 Checks to see if this object has any listeners for a specified event
839 <dl class="detailList">
840 <dt class="heading">Parameters:</dt>
843 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
846 <dd>The name of the event to check for</dd>
854 <dl class="detailList">
855 <dt class="heading">Returns:</dt>
857 <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>
873 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
879 <tr class="method-row config-row-alt0 expandable notInherited">
880 <td class="micon"><a class="exi" href="#expand"> </a></td>
884 <a id="Roo.TabPanelItem-method-hide" name=".hide"></a>
885 <div class="fixedFont">
886 <span class="attributes"></span><b class="itemname">hide</b>
895 <div class="short">Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.</div>
901 Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.
930 <tr class="method-row config-row-alt1 expandable notInherited">
931 <td class="micon"><a class="exi" href="#expand"> </a></td>
935 <a id="Roo.TabPanelItem-method-isActive" name=".isActive"></a>
936 <div class="fixedFont">
937 <span class="attributes"></span><b class="itemname">isActive</b>
945 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
954 <div class="short">Returns true if this tab is the active tab.</div>
960 Returns true if this tab is the active tab.
971 <dl class="detailList">
972 <dt class="heading">Returns:</dt>
974 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
996 <tr class="method-row config-row-alt0 expandable notInherited">
997 <td class="micon"><a class="exi" href="#expand"> </a></td>
1001 <a id="Roo.TabPanelItem-method-isHidden" name=".isHidden"></a>
1002 <div class="fixedFont">
1003 <span class="attributes"></span><b class="itemname">isHidden</b>
1011 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1020 <div class="short">Returns true if this tab is "hidden"</div>
1026 Returns true if this tab is "hidden"
1037 <dl class="detailList">
1038 <dt class="heading">Returns:</dt>
1040 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1054 <td class="msource">
1062 <tr class="method-row config-row-alt1 expandable">
1063 <td class="micon"><a class="exi" href="#expand"> </a></td>
1067 <a id="Roo.util.Observable-method-on" name=".on"></a>
1068 <div class="fixedFont">
1069 <span class="attributes"></span><b class="itemname">on</b>
1071 (<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>)
1078 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1084 Appends an event handler to this element (shorthand for addListener)
1091 <dl class="detailList">
1092 <dt class="heading">Parameters:</dt>
1095 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1098 <dd>The type of event to listen for</dd>
1101 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1104 <dd>The method the event invokes</dd>
1107 <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>
1110 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1113 <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>
1134 <td class="msource">
1136 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1142 <tr class="method-row config-row-alt0 expandable">
1143 <td class="micon"><a class="exi" href="#expand"> </a></td>
1147 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1148 <div class="fixedFont">
1149 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1158 <div class="short">Removes all listeners for this object</div>
1164 Removes all listeners for this object
1185 <td class="msource">
1187 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1193 <tr class="method-row config-row-alt1 expandable notInherited">
1194 <td class="micon"><a class="exi" href="#expand"> </a></td>
1198 <a id="Roo.TabPanelItem-method-refresh" name=".refresh"></a>
1199 <div class="fixedFont">
1200 <span class="attributes"></span><b class="itemname">refresh</b>
1209 <div class="short">Forces a content refresh from the URL specified in the {<b>link</b> <b>setUrl</b>} method.</div>
1215 Forces a content refresh from the URL specified in the {<b>link</b> <b>setUrl</b>} method.<br/> Will fail silently if the setUrl method has not been called.<br/> This does not activate the panel, just updates its content.
1236 <td class="msource">
1244 <tr class="method-row config-row-alt0 expandable">
1245 <td class="micon"><a class="exi" href="#expand"> </a></td>
1249 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1250 <div class="fixedFont">
1251 <span class="attributes"></span><b class="itemname">removeListener</b>
1253 (<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>)
1260 <div class="short">Removes a listener</div>
1273 <dl class="detailList">
1274 <dt class="heading">Parameters:</dt>
1277 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1280 <dd>The type of event to listen for</dd>
1283 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1286 <dd>The handler to remove</dd>
1289 <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>
1292 <dd>(optional) The scope (this object) for the handler</dd>
1310 <td class="msource">
1312 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1318 <tr class="method-row config-row-alt1 expandable notInherited">
1319 <td class="micon"><a class="exi" href="#expand"> </a></td>
1323 <a id="Roo.TabPanelItem-method-setContent" name=".setContent"></a>
1324 <div class="fixedFont">
1325 <span class="attributes"></span><b class="itemname">setContent</b>
1327 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>content</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>loadScripts</i></B>)
1334 <div class="short">Sets the content for this TabPanelItem.</div>
1340 Sets the content for this TabPanelItem.
1347 <dl class="detailList">
1348 <dt class="heading">Parameters:</dt>
1351 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>content</b>
1354 <dd>The content</dd>
1357 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>loadScripts</b>
1360 <dd>true to look for and load scripts</dd>
1378 <td class="msource">
1386 <tr class="method-row config-row-alt0 expandable notInherited">
1387 <td class="micon"><a class="exi" href="#expand"> </a></td>
1391 <a id="Roo.TabPanelItem-method-setHidden" name=".setHidden"></a>
1392 <div class="fixedFont">
1393 <span class="attributes"></span><b class="itemname">setHidden</b>
1395 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>hidden</i></B>)
1402 <div class="short">Show or hide the tab</div>
1408 Show or hide the tab
1415 <dl class="detailList">
1416 <dt class="heading">Parameters:</dt>
1419 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>hidden</b>
1422 <dd>True to hide or false to show.</dd>
1440 <td class="msource">
1448 <tr class="method-row config-row-alt1 expandable notInherited">
1449 <td class="micon"><a class="exi" href="#expand"> </a></td>
1453 <a id="Roo.TabPanelItem-method-setText" name=".setText"></a>
1454 <div class="fixedFont">
1455 <span class="attributes"></span><b class="itemname">setText</b>
1457 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
1464 <div class="short">Sets the text for the tab (Note: this also sets the tooltip text)</div>
1470 Sets the text for the tab (Note: this also sets the tooltip text)
1477 <dl class="detailList">
1478 <dt class="heading">Parameters:</dt>
1481 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
1484 <dd>The tab's text and tooltip</dd>
1502 <td class="msource">
1510 <tr class="method-row config-row-alt0 expandable notInherited">
1511 <td class="micon"><a class="exi" href="#expand"> </a></td>
1515 <a id="Roo.TabPanelItem-method-setTooltip" name=".setTooltip"></a>
1516 <div class="fixedFont">
1517 <span class="attributes"></span><b class="itemname">setTooltip</b>
1519 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>tooltip</i></B>)
1526 <div class="short">Set the tooltip for the tab.</div>
1532 Set the tooltip for the tab.
1539 <dl class="detailList">
1540 <dt class="heading">Parameters:</dt>
1543 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>tooltip</b>
1546 <dd>The tab's tooltip</dd>
1564 <td class="msource">
1572 <tr class="method-row config-row-alt1 expandable notInherited">
1573 <td class="micon"><a class="exi" href="#expand"> </a></td>
1577 <a id="Roo.TabPanelItem-method-setUrl" name=".setUrl"></a>
1578 <div class="fixedFont">
1579 <span class="attributes"></span><b class="itemname">setUrl</b>
1581 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/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="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>loadOnce</i></B>)
1587 <a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a>
1596 <div class="short">Set a URL to be used to load the content for this TabPanelItem.</div>
1602 Set a URL to be used to load the content for this TabPanelItem.
1609 <dl class="detailList">
1610 <dt class="heading">Parameters:</dt>
1613 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Function</span> <b>url</b>
1616 <dd>The URL to load the content from, or a function to call to get the URL</dd>
1619 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>params</b>
1622 <dd>(optional) The string params for the update call or an object of the params. See {<b>link</b> Roo.UpdateManager<b>update</b>} for more details. (Defaults to null)</dd>
1625 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>loadOnce</b>
1628 <dd>(optional) Whether to only load the content once. If this is false it makes the Ajax call every time this TabPanelItem is activated. (Defaults to false)</dd>
1636 <dl class="detailList">
1637 <dt class="heading">Returns:</dt>
1639 <dd><span class="fixedFont"><a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a></span> The UpdateManager</dd>
1653 <td class="msource">
1661 <tr class="method-row config-row-alt0 expandable notInherited">
1662 <td class="micon"><a class="exi" href="#expand"> </a></td>
1666 <a id="Roo.TabPanelItem-method-show" name=".show"></a>
1667 <div class="fixedFont">
1668 <span class="attributes"></span><b class="itemname">show</b>
1677 <div class="short">Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.</div>
1683 Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.
1704 <td class="msource">
1712 <tr class="method-row config-row-alt1 expandable">
1713 <td class="micon"><a class="exi" href="#expand"> </a></td>
1717 <a id="Roo.util.Observable-method-un" name=".un"></a>
1718 <div class="fixedFont">
1719 <span class="attributes"></span><b class="itemname">un</b>
1721 (<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>)
1728 <div class="short">Removes a listener (shorthand for removeListener)</div>
1734 Removes a listener (shorthand for removeListener)
1741 <dl class="detailList">
1742 <dt class="heading">Parameters:</dt>
1745 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1748 <dd>The type of event to listen for</dd>
1751 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1754 <dd>The handler to remove</dd>
1757 <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>
1760 <dd>(optional) The scope (this object) for the handler</dd>
1778 <td class="msource">
1780 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1789 <!-- ============================== events summary / details ======================== -->
1792 <a id="Roo.TabPanelItem-events"></a>
1801 <table cellspacing="0" class="member-table">
1802 <caption>Events</caption>
1805 <th class="sig-header" colspan="2">Event</th>
1806 <th class="msource-header">Defined By</th>
1815 <tr class="method-row expandable config-row-alt0 notInherited">
1816 <td class="micon"><a class="exi" href="#expand"> </a></td>
1819 <a id="Roo.TabPanelItem-event-*activate"></a>
1821 <div class="fixedFont">
1822 <b class="itemname">activate</b> (<a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a> <B><i>tabPanel</i></B>, <a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a> <B><i>this</i></B>)
1828 <div class="short">Fires when this tab becomes the active tab.
1834 Fires when this tab becomes the active tab.
1840 <dl class="detailList">
1841 <dt class="heading">Parameters:</dt>
1844 <span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> <b>tabPanel</b>
1847 <dd>The parent TabPanel</dd>
1850 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
1871 <td class="msource">
1876 <tr class="method-row expandable config-row-alt1 notInherited">
1877 <td class="micon"><a class="exi" href="#expand"> </a></td>
1880 <a id="Roo.TabPanelItem-event-*beforeclose"></a>
1882 <div class="fixedFont">
1883 <b class="itemname">beforeclose</b> (<a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a> <B><i>this</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>e</i></B>)
1889 <div class="short">Fires before this tab is closed.
1895 Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).
1901 <dl class="detailList">
1902 <dt class="heading">Parameters:</dt>
1905 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
1911 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>e</b>
1914 <dd>Set cancel to true on this object to cancel the close.</dd>
1932 <td class="msource">
1937 <tr class="method-row expandable config-row-alt0 notInherited">
1938 <td class="micon"><a class="exi" href="#expand"> </a></td>
1941 <a id="Roo.TabPanelItem-event-*close"></a>
1943 <div class="fixedFont">
1944 <b class="itemname">close</b> (<a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a> <B><i>this</i></B>)
1950 <div class="short">Fires when this tab is closed.
1956 Fires when this tab is closed.
1962 <dl class="detailList">
1963 <dt class="heading">Parameters:</dt>
1966 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
1987 <td class="msource">
1992 <tr class="method-row expandable config-row-alt1 notInherited">
1993 <td class="micon"><a class="exi" href="#expand"> </a></td>
1996 <a id="Roo.TabPanelItem-event-*deactivate"></a>
1998 <div class="fixedFont">
1999 <b class="itemname">deactivate</b> (<a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a> <B><i>tabPanel</i></B>, <a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a> <B><i>this</i></B>)
2005 <div class="short">Fires when this tab is no longer the active tab.
2011 Fires when this tab is no longer the active tab.
2017 <dl class="detailList">
2018 <dt class="heading">Parameters:</dt>
2021 <span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> <b>tabPanel</b>
2024 <dd>The parent TabPanel</dd>
2027 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
2048 <td class="msource">
2060 <!-- ============================== footer ================================= -->
2061 <div class="fineprint" style="clear:both">
2063 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Wed Apr 16 2014 15:20:46 GMT+0800 (HKT)
2065 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>