2 "name" : "Roo.bootstrap.panel.TabItem",
7 "desc" : "Represents an individual item (tab plus body) in a TabPanel.",
11 "memberOf" : "TabItem",
19 "type" : "Roo.TabPanel",
20 "desc" : "The {@link Roo.TabPanel} this TabPanelItem belongs to",
26 "desc" : "The id of this TabPanelItem",
32 "desc" : "The text for the tab of this TabPanelItem",
38 "desc" : "True to allow this TabPanelItem to be closable (defaults to false)",
49 "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>",
50 "memberOf" : "Roo.util.Observable"
57 "desc" : "Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.",
62 "isConstructor" : false,
76 "desc" : "Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.",
81 "isConstructor" : false,
95 "desc" : "Returns true if this tab is \"hidden\"",
100 "isConstructor" : false,
120 "desc" : "Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.",
121 "sig" : "()\n{\n\n}",
125 "isConstructor" : false,
139 "desc" : "Returns true if this tab is the active tab.",
140 "sig" : "()\n{\n\n}",
144 "isConstructor" : false,
164 "desc" : "Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.",
165 "sig" : "()\n{\n\n}",
169 "isConstructor" : false,
183 "desc" : "Set a URL to be used to load the content for this TabPanelItem.",
184 "sig" : "(url, params, loadOnce)",
188 "isConstructor" : false,
199 "type" : "String/Function",
200 "desc" : "The URL to load the content from, or a function to call to get the URL",
205 "type" : "String/Object",
206 "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)",
212 "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)",
219 "type" : "Roo.UpdateManager",
220 "desc" : "The UpdateManager"
225 "name" : "setContent",
227 "desc" : "Sets the content for this TabPanelItem.",
228 "sig" : "(content, loadScripts)",
232 "isConstructor" : false,
244 "desc" : "The content",
248 "name" : "loadScripts",
250 "desc" : "true to look for and load scripts",
257 "name" : "getUpdateManager",
259 "desc" : "Gets the {@link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.",
260 "sig" : "()\n{\n\n}",
264 "isConstructor" : false,
276 "type" : "Roo.UpdateManager",
277 "desc" : "The UpdateManager"
282 "name" : "setTooltip",
284 "desc" : "Set the tooltip for the tab.",
289 "isConstructor" : false,
301 "desc" : "The tab's tooltip",
310 "desc" : "Returns the text for this tab",
311 "sig" : "()\n{\n\n}",
315 "isConstructor" : false,
335 "desc" : "Sets the text for the tab (Note: this also sets the tooltip text)",
340 "isConstructor" : false,
352 "desc" : "The tab's text and tooltip",
359 "name" : "setHidden",
361 "desc" : "Show or hide the tab",
366 "isConstructor" : false,
378 "desc" : "True to hide or false to show.",
387 "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.",
388 "sig" : "()\n{\n\n}",
392 "isConstructor" : false,
406 "desc" : "Enables this TabPanelItem if it was previously disabled.",
407 "sig" : "()\n{\n\n}",
411 "isConstructor" : false,
423 "name" : "purgeListeners",
425 "desc" : "Removes all listeners for this object",
426 "sig" : "()\n{\n\n}",
428 "memberOf" : "Roo.util.Observable",
430 "isConstructor" : false,
444 "desc" : "Appends an event handler to this element (shorthand for addListener)",
445 "sig" : "(eventName, handler, scope, options)",
447 "memberOf" : "Roo.util.Observable",
449 "isConstructor" : false,
459 "name" : "eventName",
461 "desc" : "The type of event to listen for",
467 "desc" : "The method the event invokes",
473 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
479 "desc" : "(optional)",
488 "desc" : "Removes a listener (shorthand for removeListener)",
489 "sig" : "(eventName, handler, scope)",
491 "memberOf" : "Roo.util.Observable",
493 "isConstructor" : false,
503 "name" : "eventName",
505 "desc" : "The type of event to listen for",
511 "desc" : "The handler to remove",
517 "desc" : "(optional) The scope (this object) for the handler",
524 "name" : "addEvents",
526 "desc" : "Used to define events on this Observable",
529 "memberOf" : "Roo.util.Observable",
531 "isConstructor" : false,
543 "desc" : "The object with the events defined",
550 "name" : "releaseCapture",
552 "desc" : "Removes <b>all</b> added captures from the Observable.",
555 "memberOf" : "Roo.util.Observable",
557 "isConstructor" : false,
568 "type" : "Observable",
569 "desc" : "The Observable to release",
576 "name" : "removeListener",
578 "desc" : "Removes a listener",
579 "sig" : "(eventName, handler, scope)",
581 "memberOf" : "Roo.util.Observable",
583 "isConstructor" : false,
593 "name" : "eventName",
595 "desc" : "The type of event to listen for",
601 "desc" : "The handler to remove",
607 "desc" : "(optional) The scope (this object) for the handler",
614 "name" : "fireEvent",
616 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
617 "sig" : "(eventName, args)",
619 "memberOf" : "Roo.util.Observable",
621 "isConstructor" : false,
631 "name" : "eventName",
638 "type" : "Object...",
639 "desc" : "Variable number of parameters are passed to handlers",
647 "desc" : "returns false if any of the handlers return false otherwise it returns true"
652 "name" : "hasListener",
654 "desc" : "Checks to see if this object has any listeners for a specified event",
655 "sig" : "(eventName)",
657 "memberOf" : "Roo.util.Observable",
659 "isConstructor" : false,
669 "name" : "eventName",
671 "desc" : "The name of the event to check for",
679 "desc" : "True if the event is being listened for, else false"
686 "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.",
687 "sig" : "(o, fn, scope)",
689 "memberOf" : "Roo.util.Observable",
691 "isConstructor" : false,
702 "type" : "Observable",
703 "desc" : "The Observable to capture",
709 "desc" : "The function to call",
715 "desc" : "(optional) The scope (this object) for the fn",
722 "name" : "addListener",
724 "desc" : "Appends an event handler to this component",
725 "sig" : "(eventName, handler, scope, options)",
727 "memberOf" : "Roo.util.Observable",
729 "isConstructor" : false,
739 "name" : "eventName",
741 "desc" : "The type of event to listen for",
747 "desc" : "The method the event invokes",
753 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
759 "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>",
770 "desc" : "Fires when this tab is closed.",
771 "sig" : "function (_self)\n{\n\n}",
780 "type" : "Roo.TabPanelItem",
790 "desc" : "Fires when this tab becomes the active tab.",
791 "sig" : "function (tabPanel, _self)\n{\n\n}",
800 "type" : "Roo.TabPanel",
801 "desc" : "The parent TabPanel",
806 "type" : "Roo.TabPanelItem",
814 "name" : "beforeclose",
816 "desc" : "Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).",
817 "sig" : "function (_self, e)\n{\n\n}",
826 "type" : "Roo.TabPanelItem",
833 "desc" : "Set cancel to true on this object to cancel the close.",
840 "name" : "deactivate",
842 "desc" : "Fires when this tab is no longer the active tab.",
843 "sig" : "function (tabPanel, _self)\n{\n\n}",
852 "type" : "Roo.TabPanel",
853 "desc" : "The parent TabPanel",
858 "type" : "Roo.TabPanelItem",