Merge branch 'master' of http://git.roojs.com/roojs1
[roojs1] / docs / symbols / Roo.panel.TabItem.json
1 {
2   "name" : "Roo.panel.TabItem",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "childClasses" : {  },
7   "tree_children" : [],
8   "tree_parent" : [],
9   "desc" : "Represents an individual item (tab plus body) in a TabPanel.",
10   "isSingleton" : false,
11   "isStatic" : false,
12   "isBuiltin" : false,
13   "isAbstract" : false,
14   "isBuilderTop" : false,
15   "memberOf" : "TabItem",
16   "example" : "",
17   "deprecated" : "",
18   "since" : "",
19   "see" : "",
20   "params" : [
21     {
22       "name" : "tabPanel",
23       "type" : "Roo.panel.Tab",
24       "desc" : "The {@link Roo.panel.Tab} this TabPanelItem belongs to",
25       "isOptional" : false
26     },
27     {
28       "name" : "id",
29       "type" : "String",
30       "desc" : "The id of this TabPanelItem",
31       "isOptional" : false
32     },
33     {
34       "name" : "text",
35       "type" : "String",
36       "desc" : "The text for the tab of this TabPanelItem",
37       "isOptional" : false
38     },
39     {
40       "name" : "closable",
41       "type" : "Boolean",
42       "desc" : "True to allow this TabPanelItem to be closable (defaults to false)",
43       "isOptional" : false
44     }
45   ],
46   "returns" : [],
47   "throws" : "",
48   "requires" : "",
49   "config" : [
50     {
51       "name" : "listeners",
52       "type" : "Object",
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",
55       "isOptional" : false,
56       "optvals" : []
57     }
58   ],
59   "methods" : [
60     {
61       "name" : "getUpdateManager",
62       "type" : "function",
63       "desc" : "Gets the {@link Roo.UpdateManager} for the body of this TabPanelItem. Enables you to perform Ajax updates.",
64       "sig" : "()\n{\n\n}",
65       "static" : false,
66       "memberOf" : "",
67       "isStatic" : false,
68       "isConstructor" : false,
69       "isPrivate" : false,
70       "example" : "",
71       "deprecated" : "",
72       "since" : "",
73       "see" : "",
74       "exceptions" : "",
75       "requires" : "",
76       "params" : [],
77       "returns" : [
78         {
79           "name" : "",
80           "type" : "Roo.UpdateManager",
81           "desc" : "The UpdateManager"
82         }
83       ]
84     },
85     {
86       "name" : "disable",
87       "type" : "function",
88       "desc" : "Disables this TabPanelItem -- this does nothing if this is the active TabPanelItem.",
89       "sig" : "()\n{\n\n}",
90       "static" : false,
91       "memberOf" : "",
92       "isStatic" : false,
93       "isConstructor" : false,
94       "isPrivate" : false,
95       "example" : "",
96       "deprecated" : "",
97       "since" : "",
98       "see" : "",
99       "exceptions" : "",
100       "requires" : "",
101       "params" : [],
102       "returns" : []
103     },
104     {
105       "name" : "setHidden",
106       "type" : "function",
107       "desc" : "Show or hide the tab",
108       "sig" : "(hidden)",
109       "static" : false,
110       "memberOf" : "",
111       "isStatic" : false,
112       "isConstructor" : false,
113       "isPrivate" : false,
114       "example" : "",
115       "deprecated" : "",
116       "since" : "",
117       "see" : "",
118       "exceptions" : "",
119       "requires" : "",
120       "params" : [
121         {
122           "name" : "hidden",
123           "type" : "Boolean",
124           "desc" : "True to hide or false to show.",
125           "isOptional" : false
126         }
127       ],
128       "returns" : []
129     },
130     {
131       "name" : "isHidden",
132       "type" : "function",
133       "desc" : "Returns true if this tab is \"hidden\"",
134       "sig" : "()\n{\n\n}",
135       "static" : false,
136       "memberOf" : "",
137       "isStatic" : false,
138       "isConstructor" : false,
139       "isPrivate" : false,
140       "example" : "",
141       "deprecated" : "",
142       "since" : "",
143       "see" : "",
144       "exceptions" : "",
145       "requires" : "",
146       "params" : [],
147       "returns" : [
148         {
149           "name" : "",
150           "type" : "Boolean",
151           "desc" : ""
152         }
153       ]
154     },
155     {
156       "name" : "activate",
157       "type" : "function",
158       "desc" : "Activates this TabPanelItem -- this <b>does</b> deactivate the currently active TabPanelItem.",
159       "sig" : "()\n{\n\n}",
160       "static" : false,
161       "memberOf" : "",
162       "isStatic" : false,
163       "isConstructor" : false,
164       "isPrivate" : false,
165       "example" : "",
166       "deprecated" : "",
167       "since" : "",
168       "see" : "",
169       "exceptions" : "",
170       "requires" : "",
171       "params" : [],
172       "returns" : []
173     },
174     {
175       "name" : "getText",
176       "type" : "function",
177       "desc" : "Returns the text for this tab",
178       "sig" : "()\n{\n\n}",
179       "static" : false,
180       "memberOf" : "",
181       "isStatic" : false,
182       "isConstructor" : false,
183       "isPrivate" : false,
184       "example" : "",
185       "deprecated" : "",
186       "since" : "",
187       "see" : "",
188       "exceptions" : "",
189       "requires" : "",
190       "params" : [],
191       "returns" : [
192         {
193           "name" : "",
194           "type" : "String",
195           "desc" : ""
196         }
197       ]
198     },
199     {
200       "name" : "setText",
201       "type" : "function",
202       "desc" : "Sets the text for the tab (Note: this also sets the tooltip text)",
203       "sig" : "(text)",
204       "static" : false,
205       "memberOf" : "",
206       "isStatic" : false,
207       "isConstructor" : false,
208       "isPrivate" : false,
209       "example" : "",
210       "deprecated" : "",
211       "since" : "",
212       "see" : "",
213       "exceptions" : "",
214       "requires" : "",
215       "params" : [
216         {
217           "name" : "text",
218           "type" : "String",
219           "desc" : "The tab's text and tooltip",
220           "isOptional" : false
221         }
222       ],
223       "returns" : []
224     },
225     {
226       "name" : "isActive",
227       "type" : "function",
228       "desc" : "Returns true if this tab is the active tab.",
229       "sig" : "()\n{\n\n}",
230       "static" : false,
231       "memberOf" : "",
232       "isStatic" : false,
233       "isConstructor" : false,
234       "isPrivate" : false,
235       "example" : "",
236       "deprecated" : "",
237       "since" : "",
238       "see" : "",
239       "exceptions" : "",
240       "requires" : "",
241       "params" : [],
242       "returns" : [
243         {
244           "name" : "",
245           "type" : "Boolean",
246           "desc" : ""
247         }
248       ]
249     },
250     {
251       "name" : "setUrl",
252       "type" : "function",
253       "desc" : "Set a URL to be used to load the content for this TabPanelItem.",
254       "sig" : "(url, params, loadOnce)",
255       "static" : false,
256       "memberOf" : "",
257       "isStatic" : false,
258       "isConstructor" : false,
259       "isPrivate" : false,
260       "example" : "",
261       "deprecated" : "",
262       "since" : "",
263       "see" : "",
264       "exceptions" : "",
265       "requires" : "",
266       "params" : [
267         {
268           "name" : "url",
269           "type" : "String/Function",
270           "desc" : "The URL to load the content from, or a function to call to get the URL",
271           "isOptional" : false
272         },
273         {
274           "name" : "params",
275           "type" : "String/Object",
276           "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)",
277           "isOptional" : false
278         },
279         {
280           "name" : "loadOnce",
281           "type" : "Boolean",
282           "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)",
283           "isOptional" : false
284         }
285       ],
286       "returns" : [
287         {
288           "name" : "",
289           "type" : "Roo.UpdateManager",
290           "desc" : "The UpdateManager"
291         }
292       ]
293     },
294     {
295       "name" : "enable",
296       "type" : "function",
297       "desc" : "Enables this TabPanelItem if it was previously disabled.",
298       "sig" : "()\n{\n\n}",
299       "static" : false,
300       "memberOf" : "",
301       "isStatic" : false,
302       "isConstructor" : false,
303       "isPrivate" : false,
304       "example" : "",
305       "deprecated" : "",
306       "since" : "",
307       "see" : "",
308       "exceptions" : "",
309       "requires" : "",
310       "params" : [],
311       "returns" : []
312     },
313     {
314       "name" : "hide",
315       "type" : "function",
316       "desc" : "Hides this TabPanelItem -- if you don't activate another TabPanelItem this could look odd.",
317       "sig" : "()\n{\n\n}",
318       "static" : false,
319       "memberOf" : "",
320       "isStatic" : false,
321       "isConstructor" : false,
322       "isPrivate" : false,
323       "example" : "",
324       "deprecated" : "",
325       "since" : "",
326       "see" : "",
327       "exceptions" : "",
328       "requires" : "",
329       "params" : [],
330       "returns" : []
331     },
332     {
333       "name" : "show",
334       "type" : "function",
335       "desc" : "Shows this TabPanelItem -- this <b>does not</b> deactivate the currently active TabPanelItem.",
336       "sig" : "()\n{\n\n}",
337       "static" : false,
338       "memberOf" : "",
339       "isStatic" : false,
340       "isConstructor" : false,
341       "isPrivate" : false,
342       "example" : "",
343       "deprecated" : "",
344       "since" : "",
345       "see" : "",
346       "exceptions" : "",
347       "requires" : "",
348       "params" : [],
349       "returns" : []
350     },
351     {
352       "name" : "setTooltip",
353       "type" : "function",
354       "desc" : "Set the tooltip for the tab.",
355       "sig" : "(tooltip)",
356       "static" : false,
357       "memberOf" : "",
358       "isStatic" : false,
359       "isConstructor" : false,
360       "isPrivate" : false,
361       "example" : "",
362       "deprecated" : "",
363       "since" : "",
364       "see" : "",
365       "exceptions" : "",
366       "requires" : "",
367       "params" : [
368         {
369           "name" : "tooltip",
370           "type" : "String",
371           "desc" : "The tab's tooltip",
372           "isOptional" : false
373         }
374       ],
375       "returns" : []
376     },
377     {
378       "name" : "refresh",
379       "type" : "function",
380       "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.",
381       "sig" : "()\n{\n\n}",
382       "static" : false,
383       "memberOf" : "",
384       "isStatic" : false,
385       "isConstructor" : false,
386       "isPrivate" : false,
387       "example" : "",
388       "deprecated" : "",
389       "since" : "",
390       "see" : "",
391       "exceptions" : "",
392       "requires" : "",
393       "params" : [],
394       "returns" : []
395     },
396     {
397       "name" : "setContent",
398       "type" : "function",
399       "desc" : "Sets the content for this TabPanelItem.",
400       "sig" : "(content, loadScripts)",
401       "static" : false,
402       "memberOf" : "",
403       "isStatic" : false,
404       "isConstructor" : false,
405       "isPrivate" : false,
406       "example" : "",
407       "deprecated" : "",
408       "since" : "",
409       "see" : "",
410       "exceptions" : "",
411       "requires" : "",
412       "params" : [
413         {
414           "name" : "content",
415           "type" : "String",
416           "desc" : "The content",
417           "isOptional" : false
418         },
419         {
420           "name" : "loadScripts",
421           "type" : "Boolean",
422           "desc" : "true to look for and load scripts",
423           "isOptional" : false
424         }
425       ],
426       "returns" : []
427     },
428     {
429       "name" : "purgeListeners",
430       "type" : "function",
431       "desc" : "Removes all listeners for this object",
432       "sig" : "()\n{\n\n}",
433       "static" : false,
434       "memberOf" : "Roo.util.Observable",
435       "isStatic" : false,
436       "isConstructor" : false,
437       "isPrivate" : false,
438       "example" : "",
439       "deprecated" : "",
440       "since" : "",
441       "see" : "",
442       "exceptions" : "",
443       "requires" : "",
444       "params" : [],
445       "returns" : []
446     },
447     {
448       "name" : "on",
449       "type" : "function",
450       "desc" : "Appends an event handler to this element (shorthand for addListener)",
451       "sig" : "(eventName, handler, scope, options)",
452       "static" : false,
453       "memberOf" : "Roo.util.Observable",
454       "isStatic" : false,
455       "isConstructor" : false,
456       "isPrivate" : false,
457       "example" : "",
458       "deprecated" : "",
459       "since" : "",
460       "see" : "",
461       "exceptions" : "",
462       "requires" : "",
463       "params" : [
464         {
465           "name" : "eventName",
466           "type" : "String",
467           "desc" : "The type of event to listen for",
468           "isOptional" : false
469         },
470         {
471           "name" : "handler",
472           "type" : "Function",
473           "desc" : "The method the event invokes",
474           "isOptional" : false
475         },
476         {
477           "name" : "scope",
478           "type" : "Object",
479           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
480           "isOptional" : false
481         },
482         {
483           "name" : "options",
484           "type" : "Object",
485           "desc" : "(optional)",
486           "isOptional" : false
487         }
488       ],
489       "returns" : []
490     },
491     {
492       "name" : "un",
493       "type" : "function",
494       "desc" : "Removes a listener (shorthand for removeListener)",
495       "sig" : "(eventName, handler, scope)",
496       "static" : false,
497       "memberOf" : "Roo.util.Observable",
498       "isStatic" : false,
499       "isConstructor" : false,
500       "isPrivate" : false,
501       "example" : "",
502       "deprecated" : "",
503       "since" : "",
504       "see" : "",
505       "exceptions" : "",
506       "requires" : "",
507       "params" : [
508         {
509           "name" : "eventName",
510           "type" : "String",
511           "desc" : "The type of event to listen for",
512           "isOptional" : false
513         },
514         {
515           "name" : "handler",
516           "type" : "Function",
517           "desc" : "The handler to remove",
518           "isOptional" : false
519         },
520         {
521           "name" : "scope",
522           "type" : "Object",
523           "desc" : "(optional) The scope (this object) for the handler",
524           "isOptional" : false
525         }
526       ],
527       "returns" : []
528     },
529     {
530       "name" : "addEvents",
531       "type" : "function",
532       "desc" : "Used to define events on this Observable",
533       "sig" : "(object)",
534       "static" : false,
535       "memberOf" : "Roo.util.Observable",
536       "isStatic" : false,
537       "isConstructor" : false,
538       "isPrivate" : false,
539       "example" : "",
540       "deprecated" : "",
541       "since" : "",
542       "see" : "",
543       "exceptions" : "",
544       "requires" : "",
545       "params" : [
546         {
547           "name" : "object",
548           "type" : "Object",
549           "desc" : "The object with the events defined",
550           "isOptional" : false
551         }
552       ],
553       "returns" : []
554     },
555     {
556       "name" : "releaseCapture",
557       "type" : "function",
558       "desc" : "Removes <b>all</b> added captures from the Observable.",
559       "sig" : "(o)",
560       "static" : true,
561       "memberOf" : "Roo.util.Observable",
562       "isStatic" : true,
563       "isConstructor" : false,
564       "isPrivate" : false,
565       "example" : "",
566       "deprecated" : "",
567       "since" : "",
568       "see" : "",
569       "exceptions" : "",
570       "requires" : "",
571       "params" : [
572         {
573           "name" : "o",
574           "type" : "Observable",
575           "desc" : "The Observable to release",
576           "isOptional" : false
577         }
578       ],
579       "returns" : []
580     },
581     {
582       "name" : "removeListener",
583       "type" : "function",
584       "desc" : "Removes a listener",
585       "sig" : "(eventName, handler, scope)",
586       "static" : false,
587       "memberOf" : "Roo.util.Observable",
588       "isStatic" : false,
589       "isConstructor" : false,
590       "isPrivate" : false,
591       "example" : "",
592       "deprecated" : "",
593       "since" : "",
594       "see" : "",
595       "exceptions" : "",
596       "requires" : "",
597       "params" : [
598         {
599           "name" : "eventName",
600           "type" : "String",
601           "desc" : "The type of event to listen for",
602           "isOptional" : false
603         },
604         {
605           "name" : "handler",
606           "type" : "Function",
607           "desc" : "The handler to remove",
608           "isOptional" : false
609         },
610         {
611           "name" : "scope",
612           "type" : "Object",
613           "desc" : "(optional) The scope (this object) for the handler",
614           "isOptional" : false
615         }
616       ],
617       "returns" : []
618     },
619     {
620       "name" : "fireEvent",
621       "type" : "function",
622       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
623       "sig" : "(eventName, args)",
624       "static" : false,
625       "memberOf" : "Roo.util.Observable",
626       "isStatic" : false,
627       "isConstructor" : false,
628       "isPrivate" : false,
629       "example" : "",
630       "deprecated" : "",
631       "since" : "",
632       "see" : "",
633       "exceptions" : "",
634       "requires" : "",
635       "params" : [
636         {
637           "name" : "eventName",
638           "type" : "String",
639           "desc" : "",
640           "isOptional" : false
641         },
642         {
643           "name" : "args",
644           "type" : "Object...",
645           "desc" : "Variable number of parameters are passed to handlers",
646           "isOptional" : false
647         }
648       ],
649       "returns" : [
650         {
651           "name" : "",
652           "type" : "Boolean",
653           "desc" : "returns false if any of the handlers return false otherwise it returns true"
654         }
655       ]
656     },
657     {
658       "name" : "hasListener",
659       "type" : "function",
660       "desc" : "Checks to see if this object has any listeners for a specified event",
661       "sig" : "(eventName)",
662       "static" : false,
663       "memberOf" : "Roo.util.Observable",
664       "isStatic" : false,
665       "isConstructor" : false,
666       "isPrivate" : false,
667       "example" : "",
668       "deprecated" : "",
669       "since" : "",
670       "see" : "",
671       "exceptions" : "",
672       "requires" : "",
673       "params" : [
674         {
675           "name" : "eventName",
676           "type" : "String",
677           "desc" : "The name of the event to check for",
678           "isOptional" : false
679         }
680       ],
681       "returns" : [
682         {
683           "name" : "",
684           "type" : "Boolean",
685           "desc" : "True if the event is being listened for, else false"
686         }
687       ]
688     },
689     {
690       "name" : "capture",
691       "type" : "function",
692       "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.",
693       "sig" : "(o, fn, scope)",
694       "static" : true,
695       "memberOf" : "Roo.util.Observable",
696       "isStatic" : true,
697       "isConstructor" : false,
698       "isPrivate" : false,
699       "example" : "",
700       "deprecated" : "",
701       "since" : "",
702       "see" : "",
703       "exceptions" : "",
704       "requires" : "",
705       "params" : [
706         {
707           "name" : "o",
708           "type" : "Observable",
709           "desc" : "The Observable to capture",
710           "isOptional" : false
711         },
712         {
713           "name" : "fn",
714           "type" : "Function",
715           "desc" : "The function to call",
716           "isOptional" : false
717         },
718         {
719           "name" : "scope",
720           "type" : "Object",
721           "desc" : "(optional) The scope (this object) for the fn",
722           "isOptional" : false
723         }
724       ],
725       "returns" : []
726     },
727     {
728       "name" : "addListener",
729       "type" : "function",
730       "desc" : "Appends an event handler to this component",
731       "sig" : "(eventName, handler, scope, options)",
732       "static" : false,
733       "memberOf" : "Roo.util.Observable",
734       "isStatic" : false,
735       "isConstructor" : false,
736       "isPrivate" : false,
737       "example" : "",
738       "deprecated" : "",
739       "since" : "",
740       "see" : "",
741       "exceptions" : "",
742       "requires" : "",
743       "params" : [
744         {
745           "name" : "eventName",
746           "type" : "String",
747           "desc" : "The type of event to listen for",
748           "isOptional" : false
749         },
750         {
751           "name" : "handler",
752           "type" : "Function",
753           "desc" : "The method the event invokes",
754           "isOptional" : false
755         },
756         {
757           "name" : "scope",
758           "type" : "Object",
759           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
760           "isOptional" : false
761         },
762         {
763           "name" : "options",
764           "type" : "Object",
765           "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>",
766           "isOptional" : false
767         }
768       ],
769       "returns" : []
770     }
771   ],
772   "events" : [
773     {
774       "name" : "deactivate",
775       "type" : "function",
776       "desc" : "Fires when this tab is no longer the active tab.",
777       "sig" : "function (tabPanel, _self)\n{\n\n}",
778       "memberOf" : "",
779       "example" : "",
780       "deprecated" : "",
781       "since" : "",
782       "see" : "",
783       "params" : [
784         {
785           "name" : "tabPanel",
786           "type" : "Roo.panel.Tab",
787           "desc" : "The parent TabPanel",
788           "isOptional" : false
789         },
790         {
791           "name" : "this",
792           "type" : "Roo.panel.TabItem",
793           "desc" : "",
794           "isOptional" : false
795         }
796       ],
797       "returns" : []
798     },
799     {
800       "name" : "close",
801       "type" : "function",
802       "desc" : "Fires when this tab is closed.",
803       "sig" : "function (_self)\n{\n\n}",
804       "memberOf" : "",
805       "example" : "",
806       "deprecated" : "",
807       "since" : "",
808       "see" : "",
809       "params" : [
810         {
811           "name" : "this",
812           "type" : "Roo.panel.TabItem",
813           "desc" : "",
814           "isOptional" : false
815         }
816       ],
817       "returns" : []
818     },
819     {
820       "name" : "activate",
821       "type" : "function",
822       "desc" : "Fires when this tab becomes the active tab.",
823       "sig" : "function (tabPanel, _self)\n{\n\n}",
824       "memberOf" : "",
825       "example" : "",
826       "deprecated" : "",
827       "since" : "",
828       "see" : "",
829       "params" : [
830         {
831           "name" : "tabPanel",
832           "type" : "Roo.panel.Tab",
833           "desc" : "The parent TabPanel",
834           "isOptional" : false
835         },
836         {
837           "name" : "this",
838           "type" : "Roo.panel.TabItem",
839           "desc" : "",
840           "isOptional" : false
841         }
842       ],
843       "returns" : []
844     },
845     {
846       "name" : "beforeclose",
847       "type" : "function",
848       "desc" : "Fires before this tab is closed. To cancel the close, set cancel to true on e (e.cancel = true).",
849       "sig" : "function (_self, e)\n{\n\n}",
850       "memberOf" : "",
851       "example" : "",
852       "deprecated" : "",
853       "since" : "",
854       "see" : "",
855       "params" : [
856         {
857           "name" : "this",
858           "type" : "Roo.panel.TabItem",
859           "desc" : "",
860           "isOptional" : false
861         },
862         {
863           "name" : "e",
864           "type" : "Object",
865           "desc" : "Set cancel to true on this object to cancel the close.",
866           "isOptional" : false
867         }
868       ],
869       "returns" : []
870     }
871   ]
872 }