blob: c82b0eb6fb8b8ee42f74852c0addaccd99726964 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="ConstraintLayout,spark.layouts.ConstraintLayout,BASELINE,BOTTOM,CENTER,COLUMNS,CONTENT_JUSTIFY,CONTENT_JUSTIFY,JUSTIFY,JUSTIFY,JUSTIFY_USING_GAP,JUSTIFY_USING_GAP,JUSTIFY_USING_HEIGHT,JUSTIFY_USING_WIDTH,LEFT,LEFT,MIDDLE,RIGHT,ROWS,TOP,TOP,alphaOutEnd,alphaOutStart,angle,buttonBar,buttonRotation,columnAlign,columnCount,columnCount,columnWidth,columnWidth,constraintColumns,constraintRows,depthColor,depthColor,depthColor,depthColorAlpha,depthColorAlpha,depthColorAlpha,direction,elementHorizontalAlign,elementHorizontalAlign,elementVerticalAlign,elementVerticalAlign,firstIndexInView,firstIndexInView,gap,gap,horizontalAlign,horizontalAlign,horizontalAlign,horizontalAlign,horizontalAlign,horizontalAlign,horizontalAlign,horizontalAlignOffset,horizontalAlignOffset,horizontalAlignOffsetPercent,horizontalAlignOffsetPercent,horizontalDisplacement,horizontalDisplacement,horizontalGap,horizontalGap,horizontalOffset,lastIndexInView,lastIndexInView,layoutAllButtonBarBounds,maximumZ,maximumZ,minElementSize,numUnselectedElements,numUnselectedElements,numVisibleElements,orientation,padding,padding,padding,paddingBottom,paddingBottom,paddingBottom,paddingLeft,paddingLeft,paddingLeft,paddingRight,paddingRight,paddingRight,paddingTop,paddingTop,paddingTop,radiusX,radiusY,radiusZ,requestedColumnCount,requestedColumnCount,requestedMaxColumnCount,requestedMaxColumnCount,requestedMaxRowCount,requestedMinColumnCount,requestedMinRowCount,requestedRowCount,requestedRowCount,rotateX,rotateY,rotationAnchor,rotationX,rotationY,rowAlign,rowCount,rowCount,rowHeight,rowHeight,selectedHorizontalDisplacement,selectedVerticalDisplacement,target,useScrollRect,variableColumnWidth,variableRowHeight,verticalAlign,verticalAlign,verticalAlign,verticalAlign,verticalAlign,verticalAlign,verticalAlign,verticalAlignOffset,verticalAlignOffset,verticalAlignOffsetPercent,verticalAlignOffsetPercent,verticalDisplacement,verticalDisplacement,verticalGap,verticalGap,verticalOffset,calculateDropIndex,calculateDropIndicatorBounds,clearVirtualLayoutCache,fractionOfElementInView,fractionOfElementInView,getElementX,getElementY,getTimeMachineElementX,getTimeMachineElementY,invalidateElementSizes,layoutContent,measure,measureAndPositionColumnsAndRows,restoreElement,restoreElement,restoreElement,restoreElement,updateColumnWidths,updateDisplayList,updateDisplayList,updateDisplayList,updateDisplayListBetween,updateDisplayListBetween,updateDisplayListReal,updateDisplayListReal,updateDisplayListReal,updateDisplayListVirtual,updateDisplayListVirtual,updateDisplayListVirtual,updateDisplayList,updateIndicesInView,updateIndicesInView"><title>spark.layouts.ConstraintLayout</title></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
asdocTitle = 'ConstraintLayout - ApacheFlex API Reference';
var baseRef = '../../';
window.onload = configPage;
--></script>
<script type="text/javascript">
scrollToNameAnchor();
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Apache Flex 4.16.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../all-index-A.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?spark/layouts/ConstraintLayout.html&amp;spark/layouts/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt="AdobeLogo" title="AdobeLogo"></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">ConstraintLayout</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("ConstraintLayout"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);}
-->
</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">spark.layouts</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public class ConstraintLayout</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">ConstraintLayout <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> <a href="../../mx/utils/OnDemandEventDispatcher.html">OnDemandEventDispatcher</a> <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> Object</td></tr><tr><td class="classHeaderTableLabel">Subclasses</td><td> <a href="../../spark/layouts/FormItemLayout.html">FormItemLayout</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p></p><p></p>
The ConstraintLayout class arranges the layout elements based on their individual
settings and a set of constraint regions defined by constraint columns and
constraint rows. Although you can use all of the properties and constraints from
BasicLayout to position and size elements, ConstraintLayout gives you the ability
to create sibling-relative layouts by constraining elements to the specified
columns and rows.
<p>
<b>Note: </b>The Spark list-based controls (the Spark List control and its subclasses
such as ButtonBar, ComboBox, DropDownList, and TabBar) do not support the ConstraintLayout class.
Do not use ConstraintLayout with the Spark list-based controls.</p>
<p>Per-element supported constraints are <code>left</code>, <code>right</code>,
<code>top</code>, <code>bottom</code>, <code>baseline</code>,
<code>percentWidth</code>, and <code>percentHeight</code>.
Element's minimum and maximum sizes will always be respected.</p>
<p>Columns and rows may have an explicit size or content size (no explicit size).
Explicit size regions will be fixed at their specified size, while content size
regions will stretch to fit only the elements constrained to them. If multiple
content size regions are spanned by an element, the space will be divided
equally among the content size regions.</p>
<p>The measured size of the container is calculated from the elements, their
constraints, their preferred sizes, and the sizes of the rows and columns.
The size of each row and column is just big enough to hold all of the elements
constrained to it at their preferred sizes with constraints satisfied. The measured
size of the container is big enough to hold all of the columns and rows as well as
any other elements left at their preferred sizes with constraints satisfied. </p>
<p>During a call to the <code>updateDisplayList()</code> method,
the element's size is determined according to
the rules in the following order of precedence (the element's minimum and
maximum sizes are always respected):</p>
<ul>
<li>If the element has <code>percentWidth</code> or <code>percentHeight</code> set,
then its size is calculated as a percentage of the available size, where the available
size is the region or container size minus any <code>left</code>, <code>right</code>,
<code>top</code>, or <code>bottom</code> constraints.</li>
<li>If the element has both left and right constraints, it's width is
set to be the region's or container's width minus the <code>left</code>
and <code>right</code> constraints.</li>
<li>If the element has both <code>top</code> and <code>bottom</code> constraints,
it's height is set to be the container's height minus the <code>top</code>
and <code>bottom</code> constraints.</li>
<li>The element is set to its preferred width and/or height.</li>
</ul>
<p>The element's position is determined according to the rules in the following
order of precedence:</p>
<ul>
<li>If element's baseline is specified, then the element is positioned in
the vertical direction such that its <code>baselinePosition</code> (usually the base line
of its first line of text) is aligned with <code>baseline</code> constraint.</li>
<li>If element's <code>top</code> or <code>left</code> constraints
are specified, then the element is
positioned such that the top-left corner of the element's layout bounds is
offset from the top-left corner of the container by the specified values.</li>
<li>If element's <code>bottom</code> or <code>right</code> constraints are specified,
then the element is positioned such that the bottom-right corner
of the element's layout bounds is
offset from the bottom-right corner of the container by the specified values.</li>
<li>When no constraints determine the position in the horizontal or vertical
direction, the element is positioned according to its x and y coordinates.</li>
</ul>
<p>The content size of the container is calculated as the maximum of the
coordinates of the bottom-right corner of all the layout elements and
constraint regions.</p>
<p></p><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html#clipAndEnableScrolling" class="signatureLink">clipAndEnableScrolling</a> : Boolean<div class="summaryTableDescription">
If true, specifies to clip the children to the boundaries of the viewport.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#constraintColumns" class="signatureLink">constraintColumns</a> : Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintColumn.html">ConstraintColumn</a>&gt;<div class="summaryTableDescription">
A Vector of ConstraintColumn instances that partition the target container.</div></td><td class="summaryTableOwnerCol">ConstraintLayout</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#constraintRows" class="signatureLink">constraintRows</a> : Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintRow.html">ConstraintRow</a>&gt;<div class="summaryTableDescription">
A Vector of ConstraintRow instances that partition the target container.</div></td><td class="summaryTableOwnerCol">ConstraintLayout</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html#dropIndicator" class="signatureLink">dropIndicator</a> : DisplayObject<div class="summaryTableDescription">
The DisplayObject that this layout uses for
the drop indicator during a drag-and-drop operation.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html#horizontalScrollPosition" class="signatureLink">horizontalScrollPosition</a> : Number<div class="summaryTableDescription">
The x coordinate of the origin of the viewport in the component's coordinate system,
where the default value is (0,0) corresponding to the upper-left corner of the component.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html#target" class="signatureLink">target</a> : <a href="../../spark/components/supportClasses/GroupBase.html">GroupBase</a><div class="summaryTableDescription">
The GroupBase container whose elements are measured, sized and positioned
by this layout.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html#typicalLayoutElement" class="signatureLink">typicalLayoutElement</a> : <a href="../../mx/core/ILayoutElement.html">ILayoutElement</a><div class="summaryTableDescription">
Used by layouts when fixed row/column sizes are requested but
a specific size isn't specified.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html#useVirtualLayout" class="signatureLink">useVirtualLayout</a> : Boolean<div class="summaryTableDescription">
A container can hold any number of children.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html#verticalScrollPosition" class="signatureLink">verticalScrollPosition</a> : Number<div class="summaryTableDescription">
The y coordinate of the origin of the viewport in the component's coordinate system,
where the default value is (0,0) corresponding to the upper-left corner of the component.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#ConstraintLayout()" class="signatureLink">ConstraintLayout</a>()</div><div class="summaryTableDescription">
Constructor.</div></td><td class="summaryTableOwnerCol">ConstraintLayout</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../mx/utils/OnDemandEventDispatcher.html#addEventListener()" class="signatureLink">addEventListener</a>(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void</div><div class="summaryTableDescription">
</div></td><td class="summaryTableOwnerCol"><a href="../../mx/utils/OnDemandEventDispatcher.html">OnDemandEventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#calculateDropLocation()" class="signatureLink">calculateDropLocation</a>(dragEvent:<a href="../../mx/events/DragEvent.html">DragEvent</a>):<a href="../../spark/layouts/supportClasses/DropLocation.html">DropLocation</a></div><div class="summaryTableDescription">
Calculates the drop location in the data provider of the drop target for
the specified dragEvent.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#clearVirtualLayoutCache()" class="signatureLink">clearVirtualLayoutCache</a>():void</div><div class="summaryTableDescription">
When useVirtualLayout is true,
this method can be used by the layout target
to clear cached layout information when the target changes.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../mx/utils/OnDemandEventDispatcher.html#dispatchEvent()" class="signatureLink">dispatchEvent</a>(event:Event):Boolean</div><div class="summaryTableDescription">
</div></td><td class="summaryTableOwnerCol"><a href="../../mx/utils/OnDemandEventDispatcher.html">OnDemandEventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#elementAdded()" class="signatureLink">elementAdded</a>(index:int):void</div><div class="summaryTableDescription">
Called by the target after a layout element
has been added and before the target's size and display list are
validated.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#elementRemoved()" class="signatureLink">elementRemoved</a>(index:int):void</div><div class="summaryTableDescription">
This method must is called by the target after a layout element
has been removed and before the target's size and display list are
validated.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getElementBounds()" class="signatureLink">getElementBounds</a>(index:int):Rectangle</div><div class="summaryTableDescription">
Returns the specified element's layout bounds as a Rectangle or null
if the index is invalid, the corresponding element is null,
includeInLayout=false,
or if this layout's target property is null.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getHorizontalScrollPositionDelta()" class="signatureLink">getHorizontalScrollPositionDelta</a>(navigationUnit:uint):Number</div><div class="summaryTableDescription">
Returns the change to the horizontal scroll position to handle
different scrolling options.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getNavigationDestinationIndex()" class="signatureLink">getNavigationDestinationIndex</a>(currentIndex:int, navigationUnit:uint, arrowKeysWrapFocus:Boolean):int</div><div class="summaryTableDescription">
Delegation method that determines which item
to navigate to based on the current item in focus
and user input in terms of NavigationUnit.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getScrollPositionDeltaToElement()" class="signatureLink">getScrollPositionDeltaToElement</a>(index:int):Point</div><div class="summaryTableDescription">
Computes the verticalScrollPosition and
horizontalScrollPosition deltas needed to
scroll the element at the specified index into view.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getVerticalScrollPositionDelta()" class="signatureLink">getVerticalScrollPositionDelta</a>(navigationUnit:uint):Number</div><div class="summaryTableDescription">
Returns the change to the vertical scroll position to handle
different scrolling options.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../mx/utils/OnDemandEventDispatcher.html#hasEventListener()" class="signatureLink">hasEventListener</a>(type:String):Boolean</div><div class="summaryTableDescription">
</div></td><td class="summaryTableOwnerCol"><a href="../../mx/utils/OnDemandEventDispatcher.html">OnDemandEventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#hideDropIndicator()" class="signatureLink">hideDropIndicator</a>():void</div><div class="summaryTableDescription">
Hides the previously shown drop indicator,
created by the showDropIndicator() method,
removes it from the display list and also stops the drag scrolling.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#measure()" class="signatureLink">measure</a>():void</div><div class="summaryTableDescription">
Measures the target's default size based on its content, and optionally
measures the target's default minimum size.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../mx/utils/OnDemandEventDispatcher.html#removeEventListener()" class="signatureLink">removeEventListener</a>(type:String, listener:Function, useCapture:Boolean = false):void</div><div class="summaryTableDescription">
</div></td><td class="summaryTableOwnerCol"><a href="../../mx/utils/OnDemandEventDispatcher.html">OnDemandEventDispatcher</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#showDropIndicator()" class="signatureLink">showDropIndicator</a>(dropLocation:<a href="../../spark/layouts/supportClasses/DropLocation.html">DropLocation</a>):void</div><div class="summaryTableDescription">
Sizes, positions and parents the drop indicator based on the specified
drop location.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#updateDisplayList()" class="signatureLink">updateDisplayList</a>(width:Number, height:Number):void</div><div class="summaryTableDescription">
Sizes and positions the target's elements.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#updateScrollRect()" class="signatureLink">updateScrollRect</a>(w:Number, h:Number):void</div><div class="summaryTableDescription">
Called by the target at the end of its updateDisplayList
to have the layout update its scrollRect.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../mx/utils/OnDemandEventDispatcher.html#willTrigger()" class="signatureLink">willTrigger</a>(type:String):Boolean</div><div class="summaryTableDescription">
</div></td><td class="summaryTableOwnerCol"><a href="../../mx/utils/OnDemandEventDispatcher.html">OnDemandEventDispatcher</a></td></tr></table></div><a name="methodSummary"></a><a name="protectedMethodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Methods </div><div class="showHideLinks"><div id="hideInheritedProtectedMethod" class="hideInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(false,'ProtectedMethod');"><img class="showHideLinkImage" src="../../images/expanded.gif"> Show Inherited Protected Methods</a></div><div id="showInheritedProtectedMethod" class="showInheritedProtectedMethod"><a class="showHideLink" href="#protectedMethodSummary" onclick="javascript:setInheritedVisible(true,'ProtectedMethod');"><img class="showHideLinkImage" src="../../images/collapsed.gif"> Show Inherited Protected Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#calculateDragScrollDelta()" class="signatureLink">calculateDragScrollDelta</a>(dropLocation:<a href="../../spark/layouts/supportClasses/DropLocation.html">DropLocation</a>, elapsedTime:Number):Point</div><div class="summaryTableDescription">
Calculates how much to scroll for the specified dropLocation
during a drag and drop gesture.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#calculateDropIndex()" class="signatureLink">calculateDropIndex</a>(x:Number, y:Number):int</div><div class="summaryTableDescription">
Returns the index where a new item should be inserted if
the user releases the mouse at the specified coordinates
while completing a drag and drop gesture.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#calculateDropIndicatorBounds()" class="signatureLink">calculateDropIndicatorBounds</a>(dropLocation:<a href="../../spark/layouts/supportClasses/DropLocation.html">DropLocation</a>):Rectangle</div><div class="summaryTableDescription">
Calculates the bounds for the drop indicator that provides visual feedback
to the user of where the items will be inserted at the end of a drag and drop
gesture.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getElementBoundsAboveScrollRect()" class="signatureLink">getElementBoundsAboveScrollRect</a>(scrollRect:Rectangle):Rectangle</div><div class="summaryTableDescription">
Returns the bounds of the first layout element that either spans or
is above the scrollRect's top edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getElementBoundsBelowScrollRect()" class="signatureLink">getElementBoundsBelowScrollRect</a>(scrollRect:Rectangle):Rectangle</div><div class="summaryTableDescription">
Returns the bounds of the first layout element that either spans or
is below the scrollRect's bottom edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getElementBoundsLeftOfScrollRect()" class="signatureLink">getElementBoundsLeftOfScrollRect</a>(scrollRect:Rectangle):Rectangle</div><div class="summaryTableDescription">
Returns the bounds of the first layout element that either spans or
is to the left of the scrollRect's left edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getElementBoundsRightOfScrollRect()" class="signatureLink">getElementBoundsRightOfScrollRect</a>(scrollRect:Rectangle):Rectangle</div><div class="summaryTableDescription">
Returns the bounds of the first layout element that either spans or
is to the right of the scrollRect's right edge.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#getScrollRect()" class="signatureLink">getScrollRect</a>():Rectangle</div><div class="summaryTableDescription">
Returns the bounds of the target's scroll rectangle in layout coordinates.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#layoutContent()" class="signatureLink">layoutContent</a>(unscaledWidth:Number, unscaledHeight:Number):void</div><div class="summaryTableDescription">
Lays out the elements of the layout target using the current
widths and heights of the columns and rows.</div></td><td class="summaryTableOwnerCol">ConstraintLayout</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#measureAndPositionColumnsAndRows()" class="signatureLink">measureAndPositionColumnsAndRows</a>(constrainedWidth:Number, constrainedHeight:Number):void</div><div class="summaryTableDescription">
Used by FormItemLayout to measure and set new column widths
and row heights before laying out the elements.</div></td><td class="summaryTableOwnerCol">ConstraintLayout</td></tr><tr class="hideInheritedProtectedMethod"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img src="../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../spark/layouts/supportClasses/LayoutBase.html#scrollPositionChanged()" class="signatureLink">scrollPositionChanged</a>():void</div><div class="summaryTableDescription">
Called when the verticalScrollPosition or
horizontalScrollPosition properties change.</div></td><td class="summaryTableOwnerCol"><a href="../../spark/layouts/supportClasses/LayoutBase.html">LayoutBase</a></td></tr></table></div><script language="javascript" type="text/javascript"><!--
showHideInherited();
--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="constraintColumns"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">constraintColumns</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>constraintColumns:Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintColumn.html">ConstraintColumn</a>&gt;</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
A Vector of ConstraintColumn instances that partition the target container.
The ConstraintColumn instance at index 0 is the left-most column;
indices increase from left to right.
</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get constraintColumns():Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintColumn.html">ConstraintColumn</a>&gt;</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set constraintColumns(value:Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintColumn.html">ConstraintColumn</a>&gt;):void</code><br/></div><a name="propertyDetail"></a><a name="constraintRows"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">constraintRows</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>constraintRows:Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintRow.html">ConstraintRow</a>&gt;</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
A Vector of ConstraintRow instances that partition the target container.
The ConstraintRow instance at index 0 is the top-most column;
indices increase from top to bottom.
</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get constraintRows():Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintRow.html">ConstraintRow</a>&gt;</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set constraintRows(value:Vector.&lt;<a href="../../mx/containers/utilityClasses/ConstraintRow.html">ConstraintRow</a>&gt;):void</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="ConstraintLayout()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ConstraintLayout</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function ConstraintLayout()</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p>
Constructor.
</p></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="layoutContent()"></a><a name="layoutContent(Number,Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">layoutContent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> protected function layoutContent(unscaledWidth:Number, unscaledHeight:Number):void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
Lays out the elements of the layout target using the current
widths and heights of the columns and rows. Used by FormItemLayout
after setting new column widths to lay elements using those new widths.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">unscaledWidth</span>:Number</code> &mdash; Specifies the width of the component, in pixels,
in the component's coordinates, regardless of the value of the
<code>scaleX</code> property of the component.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">unscaledHeight</span>:Number</code> &mdash; Specifies the height of the component, in pixels,
in the component's coordinates, regardless of the value of the
<code>scaleY</code> property of the component.
</td></tr></table></p></div><a name="measureAndPositionColumnsAndRows()"></a><a name="measureAndPositionColumnsAndRows(Number,Number)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">measureAndPositionColumnsAndRows</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> protected function measureAndPositionColumnsAndRows(constrainedWidth:Number, constrainedHeight:Number):void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>Flash Player 10, AIR 1.5</td></tr></table><p></p><p></p><p>
Used by FormItemLayout to measure and set new column widths
and row heights before laying out the elements.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">constrainedWidth</span>:Number</code> (default = <code>NaN</code>)<code></code> &mdash; The total width available for columns to stretch
or shrink their percent width columns. If NaN, percent width columns
are unconstrained and fit to their content.
</td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">constrainedHeight</span>:Number</code> (default = <code>NaN</code>)<code></code> &mdash; The total height available for rows to stretch
or shrink their percent height rows. If NaN, percent height rows
are unconstrained and fit to their content.
</td></tr></table></p></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Nov 15 2017, 09:50 AM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Nov 15 2017, 09:50 AM +01:00 -->