套件 | mx.containers.utilityClasses |
類別 | public class ConstraintRow |
繼承 | ConstraintRow EventDispatcher Object |
實作 | IMXMLObject |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
baseline : Object
Number that specifies the baseline of the ConstraintRow instance, in pixels,
either relative to the top edge of the row or to the max ascent of the
elements contained in this row. | ConstraintRow | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
explicitHeight : Number
Number that specifies the explicit height of the
ConstraintRow instance, in pixels, in the ConstraintRow
instance's coordinates. | ConstraintRow | ||
height : Number
Number that specifies the height of the ConstraintRow instance, in pixels,
in the parent's coordinates. | ConstraintRow | ||
id : String
ID of the ConstraintRow instance. | ConstraintRow | ||
maxHeight : Number
Number that specifies the maximum height of the ConstraintRow instance,
in pixels, in the ConstraintRow instance's coordinates. | ConstraintRow | ||
minHeight : Number
Number that specifies the minimum height of the ConstraintRow instance,
in pixels, in the ConstraintRow instance's coordinates. | ConstraintRow | ||
percentHeight : Number
Number that specifies the height of a component as a percentage
of its parent's size. | ConstraintRow |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | ConstraintRow | ||
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 ConstraintRow
instance is created using an MXML tag. | ConstraintRow | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
Sizes the ConstraintRow
| ConstraintRow | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
baseline | 屬性 |
baseline:Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the baseline of the ConstraintRow instance, in pixels, either relative to the top edge of the row or to the max ascent of the elements contained in this row.
預設值為 "maxAscent:0"。
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 baselineChanged
事件。
實作
public function get baseline():Object
public function set baseline(value:Object):void
explicitHeight | 屬性 |
explicitHeight:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the explicit height of the ConstraintRow instance, in pixels, in the ConstraintRow instance's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 explicitHeightChanged
事件。
實作
public function get explicitHeight():Number
public function set explicitHeight(value:Number):void
height | 屬性 |
height:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the height of the ConstraintRow instance, in pixels, in the parent's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 heightChanged
事件。
實作
public function get height():Number
public function set height(value:Number):void
id | 屬性 |
id:String
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
ID of the ConstraintRow instance. This value becomes the instance name of the constraint row and should not contain white space or special characters.
實作
public function get id():String
public function set id(value:String):void
maxHeight | 屬性 |
maxHeight:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the ConstraintRow instance, in pixels, in the ConstraintRow instance's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 maxHeightChanged
事件。
實作
public function get maxHeight():Number
public function set maxHeight(value:Number):void
minHeight | 屬性 |
minHeight:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the ConstraintRow instance, in pixels, in the ConstraintRow instance's coordinates.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 minHeightChanged
事件。
實作
public function get minHeight():Number
public function set minHeight(value:Number):void
percentHeight | 屬性 |
percentHeight:Number
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number that specifies the height of a component as a percentage
of its parent's size. Allowed values are 0-100. The default value is NaN.
Setting the width
property resets this property to NaN.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 percentHeightChanged
事件。
實作
public function get percentHeight():Number
public function set percentHeight(value:Number):void
ConstraintRow | () | 建構函式 |
public function ConstraintRow()
語言版本: | 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 ConstraintRow
instance is created using an MXML tag.
If you create the constraint row through ActionScript, you
must call this method passing in the MXML document and
null
for the id
.
參數
document:Object — The MXML document containing this ConstraintRow.
| |
id:String — Ignored.
|
setActualHeight | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z