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)",
47 "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>",
48 "memberOf" : "Roo.util.Observable",
56 "desc" : "Set a URL to be used to load the content for this TabPanelItem.",
58 "isConstructor" : false,
60 "memberOf" : "Roo.TabPanelItem",
68 "type" : "String/Function",
69 "desc" : "The URL to load the content from, or a function to call to get the URL",
74 "type" : "String/Object",
75 "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)",
81 "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)",
88 "type" : "Roo.UpdateManager",
89 "desc" : "The UpdateManager"
95 "desc" : "Returns the text for this tab",
97 "isConstructor" : false,
99 "memberOf" : "Roo.TabPanelItem",
116 "desc" : "Returns true if this tab is \"hidden\"",
118 "isConstructor" : false,
120 "memberOf" : "Roo.TabPanelItem",
137 "desc" : "Sets the text for the tab (Note: this also sets the tooltip text)",
139 "isConstructor" : false,
141 "memberOf" : "Roo.TabPanelItem",
150 "desc" : "The tab's text and tooltip",
159 "desc" : "Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.",
161 "isConstructor" : false,
163 "memberOf" : "Roo.TabPanelItem",
175 "desc" : "Returns true if this tab is the active tab.",
177 "isConstructor" : false,
179 "memberOf" : "Roo.TabPanelItem",
195 "name" : "setContent",
196 "desc" : "Sets the content for this TabPanelItem.",
198 "isConstructor" : false,
200 "memberOf" : "Roo.TabPanelItem",
209 "desc" : "The content",
213 "name" : "loadScripts",
215 "desc" : "true to look for and load scripts",
224 "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.",
226 "isConstructor" : false,
228 "memberOf" : "Roo.TabPanelItem",
239 "name" : "setHidden",
240 "desc" : "Show or hide the tab",
242 "isConstructor" : false,
244 "memberOf" : "Roo.TabPanelItem",
253 "desc" : "True to hide or false to show.",
261 "name" : "setTooltip",
262 "desc" : "Set the tooltip for the tab.",
264 "isConstructor" : false,
266 "memberOf" : "Roo.TabPanelItem",
275 "desc" : "The tab's tooltip",
284 "desc" : "Enables this TabPanelItem if it was previously disabled.",
286 "isConstructor" : false,
288 "memberOf" : "Roo.TabPanelItem",
299 "name" : "getUpdateManager",
300 "desc" : "Gets the {@link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.",
302 "isConstructor" : false,
304 "memberOf" : "Roo.TabPanelItem",
314 "type" : "Roo.UpdateManager",
315 "desc" : "The UpdateManager"
321 "desc" : "Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.",
323 "isConstructor" : false,
325 "memberOf" : "Roo.TabPanelItem",
337 "desc" : "Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.",
339 "isConstructor" : false,
341 "memberOf" : "Roo.TabPanelItem",
353 "desc" : "Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.",
355 "isConstructor" : false,
357 "memberOf" : "Roo.TabPanelItem",
368 "name" : "purgeListeners",
369 "desc" : "Removes all listeners for this object",
371 "isConstructor" : false,
373 "memberOf" : "Roo.util.Observable",
385 "desc" : "Appends an event handler to this element (shorthand for addListener)",
387 "isConstructor" : false,
389 "memberOf" : "Roo.util.Observable",
396 "name" : "eventName",
398 "desc" : "The type of event to listen for",
404 "desc" : "The method the event invokes",
410 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
416 "desc" : "(optional)",
425 "desc" : "Removes a listener (shorthand for removeListener)",
427 "isConstructor" : false,
429 "memberOf" : "Roo.util.Observable",
436 "name" : "eventName",
438 "desc" : "The type of event to listen for",
444 "desc" : "The handler to remove",
450 "desc" : "(optional) The scope (this object) for the handler",
458 "name" : "addEvents",
459 "desc" : "Used to define events on this Observable",
461 "isConstructor" : false,
463 "memberOf" : "Roo.util.Observable",
472 "desc" : "The object with the events defined",
480 "name" : "releaseCapture",
481 "desc" : "Removes <b>all</b> added captures from the Observable.",
483 "isConstructor" : false,
485 "memberOf" : "Roo.util.Observable",
493 "type" : "Observable",
494 "desc" : "The Observable to release",
502 "name" : "removeListener",
503 "desc" : "Removes a listener",
505 "isConstructor" : false,
507 "memberOf" : "Roo.util.Observable",
514 "name" : "eventName",
516 "desc" : "The type of event to listen for",
522 "desc" : "The handler to remove",
528 "desc" : "(optional) The scope (this object) for the handler",
536 "name" : "fireEvent",
537 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
539 "isConstructor" : false,
541 "memberOf" : "Roo.util.Observable",
548 "name" : "eventName",
555 "type" : "Object...",
556 "desc" : "Variable number of parameters are passed to handlers",
564 "desc" : "returns false if any of the handlers return false otherwise it returns true"
569 "name" : "hasListener",
570 "desc" : "Checks to see if this object has any listeners for a specified event",
572 "isConstructor" : false,
574 "memberOf" : "Roo.util.Observable",
581 "name" : "eventName",
583 "desc" : "The name of the event to check for",
591 "desc" : "True if the event is being listened for, else false"
597 "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.",
599 "isConstructor" : false,
601 "memberOf" : "Roo.util.Observable",
609 "type" : "Observable",
610 "desc" : "The Observable to capture",
616 "desc" : "The function to call",
622 "desc" : "(optional) The scope (this object) for the fn",
630 "name" : "addListener",
631 "desc" : "Appends an event handler to this component",
633 "isConstructor" : false,
635 "memberOf" : "Roo.util.Observable",
642 "name" : "eventName",
644 "desc" : "The type of event to listen for",
650 "desc" : "The method the event invokes",
656 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
662 "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>",
672 "name" : "beforeclose",
673 "desc" : "Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).",
674 "memberOf" : "Roo.TabPanelItem",
682 "type" : "Roo.TabPanelItem",
689 "desc" : "Set cancel to true on this object to cancel the close.",
698 "desc" : "Fires when this tab is closed.",
699 "memberOf" : "Roo.TabPanelItem",
707 "type" : "Roo.TabPanelItem",
717 "desc" : "Fires when this tab becomes the active tab.",
718 "memberOf" : "Roo.TabPanelItem",
726 "type" : "Roo.TabPanel",
727 "desc" : "The parent TabPanel",
732 "type" : "Roo.TabPanelItem",
741 "name" : "deactivate",
742 "desc" : "Fires when this tab is no longer the active tab.",
743 "memberOf" : "Roo.TabPanelItem",
751 "type" : "Roo.TabPanel",
752 "desc" : "The parent TabPanel",
757 "type" : "Roo.TabPanelItem",