Package: | Ext.layout |
Defined In: | ContainerLayout.js |
Class: | ContainerLayout |
Subclasses: | AnchorLayout, BorderLayout, ColumnLayout, FitLayout, TableLayout |
Extends: | Object |
Every Container delegates the rendering of its child Components to a layout manager class which must be configured into the Container.
Some layouts also provide sizing and positioning of child Components/The ContainerLayout class is the default layout manager used when no layout is configured into a Container. It provides the basic foundation for all other layout classes in Ext. It simply renders all child Components into the Container, performing no sizing os positioning services. This class is intended to be extended and should generally not need to be created directly via the new keyword.
Property | Defined By | |
---|---|---|
activeItem : Ext.Component
A reference to the Ext.Component that is active. For example,
if(myPanel.layout.activeItem.id == 'item-1') { ... }....
A reference to the Ext.Component that is active. For example,
if(myPanel.layout.activeItem.id == 'item-1') { ... }. activeItem only applies to layout styles that can
display items one at a time (like Ext.layout.Accordion, Ext.layout.CardLayout
and Ext.layout.FitLayout). Read-only. Related to Ext.Container.activeItem.
|
ContainerLayout |