<commit_before>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2007 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package mx.containers.utilityClasses
{	

import flash.events.Event;
import flash.events.IEventDispatcher;
import mx.core.IInvalidating;
import mx.core.mx_internal;
import mx.core.IMXMLObject;
import flash.events.EventDispatcher;

use namespace mx_internal;

//--------------------------------------
//  Excluded APIs
//--------------------------------------
[Exclude(name="container", kind="property")]
	
/**
 *  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. 
 *  
 *  @langversion 3.0
 *  @playerversion Flash 9
 *  @playerversion AIR 1.1
 *  @productversion Flex 3
 */
public class ConstraintRow extends EventDispatcher implements IMXMLObject
{
	include "../../core/Version.as";
	
	//--------------------------------------------------------------------------
	//
	//  Constructor
	//
	//--------------------------------------------------------------------------

	/**
	 *  Constructor.
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 9
	 *  @playerversion AIR 1.1
	 *  @productversion Flex 3
	 */
	public function ConstraintRow()
	{
		super();
	}
	
	//--------------------------------------------------------------------------
	//
	//  Variables
	//
	//--------------------------------------------------------------------------
	mx_internal var contentSize:Boolean = false;
	
	
	//--------------------------------------------------------------------------
	//
	//  Properties
	//
	//--------------------------------------------------------------------------
	
	//----------------------------------
    //  container
    //----------------------------------

    /**
     *  @private<commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2007 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package mx.containers.utilityClasses
{	

import flash.events.Event;
import flash.events.IEventDispatcher;
import mx.core.IInvalidating;
import mx.core.mx_internal;
import mx.core.IMXMLObject;
import flash.events.EventDispatcher;

use namespace mx_internal;

//--------------------------------------
//  Excluded APIs
//--------------------------------------
[Exclude(name="container", kind="property")]
	
/**
 *  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. 
 *  
 *  @langversion 3.0
 *  @playerversion Flash 9
 *  @playerversion AIR 1.1
 *  @productversion Flex 3
 */
public class ConstraintRow extends EventDispatcher implements IMXMLObject
{
	include "../../core/Version.as";
	
	//--------------------------------------------------------------------------
	//
	//  Constructor
	//
	//--------------------------------------------------------------------------

	/**
	 *  Constructor.
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 9
	 *  @playerversion AIR 1.1
	 *  @productversion Flex 3
	 */
	public function ConstraintRow()
	{
		super();
	}
	
	//--------------------------------------------------------------------------
	//
	//  Variables
	//
	//--------------------------------------------------------------------------
	mx_internal var contentSize:Boolean = false;
	
	
	//--------------------------------------------------------------------------
	//
	//  Properties
	//
	//--------------------------------------------------------------------------
	
    //----------------------------------
    //  baseline
    //----------------------------------
        
    /**
     *  @private
     *  Storage for the baseline property.
     */
    private var _baseline:Object = "maxAscent:0";
    [Bindable("baselineChanged")]
    [Inspectable(category="General")]
    
    /**
     *  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.
     * 
     *  @default "maxAscent:0"
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
     *  @playerversion AIR 1.1
     *  @productversion Flex 3
     */
    public function get baseline():Object
    {
        return _baseline;
    }
    
    /**
     *  @private
     */
    public function set baseline(value:Object):void
    {
        if (_baseline != value)
        {
            _baseline = value;
            
            if (container)
            {
                container.invalidateSize();
                container.invalidateDisplayList();
            }
            dispatchEvent(new Event("baselineChanged"));
        }
    }
    
	//----------------------------------
    //  container
    //----------------------------------

    /**
     *  @private
{'fraction_non_alphanumeric': 0.3363832972883048, 'fraction_numerical': 0.00698719015138912, 'mean_word_length': 1.0831600831600832, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3754053', 'n_tokens_mistral': 1454, 'n_tokens_neox': 1326, 'n_words': 398}