| Pacote | mx.core |
| Interface | public interface IConstraintClient |
| Implementors | UIComponent, UIMovieClip |
| Método | Definido por | ||
|---|---|---|---|
|
Returns the specified constraint value.
| IConstraintClient | ||
|
Sets the specified constraint value.
| IConstraintClient | ||
| getConstraintValue | () | método |
public function getConstraintValue(constraintName:String):*
Returns the specified constraint value.
Parâmetros
constraintName:String — name of the constraint value. Constraint parameters are
"baseline", "bottom", "horizontalCenter",
"left", "right", "top", and
"verticalCenter".
|
* — The constraint value, or null if it is not defined.
For more information about these parameters, see the Canvas and Panel containers and Estilos Metadata AnchorStyles. |
Veja também
| setConstraintValue | () | método |
public function setConstraintValue(constraintName:String, value:*):void
Sets the specified constraint value.
Parâmetros
constraintName:String — name of the constraint value. Constraint parameters are
"baseline", "bottom", "horizontalCenter",
"left", "right", "top", and
"verticalCenter".
|
|
value:* — The new value for the constraint.
For more information about these parameters, see the Canvas and Panel containers and
Estilos Metadata AnchorStyles.
|
Veja também