Package | mx.core |
Interface | public interface IConstraintClient |
Implementors | UIComponent, UIMovieClip |
Method | Defined By | ||
---|---|---|---|
Returns the specified constraint value. | IConstraintClient | ||
Sets the specified constraint value. | IConstraintClient |
getConstraintValue | () | method |
public function getConstraintValue(constraintName:String):*
Returns the specified constraint value.
Parameters
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.
|
See also
setConstraintValue | () | method |
public function setConstraintValue(constraintName:String, value:*):void
Sets the specified constraint value.
Parameters
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.
|
See also