X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/src/container/AbstractContainer.js diff --git a/src/container/AbstractContainer.js b/src/container/AbstractContainer.js index 62de3a7f..40136666 100644 --- a/src/container/AbstractContainer.js +++ b/src/container/AbstractContainer.js @@ -1,8 +1,22 @@ +/* + +This file is part of Ext JS 4 + +Copyright (c) 2011 Sencha Inc + +Contact: http://www.sencha.com/contact + +GNU General Public License Usage +This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements 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 department at http://www.sencha.com/contact. + +*/ /** * @class Ext.container.AbstractContainer * @extends Ext.Component - *

An abstract base class which provides shared methods for Containers across the Sencha product line.

- * Please refer to sub class's documentation + * An abstract base class which provides shared methods for Containers across the Sencha product line. + * @private */ Ext.define('Ext.container.AbstractContainer', { @@ -19,10 +33,10 @@ Ext.define('Ext.container.AbstractContainer', { /* End Definitions */ /** * @cfg {String/Object} layout - *

*Important: In order for child items to be correctly sized and + *

Important: In order for child items to be correctly sized and * positioned, typically a layout manager must be specified through * the layout configuration option.

- *

The sizing and positioning of child {@link #items} is the responsibility of + *

The sizing and positioning of child {@link #items} is the responsibility of * the Container's layout manager which creates and manages the type of layout * you have in mind. For example:

*

If the {@link #layout} configuration is not explicitly specified for @@ -30,9 +44,8 @@ Ext.define('Ext.container.AbstractContainer', { * {@link Ext.layout.container.Auto default layout manager} will be used * which does nothing but render child components sequentially into the * Container (no sizing or positioning will be performed in this situation).

- *

layout may be specified as either as an Object or - * as a String: