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)",
46 "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>",
47 "memberOf" : "Roo.util.Observable",
54 "desc" : "Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.",
56 "isConstructor" : false,
58 "memberOf" : "Roo.bootstrap.panel.TabItem",
68 "desc" : "Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.",
70 "isConstructor" : false,
72 "memberOf" : "Roo.bootstrap.panel.TabItem",
82 "desc" : "Returns true if this tab is \"hidden\"",
84 "isConstructor" : false,
86 "memberOf" : "Roo.bootstrap.panel.TabItem",
102 "desc" : "Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.",
104 "isConstructor" : false,
106 "memberOf" : "Roo.bootstrap.panel.TabItem",
116 "desc" : "Returns true if this tab is the active tab.",
118 "isConstructor" : false,
120 "memberOf" : "Roo.bootstrap.panel.TabItem",
136 "desc" : "Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.",
138 "isConstructor" : false,
140 "memberOf" : "Roo.bootstrap.panel.TabItem",
150 "desc" : "Set a URL to be used to load the content for this TabPanelItem.",
152 "isConstructor" : false,
154 "memberOf" : "Roo.bootstrap.panel.TabItem",
162 "type" : "String/Function",
163 "desc" : "The URL to load the content from, or a function to call to get the URL",
168 "type" : "String/Object",
169 "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)",
175 "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)",
182 "type" : "Roo.UpdateManager",
183 "desc" : "The UpdateManager"
188 "name" : "setContent",
189 "desc" : "Sets the content for this TabPanelItem.",
191 "isConstructor" : false,
193 "memberOf" : "Roo.bootstrap.panel.TabItem",
202 "desc" : "The content",
206 "name" : "loadScripts",
208 "desc" : "true to look for and load scripts",
215 "name" : "getUpdateManager",
216 "desc" : "Gets the {@link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.",
218 "isConstructor" : false,
220 "memberOf" : "Roo.bootstrap.panel.TabItem",
229 "type" : "Roo.UpdateManager",
230 "desc" : "The UpdateManager"
235 "name" : "setTooltip",
236 "desc" : "Set the tooltip for the tab.",
238 "isConstructor" : false,
240 "memberOf" : "Roo.bootstrap.panel.TabItem",
249 "desc" : "The tab's tooltip",
257 "desc" : "Returns the text for this tab",
259 "isConstructor" : false,
261 "memberOf" : "Roo.bootstrap.panel.TabItem",
277 "desc" : "Sets the text for the tab (Note: this also sets the tooltip text)",
279 "isConstructor" : false,
281 "memberOf" : "Roo.bootstrap.panel.TabItem",
290 "desc" : "The tab's text and tooltip",
297 "name" : "setHidden",
298 "desc" : "Show or hide the tab",
300 "isConstructor" : false,
302 "memberOf" : "Roo.bootstrap.panel.TabItem",
311 "desc" : "True to hide or false to show.",
319 "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.",
321 "isConstructor" : false,
323 "memberOf" : "Roo.bootstrap.panel.TabItem",
333 "desc" : "Enables this TabPanelItem if it was previously disabled.",
335 "isConstructor" : false,
337 "memberOf" : "Roo.bootstrap.panel.TabItem",
346 "name" : "purgeListeners",
347 "desc" : "Removes all listeners for this object",
349 "isConstructor" : false,
351 "memberOf" : "Roo.util.Observable",
361 "desc" : "Appends an event handler to this element (shorthand for addListener)",
363 "isConstructor" : false,
365 "memberOf" : "Roo.util.Observable",
372 "name" : "eventName",
374 "desc" : "The type of event to listen for",
380 "desc" : "The method the event invokes",
386 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
392 "desc" : "(optional)",
400 "desc" : "Removes a listener (shorthand for removeListener)",
402 "isConstructor" : false,
404 "memberOf" : "Roo.util.Observable",
411 "name" : "eventName",
413 "desc" : "The type of event to listen for",
419 "desc" : "The handler to remove",
425 "desc" : "(optional) The scope (this object) for the handler",
432 "name" : "addEvents",
433 "desc" : "Used to define events on this Observable",
435 "isConstructor" : false,
437 "memberOf" : "Roo.util.Observable",
446 "desc" : "The object with the events defined",
453 "name" : "releaseCapture",
454 "desc" : "Removes <b>all</b> added captures from the Observable.",
456 "isConstructor" : false,
458 "memberOf" : "Roo.util.Observable",
466 "type" : "Observable",
467 "desc" : "The Observable to release",
474 "name" : "removeListener",
475 "desc" : "Removes a listener",
477 "isConstructor" : false,
479 "memberOf" : "Roo.util.Observable",
486 "name" : "eventName",
488 "desc" : "The type of event to listen for",
494 "desc" : "The handler to remove",
500 "desc" : "(optional) The scope (this object) for the handler",
507 "name" : "fireEvent",
508 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
510 "isConstructor" : false,
512 "memberOf" : "Roo.util.Observable",
519 "name" : "eventName",
526 "type" : "Object...",
527 "desc" : "Variable number of parameters are passed to handlers",
535 "desc" : "returns false if any of the handlers return false otherwise it returns true"
540 "name" : "hasListener",
541 "desc" : "Checks to see if this object has any listeners for a specified event",
543 "isConstructor" : false,
545 "memberOf" : "Roo.util.Observable",
552 "name" : "eventName",
554 "desc" : "The name of the event to check for",
562 "desc" : "True if the event is being listened for, else false"
568 "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.",
570 "isConstructor" : false,
572 "memberOf" : "Roo.util.Observable",
580 "type" : "Observable",
581 "desc" : "The Observable to capture",
587 "desc" : "The function to call",
593 "desc" : "(optional) The scope (this object) for the fn",
600 "name" : "addListener",
601 "desc" : "Appends an event handler to this component",
603 "isConstructor" : false,
605 "memberOf" : "Roo.util.Observable",
612 "name" : "eventName",
614 "desc" : "The type of event to listen for",
620 "desc" : "The method the event invokes",
626 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
632 "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>",
642 "desc" : "Fires when this tab is closed.",
643 "memberOf" : "Roo.bootstrap.panel.TabItem",
651 "type" : "Roo.TabPanelItem",
660 "desc" : "Fires when this tab becomes the active tab.",
661 "memberOf" : "Roo.bootstrap.panel.TabItem",
669 "type" : "Roo.TabPanel",
670 "desc" : "The parent TabPanel",
675 "type" : "Roo.TabPanelItem",
683 "name" : "beforeclose",
684 "desc" : "Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).",
685 "memberOf" : "Roo.bootstrap.panel.TabItem",
693 "type" : "Roo.TabPanelItem",
700 "desc" : "Set cancel to true on this object to cancel the close.",
707 "name" : "deactivate",
708 "desc" : "Fires when this tab is no longer the active tab.",
709 "memberOf" : "Roo.bootstrap.panel.TabItem",
717 "type" : "Roo.TabPanel",
718 "desc" : "The parent TabPanel",
723 "type" : "Roo.TabPanelItem",