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>
144 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>
154 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
170 <!-- ============================== public properties ==================== -->
174 <a id="Roo.TabPanelItem-props"></a>
180 <table cellspacing="0" class="member-table">
181 <caption class="Empty">Public Properties - Has None</caption>
187 <!-- ============================== methods summary / details ======================== -->
190 <a id="Roo.TabPanelItem-methods"></a>
191 <!-- constructor?? -->
198 <!-- then dynamics first -->
205 <table cellspacing="0" class="member-table">
206 <caption>Public Methods</caption>
208 <th class="sig-header" colspan="2">Method</th>
209 <th class="msource-header">Defined By</th>
219 <tr class="method-row config-row-alt0 expandable notInherited">
220 <td class="micon"><a class="exi" href="#expand"> </a></td>
224 <a id="Roo-method-TabPanelItem" name=".TabPanelItem"></a>
225 <div class="fixedFont">
226 <span class="attributes">new <B>Roo.</B></span><b class="itemname">TabPanelItem</b>
228 (<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>)
236 <div class="short">Create a new Roo.TabPanelItem</div>
243 Create a new Roo.TabPanelItem
246 <dl class="detailList">
247 <dt class="heading">Parameters:</dt>
250 <span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> <b>tabPanel</b>
253 <dd>The {<b>link</b> Roo.TabPanel} this TabPanelItem belongs to</dd>
256 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
259 <dd>The id of this TabPanelItem</dd>
262 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
265 <dd>The text for the tab of this TabPanelItem</dd>
268 <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>
271 <dd>True to allow this TabPanelItem to be closable (defaults to false)</dd>
295 <tr class="method-row config-row-alt1 expandable notInherited">
296 <td class="micon"><a class="exi" href="#expand"> </a></td>
300 <a id="Roo.TabPanelItem-method-activate" name=".activate"></a>
301 <div class="fixedFont">
302 <span class="attributes"></span><b class="itemname">activate</b>
311 <div class="short">Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.</div>
317 Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.
346 <tr class="method-row config-row-alt0 expandable">
347 <td class="micon"><a class="exi" href="#expand"> </a></td>
351 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
352 <div class="fixedFont">
353 <span class="attributes"></span><b class="itemname">addEvents</b>
355 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
362 <div class="short">Used to define events on this Observable</div>
368 Used to define events on this Observable
375 <dl class="detailList">
376 <dt class="heading">Parameters:</dt>
379 <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>
382 <dd>The object with the events defined</dd>
402 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
408 <tr class="method-row config-row-alt1 expandable">
409 <td class="micon"><a class="exi" href="#expand"> </a></td>
413 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
414 <div class="fixedFont">
415 <span class="attributes"></span><b class="itemname">addListener</b>
417 (<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>)
424 <div class="short">Appends an event handler to this component</div>
430 Appends an event handler to this component
437 <dl class="detailList">
438 <dt class="heading">Parameters:</dt>
441 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
444 <dd>The type of event to listen for</dd>
447 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
450 <dd>The method the event invokes</dd>
453 <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>
456 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
459 <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>
462 <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>
482 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
488 <tr class="method-row config-row-alt0 expandable notInherited">
489 <td class="micon"><a class="exi" href="#expand"> </a></td>
493 <a id="Roo.TabPanelItem-method-disable" name=".disable"></a>
494 <div class="fixedFont">
495 <span class="attributes"></span><b class="itemname">disable</b>
504 <div class="short">Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.</div>
510 Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.
539 <tr class="method-row config-row-alt1 expandable notInherited">
540 <td class="micon"><a class="exi" href="#expand"> </a></td>
544 <a id="Roo.TabPanelItem-method-enable" name=".enable"></a>
545 <div class="fixedFont">
546 <span class="attributes"></span><b class="itemname">enable</b>
555 <div class="short">Enables this TabPanelItem if it was previously disabled.</div>
561 Enables this TabPanelItem if it was previously disabled.
590 <tr class="method-row config-row-alt0 expandable">
591 <td class="micon"><a class="exi" href="#expand"> </a></td>
595 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
596 <div class="fixedFont">
597 <span class="attributes"></span><b class="itemname">fireEvent</b>
599 (<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>)
605 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
614 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
620 Fires the specified event with the passed parameters (minus the event name).
627 <dl class="detailList">
628 <dt class="heading">Parameters:</dt>
631 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
637 <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>
640 <dd>Variable number of parameters are passed to handlers</dd>
648 <dl class="detailList">
649 <dt class="heading">Returns:</dt>
651 <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>
667 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
673 <tr class="method-row config-row-alt1 expandable notInherited">
674 <td class="micon"><a class="exi" href="#expand"> </a></td>
678 <a id="Roo.TabPanelItem-method-getText" name=".getText"></a>
679 <div class="fixedFont">
680 <span class="attributes"></span><b class="itemname">getText</b>
688 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
697 <div class="short">Returns the text for this tab</div>
703 Returns the text for this tab
714 <dl class="detailList">
715 <dt class="heading">Returns:</dt>
717 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
739 <tr class="method-row config-row-alt0 expandable notInherited">
740 <td class="micon"><a class="exi" href="#expand"> </a></td>
744 <a id="Roo.TabPanelItem-method-getUpdateManager" name=".getUpdateManager"></a>
745 <div class="fixedFont">
746 <span class="attributes"></span><b class="itemname">getUpdateManager</b>
754 <a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a>
763 <div class="short">Gets the {<b>link</b> Roo.UpdateManager} for the body of this TabPanelItem.</div>
769 Gets the {<b>link</b> Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.
780 <dl class="detailList">
781 <dt class="heading">Returns:</dt>
783 <dd><span class="fixedFont"><a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a></span> The UpdateManager</dd>
805 <tr class="method-row config-row-alt1 expandable">
806 <td class="micon"><a class="exi" href="#expand"> </a></td>
810 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
811 <div class="fixedFont">
812 <span class="attributes"></span><b class="itemname">hasListener</b>
814 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
820 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
829 <div class="short">Checks to see if this object has any listeners for a specified event</div>
835 Checks to see if this object has any listeners for a specified event
842 <dl class="detailList">
843 <dt class="heading">Parameters:</dt>
846 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
849 <dd>The name of the event to check for</dd>
857 <dl class="detailList">
858 <dt class="heading">Returns:</dt>
860 <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>
876 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
882 <tr class="method-row config-row-alt0 expandable notInherited">
883 <td class="micon"><a class="exi" href="#expand"> </a></td>
887 <a id="Roo.TabPanelItem-method-hide" name=".hide"></a>
888 <div class="fixedFont">
889 <span class="attributes"></span><b class="itemname">hide</b>
898 <div class="short">Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.</div>
904 Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.
933 <tr class="method-row config-row-alt1 expandable notInherited">
934 <td class="micon"><a class="exi" href="#expand"> </a></td>
938 <a id="Roo.TabPanelItem-method-isActive" name=".isActive"></a>
939 <div class="fixedFont">
940 <span class="attributes"></span><b class="itemname">isActive</b>
948 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
957 <div class="short">Returns true if this tab is the active tab.</div>
963 Returns true if this tab is the active tab.
974 <dl class="detailList">
975 <dt class="heading">Returns:</dt>
977 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
999 <tr class="method-row config-row-alt0 expandable notInherited">
1000 <td class="micon"><a class="exi" href="#expand"> </a></td>
1004 <a id="Roo.TabPanelItem-method-isHidden" name=".isHidden"></a>
1005 <div class="fixedFont">
1006 <span class="attributes"></span><b class="itemname">isHidden</b>
1014 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1023 <div class="short">Returns true if this tab is "hidden"</div>
1029 Returns true if this tab is "hidden"
1040 <dl class="detailList">
1041 <dt class="heading">Returns:</dt>
1043 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
1057 <td class="msource">
1065 <tr class="method-row config-row-alt1 expandable">
1066 <td class="micon"><a class="exi" href="#expand"> </a></td>
1070 <a id="Roo.util.Observable-method-on" name=".on"></a>
1071 <div class="fixedFont">
1072 <span class="attributes"></span><b class="itemname">on</b>
1074 (<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>)
1081 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1087 Appends an event handler to this element (shorthand for addListener)
1094 <dl class="detailList">
1095 <dt class="heading">Parameters:</dt>
1098 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1101 <dd>The type of event to listen for</dd>
1104 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1107 <dd>The method the event invokes</dd>
1110 <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>
1113 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1116 <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>
1137 <td class="msource">
1139 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1145 <tr class="method-row config-row-alt0 expandable">
1146 <td class="micon"><a class="exi" href="#expand"> </a></td>
1150 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1151 <div class="fixedFont">
1152 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1161 <div class="short">Removes all listeners for this object</div>
1167 Removes all listeners for this object
1188 <td class="msource">
1190 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1196 <tr class="method-row config-row-alt1 expandable notInherited">
1197 <td class="micon"><a class="exi" href="#expand"> </a></td>
1201 <a id="Roo.TabPanelItem-method-refresh" name=".refresh"></a>
1202 <div class="fixedFont">
1203 <span class="attributes"></span><b class="itemname">refresh</b>
1212 <div class="short">Forces a content refresh from the URL specified in the {<b>link</b> <b>setUrl</b>} method.</div>
1218 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.
1239 <td class="msource">
1247 <tr class="method-row config-row-alt0 expandable">
1248 <td class="micon"><a class="exi" href="#expand"> </a></td>
1252 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1253 <div class="fixedFont">
1254 <span class="attributes"></span><b class="itemname">removeListener</b>
1256 (<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>)
1263 <div class="short">Removes a listener</div>
1276 <dl class="detailList">
1277 <dt class="heading">Parameters:</dt>
1280 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1283 <dd>The type of event to listen for</dd>
1286 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1289 <dd>The handler to remove</dd>
1292 <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>
1295 <dd>(optional) The scope (this object) for the handler</dd>
1313 <td class="msource">
1315 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1321 <tr class="method-row config-row-alt1 expandable notInherited">
1322 <td class="micon"><a class="exi" href="#expand"> </a></td>
1326 <a id="Roo.TabPanelItem-method-setContent" name=".setContent"></a>
1327 <div class="fixedFont">
1328 <span class="attributes"></span><b class="itemname">setContent</b>
1330 (<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>)
1337 <div class="short">Sets the content for this TabPanelItem.</div>
1343 Sets the content for this TabPanelItem.
1350 <dl class="detailList">
1351 <dt class="heading">Parameters:</dt>
1354 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>content</b>
1357 <dd>The content</dd>
1360 <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>
1363 <dd>true to look for and load scripts</dd>
1381 <td class="msource">
1389 <tr class="method-row config-row-alt0 expandable notInherited">
1390 <td class="micon"><a class="exi" href="#expand"> </a></td>
1394 <a id="Roo.TabPanelItem-method-setHidden" name=".setHidden"></a>
1395 <div class="fixedFont">
1396 <span class="attributes"></span><b class="itemname">setHidden</b>
1398 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>hidden</i></B>)
1405 <div class="short">Show or hide the tab</div>
1411 Show or hide the tab
1418 <dl class="detailList">
1419 <dt class="heading">Parameters:</dt>
1422 <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>
1425 <dd>True to hide or false to show.</dd>
1443 <td class="msource">
1451 <tr class="method-row config-row-alt1 expandable notInherited">
1452 <td class="micon"><a class="exi" href="#expand"> </a></td>
1456 <a id="Roo.TabPanelItem-method-setText" name=".setText"></a>
1457 <div class="fixedFont">
1458 <span class="attributes"></span><b class="itemname">setText</b>
1460 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
1467 <div class="short">Sets the text for the tab (Note: this also sets the tooltip text)</div>
1473 Sets the text for the tab (Note: this also sets the tooltip text)
1480 <dl class="detailList">
1481 <dt class="heading">Parameters:</dt>
1484 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
1487 <dd>The tab's text and tooltip</dd>
1505 <td class="msource">
1513 <tr class="method-row config-row-alt0 expandable notInherited">
1514 <td class="micon"><a class="exi" href="#expand"> </a></td>
1518 <a id="Roo.TabPanelItem-method-setTooltip" name=".setTooltip"></a>
1519 <div class="fixedFont">
1520 <span class="attributes"></span><b class="itemname">setTooltip</b>
1522 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>tooltip</i></B>)
1529 <div class="short">Set the tooltip for the tab.</div>
1535 Set the tooltip for the tab.
1542 <dl class="detailList">
1543 <dt class="heading">Parameters:</dt>
1546 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>tooltip</b>
1549 <dd>The tab's tooltip</dd>
1567 <td class="msource">
1575 <tr class="method-row config-row-alt1 expandable notInherited">
1576 <td class="micon"><a class="exi" href="#expand"> </a></td>
1580 <a id="Roo.TabPanelItem-method-setUrl" name=".setUrl"></a>
1581 <div class="fixedFont">
1582 <span class="attributes"></span><b class="itemname">setUrl</b>
1584 (<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>)
1590 <a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a>
1599 <div class="short">Set a URL to be used to load the content for this TabPanelItem.</div>
1605 Set a URL to be used to load the content for this TabPanelItem.
1612 <dl class="detailList">
1613 <dt class="heading">Parameters:</dt>
1616 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Function</span> <b>url</b>
1619 <dd>The URL to load the content from, or a function to call to get the URL</dd>
1622 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Object</span> <b>params</b>
1625 <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>
1628 <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>
1631 <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>
1639 <dl class="detailList">
1640 <dt class="heading">Returns:</dt>
1642 <dd><span class="fixedFont"><a href="./Roo.UpdateManager.html#constructor" roo:cls="Roo.UpdateManager.html#constructor">Roo.UpdateManager</a></span> The UpdateManager</dd>
1656 <td class="msource">
1664 <tr class="method-row config-row-alt0 expandable notInherited">
1665 <td class="micon"><a class="exi" href="#expand"> </a></td>
1669 <a id="Roo.TabPanelItem-method-show" name=".show"></a>
1670 <div class="fixedFont">
1671 <span class="attributes"></span><b class="itemname">show</b>
1680 <div class="short">Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.</div>
1686 Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.
1707 <td class="msource">
1715 <tr class="method-row config-row-alt1 expandable">
1716 <td class="micon"><a class="exi" href="#expand"> </a></td>
1720 <a id="Roo.util.Observable-method-un" name=".un"></a>
1721 <div class="fixedFont">
1722 <span class="attributes"></span><b class="itemname">un</b>
1724 (<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>)
1731 <div class="short">Removes a listener (shorthand for removeListener)</div>
1737 Removes a listener (shorthand for removeListener)
1744 <dl class="detailList">
1745 <dt class="heading">Parameters:</dt>
1748 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1751 <dd>The type of event to listen for</dd>
1754 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1757 <dd>The handler to remove</dd>
1760 <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>
1763 <dd>(optional) The scope (this object) for the handler</dd>
1781 <td class="msource">
1783 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1792 <!-- ============================== events summary / details ======================== -->
1795 <a id="Roo.TabPanelItem-events"></a>
1804 <table cellspacing="0" class="member-table">
1805 <caption>Events</caption>
1808 <th class="sig-header" colspan="2">Event</th>
1809 <th class="msource-header">Defined By</th>
1818 <tr class="method-row expandable config-row-alt0 notInherited">
1819 <td class="micon"><a class="exi" href="#expand"> </a></td>
1822 <a id="Roo.TabPanelItem-event-*activate"></a>
1824 <div class="fixedFont">
1825 <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>)
1831 <div class="short">Fires when this tab becomes the active tab.
1837 Fires when this tab becomes the active tab.
1843 <dl class="detailList">
1844 <dt class="heading">Parameters:</dt>
1847 <span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> <b>tabPanel</b>
1850 <dd>The parent TabPanel</dd>
1853 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
1874 <td class="msource">
1879 <tr class="method-row expandable config-row-alt1 notInherited">
1880 <td class="micon"><a class="exi" href="#expand"> </a></td>
1883 <a id="Roo.TabPanelItem-event-*beforeclose"></a>
1885 <div class="fixedFont">
1886 <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>)
1892 <div class="short">Fires before this tab is closed.
1898 Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).
1904 <dl class="detailList">
1905 <dt class="heading">Parameters:</dt>
1908 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
1914 <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>
1917 <dd>Set cancel to true on this object to cancel the close.</dd>
1935 <td class="msource">
1940 <tr class="method-row expandable config-row-alt0 notInherited">
1941 <td class="micon"><a class="exi" href="#expand"> </a></td>
1944 <a id="Roo.TabPanelItem-event-*close"></a>
1946 <div class="fixedFont">
1947 <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>)
1953 <div class="short">Fires when this tab is closed.
1959 Fires when this tab is closed.
1965 <dl class="detailList">
1966 <dt class="heading">Parameters:</dt>
1969 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
1990 <td class="msource">
1995 <tr class="method-row expandable config-row-alt1 notInherited">
1996 <td class="micon"><a class="exi" href="#expand"> </a></td>
1999 <a id="Roo.TabPanelItem-event-*deactivate"></a>
2001 <div class="fixedFont">
2002 <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>)
2008 <div class="short">Fires when this tab is no longer the active tab.
2014 Fires when this tab is no longer the active tab.
2020 <dl class="detailList">
2021 <dt class="heading">Parameters:</dt>
2024 <span class="fixedFont"><a href="./Roo.TabPanel.html#constructor" roo:cls="Roo.TabPanel.html#constructor">Roo.TabPanel</a></span> <b>tabPanel</b>
2027 <dd>The parent TabPanel</dd>
2030 <span class="fixedFont"><a href="./Roo.TabPanelItem.html#constructor" roo:cls="Roo.TabPanelItem.html#constructor">Roo.TabPanelItem</a></span> <b>this</b>
2051 <td class="msource">
2063 <!-- ============================== footer ================================= -->
2064 <div class="fineprint" style="clear:both">
2066 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Apr 15 2016 17:40:03 GMT+0800 (HKT)
2068 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>