Packagecom.addicted2flash.layout.strategy
Classpublic class StaticGridLayout
InheritanceStaticGridLayout Inheritance AbstractGridLayout

Arranges a containers components in a fixed amount of rows and columns (static). The components will be arranged according to the calculated space. Their desired/minimum/maximum size will not be considered.



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
  
StaticGridLayout(rows:int, columns:int, hgap:Number = 0, vgap:Number = 0)
Creates a new StaticGridLayout.
StaticGridLayout
  
arrange(container:IUIContainer):void
Arranges the given container.
StaticGridLayout
 Inherited
measure(container:IUIContainer):void
Measures the given container.
AbstractGridLayout
Constructor detail
StaticGridLayout()constructor
public function StaticGridLayout(rows:int, columns:int, hgap:Number = 0, vgap:Number = 0)

Creates a new StaticGridLayout.

Parameters
rows:int — rows
 
columns:int — columns
 
hgap:Number (default = 0) — horizontal gap between columns
 
vgap:Number (default = 0) — vertical gap between rows
Method detail
arrange()method
public override function arrange(container:IUIContainer):void

Arranges the given container.

Parameters
container:IUIContainer — container to be arranged