Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / app / view / cls / Container.js
diff --git a/docs/app/view/cls/Container.js b/docs/app/view/cls/Container.js
new file mode 100644 (file)
index 0000000..9ae3f20
--- /dev/null
@@ -0,0 +1,27 @@
+/**
+ * The class documentation page. Consists of the header (class name) and tab panel.
+ * TODO: Add framework version
+ */
+Ext.define('Docs.view.cls.Container', {
+    extend: 'Ext.container.Container',
+    alias: 'widget.classcontainer',
+    requires: [
+        'Docs.view.cls.Header',
+        'Docs.view.cls.TabPanel'
+    ],
+
+    layout: {
+        type: 'vbox',
+        align: 'stretch'
+    },
+
+    initComponent: function() {
+        this.items = [
+            Ext.create('Docs.view.cls.Header'),
+            Ext.create('Docs.view.cls.TabPanel', {
+                flex: 1
+            })
+        ];
+        this.callParent(arguments);
+    }
+});