Packagecom.addicted2flash.layout.strategy
Classpublic class AbstractGridLayout
ImplementsILayout
SubclassesDynamicGridLayout, StaticGridLayout

Abstract class of grid layouts.



Public Properties
 PropertyDefined by
  flow : int
Returns the flow of the layout.
AbstractGridLayout
  horizontalGap : Number
Returns the horizontal gap between the grid cells.
AbstractGridLayout
  paging : int
Returns the type of paging direction.
AbstractGridLayout
  verticalGap : Number
Returns the vertical gap between the grid cells.
AbstractGridLayout
Protected Properties
 PropertyDefined by
  _hgap : Number
AbstractGridLayout
  _vgap : Number
AbstractGridLayout
Public Methods
 MethodDefined by
  
AbstractGridLayout(hgap:Number = 0, vgap:Number = 0)
Creates a new AbstractGridLayout.
AbstractGridLayout
  
arrange(container:IUIContainer):void
Arranges the given container.
AbstractGridLayout
  
measure(container:IUIContainer):void
Measures the given container.
AbstractGridLayout
Property detail
flowproperty
flow:int  [read-write]

Returns the flow of the layout.

Implementation
    public function get flow():int
    public function set flow(value:int):void

See also

Flow
_hgapproperty 
protected var _hgap:Number
horizontalGapproperty 
horizontalGap:Number  [read-write]

Returns the horizontal gap between the grid cells.

Implementation
    public function get horizontalGap():Number
    public function set horizontalGap(value:Number):void
pagingproperty 
paging:int  [read-write]

Returns the type of paging direction.

Implementation
    public function get paging():int
    public function set paging(value:int):void

See also

Paging
verticalGapproperty 
verticalGap:Number  [read-write]

Returns the vertical gap between the grid cells.

Implementation
    public function get verticalGap():Number
    public function set verticalGap(value:Number):void
_vgapproperty 
protected var _vgap:Number
Constructor detail
AbstractGridLayout()constructor
public function AbstractGridLayout(hgap:Number = 0, vgap:Number = 0)

Creates a new AbstractGridLayout.

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

Arranges the given container.

Parameters
container:IUIContainer — container to be arranged
measure()method 
public function measure(container:IUIContainer):void

Measures the given container.

Parameters
container:IUIContainer — container to be measured