Pacotemx.containers.utilityClasses
Classepublic class ConstraintRow
HerançaConstraintRow Inheritance EventDispatcher Inheritance Object
Implementa IMXMLObject

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.



Propriedades Públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
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
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
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
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
initialized(document:Object, id:String):void
Called automatically by the MXML compiler when the ConstraintRow instance is created using an MXML tag.
ConstraintRow
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
  
Sizes the ConstraintRow
ConstraintRow
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Eventos
 Evento Descrição Definido por
 Inherited Dispatched when Flash Player or the and AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.EventDispatcher
Detalhes da propriedade
explicitHeightpropriedade
explicitHeight:Number  [read-write]

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

This property can be used as the source for data binding.


Implementação
    public function get explicitHeight():Number
    public function set explicitHeight(value:Number):void
heightpropriedade 
height:Number  [read-write]

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

This property can be used as the source for data binding.


Implementação
    public function get height():Number
    public function set height(value:Number):void
idpropriedade 
id:String  [read-write]

ID of the ConstraintRow instance. This value becomes the instance name of the constraint row and should not contain white space or special characters.


Implementação
    public function get id():String
    public function set id(value:String):void
maxHeightpropriedade 
maxHeight:Number  [read-write]

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

This property can be used as the source for data binding.


Implementação
    public function get maxHeight():Number
    public function set maxHeight(value:Number):void
minHeightpropriedade 
minHeight:Number  [read-write]

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

This property can be used as the source for data binding.


Implementação
    public function get minHeight():Number
    public function set minHeight(value:Number):void
percentHeightpropriedade 
percentHeight:Number  [read-write]

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.

This property can be used as the source for data binding.


Implementação
    public function get percentHeight():Number
    public function set percentHeight(value:Number):void
Detalhes do construtor
ConstraintRow()Construtor
public function ConstraintRow()

Constructor.

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

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

Sizes the ConstraintRow

Parâmetros

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