/** * @class Ext.layout.ContainerLayout * @extends Ext.layout.Layout *

This class is intended to be extended or created via the {@link Ext.Container#layout layout} * configuration property. See {@link Ext.Container#layout} for additional details.

*/ Ext.layout.ContainerLayout = Ext.extend(Ext.layout.Layout, { type: 'container',
/** * @cfg {String} itemCls *

An optional extra CSS class that will be added to the container. This can be useful for adding * customized styles to the container or any of its children using standard CSS rules. See * {@link Ext.Component}.{@link Ext.Component#ctCls ctCls} also.

*

*/
/** * Returns an array of child components. * @return {Array} of child components */ getLayoutItems : function() { return this.owner && this.owner.items && this.owner.items.items || []; }, afterLayout : function() { this.owner.afterLayout(this); },
/** * Returns the owner component's resize element. * @return {Ext.Element} */ getTarget : function() { return this.owner.getTargetEl(); } });