Packagespark.layouts.supportClasses
Classpublic class LayoutAxis
InheritanceLayoutAxis Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

This class is experimental, which means it has not been tested or documented as thoroughly as other core Apache Flex classes.

The DeferredCreationPolicy class defines the constant values for the creationPolicy property of the DeferedGroup class.

See also

spark.containers.DeferredGroup.creationPolicy


Public Methods
 MethodDefined By
  
Constructor
LayoutAxis
Public Constants
 ConstantDefined By
  HORIZONTAL : String = horizontal
[static] Construct all decendants immediately but only inialize those that are visible.
LayoutAxis
  VERTICAL : String = vertical
[static] Immediately create all descendants.
LayoutAxis
Constructor Detail
LayoutAxis()Constructor
public function LayoutAxis()

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor

Constant Detail
HORIZONTALConstant
public static const HORIZONTAL:String = horizontal

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Construct all decendants immediately but only inialize those that are visible.

This is useful if you using the container as a dataProvider to a MenuBar, as the MenuBar requires all the children to be created to get the correct dataProvider to drive its content.

VERTICALConstant 
public static const VERTICAL:String = vertical

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Immediately create all descendants.

Avoid using this creationPolicy because it increases the startup time of your application. There is usually no good reason to create components at startup which the user cannot see. If you are using this policy so that you can "push" data into hidden components at startup, you should instead design your application so that the data is stored in data variables and components which are created later "pull" in this data, via databinding or an initialize handler.