 
 class LayoutConstraints
 {
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-	
-	/**
-	 *  @private
-	 */
-	public function LayoutConstraints():void
-	{
-		super();
-	}
-	
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-	
-	public var baseline:*;
-	public var bottom:*;
-	public var horizontalCenter:*;
-	public var left:*;
-	public var right:*;
-	public var top:*;
-	public var verticalCenter:*;
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+    
+    /**
+     *  @private
+     */
+    public function LayoutConstraints():void
+    {
+        super();
+    }
+    
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+    
+    public var baseline:*;
+    public var bottom:*;
+    public var horizontalCenter:*;
+    public var left:*;
+    public var right:*;
+    public var top:*;
+    public var verticalCenter:*;
 }


class ContentRowChild
{
	//--------------------------------------------------------------------------
	//
	//  Constructor
	//
	//--------------------------------------------------------------------------
	
	/**
	 *  @private
	 */
	public function ContentRowChild():void
	{
		super();
	}
	
	//--------------------------------------------------------------------------
	//
	//  Properties
	//
	//--------------------------------------------------------------------------
	
	public var topRow:ConstraintRow;
	public var topOffset:Number;
	public var top:Number;
	public var bottomRow:ConstraintRow;
	public var bottomOffset:Number;
	public var bottom:Number;
	public var vcRow:ConstraintRow;
	public var vcOffset:Number;
	public var vc:Number;
	public var baselineRow:ConstraintRow;
	public var baselineOffset:Number;
	public var baseline:Number;
	public var child:IUIComponent;
	public var span:Number;
	
}

	
////////////////////////////////////////////////////////////////////////////////
//
//  Helper class: LayoutConstraints


class ChildConstraintInfo
{
    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------
    
    /**
     *  @private
     */
    public function ChildConstraintInfo(
        left:Number, right:Number, hc:Number,
        top:Number, bottom:Number, vc:Number,
        baseline:Number, leftBoundary:String = null,
        rightBoundary:String = null, hcBoundary:String = null,
        topBoundary:String = null, bottomBoundary:String = null,
        vcBoundary:String = null, baselineBoundary:String = null):void
    {
        super();
        
        // offsets
        this.left = left;
        this.right = right;
        this.hc = hc;
        this.top = top;
        this.bottom = bottom;
        this.vc = vc;
        this.baseline = baseline;
        
        // boundaries (ie: parent, column or row edge)
        this.leftBoundary = leftBoundary;
        this.rightBoundary = rightBoundary;
        this.hcBoundary = hcBoundary;
        this.topBoundary = topBoundary;
        this.bottomBoundary = bottomBoundary;
        this.vcBoundary = vcBoundary;
        this.baselineBoundary = baselineBoundary;
    }
    
    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------
    
    public var left:Number;
    public var right:Number;
    public var hc:Number;
    public var top:Number;
    public var bottom:Number;
    public var vc:Number;
    public var baseline:Number;
    public var leftBoundary:String;
    public var rightBoundary:String;
    public var hcBoundary:String;
    public var topBoundary:String;
    public var bottomBoundary:String;
    public var vcBoundary:String;
    public var baselineBoundary:String;
    
}

////////////////////////////////////////////////////////////////////////////////
