Language Version: | ActionScript 3.0 |
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.
explicitWidth:Number
Language Version: | ActionScript 3.0 |
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. When this property is modified, it dispatches the propertyChange
event.
Implementation public function get explicitWidth():Number
public function set explicitWidth(value:Number):void
id:String
Language Version: | ActionScript 3.0 |
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:Number
Language Version: | ActionScript 3.0 |
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. When this property is modified, it dispatches the propertyChange
event.
Implementation public function get maxWidth():Number
public function set maxWidth(value:Number):void
minWidth:Number
Language Version: | ActionScript 3.0 |
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. When this property is modified, it dispatches the propertyChange
event.
Implementation public function get minWidth():Number
public function set minWidth(value:Number):void
percentWidth:Number
Language Version: | ActionScript 3.0 |
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. When this property is modified, it dispatches the propertyChange
event.
Implementation public function get percentWidth():Number
public function set percentWidth(value:Number):void
width:Number
Language Version: | ActionScript 3.0 |
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. When this property is modified, it dispatches the propertyChange
event.
Implementation public function get width():Number
public function set width(value:Number):void
public function ConstraintColumn()
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructor.
public function initialized(document:Object, id:String):void
Language Version: | ActionScript 3.0 |
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.
|
public function setActualWidth(w:Number):void
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Sizes the constraint column.
Parameters
| w:Number — Width of constaint column computed during parent container
processing.
|
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00