套件 | mx.core |
介面 | public interface IConstraintClient |
實作者 | PostScaleAdapter, UIComponent, UIMovieClip |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Returns the specified constraint value. | IConstraintClient | ||
Sets the specified constraint value. | IConstraintClient |
方法詳細資訊
getConstraintValue | () | 方法 |
public function getConstraintValue(constraintName:String):*
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the specified constraint value.
參數
constraintName:String — name of the constraint value. Constraint parameters are
"baseline ", "bottom ", "horizontalCenter ",
"left ", "right ", "top ", and
"verticalCenter ".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. |
* — The constraint value, or null if it is not defined.
|
相關 API 元素
setConstraintValue | () | 方法 |
public function setConstraintValue(constraintName:String, value:*):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Sets the specified constraint value.
參數
constraintName:String — name of the constraint value. Constraint parameters are
"baseline ", "bottom ", "horizontalCenter ",
"left ", "right ", "top ", and
"verticalCenter ".
For more information about these parameters, see the Canvas and Panel containers and Styles Metadata AnchorStyles. | |
value:* — The new value for the constraint.
|
相關 API 元素
Tue Jun 12 2018, 03:47 PM Z