Packageorg.openPyro.layout
Classpublic class HLayout
ImplementsIContainerMeasurementHelper, ILayout



Public Properties
 PropertyDefined by
  container : UIContainer
[write-only]
HLayout
  initX : Number
HLayout
  initY : Number
HLayout
  prepare : Function
[write-only]
HLayout
Protected Properties
 PropertyDefined by
  _container : UIContainer
HLayout
Public Methods
 MethodDefined by
  
HLayout(hGap:Number = 0)
HLayout
  
calculateSizes(children:Array, container:UIContainer):void
ind all the children with explicitWidth/ explicit Height set his part depends on the layout since HLayout will start trimming he objects available h space, and v layout will do the same or vertically available space
HLayout
  
getMaxHeight(children:Array):Number
HLayout
  
getMaxWidth(children:Array):Number
HLayout
  
layout(children:Array):void
HLayout
Property detail
_containerproperty
protected var _container:UIContainer
containerproperty 
container:UIContainer  [write-only]Implementation
    public function set container(value:UIContainer):void
initXproperty 
initX:Number  [read-write]Implementation
    public function get initX():Number
    public function set initX(value:Number):void
initYproperty 
initY:Number  [read-write]Implementation
    public function get initY():Number
    public function set initY(value:Number):void
prepareproperty 
prepare:Function  [write-only]Implementation
    public function set prepare(value:Function):void
Constructor detail
HLayout()constructor
public function HLayout(hGap:Number = 0)Parameters
hGap:Number (default = 0)
Method detail
calculateSizes()method
public function calculateSizes(children:Array, container:UIContainer):void

ind all the children with explicitWidth/ explicit Height set his part depends on the layout since HLayout will start trimming he objects available h space, and v layout will do the same or vertically available space

Parameters
children:Array
 
container:UIContainer
getMaxHeight()method 
public function getMaxHeight(children:Array):NumberParameters
children:Array

Returns
Number
getMaxWidth()method 
public function getMaxWidth(children:Array):NumberParameters
children:Array

Returns
Number
layout()method 
public function layout(children:Array):voidParameters
children:Array