Packagecom.addicted2flash.layout.strategy
Classpublic class BoxLayout
ImplementsILayout

Instances of this class arrange and measure components of a given container in vertical or horizontal orientation.



Public Properties
 PropertyDefined by
  orientation : int
Returns the orientation of the layout.
BoxLayout
Public Methods
 MethodDefined by
  
BoxLayout(orientation:int)
Creates a new BoxLayout.
BoxLayout
  
arrange(container:IUIContainer):void
Arranges the given container.
BoxLayout
  
measure(container:IUIContainer):void
Measures the given container.
BoxLayout
  
toString():String
Returns the string representation of the BoxLayout.
BoxLayout
Property detail
orientationproperty
orientation:int  [read-write]

Returns the orientation of the layout.

Implementation
    public function get orientation():int
    public function set orientation(value:int):void
Constructor detail
BoxLayout()constructor
public function BoxLayout(orientation:int)

Creates a new BoxLayout.

Parameters
orientation:int

See also

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
toString()method 
public function toString():String

Returns the string representation of the BoxLayout.

Returns
String — the string representation of the BoxLayout