7 Roo.bootstrap.dash = Roo.bootstrap.dash || {};
9 * @class Roo.bootstrap.TabPane
10 * @extends Roo.bootstrap.Component
11 * @children Roo.bootstrap.Graph Roo.bootstrap.Column
12 * Bootstrap TabPane class
13 * @cfg {Boolean} active (false | true) Default false
14 * @cfg {String} title title of panel
18 * Create a new TabPane
19 * @param {Object} config The config object
22 Roo.bootstrap.dash.TabPane = function(config){
23 Roo.bootstrap.dash.TabPane.superclass.constructor.call(this, config);
29 * When a pane is activated
30 * @param {Roo.bootstrap.dash.TabPane} pane
37 Roo.extend(Roo.bootstrap.dash.TabPane, Roo.bootstrap.Component, {
42 // the tabBox that this is attached to.
45 getAutoCreate : function()
58 initEvents : function()
60 //Roo.log('trigger add pane handler');
61 this.parent().fireEvent('addpane', this)
65 * Updates the tab title
66 * @param {String} html to set the title to.
68 setTitle: function(str)
74 this.tab.select('a', true).first().dom.innerHTML = str;