Packagecom.addicted2flash.layout.strategy
Classpublic class DynamicGridLayout
InheritanceDynamicGridLayout Inheritance AbstractGridLayout



Public Properties
 PropertyDefined by
 Inheritedflow : int
Returns the flow of the layout.
AbstractGridLayout
 InheritedhorizontalGap : Number
Returns the horizontal gap between the grid cells.
AbstractGridLayout
 Inheritedpaging : int
Returns the type of paging direction.
AbstractGridLayout
 InheritedverticalGap : Number
Returns the vertical gap between the grid cells.
AbstractGridLayout
Protected Properties
 PropertyDefined by
 Inherited_hgap : Number
AbstractGridLayout
 Inherited_vgap : Number
AbstractGridLayout
Public Methods
 MethodDefined by
  
DynamicGridLayout(itemWidth:Number, itemHeight:Number, justifyHorizontally:Boolean = true, justifyVertically:Boolean = true)
Creates a new DynamicGridLayout.
DynamicGridLayout
  
arrange(container:IUIContainer):void
Arranges the given container.
DynamicGridLayout
 Inherited
measure(container:IUIContainer):void
Measures the given container.
AbstractGridLayout
Constructor detail
DynamicGridLayout()constructor
public function DynamicGridLayout(itemWidth:Number, itemHeight:Number, justifyHorizontally:Boolean = true, justifyVertically:Boolean = true)

Creates a new DynamicGridLayout.

Parameters
itemWidth:Number — item width
 
itemHeight:Number — item height
 
justifyHorizontally:Boolean (default = true) — flag whether horizontal gap should be calculated dynamically
 
justifyVertically:Boolean (default = true) — flag whether vertical gap should be calculated dynamically
Method detail
arrange()method
public override function arrange(container:IUIContainer):void

Arranges the given container.

Parameters
container:IUIContainer — container to be arranged