|
|
/*This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License UsageThis file may be used under the terms of the GNU General Public License version 3.0 aspublished by the Free Software Foundation and appearing in the file LICENSE included in thepackaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales departmentat http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25*/Ext.data.JsonP.Ext_Viewport({"alternateClassNames":[],"aliases":{"widget":["viewport"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.Container","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><a href='#!/api/Ext.Component' rel='Ext.Component' class='docClass'>Ext.Component</a><div class='subclass '><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='docClass'>Ext.BoxComponent</a><div class='subclass '><a href='#!/api/Ext.Container' rel='Ext.Container' class='docClass'>Ext.Container</a><div class='subclass '><strong>Ext.Viewport</strong></div></div></div></div></div><h4>Files</h4><div class='dependency'><a href='source/Viewport.html#Ext-Viewport' target='_blank'>Viewport.js</a></div></pre><div class='doc-contents'><p>A specialized container representing the viewable application area (the browser viewport).</p>\n\n\n<p>The Viewport renders itself to the document body, and automatically sizes itself to the size of\nthe browser viewport and manages window resizing. There may only be one Viewport created\nin a page. Inner layouts are available by virtue of the fact that all <a href=\"#!/api/Ext.Panel\" rel=\"Ext.Panel\" class=\"docClass\">Panel</a>s\nadded to the Viewport, either through its <a href=\"#!/api/Ext.Viewport-property-items\" rel=\"Ext.Viewport-property-items\" class=\"docClass\">items</a>, or through the items, or the <a href=\"#!/api/Ext.Viewport-event-add\" rel=\"Ext.Viewport-event-add\" class=\"docClass\">add</a>\nmethod of any of its child Panels may themselves have a layout.</p>\n\n\n<p>The Viewport does not provide scrolling, so child Panels within the Viewport should provide\nfor scrolling if needed using the <a href=\"#!/api/Ext.Viewport-cfg-autoScroll\" rel=\"Ext.Viewport-cfg-autoScroll\" class=\"docClass\">autoScroll</a> config.</p>\n\n\n<p>An example showing a classic application border layout:</p>\n\n\n<pre><code>new <a href=\"#!/api/Ext.Viewport\" rel=\"Ext.Viewport\" class=\"docClass\">Ext.Viewport</a>({\n layout: 'border',\n items: [{\n region: 'north',\n html: '<h1 class=\"x-panel-header\">Page Title</h1>',\n autoHeight: true,\n border: false,\n margins: '0 0 5 0'\n }, {\n region: 'west',\n collapsible: true,\n title: 'Navigation',\n width: 200\n // the west region might typically utilize a <a href=\"#!/api/Ext.tree.TreePanel\" rel=\"Ext.tree.TreePanel\" class=\"docClass\">TreePanel</a> or a Panel with <a href=\"#!/api/Ext.layout.AccordionLayout\" rel=\"Ext.layout.AccordionLayout\" class=\"docClass\">Accordion layout</a>\n }, {\n region: 'south',\n title: 'Title for Panel',\n collapsible: true,\n html: 'Information goes here',\n split: true,\n height: 100,\n minHeight: 100\n }, {\n region: 'east',\n title: 'Title for the Grid Panel',\n collapsible: true,\n split: true,\n width: 200,\n xtype: 'grid',\n // remaining grid configuration not shown ...\n // notice that the GridPanel is added directly as the region\n // it is not \"overnested\" inside another Panel\n }, {\n region: 'center',\n xtype: 'tabpanel', // TabPanel itself has no title\n items: {\n title: 'Default Tab',\n html: 'The first tab\\'s content. Others may be added dynamically'\n }\n }]\n});\n</code></pre>\n\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-activeItem' class='member first-child inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.Container' rel='Ext.Container' class='defined-in docClass'>Ext.Container</a><br/><a href='source/Container.htm
|