Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IConstraintLayout

Package | mx.containers.utilityClasses
Interface | public interface IConstraintLayout
Implementors | Canvas, LayoutContainer, Panel

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

IConstraintLayout is a marker interface that indicates that a container supports ConstraintColumn class and ConstraintRow class within its layout. Application, Canvas, and Panel containers support ConstraintRow and ConstraintColumn classes. To utilize this type of constraint in these containers, set the `layout` property to `"absolute"` and create ConstraintColumn and ConstraintRow instances.

See also

mx.containers.Canvas
mx.containers.Panel
mx.core.Application
mx.containers.utilityClasses.ConstraintColumn
mx.containers.utilityClasses.ConstraintRow
mx.modules.Module

Public Properties

| Property | Defined By
--- | --- | ---
|  | constraintColumns : Array An Array of ConstraintColumn instances that partition this container. | IConstraintLayout
|  | constraintRows : Array An Array of ConstraintRow instances that partition this container. | IConstraintLayout

Property Detail

constraintColumns | property

`constraintColumns:Array`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

An Array of ConstraintColumn instances that partition this container. The ConstraintColumn instance at index 0 is the left-most column; indices increase from left to right.

The default value is `[]`.

Implementation
`public function get constraintColumns():Array`
`public function set constraintColumns(value:Array):void`

constraintRows | property |

`constraintRows:Array`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

An Array of ConstraintRow instances that partition this container. The ConstraintRow instance at index 0 is the top-most row; indices increase from top to bottom.

The default value is `[]`.

Implementation
`public function get constraintRows():Array`
`public function set constraintRows(value:Array):void`

Sun Mar 5 2017, 03:42 PM +11:00