Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.containers.utilityClasses 

ConstraintRow  - AS3 Flex

Paquetemx.containers.utilityClasses
Clasepublic class ConstraintRow
HerenciaConstraintRow Inheritance EventDispatcher Inheritance Object
Implementa IMXMLObject

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

ConstraintRow class partitions an absolutely positioned container in the horizontal plane. ConstraintRow instances have 3 sizing options: fixed, percentage, and content. These options dictate the position of the constraint row, the amount of space the constraint row takes in the container, and how the constraint row deals with a change in the size of the container.



Propiedades públicas
 PropiedadDefinido por
  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
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
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
Métodos públicos
 MétodoDefinido por
  
Constructor.
ConstraintRow
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento.
EventDispatcher
 Inherited
Distribuye un evento en el flujo del evento.
EventDispatcher
 Inherited
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento.
EventDispatcher
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
  
Called automatically by the MXML compiler when the ConstraintRow instance is created using an MXML tag.
ConstraintRow
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Elimina un detector del objeto EventDispatcher.
EventDispatcher
  
Sizes the ConstraintRow
ConstraintRow
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
 Inherited
Devuelve el valor simple del objeto especificado.
Object
 Inherited
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto.
EventDispatcher
Eventos
 Evento Resumen Definido por
 Inherited[evento broadcast] Se distribuye cuando Flash Player o AIR pasan a estar activos.EventDispatcher
 Inherited[evento broadcast] Se distribuye cuando Flash Player o de AIR pasan a estar inactivos.EventDispatcher
Información sobre propiedades

baseline

propiedad
baseline:Object

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

El valor predeterminado es "maxAscent:0".

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento baselineChanged .



Implementación
    public function get baseline():Object
    public function set baseline(value:Object):void

explicitHeight

propiedad 
explicitHeight:Number

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Number that specifies the explicit height of the ConstraintRow instance, in pixels, in the ConstraintRow instance's coordinates.

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento explicitHeightChanged .



Implementación
    public function get explicitHeight():Number
    public function set explicitHeight(value:Number):void

height

propiedad 
height:Number

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Number that specifies the height of the ConstraintRow instance, in pixels, in the parent's coordinates.

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento heightChanged .



Implementación
    public function get height():Number
    public function set height(value:Number):void

id

propiedad 
id:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.



Implementación
    public function get id():String
    public function set id(value:String):void

maxHeight

propiedad 
maxHeight:Number

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Number that specifies the maximum height of the ConstraintRow instance, in pixels, in the ConstraintRow instance's coordinates.

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento maxHeightChanged .



Implementación
    public function get maxHeight():Number
    public function set maxHeight(value:Number):void

minHeight

propiedad 
minHeight:Number

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Number that specifies the minimum height of the ConstraintRow instance, in pixels, in the ConstraintRow instance's coordinates.

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento minHeightChanged .



Implementación
    public function get minHeight():Number
    public function set minHeight(value:Number):void

percentHeight

propiedad 
percentHeight:Number

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento percentHeightChanged .



Implementación
    public function get percentHeight():Number
    public function set percentHeight(value:Number):void
Información sobre constructores

ConstraintRow

()Información sobre
public function ConstraintRow()

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Constructor.

Información sobre métodos

initialized

()método
public function initialized(document:Object, id:String):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Parámetros

document:Object — The MXML document containing this ConstraintRow.
 
id:String — Ignored.

setActualHeight

()método 
public function setActualHeight(h:Number):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Sizes the ConstraintRow

Parámetros

h:Number — Height of constaint row computed during parent container processing.





[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.