2 "name" : "Roo.TabPanelItem",
6 "desc" : "Represents an individual item (tab plus body) in a TabPanel.",
10 "memberOf" : "TabPanelItem",
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" : "Set a URL to be used to load the content for this TabPanelItem.",
57 "sig" : "(url, params, loadOnce)",
61 "isConstructor" : false,
72 "type" : "String/Function",
73 "desc" : "The URL to load the content from, or a function to call to get the URL",
78 "type" : "String/Object",
79 "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)",
85 "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)",
92 "type" : "Roo.UpdateManager",
93 "desc" : "The UpdateManager"
100 "desc" : "Returns the text for this tab",
101 "sig" : "()\n{\n\n}",
105 "isConstructor" : false,
125 "desc" : "Returns true if this tab is \"hidden\"",
126 "sig" : "()\n{\n\n}",
130 "isConstructor" : false,
150 "desc" : "Sets the text for the tab (Note: this also sets the tooltip text)",
155 "isConstructor" : false,
167 "desc" : "The tab's text and tooltip",
176 "desc" : "Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.",
177 "sig" : "()\n{\n\n}",
181 "isConstructor" : false,
195 "desc" : "Returns true if this tab is the active tab.",
196 "sig" : "()\n{\n\n}",
200 "isConstructor" : false,
218 "name" : "setContent",
220 "desc" : "Sets the content for this TabPanelItem.",
221 "sig" : "(content, loadScripts)",
225 "isConstructor" : false,
237 "desc" : "The content",
241 "name" : "loadScripts",
243 "desc" : "true to look for and load scripts",
252 "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.",
253 "sig" : "()\n{\n\n}",
257 "isConstructor" : false,
269 "name" : "setHidden",
271 "desc" : "Show or hide the tab",
276 "isConstructor" : false,
288 "desc" : "True to hide or false to show.",
295 "name" : "setTooltip",
297 "desc" : "Set the tooltip for the tab.",
302 "isConstructor" : false,
314 "desc" : "The tab's tooltip",
323 "desc" : "Enables this TabPanelItem if it was previously disabled.",
324 "sig" : "()\n{\n\n}",
328 "isConstructor" : false,
340 "name" : "getUpdateManager",
342 "desc" : "Gets the {@link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.",
343 "sig" : "()\n{\n\n}",
347 "isConstructor" : false,
359 "type" : "Roo.UpdateManager",
360 "desc" : "The UpdateManager"
367 "desc" : "Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.",
368 "sig" : "()\n{\n\n}",
372 "isConstructor" : false,
386 "desc" : "Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.",
387 "sig" : "()\n{\n\n}",
391 "isConstructor" : false,
405 "desc" : "Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.",
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>",
767 "name" : "beforeclose",
769 "desc" : "Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).",
770 "sig" : "function (_self, e)\n{\n\n}",
779 "type" : "Roo.TabPanelItem",
786 "desc" : "Set cancel to true on this object to cancel the close.",
795 "desc" : "Fires when this tab is closed.",
796 "sig" : "function (_self)\n{\n\n}",
805 "type" : "Roo.TabPanelItem",
815 "desc" : "Fires when this tab becomes the active tab.",
816 "sig" : "function (tabPanel, _self)\n{\n\n}",
825 "type" : "Roo.TabPanel",
826 "desc" : "The parent TabPanel",
831 "type" : "Roo.TabPanelItem",
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",