Packagemx.containers.utilityClasses
Classpublic class ConstraintColumn
InheritanceConstraintColumn Inheritance flash.events.EventDispatcher
Implements IMXMLObject

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

The ConstraintColumn class partitions an absolutely positioned container in the vertical plane. ConstraintColumn instances have 3 sizing options: fixed, percentage, and content. These options dictate the position of the constraint column, the amount of space the constraint column takes in the container, and how the constraint column deals with changes in the size of the container.



Public Properties
 PropertyDefined By
  explicitWidth : Number
Number that specifies the explicit width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.
ConstraintColumn
  id : String
ID of the ConstraintColumn instance.
ConstraintColumn
  maxWidth : Number
Number that specifies the maximum width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.
ConstraintColumn
  minWidth : Number
Number that specifies the minimum width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.
ConstraintColumn
  percentWidth : Number
Number that specifies the width of a component as a percentage of its parent container's size.
ConstraintColumn
  width : Number
Number that specifies the width of the ConstraintColumn instance, in pixels, in the parent container's coordinates.
ConstraintColumn
Public Methods
 MethodDefined By
  
Constructor.
ConstraintColumn
  
initialized(document:Object, id:String):void
Called automatically by the MXML compiler when the ConstraintColumn instance is created using an MXML tag.
ConstraintColumn
  
setActualWidth(w:Number):void
Sizes the constraint column.
ConstraintColumn
Property Detail
explicitWidthproperty
explicitWidth:Number

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

Number that specifies the explicit width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.

This property can be used as the source for data binding.


Implementation
    public function get explicitWidth():Number
    public function set explicitWidth(value:Number):void
idproperty 
id:String

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

ID of the ConstraintColumn instance. This value becomes the instance name of the ConstraintColumn instance and should not contain white space or special characters.


Implementation
    public function get id():String
    public function set id(value:String):void
maxWidthproperty 
maxWidth:Number

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

Number that specifies the maximum width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.

This property can be used as the source for data binding.


Implementation
    public function get maxWidth():Number
    public function set maxWidth(value:Number):void
minWidthproperty 
minWidth:Number

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

Number that specifies the minimum width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.

This property can be used as the source for data binding.


Implementation
    public function get minWidth():Number
    public function set minWidth(value:Number):void
percentWidthproperty 
percentWidth:Number

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

Number that specifies the width of a component as a percentage of its parent container's size. Allowed values are 0-100. The default value is NaN. Setting the width property resets this property to NaN.

This property can be used as the source for data binding.


Implementation
    public function get percentWidth():Number
    public function set percentWidth(value:Number):void
widthproperty 
width:Number

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

Number that specifies the width of the ConstraintColumn instance, in pixels, in the parent container's coordinates.

This property can be used as the source for data binding.


Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor Detail
ConstraintColumn()Constructor
public function ConstraintColumn()

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

Constructor.

Method Detail
initialized()method
public function initialized(document:Object, id:String):void

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

Called automatically by the MXML compiler when the ConstraintColumn instance is created using an MXML tag. If you create the ConstraintColumn instance through ActionScript, you must call this method passing in the MXML document and null for the id.

Parameters

document:Object — The MXML document containing this ConstraintColumn.
 
id:String — Ignored.

setActualWidth()method 
public function setActualWidth(w:Number):void

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

Sizes the constraint column.

Parameters

w:Number — Width of constaint column computed during parent container processing.