套件 | mx.containers.utilityClasses |
類別 | public class ConstraintColumn |
繼承 | ConstraintColumn EventDispatcher Object |
實作 | IMXMLObject |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
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 |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | ConstraintColumn | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Called automatically by the MXML compiler when the ConstraintColumn
instance is created using an MXML tag. | ConstraintColumn | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
Sizes the constraint column. | ConstraintColumn | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
explicitWidth | 屬性 |
explicitWidth:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the explicit width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 explicitWidthChanged
事件。
實作
public function get explicitWidth():Number
public function set explicitWidth(value:Number):void
id | 屬性 |
id:String
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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.
實作
public function get id():String
public function set id(value:String):void
maxWidth | 屬性 |
maxWidth:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 maxWidthChanged
事件。
實作
public function get maxWidth():Number
public function set maxWidth(value:Number):void
minWidth | 屬性 |
minWidth:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the ConstraintColumn instance, in pixels, in the ConstraintColumn instance's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 minWidthChanged
事件。
實作
public function get minWidth():Number
public function set minWidth(value:Number):void
percentWidth | 屬性 |
percentWidth:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 percentWidthChanged
事件。
實作
public function get percentWidth():Number
public function set percentWidth(value:Number):void
width | 屬性 |
width:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the width of the ConstraintColumn instance, in pixels, in the parent container's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 widthChanged
事件。
實作
public function get width():Number
public function set width(value:Number):void
ConstraintColumn | () | 建構函式 |
public function ConstraintColumn()
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
initialized | () | 方法 |
public function initialized(document:Object, id:String):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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
.
參數
document:Object — The MXML document containing this ConstraintColumn.
| |
id:String — Ignored.
|
setActualWidth | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z