<commit_before>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2008 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 flex.intf
{

import flash.geom.Point;

/**
 *  TERMINOLOGY
 * 
 *  TBounds - bounds of an object in object's parent coordinate space, i.e.
 *            bounts of the transformed object.
 *
 *  UBounds - bounds of an object in object's own coordinate space, i.e.
 *            bounds of the untransformed object (object's dimensions).
 *
 *  Example: Consider a rectangle width=3, height=1 with rotation=90
 * 
 * 	Ubounds (before transform) are (3,1):
 *       +--------+ 
 *       |        |
 *       +--------+
 * 
 *  TBounds (after transform) are (1,3):
 *       +----+
 *       |    |
 *       |    |
 *       |    |
 *       +----+
 */
public interface ILayoutItem
{
    /**
     *  Indicates whether to layout should ignore this item or not.
     */     
    function get includeInLayout():Boolean;
    
    /**
     *  @return Returns TBounds of the preferred
     *  item size. The preferred size is usually based on the default
     *  item size and any explicit size overrides.
     */
    function get preferredSize():Point;

    /**
     *  @return Returns TBounds of the minimum item size.
     *  <code>minSize</code> <= <code>preferredSize</code> must be true.
     */
    function get minSize():Point;

    /**
     *  @return Returns TBounds of the maximum item size.<commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after>////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2008 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 flex.intf
{

import flash.geom.Point;

/**
 *  TERMINOLOGY
 * 
 *  TBounds - bounds of an object in object's parent coordinate space, i.e.
 *            bounts of the transformed object.
 *
 *  UBounds - bounds of an object in object's own coordinate space, i.e.
 *            bounds of the untransformed object (object's dimensions).
 *
 *  Example: Consider a rectangle width=3, height=1 with rotation=90
 * 
 * 	Ubounds (before transform) are (3,1):
 *       +--------+ 
 *       |        |
 *       +--------+
 * 
 *  TBounds (after transform) are (1,3):
 *       +----+
 *       |    |
 *       |    |
 *       |    |
 *       +----+
 */
public interface ILayoutItem
{
    /**
     *  @return Returns a reference to the object in the layout tree
     *  represented by this interface.
     */
    function get target():Object;

    /**
     *  Indicates whether to layout should ignore this item or not.
     */     
    function get includeInLayout():Boolean;
    
    /**
     *  @return Returns TBounds of the preferred
     *  item size. The preferred size is usually based on the default
     *  item size and any explicit size overrides.
     */
    function get preferredSize():Point;

    /**
     *  @return Returns TBounds of the minimum item size.
     *  <code>minSize</code> <= <code>preferredSize</code> must be true.
     */
    function get minSize():Point;

    /**
     *  @return Returns TBounds of the maximum item size.
{'fraction_non_alphanumeric': 0.19116052060737526, 'fraction_numerical': 0.006507592190889371, 'mean_word_length': 1.6256227758007118, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, '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': '371840', 'n_tokens_mistral': 1011, 'n_tokens_neox': 958, 'n_words': 340}