Packageqnx.ui.core
Classpublic class ContainerFlow
InheritanceContainerFlow Inheritance Object

The ContainerFlow class defines the flow options for children within a Container.

The flow indicates the layout orientation, or direction of all subcomponents (children) within a parent container. In the included sample application, the main container's flow property is set to ContainerFlow.HORIZONTAL meaning that the container's children (which may also be containers) will appear horizontally opposed, or side by side within the container. In a container with the flow property set to ContainerFlow.VERTICAL, the children within the container will appear vertically opposed, or one on top of another.

It's also important to note that components will appear in the order in which they are added to a container. This is always true unless a component is docked, which is described later.

See also

Container flow property


Public Constants
 ConstantDefined By
  HORIZONTAL : String = horizontal
[static] A constant representing horizontal flow within the container.
ContainerFlow
  VERTICAL : String = vertical
[static] A constant representing vertical flow within the container.
ContainerFlow
Constant Detail
HORIZONTALConstant
public static const HORIZONTAL:String = horizontal

A constant representing horizontal flow within the container.

VERTICALConstant 
public static const VERTICAL:String = vertical

A constant representing vertical flow within the container.