a4aecdcd1702c83aaa6bd77578c13762a652ce41
[roojs1] / docs / symbols / Roo.bootstrap.panel.Tabs.json
1 {
2   "name" : "Roo.bootstrap.panel.Tabs",
3   "augments" : [
4     "Roo.util.Observable"
5   ],
6   "desc" : "A lightweight tab container.\n<br><br>\nUsage:\n<pre><code>\n// basic tabs 1, built from existing content\nvar tabs = new Roo.TabPanel(\"tabs1\");\ntabs.addTab(\"script\", \"View Script\");\ntabs.addTab(\"markup\", \"View Markup\");\ntabs.activate(\"script\");\n\n// more advanced tabs, built from javascript\nvar jtabs = new Roo.TabPanel(\"jtabs\");\njtabs.addTab(\"jtabs-1\", \"Normal Tab\", \"My content was added during construction.\");\n\n// set up the UpdateManager\nvar tab2 = jtabs.addTab(\"jtabs-2\", \"Ajax Tab 1\");\nvar updater = tab2.getUpdateManager();\nupdater.setDefaultUrl(\"ajax1.htm\");\ntab2.on('activate', updater.refresh, updater, true);\n\n// Use setUrl for Ajax loading\nvar tab3 = jtabs.addTab(\"jtabs-3\", \"Ajax Tab 2\");\ntab3.setUrl(\"ajax2.htm\", null, true);\n\n// Disabled tab\nvar tab4 = jtabs.addTab(\"tabs1-5\", \"Disabled Tab\", \"Can't see me cause I'm disabled\");\ntab4.disable();\n\njtabs.activate(\"jtabs-1\");\n</code></pre>",
7   "isSingleton" : false,
8   "isStatic" : false,
9   "isBuiltin" : false,
10   "memberOf" : "Tabs",
11   "example" : "",
12   "deprecated" : "",
13   "since" : "",
14   "see" : "",
15   "params" : [
16     {
17       "name" : "container",
18       "type" : "String/HTMLElement/Roo.Element",
19       "desc" : "The id, DOM element or Roo.Element container where this TabPanel is to be rendered.",
20       "isOptional" : false
21     },
22     {
23       "name" : "config",
24       "type" : "Object/Boolean",
25       "desc" : "Config object to set any properties for this TabPanel, or true to render the tabs on the bottom.",
26       "isOptional" : false
27     }
28   ],
29   "returns" : [
30   ],
31   "config" : [
32     {
33       "name" : "listeners",
34       "type" : "Object",
35       "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>",
36       "memberOf" : "Roo.util.Observable",
37       "values" : [
38       ]
39     }
40   ],
41   "methods" : [
42     {
43       "name" : "setTabWidth",
44       "desc" : "Resizes all the tabs to the passed width",
45       "isStatic" : false,
46       "isConstructor" : false,
47       "isPrivate" : false,
48       "memberOf" : "Roo.bootstrap.panel.Tabs",
49       "example" : "",
50       "deprecated" : "",
51       "since" : "",
52       "see" : "",
53       "params" : [
54         {
55           "name" : "The",
56           "type" : "Number",
57           "desc" : "new width",
58           "isOptional" : false
59         }
60       ],
61       "returns" : [
62       ]
63     },
64     {
65       "name" : "endUpdate",
66       "desc" : "Stops an update and resizes the tabs (if {@link #resizeTabs} is false this does nothing)",
67       "isStatic" : false,
68       "isConstructor" : false,
69       "isPrivate" : false,
70       "memberOf" : "Roo.bootstrap.panel.Tabs",
71       "example" : "",
72       "deprecated" : "",
73       "since" : "",
74       "see" : "",
75       "params" : [
76       ],
77       "returns" : [
78       ]
79     },
80     {
81       "name" : "disableTab",
82       "desc" : "Disables a {@link Roo.TabPanelItem}. It cannot be the active tab, if it is this call is ignored.",
83       "isStatic" : false,
84       "isConstructor" : false,
85       "isPrivate" : false,
86       "memberOf" : "Roo.bootstrap.panel.Tabs",
87       "example" : "",
88       "deprecated" : "",
89       "since" : "",
90       "see" : "",
91       "params" : [
92         {
93           "name" : "id",
94           "type" : "String/Number",
95           "desc" : "The id or index of the TabPanelItem to disable.",
96           "isOptional" : false
97         }
98       ],
99       "returns" : [
100       ]
101     },
102     {
103       "name" : "getTab",
104       "desc" : "Returns the {@link Roo.TabPanelItem} with the specified id/index",
105       "isStatic" : false,
106       "isConstructor" : false,
107       "isPrivate" : false,
108       "memberOf" : "Roo.bootstrap.panel.Tabs",
109       "example" : "",
110       "deprecated" : "",
111       "since" : "",
112       "see" : "",
113       "params" : [
114         {
115           "name" : "id",
116           "type" : "String/Number",
117           "desc" : "The id or index of the TabPanelItem to fetch.",
118           "isOptional" : false
119         }
120       ],
121       "returns" : [
122         {
123           "name" : "",
124           "type" : "Roo.TabPanelItem",
125           "desc" : ""
126         }
127       ]
128     },
129     {
130       "name" : "unhideTab",
131       "desc" : "\"Unhides\" the {@link Roo.TabPanelItem} with the specified id/index.",
132       "isStatic" : false,
133       "isConstructor" : false,
134       "isPrivate" : false,
135       "memberOf" : "Roo.bootstrap.panel.Tabs",
136       "example" : "",
137       "deprecated" : "",
138       "since" : "",
139       "see" : "",
140       "params" : [
141         {
142           "name" : "id",
143           "type" : "String/Number",
144           "desc" : "The id or index of the TabPanelItem to unhide.",
145           "isOptional" : false
146         }
147       ],
148       "returns" : [
149       ]
150     },
151     {
152       "name" : "beginUpdate",
153       "desc" : "Disables tab resizing while tabs are being added (if {@link #resizeTabs} is false this does nothing)",
154       "isStatic" : false,
155       "isConstructor" : false,
156       "isPrivate" : false,
157       "memberOf" : "Roo.bootstrap.panel.Tabs",
158       "example" : "",
159       "deprecated" : "",
160       "since" : "",
161       "see" : "",
162       "params" : [
163       ],
164       "returns" : [
165       ]
166     },
167     {
168       "name" : "enableTab",
169       "desc" : "Enables a {@link Roo.TabPanelItem} that is disabled.",
170       "isStatic" : false,
171       "isConstructor" : false,
172       "isPrivate" : false,
173       "memberOf" : "Roo.bootstrap.panel.Tabs",
174       "example" : "",
175       "deprecated" : "",
176       "since" : "",
177       "see" : "",
178       "params" : [
179         {
180           "name" : "id",
181           "type" : "String/Number",
182           "desc" : "The id or index of the TabPanelItem to enable.",
183           "isOptional" : false
184         }
185       ],
186       "returns" : [
187       ]
188     },
189     {
190       "name" : "getCount",
191       "desc" : "Returns the number of tabs in this TabPanel.",
192       "isStatic" : false,
193       "isConstructor" : false,
194       "isPrivate" : false,
195       "memberOf" : "Roo.bootstrap.panel.Tabs",
196       "example" : "",
197       "deprecated" : "",
198       "since" : "",
199       "see" : "",
200       "params" : [
201       ],
202       "returns" : [
203         {
204           "name" : "",
205           "type" : "Number",
206           "desc" : ""
207         }
208       ]
209     },
210     {
211       "name" : "destroy",
212       "desc" : "Destroys this TabPanel",
213       "isStatic" : false,
214       "isConstructor" : false,
215       "isPrivate" : false,
216       "memberOf" : "Roo.bootstrap.panel.Tabs",
217       "example" : "",
218       "deprecated" : "",
219       "since" : "",
220       "see" : "",
221       "params" : [
222         {
223           "name" : "removeEl",
224           "type" : "Boolean",
225           "desc" : "(optional) True to remove the element from the DOM as well (defaults to undefined)",
226           "isOptional" : false
227         }
228       ],
229       "returns" : [
230       ]
231     },
232     {
233       "name" : "syncHeight",
234       "desc" : "Updates the tab body element to fit the height of the container element\nfor overflow scrolling",
235       "isStatic" : false,
236       "isConstructor" : false,
237       "isPrivate" : false,
238       "memberOf" : "Roo.bootstrap.panel.Tabs",
239       "example" : "",
240       "deprecated" : "",
241       "since" : "",
242       "see" : "",
243       "params" : [
244         {
245           "name" : "targetHeight",
246           "type" : "Number",
247           "desc" : "(optional) Override the starting height from the elements height",
248           "isOptional" : false
249         }
250       ],
251       "returns" : [
252       ]
253     },
254     {
255       "name" : "activate",
256       "desc" : "Activates a {@link Roo.TabPanelItem}. The currently active one will be deactivated.",
257       "isStatic" : false,
258       "isConstructor" : false,
259       "isPrivate" : false,
260       "memberOf" : "Roo.bootstrap.panel.Tabs",
261       "example" : "",
262       "deprecated" : "",
263       "since" : "",
264       "see" : "",
265       "params" : [
266         {
267           "name" : "id",
268           "type" : "String/Number",
269           "desc" : "The id or index of the TabPanelItem to activate.",
270           "isOptional" : false
271         }
272       ],
273       "returns" : [
274         {
275           "name" : "",
276           "type" : "Roo.TabPanelItem",
277           "desc" : "The TabPanelItem."
278         }
279       ]
280     },
281     {
282       "name" : "autoSizeTabs",
283       "desc" : "Manual call to resize the tabs (if {@link #resizeTabs} is false this does nothing)",
284       "isStatic" : false,
285       "isConstructor" : false,
286       "isPrivate" : false,
287       "memberOf" : "Roo.bootstrap.panel.Tabs",
288       "example" : "",
289       "deprecated" : "",
290       "since" : "",
291       "see" : "",
292       "params" : [
293       ],
294       "returns" : [
295       ]
296     },
297     {
298       "name" : "addTabItem",
299       "desc" : "Adds an existing {@link Roo.TabPanelItem}.",
300       "isStatic" : false,
301       "isConstructor" : false,
302       "isPrivate" : false,
303       "memberOf" : "Roo.bootstrap.panel.Tabs",
304       "example" : "",
305       "deprecated" : "",
306       "since" : "",
307       "see" : "",
308       "params" : [
309         {
310           "name" : "item",
311           "type" : "Roo.TabPanelItem",
312           "desc" : "The TabPanelItem to add",
313           "isOptional" : false
314         }
315       ],
316       "returns" : [
317       ]
318     },
319     {
320       "name" : "addTab",
321       "desc" : "Creates a new {@link Roo.TabPanelItem} by looking for an existing element with the provided id -- if it's not found it creates one.",
322       "isStatic" : false,
323       "isConstructor" : false,
324       "isPrivate" : false,
325       "memberOf" : "Roo.bootstrap.panel.Tabs",
326       "example" : "",
327       "deprecated" : "",
328       "since" : "",
329       "see" : "",
330       "params" : [
331         {
332           "name" : "id",
333           "type" : "String",
334           "desc" : "The id of the div to use <b>or create</b>",
335           "isOptional" : false
336         },
337         {
338           "name" : "text",
339           "type" : "String",
340           "desc" : "The text for the tab",
341           "isOptional" : false
342         },
343         {
344           "name" : "content",
345           "type" : "String",
346           "desc" : "(optional) Content to put in the TabPanelItem body",
347           "isOptional" : false
348         },
349         {
350           "name" : "closable",
351           "type" : "Boolean",
352           "desc" : "(optional) True to create a close icon on the tab",
353           "isOptional" : false
354         }
355       ],
356       "returns" : [
357         {
358           "name" : "",
359           "type" : "Roo.TabPanelItem",
360           "desc" : "The created TabPanelItem"
361         }
362       ]
363     },
364     {
365       "name" : "removeTab",
366       "desc" : "Removes a {@link Roo.TabPanelItem}.",
367       "isStatic" : false,
368       "isConstructor" : false,
369       "isPrivate" : false,
370       "memberOf" : "Roo.bootstrap.panel.Tabs",
371       "example" : "",
372       "deprecated" : "",
373       "since" : "",
374       "see" : "",
375       "params" : [
376         {
377           "name" : "id",
378           "type" : "String/Number",
379           "desc" : "The id or index of the TabPanelItem to remove.",
380           "isOptional" : false
381         }
382       ],
383       "returns" : [
384       ]
385     },
386     {
387       "name" : "hideTab",
388       "desc" : "Hides the {@link Roo.TabPanelItem} with the specified id/index",
389       "isStatic" : false,
390       "isConstructor" : false,
391       "isPrivate" : false,
392       "memberOf" : "Roo.bootstrap.panel.Tabs",
393       "example" : "",
394       "deprecated" : "",
395       "since" : "",
396       "see" : "",
397       "params" : [
398         {
399           "name" : "id",
400           "type" : "String/Number",
401           "desc" : "The id or index of the TabPanelItem to hide.",
402           "isOptional" : false
403         }
404       ],
405       "returns" : [
406       ]
407     },
408     {
409       "name" : "getActiveTab",
410       "desc" : "Gets the active {@link Roo.TabPanelItem}.",
411       "isStatic" : false,
412       "isConstructor" : false,
413       "isPrivate" : false,
414       "memberOf" : "Roo.bootstrap.panel.Tabs",
415       "example" : "",
416       "deprecated" : "",
417       "since" : "",
418       "see" : "",
419       "params" : [
420       ],
421       "returns" : [
422         {
423           "name" : "",
424           "type" : "Roo.TabPanelItem",
425           "desc" : "The active TabPanelItem or null if none are active."
426         }
427       ]
428     },
429     {
430       "name" : "purgeListeners",
431       "desc" : "Removes all listeners for this object",
432       "isStatic" : false,
433       "isConstructor" : false,
434       "isPrivate" : false,
435       "memberOf" : "Roo.util.Observable",
436       "example" : "",
437       "deprecated" : "",
438       "since" : "",
439       "see" : "",
440       "params" : [
441       ],
442       "returns" : [
443       ]
444     },
445     {
446       "name" : "on",
447       "desc" : "Appends an event handler to this element (shorthand for addListener)",
448       "isStatic" : false,
449       "isConstructor" : false,
450       "isPrivate" : false,
451       "memberOf" : "Roo.util.Observable",
452       "example" : "",
453       "deprecated" : "",
454       "since" : "",
455       "see" : "",
456       "params" : [
457         {
458           "name" : "eventName",
459           "type" : "String",
460           "desc" : "The type of event to listen for",
461           "isOptional" : false
462         },
463         {
464           "name" : "handler",
465           "type" : "Function",
466           "desc" : "The method the event invokes",
467           "isOptional" : false
468         },
469         {
470           "name" : "scope",
471           "type" : "Object",
472           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
473           "isOptional" : false
474         },
475         {
476           "name" : "options",
477           "type" : "Object",
478           "desc" : "(optional)",
479           "isOptional" : false
480         }
481       ],
482       "returns" : [
483       ]
484     },
485     {
486       "name" : "un",
487       "desc" : "Removes a listener (shorthand for removeListener)",
488       "isStatic" : false,
489       "isConstructor" : false,
490       "isPrivate" : false,
491       "memberOf" : "Roo.util.Observable",
492       "example" : "",
493       "deprecated" : "",
494       "since" : "",
495       "see" : "",
496       "params" : [
497         {
498           "name" : "eventName",
499           "type" : "String",
500           "desc" : "The type of event to listen for",
501           "isOptional" : false
502         },
503         {
504           "name" : "handler",
505           "type" : "Function",
506           "desc" : "The handler to remove",
507           "isOptional" : false
508         },
509         {
510           "name" : "scope",
511           "type" : "Object",
512           "desc" : "(optional) The scope (this object) for the handler",
513           "isOptional" : false
514         }
515       ],
516       "returns" : [
517       ]
518     },
519     {
520       "name" : "addEvents",
521       "desc" : "Used to define events on this Observable",
522       "isStatic" : false,
523       "isConstructor" : false,
524       "isPrivate" : false,
525       "memberOf" : "Roo.util.Observable",
526       "example" : "",
527       "deprecated" : "",
528       "since" : "",
529       "see" : "",
530       "params" : [
531         {
532           "name" : "object",
533           "type" : "Object",
534           "desc" : "The object with the events defined",
535           "isOptional" : false
536         }
537       ],
538       "returns" : [
539       ]
540     },
541     {
542       "name" : "releaseCapture",
543       "desc" : "Removes <b>all</b> added captures from the Observable.",
544       "isStatic" : true,
545       "isConstructor" : false,
546       "isPrivate" : false,
547       "memberOf" : "Roo.util.Observable",
548       "example" : "",
549       "deprecated" : "",
550       "since" : "",
551       "see" : "",
552       "params" : [
553         {
554           "name" : "o",
555           "type" : "Observable",
556           "desc" : "The Observable to release",
557           "isOptional" : false
558         }
559       ],
560       "returns" : [
561       ]
562     },
563     {
564       "name" : "removeListener",
565       "desc" : "Removes a listener",
566       "isStatic" : false,
567       "isConstructor" : false,
568       "isPrivate" : false,
569       "memberOf" : "Roo.util.Observable",
570       "example" : "",
571       "deprecated" : "",
572       "since" : "",
573       "see" : "",
574       "params" : [
575         {
576           "name" : "eventName",
577           "type" : "String",
578           "desc" : "The type of event to listen for",
579           "isOptional" : false
580         },
581         {
582           "name" : "handler",
583           "type" : "Function",
584           "desc" : "The handler to remove",
585           "isOptional" : false
586         },
587         {
588           "name" : "scope",
589           "type" : "Object",
590           "desc" : "(optional) The scope (this object) for the handler",
591           "isOptional" : false
592         }
593       ],
594       "returns" : [
595       ]
596     },
597     {
598       "name" : "fireEvent",
599       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
600       "isStatic" : false,
601       "isConstructor" : false,
602       "isPrivate" : false,
603       "memberOf" : "Roo.util.Observable",
604       "example" : "",
605       "deprecated" : "",
606       "since" : "",
607       "see" : "",
608       "params" : [
609         {
610           "name" : "eventName",
611           "type" : "String",
612           "desc" : "",
613           "isOptional" : false
614         },
615         {
616           "name" : "args",
617           "type" : "Object...",
618           "desc" : "Variable number of parameters are passed to handlers",
619           "isOptional" : false
620         }
621       ],
622       "returns" : [
623         {
624           "name" : "",
625           "type" : "Boolean",
626           "desc" : "returns false if any of the handlers return false otherwise it returns true"
627         }
628       ]
629     },
630     {
631       "name" : "hasListener",
632       "desc" : "Checks to see if this object has any listeners for a specified event",
633       "isStatic" : false,
634       "isConstructor" : false,
635       "isPrivate" : false,
636       "memberOf" : "Roo.util.Observable",
637       "example" : "",
638       "deprecated" : "",
639       "since" : "",
640       "see" : "",
641       "params" : [
642         {
643           "name" : "eventName",
644           "type" : "String",
645           "desc" : "The name of the event to check for",
646           "isOptional" : false
647         }
648       ],
649       "returns" : [
650         {
651           "name" : "",
652           "type" : "Boolean",
653           "desc" : "True if the event is being listened for, else false"
654         }
655       ]
656     },
657     {
658       "name" : "capture",
659       "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.",
660       "isStatic" : true,
661       "isConstructor" : false,
662       "isPrivate" : false,
663       "memberOf" : "Roo.util.Observable",
664       "example" : "",
665       "deprecated" : "",
666       "since" : "",
667       "see" : "",
668       "params" : [
669         {
670           "name" : "o",
671           "type" : "Observable",
672           "desc" : "The Observable to capture",
673           "isOptional" : false
674         },
675         {
676           "name" : "fn",
677           "type" : "Function",
678           "desc" : "The function to call",
679           "isOptional" : false
680         },
681         {
682           "name" : "scope",
683           "type" : "Object",
684           "desc" : "(optional) The scope (this object) for the fn",
685           "isOptional" : false
686         }
687       ],
688       "returns" : [
689       ]
690     },
691     {
692       "name" : "addListener",
693       "desc" : "Appends an event handler to this component",
694       "isStatic" : false,
695       "isConstructor" : false,
696       "isPrivate" : false,
697       "memberOf" : "Roo.util.Observable",
698       "example" : "",
699       "deprecated" : "",
700       "since" : "",
701       "see" : "",
702       "params" : [
703         {
704           "name" : "eventName",
705           "type" : "String",
706           "desc" : "The type of event to listen for",
707           "isOptional" : false
708         },
709         {
710           "name" : "handler",
711           "type" : "Function",
712           "desc" : "The method the event invokes",
713           "isOptional" : false
714         },
715         {
716           "name" : "scope",
717           "type" : "Object",
718           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
719           "isOptional" : false
720         },
721         {
722           "name" : "options",
723           "type" : "Object",
724           "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>",
725           "isOptional" : false
726         }
727       ],
728       "returns" : [
729       ]
730     }
731   ],
732   "events" : [
733     {
734       "name" : "tabchange",
735       "desc" : "Fires when the active tab changes",
736       "memberOf" : "",
737       "example" : "",
738       "deprecated" : "",
739       "since" : "",
740       "see" : "",
741       "params" : [
742         {
743           "name" : "this",
744           "type" : "Roo.TabPanel",
745           "desc" : "",
746           "isOptional" : false
747         },
748         {
749           "name" : "activePanel",
750           "type" : "Roo.TabPanelItem",
751           "desc" : "The new active tab",
752           "isOptional" : false
753         }
754       ],
755       "returns" : [
756       ]
757     },
758     {
759       "name" : "beforetabchange",
760       "desc" : "Fires before the active tab changes, set cancel to true on the \"e\" parameter to cancel the change",
761       "memberOf" : "",
762       "example" : "",
763       "deprecated" : "",
764       "since" : "",
765       "see" : "",
766       "params" : [
767         {
768           "name" : "this",
769           "type" : "Roo.TabPanel",
770           "desc" : "",
771           "isOptional" : false
772         },
773         {
774           "name" : "e",
775           "type" : "Object",
776           "desc" : "Set cancel to true on this object to cancel the tab change",
777           "isOptional" : false
778         },
779         {
780           "name" : "tab",
781           "type" : "Roo.TabPanelItem",
782           "desc" : "The tab being changed to",
783           "isOptional" : false
784         }
785       ],
786       "returns" : [
787       ]
788     }
789   ]
790 }