Packageorg.openPyro.layout
Classpublic class VLayout
ImplementsIContainerMeasurementHelper, ILayout



Public Properties
 PropertyDefined by
  animationDuration : Number = 0
VLayout
  container : UIContainer
[write-only]
VLayout
  initX : Number
[write-only]
VLayout
  initY : Number
[write-only]
VLayout
  prepare : Function
[write-only]
VLayout
Protected Properties
 PropertyDefined by
  _container : UIContainer
VLayout
Public Methods
 MethodDefined by
  
VLayout(vGap:Number = 0)
VLayout
  
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
VLayout
  
getMaxHeight(children:Array):Number
VLayout
  
getMaxWidth(children:Array):Number
VLayout
  
layout(children:Array):void
VLayout
Property detail
animationDurationproperty
public var animationDuration:Number = 0
_containerproperty 
protected var _container:UIContainer
containerproperty 
container:UIContainer  [write-only]Implementation
    public function set container(value:UIContainer):void
initXproperty 
initX:Number  [write-only]Implementation
    public function set initX(value:Number):void
initYproperty 
initY:Number  [write-only]Implementation
    public function set initY(value:Number):void
prepareproperty 
prepare:Function  [write-only]Implementation
    public function set prepare(value:Function):void
Constructor detail
VLayout()constructor
public function VLayout(vGap:Number = 0)Parameters
vGap: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