2 "name" : "Roo.bootstrap.panel.TabItem",
6 "desc" : "Represents an individual item (tab plus body) in a TabPanel.",
10 "memberOf" : "TabItem",
18 "type" : "Roo.TabPanel",
19 "desc" : "The {@link Roo.TabPanel} this TabPanelItem belongs to",
25 "desc" : "The id of this TabPanelItem",
31 "desc" : "The text for the tab of this TabPanelItem",
37 "desc" : "True to allow this TabPanelItem to be closable (defaults to false)",
48 "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
49 "memberOf" : "Roo.util.Observable"
56 "desc" : "Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.",
61 "isConstructor" : false,
75 "desc" : "Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.",
80 "isConstructor" : false,
94 "desc" : "Returns true if this tab is \"hidden\"",
99 "isConstructor" : false,
119 "desc" : "Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.",
120 "sig" : "()\n{\n\n}",
124 "isConstructor" : false,
138 "desc" : "Returns true if this tab is the active tab.",
139 "sig" : "()\n{\n\n}",
143 "isConstructor" : false,
163 "desc" : "Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.",
164 "sig" : "()\n{\n\n}",
168 "isConstructor" : false,
182 "desc" : "Set a URL to be used to load the content for this TabPanelItem.",
183 "sig" : "(url, params, loadOnce)",
187 "isConstructor" : false,
198 "type" : "String/Function",
199 "desc" : "The URL to load the content from, or a function to call to get the URL",
204 "type" : "String/Object",
205 "desc" : "(optional) The string params for the update call or an object of the params. See {@link Roo.UpdateManager#update} for more details. (Defaults to null)",
211 "desc" : "(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)",
218 "type" : "Roo.UpdateManager",
219 "desc" : "The UpdateManager"
224 "name" : "setContent",
226 "desc" : "Sets the content for this TabPanelItem.",
227 "sig" : "(content, loadScripts)",
231 "isConstructor" : false,
243 "desc" : "The content",
247 "name" : "loadScripts",
249 "desc" : "true to look for and load scripts",
256 "name" : "getUpdateManager",
258 "desc" : "Gets the {@link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.",
259 "sig" : "()\n{\n\n}",
263 "isConstructor" : false,
275 "type" : "Roo.UpdateManager",
276 "desc" : "The UpdateManager"
281 "name" : "setTooltip",
283 "desc" : "Set the tooltip for the tab.",
288 "isConstructor" : false,
300 "desc" : "The tab's tooltip",
309 "desc" : "Returns the text for this tab",
310 "sig" : "()\n{\n\n}",
314 "isConstructor" : false,
334 "desc" : "Sets the text for the tab (Note: this also sets the tooltip text)",
339 "isConstructor" : false,
351 "desc" : "The tab's text and tooltip",
358 "name" : "setHidden",
360 "desc" : "Show or hide the tab",
365 "isConstructor" : false,
377 "desc" : "True to hide or false to show.",
386 "desc" : "Forces a content refresh from the URL specified in the {@link #setUrl} method.\n Will fail silently if the setUrl method has not been called.\n This does not activate the panel, just updates its content.",
387 "sig" : "()\n{\n\n}",
391 "isConstructor" : false,
405 "desc" : "Enables this TabPanelItem if it was previously disabled.",
406 "sig" : "()\n{\n\n}",
410 "isConstructor" : false,
422 "name" : "purgeListeners",
424 "desc" : "Removes all listeners for this object",
425 "sig" : "()\n{\n\n}",
427 "memberOf" : "Roo.util.Observable",
429 "isConstructor" : false,
443 "desc" : "Appends an event handler to this element (shorthand for addListener)",
444 "sig" : "(eventName, handler, scope, options)",
446 "memberOf" : "Roo.util.Observable",
448 "isConstructor" : false,
458 "name" : "eventName",
460 "desc" : "The type of event to listen for",
466 "desc" : "The method the event invokes",
472 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
478 "desc" : "(optional)",
487 "desc" : "Removes a listener (shorthand for removeListener)",
488 "sig" : "(eventName, handler, scope)",
490 "memberOf" : "Roo.util.Observable",
492 "isConstructor" : false,
502 "name" : "eventName",
504 "desc" : "The type of event to listen for",
510 "desc" : "The handler to remove",
516 "desc" : "(optional) The scope (this object) for the handler",
523 "name" : "addEvents",
525 "desc" : "Used to define events on this Observable",
528 "memberOf" : "Roo.util.Observable",
530 "isConstructor" : false,
542 "desc" : "The object with the events defined",
549 "name" : "releaseCapture",
551 "desc" : "Removes <b>all</b> added captures from the Observable.",
554 "memberOf" : "Roo.util.Observable",
556 "isConstructor" : false,
567 "type" : "Observable",
568 "desc" : "The Observable to release",
575 "name" : "removeListener",
577 "desc" : "Removes a listener",
578 "sig" : "(eventName, handler, scope)",
580 "memberOf" : "Roo.util.Observable",
582 "isConstructor" : false,
592 "name" : "eventName",
594 "desc" : "The type of event to listen for",
600 "desc" : "The handler to remove",
606 "desc" : "(optional) The scope (this object) for the handler",
613 "name" : "fireEvent",
615 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
616 "sig" : "(eventName, args)",
618 "memberOf" : "Roo.util.Observable",
620 "isConstructor" : false,
630 "name" : "eventName",
637 "type" : "Object...",
638 "desc" : "Variable number of parameters are passed to handlers",
646 "desc" : "returns false if any of the handlers return false otherwise it returns true"
651 "name" : "hasListener",
653 "desc" : "Checks to see if this object has any listeners for a specified event",
654 "sig" : "(eventName)",
656 "memberOf" : "Roo.util.Observable",
658 "isConstructor" : false,
668 "name" : "eventName",
670 "desc" : "The name of the event to check for",
678 "desc" : "True if the event is being listened for, else false"
685 "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
686 "sig" : "(o, fn, scope)",
688 "memberOf" : "Roo.util.Observable",
690 "isConstructor" : false,
701 "type" : "Observable",
702 "desc" : "The Observable to capture",
708 "desc" : "The function to call",
714 "desc" : "(optional) The scope (this object) for the fn",
721 "name" : "addListener",
723 "desc" : "Appends an event handler to this component",
724 "sig" : "(eventName, handler, scope, options)",
726 "memberOf" : "Roo.util.Observable",
728 "isConstructor" : false,
738 "name" : "eventName",
740 "desc" : "The type of event to listen for",
746 "desc" : "The method the event invokes",
752 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
758 "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n \t\tdelay: 100,\n \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n \t\tfn: this.onClick,\n \t\tscope: this,\n \t\tdelay: 100\n \t\t}, \n \t\t'mouseover': {\n \t\tfn: this.onMouseOver,\n \t\tscope: this\n \t\t},\n \t\t'mouseout': {\n \t\tfn: this.onMouseOut,\n \t\tscope: this\n \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n \t\t'mouseover': this.onMouseOver,\n \t\t'mouseout': this.onMouseOut,\n \t\tscope: this\n\t\t});\n\t\t</code></pre>",
769 "desc" : "Fires when this tab is closed.",
770 "sig" : "function (_self)\n{\n\n}",
779 "type" : "Roo.TabPanelItem",
789 "desc" : "Fires when this tab becomes the active tab.",
790 "sig" : "function (tabPanel, _self)\n{\n\n}",
799 "type" : "Roo.TabPanel",
800 "desc" : "The parent TabPanel",
805 "type" : "Roo.TabPanelItem",
813 "name" : "beforeclose",
815 "desc" : "Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).",
816 "sig" : "function (_self, e)\n{\n\n}",
825 "type" : "Roo.TabPanelItem",
832 "desc" : "Set cancel to true on this object to cancel the close.",
839 "name" : "deactivate",
841 "desc" : "Fires when this tab is no longer the active tab.",
842 "sig" : "function (tabPanel, _self)\n{\n\n}",
851 "type" : "Roo.TabPanel",
852 "desc" : "The parent TabPanel",
857 "type" : "Roo.TabPanelItem",