Pacotemx.core
Interfacepublic interface IConstraintClient
ImplementorsUIComponent, UIMovieClip

The IConstraintClient interface defines the interface for components that support layout constraints. This interface is only used by implementations of constraint-based layout.



Métodos Públicos
 MétodoDefinido por
  
getConstraintValue(constraintName:String):*
Returns the specified constraint value.
IConstraintClient
  
setConstraintValue(constraintName:String, value:*):void
Sets the specified constraint value.
IConstraintClient
Detalhes do método
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".

Retorna
* — 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

mx.containers.Canvas
mx.containers.Panel
mx.styles.metadata.AnchorStyles
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

mx.containers.Canvas
mx.containers.Panel
mx.styles.metadata.AnchorStyles