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.
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
id
property
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
maxWidth
property
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
minWidth
property
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
percentWidth
property
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
width
property
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.