2 "name" : "Roo.bootstrap.panel.TabItem",
9 "desc" : "Represents an individual item (tab plus body) in a TabPanel.",
10 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "TabItem",
23 "type" : "Roo.TabPanel",
24 "desc" : "The {@link Roo.TabPanel} this TabPanelItem belongs to",
30 "desc" : "The id of this TabPanelItem",
36 "desc" : "The text for the tab of this TabPanelItem",
42 "desc" : "True to allow this TabPanelItem to be closable (defaults to false)",
53 "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>",
54 "memberOf" : "Roo.util.Observable"
61 "desc" : "Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.",
66 "isConstructor" : false,
80 "desc" : "Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.",
85 "isConstructor" : false,
99 "desc" : "Returns true if this tab is \"hidden\"",
100 "sig" : "()\n{\n\n}",
104 "isConstructor" : false,
124 "desc" : "Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.",
125 "sig" : "()\n{\n\n}",
129 "isConstructor" : false,
143 "desc" : "Returns true if this tab is the active tab.",
144 "sig" : "()\n{\n\n}",
148 "isConstructor" : false,
168 "desc" : "Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.",
169 "sig" : "()\n{\n\n}",
173 "isConstructor" : false,
187 "desc" : "Set a URL to be used to load the content for this TabPanelItem.",
188 "sig" : "(url, params, loadOnce)",
192 "isConstructor" : false,
203 "type" : "String/Function",
204 "desc" : "The URL to load the content from, or a function to call to get the URL",
209 "type" : "String/Object",
210 "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)",
216 "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)",
223 "type" : "Roo.UpdateManager",
224 "desc" : "The UpdateManager"
229 "name" : "setContent",
231 "desc" : "Sets the content for this TabPanelItem.",
232 "sig" : "(content, loadScripts)",
236 "isConstructor" : false,
248 "desc" : "The content",
252 "name" : "loadScripts",
254 "desc" : "true to look for and load scripts",
261 "name" : "getUpdateManager",
263 "desc" : "Gets the {@link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.",
264 "sig" : "()\n{\n\n}",
268 "isConstructor" : false,
280 "type" : "Roo.UpdateManager",
281 "desc" : "The UpdateManager"
286 "name" : "setTooltip",
288 "desc" : "Set the tooltip for the tab.",
293 "isConstructor" : false,
305 "desc" : "The tab's tooltip",
314 "desc" : "Returns the text for this tab",
315 "sig" : "()\n{\n\n}",
319 "isConstructor" : false,
339 "desc" : "Sets the text for the tab (Note: this also sets the tooltip text)",
344 "isConstructor" : false,
356 "desc" : "The tab's text and tooltip",
363 "name" : "setHidden",
365 "desc" : "Show or hide the tab",
370 "isConstructor" : false,
382 "desc" : "True to hide or false to show.",
391 "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.",
392 "sig" : "()\n{\n\n}",
396 "isConstructor" : false,
410 "desc" : "Enables this TabPanelItem if it was previously disabled.",
411 "sig" : "()\n{\n\n}",
415 "isConstructor" : false,
427 "name" : "purgeListeners",
429 "desc" : "Removes all listeners for this object",
430 "sig" : "()\n{\n\n}",
432 "memberOf" : "Roo.util.Observable",
434 "isConstructor" : false,
448 "desc" : "Appends an event handler to this element (shorthand for addListener)",
449 "sig" : "(eventName, handler, scope, options)",
451 "memberOf" : "Roo.util.Observable",
453 "isConstructor" : false,
463 "name" : "eventName",
465 "desc" : "The type of event to listen for",
471 "desc" : "The method the event invokes",
477 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
483 "desc" : "(optional)",
492 "desc" : "Removes a listener (shorthand for removeListener)",
493 "sig" : "(eventName, handler, scope)",
495 "memberOf" : "Roo.util.Observable",
497 "isConstructor" : false,
507 "name" : "eventName",
509 "desc" : "The type of event to listen for",
515 "desc" : "The handler to remove",
521 "desc" : "(optional) The scope (this object) for the handler",
528 "name" : "addEvents",
530 "desc" : "Used to define events on this Observable",
533 "memberOf" : "Roo.util.Observable",
535 "isConstructor" : false,
547 "desc" : "The object with the events defined",
554 "name" : "releaseCapture",
556 "desc" : "Removes <b>all</b> added captures from the Observable.",
559 "memberOf" : "Roo.util.Observable",
561 "isConstructor" : false,
572 "type" : "Observable",
573 "desc" : "The Observable to release",
580 "name" : "removeListener",
582 "desc" : "Removes a listener",
583 "sig" : "(eventName, handler, scope)",
585 "memberOf" : "Roo.util.Observable",
587 "isConstructor" : false,
597 "name" : "eventName",
599 "desc" : "The type of event to listen for",
605 "desc" : "The handler to remove",
611 "desc" : "(optional) The scope (this object) for the handler",
618 "name" : "fireEvent",
620 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
621 "sig" : "(eventName, args)",
623 "memberOf" : "Roo.util.Observable",
625 "isConstructor" : false,
635 "name" : "eventName",
642 "type" : "Object...",
643 "desc" : "Variable number of parameters are passed to handlers",
651 "desc" : "returns false if any of the handlers return false otherwise it returns true"
656 "name" : "hasListener",
658 "desc" : "Checks to see if this object has any listeners for a specified event",
659 "sig" : "(eventName)",
661 "memberOf" : "Roo.util.Observable",
663 "isConstructor" : false,
673 "name" : "eventName",
675 "desc" : "The name of the event to check for",
683 "desc" : "True if the event is being listened for, else false"
690 "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.",
691 "sig" : "(o, fn, scope)",
693 "memberOf" : "Roo.util.Observable",
695 "isConstructor" : false,
706 "type" : "Observable",
707 "desc" : "The Observable to capture",
713 "desc" : "The function to call",
719 "desc" : "(optional) The scope (this object) for the fn",
726 "name" : "addListener",
728 "desc" : "Appends an event handler to this component",
729 "sig" : "(eventName, handler, scope, options)",
731 "memberOf" : "Roo.util.Observable",
733 "isConstructor" : false,
743 "name" : "eventName",
745 "desc" : "The type of event to listen for",
751 "desc" : "The method the event invokes",
757 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
763 "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>",
774 "desc" : "Fires when this tab is closed.",
775 "sig" : "function (_self)\n{\n\n}",
784 "type" : "Roo.TabPanelItem",
794 "desc" : "Fires when this tab becomes the active tab.",
795 "sig" : "function (tabPanel, _self)\n{\n\n}",
804 "type" : "Roo.TabPanel",
805 "desc" : "The parent TabPanel",
810 "type" : "Roo.TabPanelItem",
818 "name" : "beforeclose",
820 "desc" : "Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).",
821 "sig" : "function (_self, e)\n{\n\n}",
830 "type" : "Roo.TabPanelItem",
837 "desc" : "Set cancel to true on this object to cancel the close.",
844 "name" : "deactivate",
846 "desc" : "Fires when this tab is no longer the active tab.",
847 "sig" : "function (tabPanel, _self)\n{\n\n}",
856 "type" : "Roo.TabPanel",
857 "desc" : "The parent TabPanel",
862 "type" : "Roo.TabPanelItem",