Packagecom.yahoo.astra.layout
Interfacepublic interface ILayoutContainer extends flash.events.IEventDispatcher
ImplementorsLayoutContainer

Defines properties and methods required for layout containers to work with LayoutManager.

Implementations must be a subclass of DisplayObjectContainer.

See also

LayoutManager
LayoutContainer
flash.display.DisplayObjectContainer


Public Properties
 PropertyDefined by
  contentHeight : Number
[read-only] The height of the content displayed by the layout container.
ILayoutContainer
  contentWidth : Number
[read-only] The width of the content displayed by the layout container.
ILayoutContainer
  layoutMode : ILayoutMode
The layout algorithm used to display children of the layout container.
ILayoutContainer
Public Methods
 MethodDefined by
  
Informs the layout container that it should update the layout of its children.
ILayoutContainer
  
Immediately updates the layout of the container's children.
ILayoutContainer
Property detail
contentHeightproperty
contentHeight:Number  [read-only]

The height of the content displayed by the layout container.

Implementation
    public function get contentHeight():Number
contentWidthproperty 
contentWidth:Number  [read-only]

The width of the content displayed by the layout container.

Implementation
    public function get contentWidth():Number
layoutModeproperty 
layoutMode:ILayoutMode  [read-write]

The layout algorithm used to display children of the layout container.

Implementation
    public function get layoutMode():ILayoutMode
    public function set layoutMode(value:ILayoutMode):void

See also

Method detail
invalidateLayout()method
public function invalidateLayout():void

Informs the layout container that it should update the layout of its children.

validateLayout()method 
public function validateLayout():void

Immediately updates the layout of the container's children.