a:21:{s:9:"#provides";s:25:"dijit.layout.TabContainer";s:9:"#resource";s:22:"layout/TabContainer.js";s:9:"#requires";a:3:{i:0;a:2:{i:0;s:6:"common";i:1;s:27:"dijit.layout.StackContainer";}i:1;a:2:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";}i:2;a:2:{i:0;s:6:"common";i:1;s:26:"dijit.layout.TabController";}}s:25:"dijit.layout.TabContainer";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:27:"dijit.layout.StackContainer";}s:4:"call";a:2:{i:0;s:27:"dijit.layout.StackContainer";i:1;s:16:"dijit._Templated";}}s:6:"mixins";a:1:{s:9:"prototype";a:1:{i:0;s:26:"dijit._Templated.prototype";}}s:7:"summary";s:86:"A Container with tabs to select each child (only one of which is displayed at a time).";s:11:"description";s:373:"A TabContainer is a container that has multiple panes, but shows only one pane at a time. There are a set of tabs corresponding to each pane, where each tab has the title (aka title) of the pane, and optionally a close button. Publishes topics [widgetId]-addChild, [widgetId]-removeChild, and [widgetId]-selectChild (where [widgetId] is the id of the TabContainer itself.";s:9:"classlike";b:1;}s:37:"dijit.layout.TabContainer.tabPosition";a:3:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:6:"String";s:7:"summary";s:123:"Defines where tabs go relative to tab content. "top", "bottom", "left-h", "right-h"";}s:35:"dijit.layout.TabContainer.baseClass";a:2:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:7:"summary";s:0:"";}s:34:"dijit.layout.TabContainer.tabStrip";a:3:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:7:"Boolean";s:7:"summary";s:111:"Defines whether the tablist gets an extra class for layouting, putting a border/shading around the set of tabs.";}s:32:"dijit.layout.TabContainer.nested";a:3:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:7:"Boolean";s:7:"summary";s:198:"If true, use styling for a TabContainer nested inside another TabContainer. For tundra etc., makes tabs look like links, and hides the outer border since the outer TabContainer already has a border.";}s:40:"dijit.layout.TabContainer.templateString";a:2:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:7:"summary";s:0:"";}s:38:"dijit.layout.TabContainer.templatePath";a:2:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:7:"summary";s:0:"";}s:43:"dijit.layout.TabContainer._controllerWidget";a:4:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:6:"String";s:7:"summary";s:76:"An optional parameter to overrider the default TabContainer controller used.";s:7:"private";b:1;}s:45:"dijit.layout.TabContainer.postMixInProperties";a:4:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:8:"Function";s:6:"source";s:1934:"dojo.provide("dijit.layout.TabContainer"); dojo.require("dijit.layout.StackContainer"); dojo.require("dijit._Templated"); dojo.require("dijit.layout.TabController"); dojo.declare("dijit.layout.TabContainer", [dijit.layout.StackContainer, dijit._Templated], { // summary: // A Container with tabs to select each child (only one of which is displayed at a time). // description: // A TabContainer is a container that has multiple panes, but shows only // one pane at a time. There are a set of tabs corresponding to each pane, // where each tab has the title (aka title) of the pane, and optionally a close button. // // Publishes topics [widgetId]-addChild, [widgetId]-removeChild, and [widgetId]-selectChild // (where [widgetId] is the id of the TabContainer itself. // tabPosition: String // Defines where tabs go relative to tab content. // "top", "bottom", "left-h", "right-h" tabPosition: "top", baseClass: "dijitTabContainer", // tabStrip: Boolean // Defines whether the tablist gets an extra class for layouting, putting a border/shading // around the set of tabs. tabStrip: false, // nested: Boolean // If true, use styling for a TabContainer nested inside another TabContainer. // For tundra etc., makes tabs look like links, and hides the outer // border since the outer TabContainer already has a border. nested: false, templateString: null, // override setting in StackContainer templatePath: dojo.moduleUrl("dijit.layout", "templates/TabContainer.html"), // _controllerWidget: String // An optional parameter to overrider the default TabContainer controller used. _controllerWidget: "dijit.layout.TabController", postMixInProperties: function(){ // set class name according to tab position, ex: dijiTabContainerTop this.baseClass += this.tabPosition.charAt(0).toUpperCase() + this.tabPosition.substr(1).replace(/-.*/, ""); this.inherited(arguments);";s:7:"summary";s:0:"";}s:36:"dijit.layout.TabContainer.postCreate";a:4:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:8:"Function";s:6:"source";s:1050:" this.inherited(arguments); // create the tab list that will have a tab (a.k.a. tab button) for each tab panel var TabController = dojo.getObject(this._controllerWidget); this.tablist = new TabController({ id: this.id + "_tablist", tabPosition: this.tabPosition, doLayout: this.doLayout, containerId: this.id, "class": this.baseClass + "-tabs" + (this.doLayout ? "" : " dijitTabNoLayout") }, this.tablistNode); // add Class for tabstrip if (this.tabStrip){ dojo.addClass(this.tablist.domNode, this.baseClass+"Strip"); } if(!this.doLayout){ dojo.addClass(this.domNode, "dijitTabContainerNoLayout"); } if(this.nested){ /* workaround IE's lack of support for "a > b" selectors by * tagging each node in the template. */ dojo.addClass(this.domNode, "dijitTabContainerNested"); dojo.addClass(this.tablist.domNode, "dijitTabContainerTabListNested"); dojo.addClass(this.tablistSpacer, "dijitTabContainerSpacerNested"); dojo.addClass(this.containerNode, "dijitTabPaneWrapperNested"); }";s:7:"summary";s:0:"";}s:37:"dijit.layout.TabContainer._setupChild";a:7:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"tab";a:1:{s:4:"type";s:6:"Widget";}}s:6:"source";s:3251:"dojo.provide("dijit.layout.TabContainer"); dojo.require("dijit.layout.StackContainer"); dojo.require("dijit._Templated"); dojo.require("dijit.layout.TabController"); dojo.declare("dijit.layout.TabContainer", [dijit.layout.StackContainer, dijit._Templated], { // summary: // A Container with tabs to select each child (only one of which is displayed at a time). // description: // A TabContainer is a container that has multiple panes, but shows only // one pane at a time. There are a set of tabs corresponding to each pane, // where each tab has the title (aka title) of the pane, and optionally a close button. // // Publishes topics [widgetId]-addChild, [widgetId]-removeChild, and [widgetId]-selectChild // (where [widgetId] is the id of the TabContainer itself. // tabPosition: String // Defines where tabs go relative to tab content. // "top", "bottom", "left-h", "right-h" tabPosition: "top", baseClass: "dijitTabContainer", // tabStrip: Boolean // Defines whether the tablist gets an extra class for layouting, putting a border/shading // around the set of tabs. tabStrip: false, // nested: Boolean // If true, use styling for a TabContainer nested inside another TabContainer. // For tundra etc., makes tabs look like links, and hides the outer // border since the outer TabContainer already has a border. nested: false, templateString: null, // override setting in StackContainer templatePath: dojo.moduleUrl("dijit.layout", "templates/TabContainer.html"), // _controllerWidget: String // An optional parameter to overrider the default TabContainer controller used. _controllerWidget: "dijit.layout.TabController", postMixInProperties: function(){ // set class name according to tab position, ex: dijiTabContainerTop this.baseClass += this.tabPosition.charAt(0).toUpperCase() + this.tabPosition.substr(1).replace(/-.*/, ""); this.inherited(arguments); }, postCreate: function(){ this.inherited(arguments); // create the tab list that will have a tab (a.k.a. tab button) for each tab panel var TabController = dojo.getObject(this._controllerWidget); this.tablist = new TabController({ id: this.id + "_tablist", tabPosition: this.tabPosition, doLayout: this.doLayout, containerId: this.id, "class": this.baseClass + "-tabs" + (this.doLayout ? "" : " dijitTabNoLayout") }, this.tablistNode); // add Class for tabstrip if (this.tabStrip){ dojo.addClass(this.tablist.domNode, this.baseClass+"Strip"); } if(!this.doLayout){ dojo.addClass(this.domNode, "dijitTabContainerNoLayout"); } if(this.nested){ /* workaround IE's lack of support for "a > b" selectors by * tagging each node in the template. */ dojo.addClass(this.domNode, "dijitTabContainerNested"); dojo.addClass(this.tablist.domNode, "dijitTabContainerTabListNested"); dojo.addClass(this.tablistSpacer, "dijitTabContainerSpacerNested"); dojo.addClass(this.containerNode, "dijitTabPaneWrapperNested"); } }, _setupChild: function(/* Widget */tab){ // Overrides StackContainer._setupChild(). dojo.addClass(tab.domNode, "dijitTabPane"); this.inherited(arguments); return tab; // Widget (TODO: remove this, return code is unused)";s:7:"returns";s:50:"Widget (TODO: remove this, return code is unused)";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dijit.layout.TabContainer.startup";a:4:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:8:"Function";s:6:"source";s:125:" if(this._started){ return; } // wire up the tablist and its tabs this.tablist.startup(); this.inherited(arguments);";s:7:"summary";s:0:"";}s:32:"dijit.layout.TabContainer.layout";a:5:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:8:"Function";s:6:"source";s:4438:"dojo.provide("dijit.layout.TabContainer"); dojo.require("dijit.layout.StackContainer"); dojo.require("dijit._Templated"); dojo.require("dijit.layout.TabController"); dojo.declare("dijit.layout.TabContainer", [dijit.layout.StackContainer, dijit._Templated], { // summary: // A Container with tabs to select each child (only one of which is displayed at a time). // description: // A TabContainer is a container that has multiple panes, but shows only // one pane at a time. There are a set of tabs corresponding to each pane, // where each tab has the title (aka title) of the pane, and optionally a close button. // // Publishes topics [widgetId]-addChild, [widgetId]-removeChild, and [widgetId]-selectChild // (where [widgetId] is the id of the TabContainer itself. // tabPosition: String // Defines where tabs go relative to tab content. // "top", "bottom", "left-h", "right-h" tabPosition: "top", baseClass: "dijitTabContainer", // tabStrip: Boolean // Defines whether the tablist gets an extra class for layouting, putting a border/shading // around the set of tabs. tabStrip: false, // nested: Boolean // If true, use styling for a TabContainer nested inside another TabContainer. // For tundra etc., makes tabs look like links, and hides the outer // border since the outer TabContainer already has a border. nested: false, templateString: null, // override setting in StackContainer templatePath: dojo.moduleUrl("dijit.layout", "templates/TabContainer.html"), // _controllerWidget: String // An optional parameter to overrider the default TabContainer controller used. _controllerWidget: "dijit.layout.TabController", postMixInProperties: function(){ // set class name according to tab position, ex: dijiTabContainerTop this.baseClass += this.tabPosition.charAt(0).toUpperCase() + this.tabPosition.substr(1).replace(/-.*/, ""); this.inherited(arguments); }, postCreate: function(){ this.inherited(arguments); // create the tab list that will have a tab (a.k.a. tab button) for each tab panel var TabController = dojo.getObject(this._controllerWidget); this.tablist = new TabController({ id: this.id + "_tablist", tabPosition: this.tabPosition, doLayout: this.doLayout, containerId: this.id, "class": this.baseClass + "-tabs" + (this.doLayout ? "" : " dijitTabNoLayout") }, this.tablistNode); // add Class for tabstrip if (this.tabStrip){ dojo.addClass(this.tablist.domNode, this.baseClass+"Strip"); } if(!this.doLayout){ dojo.addClass(this.domNode, "dijitTabContainerNoLayout"); } if(this.nested){ /* workaround IE's lack of support for "a > b" selectors by * tagging each node in the template. */ dojo.addClass(this.domNode, "dijitTabContainerNested"); dojo.addClass(this.tablist.domNode, "dijitTabContainerTabListNested"); dojo.addClass(this.tablistSpacer, "dijitTabContainerSpacerNested"); dojo.addClass(this.containerNode, "dijitTabPaneWrapperNested"); } }, _setupChild: function(/* Widget */tab){ // Overrides StackContainer._setupChild(). dojo.addClass(tab.domNode, "dijitTabPane"); this.inherited(arguments); return tab; // Widget (TODO: remove this, return code is unused) }, startup: function(){ if(this._started){ return; } // wire up the tablist and its tabs this.tablist.startup(); this.inherited(arguments); }, layout: function(){ // Overrides StackContainer.layout(). // Configure the content pane to take up all the space except for where the tabs are if(!this.doLayout){ return; } // position and size the titles and the container node var titleAlign = this.tabPosition.replace(/-h/,""); var children = [ { domNode: this.tablist.domNode, layoutAlign: titleAlign }, { domNode: this.tablistSpacer, layoutAlign: titleAlign }, { domNode: this.containerNode, layoutAlign: "client" } ]; dijit.layout.layoutChildren(this.domNode, this._contentBox, children); // Compute size to make each of my children. // children[2] is the margin-box size of this.containerNode, set by layoutChildren() call above this._containerContentBox = dijit.layout.marginBox2contentBox(this.containerNode, children[2]); if(this.selectedChildWidget){ this._showChild(this.selectedChildWidget); if(this.doLayout && this.selectedChildWidget.resize){ this.selectedChildWidget.resize(this._containerContentBox); } }";s:7:"returns";s:50:"Widget (TODO: remove this, return code is unused)";s:7:"summary";s:0:"";}s:33:"dijit.layout.TabContainer.destroy";a:4:{s:9:"prototype";s:25:"dijit.layout.TabContainer";s:4:"type";s:8:"Function";s:6:"source";s:79:" if(this.tablist){ this.tablist.destroy(); } this.inherited(arguments);";s:7:"summary";s:0:"";}s:33:"dijit.layout.TabContainer.tablist";a:2:{s:8:"instance";s:25:"dijit.layout.TabContainer";s:7:"summary";s:0:"";}s:46:"dijit.layout.TabContainer._containerContentBox";a:3:{s:8:"instance";s:25:"dijit.layout.TabContainer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:12:"dijit.layout";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dijit";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}