blob: e5c7f79850835be4031f4a951d2f19ae7ac0120e [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="IGraphicElement,spark.core.IGraphicElement,ALPHA,AUTO,CLIP,DOWN,END,HOME,LEFT,LUMINOSITY,NEVER,OWNS_SHARED_OBJECT,OWNS_UNSHARED_OBJECT,PAGE_DOWN,PAGE_LEFT,PAGE_RIGHT,PAGE_UP,RIGHT,UNTRUSTED,UP,USES_SHARED_OBJECT,accessibilityProperties,activeRequests,baseline,baselinePosition,blendMode,bottom,cacheEntries,cachedData,clipAndEnableScrolling,complete,content,contentHeight,contentWidth,depth,designLayer,displayAsPassword,displayObject,displayObjectSharingMode,editable,enableCaching,enableQueueing,enabled,focusEnabled,hasLayoutMatrix3D,horizontalCenter,horizontalScrollPosition,horizontalScrollPosition,id,includeInLayout,is3D,isTruncated,layoutDirection,left,lineBreak,luminosityClip,luminosityInvert,mask,maskType,maxActiveRequests,maxCacheEntries,maxChars,moduleFactory,multiline,numCacheEntries,owner,percentHeight,percentWidth,postLayoutTransformOffsets,priorityGroup,redrawRequested,requestQueue,restrict,right,rotationX,rotationY,selectable,selectionActivePosition,selectionAnchorPosition,tabIndex,text,top,transformX,transformY,transformZ,verticalCenter,verticalScrollPosition,verticalScrollPosition,viewHeight,viewWidth,visible,addCacheEntry,appendText,canShareWithNext,canShareWithPrevious,createDisplayObject,getBoundsXAtSize,getBoundsYAtSize,getCacheEntry,getHorizontalScrollPositionDelta,getLayoutBoundsHeight,getLayoutBoundsWidth,getLayoutBoundsX,getLayoutBoundsY,getLayoutMatrix,getLayoutMatrix3D,getMaxBoundsHeight,getMaxBoundsWidth,getMinBoundsHeight,getMinBoundsWidth,getPreferredBoundsHeight,getPreferredBoundsWidth,getVerticalScrollPositionDelta,initialized,insertText,invalidateGraphicElementDisplayList,invalidateGraphicElementProperties,invalidateGraphicElementSharing,invalidateGraphicElementSize,invalidateLayoutDirection,invalidateParentSizeAndDisplayList,isNavigationUnit,keepSoftKeyboardActive,load,load,parentChanged,prepareForTouchScroll,prioritize,removeAllCacheEntries,removeAllQueueEntries,removeCacheEntry,scrollToRange,selectAll,selectRange,setFocus,setLayoutBoundsPosition,setLayoutBoundsSize,setLayoutMatrix,setLayoutMatrix3D,setSharedDisplayObject,transformAround,transformHeightForLayout,transformPointToParent,transformWidthForLayout,validateDisplayList,validateProperties,validateSize"><title>spark.core.IGraphicElement</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 = 'IGraphicElement - 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/core/IGraphicElement.html&amp;spark/core/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">IGraphicElement</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("IGraphicElement"); 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.core</a></td></tr><tr><td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface IGraphicElement extends <a href="../../mx/core/IVisualElement.html">IVisualElement</a>, <a href="../../mx/core/ILayoutElement.html">ILayoutElement</a>, <a href="../../mx/core/ILayoutDirectionElement.html">ILayoutDirectionElement</a>, flash.events.IEventDispatcher</td></tr><tr><td class="classHeaderTableLabel">Implementors</td><td> <a href="../../spark/primitives/supportClasses/GraphicElement.html">GraphicElement</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</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 IGraphicElement is implemented by IVisualElements that
take advantage of the parent <code>IGraphicElementContainer</code>
DisplayObject management.
<p>One typical use case is DisplayObject sharing.
the Group class, which implements <code>IGraphicElementContainer</code>, organizes its
IGraphicElement children in sequences that share and draw to
the same DisplayObject.
The DisplayObject is created by the first element in the
sequence.</p>
<p>Another use case is when an element does not derive from
DisplayObject but instead maintains, creates and/or destroys
its own DisplayObject. The <code>IGraphicElementContainer</code> will
call the element to create the DisplayObject, add the
DisplayObject as its child at the correct index, and
handle its removal.</p>
<p>Typically, you extend the GraphicElement class
instead of directly implementing the IGraphciElement
interface. The GraphicElement class already provides most of the
required functionality.</p>
<p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="IGraphicElementContainer.html" target="">spark.core.IGraphicElementContainer</a></div><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="../../mx/core/IVisualElement.html#alpha" class="signatureLink">alpha</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/ILayoutElement.html#baseline" class="signatureLink">baseline</a> : Object<div class="summaryTableDescription">
The vertical distance in pixels from the anchor target to
the control's baseline position.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/ILayoutElement.html#baselinePosition" class="signatureLink">baselinePosition</a> : Number<div class="summaryTableDescription">[read-only]
The y-coordinate of the baseline
of the first line of text of the component.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/ILayoutElement.html#bottom" class="signatureLink">bottom</a> : Object<div class="summaryTableDescription">
The vertical distance in pixels from the bottom edge of the component to the
anchor target's bottom edge.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/IVisualElement.html#depth" class="signatureLink">depth</a> : Number<div class="summaryTableDescription">
Determines the order in which items inside of containers
are rendered.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/IVisualElement.html#designLayer" class="signatureLink">designLayer</a> : <a href="../../mx/core/DesignLayer.html">DesignLayer</a><div class="summaryTableDescription">
Specifies the optional DesignLayer instance associated with this visual
element.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#displayObject" class="signatureLink">displayObject</a> : DisplayObject<div class="summaryTableDescription">[read-only]
The shared DisplayObject where this
IGraphicElement is drawn.</div></td><td class="summaryTableOwnerCol">IGraphicElement</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#displayObjectSharingMode" class="signatureLink">displayObjectSharingMode</a> : String<div class="summaryTableDescription">
Indicates the association between this IGraphicElement and its
display objects.</div></td><td class="summaryTableOwnerCol">IGraphicElement</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="../../mx/core/ILayoutElement.html#hasLayoutMatrix3D" class="signatureLink">hasLayoutMatrix3D</a> : Boolean<div class="summaryTableDescription">[read-only]
Contains true if the element has 3D Matrix.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/IVisualElement.html#height" class="signatureLink">height</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/ILayoutElement.html#horizontalCenter" class="signatureLink">horizontalCenter</a> : Object<div class="summaryTableDescription">
The horizontal distance in pixels from the center of the component to the
center of the anchor target's content area.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/ILayoutElement.html#includeInLayout" class="signatureLink">includeInLayout</a> : Boolean<div class="summaryTableDescription">
Specifies whether this component is included in the layout of the
parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/IVisualElement.html#is3D" class="signatureLink">is3D</a> : Boolean<div class="summaryTableDescription">[read-only]
Contains true when the element is in 3D.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/ILayoutDirectionElement.html#layoutDirection" class="signatureLink">layoutDirection</a> : String<div class="summaryTableDescription">
Specifies the desired layout direction for an element: one of LayoutDirection.LTR
(left to right), LayoutDirection.RTL (right to left), or null (inherit).</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutDirectionElement.html">ILayoutDirectionElement</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="../../mx/core/ILayoutElement.html#left" class="signatureLink">left</a> : Object<div class="summaryTableDescription">
The horizontal distance in pixels from the left edge of the component to the
anchor target's left edge.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/IVisualElement.html#owner" class="signatureLink">owner</a> : DisplayObjectContainer<div class="summaryTableDescription">
The owner of this IVisualElement object.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/IVisualElement.html#parent" class="signatureLink">parent</a> : DisplayObjectContainer<div class="summaryTableDescription">[read-only]
The parent container or component for this component.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/ILayoutElement.html#percentHeight" class="signatureLink">percentHeight</a> : Number<div class="summaryTableDescription">
Specifies the height of a component as a percentage
of its parent's size.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/ILayoutElement.html#percentWidth" class="signatureLink">percentWidth</a> : Number<div class="summaryTableDescription">
Specifies the width of a component as a percentage
of its parent's size.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/IVisualElement.html#postLayoutTransformOffsets" class="signatureLink">postLayoutTransformOffsets</a> : <a href="../../mx/geom/TransformOffsets.html">TransformOffsets</a><div class="summaryTableDescription">
Defines a set of adjustments that can be applied to the object's
transform in a way that is invisible to its parent's layout.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/ILayoutElement.html#right" class="signatureLink">right</a> : Object<div class="summaryTableDescription">
The horizontal distance in pixels from the right edge of the component to the
anchor target's right edge.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/ILayoutElement.html#top" class="signatureLink">top</a> : Object<div class="summaryTableDescription">
The vertical distance in pixels from the top edge of the component to the
anchor target's top edge.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/ILayoutElement.html#verticalCenter" class="signatureLink">verticalCenter</a> : Object<div class="summaryTableDescription">
The vertical distance in pixels from the center of the component to the
center of the anchor target's content area.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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="../../mx/core/IVisualElement.html#visible" class="signatureLink">visible</a> : Boolean<div class="summaryTableDescription">
Controls the visibility of this visual element.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/IVisualElement.html#width" class="signatureLink">width</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/IVisualElement.html#x" class="signatureLink">x</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="../../mx/core/IVisualElement.html#y" class="signatureLink">y</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/IVisualElement.html">IVisualElement</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="#canShareWithNext()" class="signatureLink">canShareWithNext</a>(element:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a>):Boolean</div><div class="summaryTableDescription">
Returns true if this IGraphicElement is compatible and can
share display objects with the next IGraphicElement
in the sequence.</div></td><td class="summaryTableOwnerCol">IGraphicElement</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#canShareWithPrevious()" class="signatureLink">canShareWithPrevious</a>(element:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a>):Boolean</div><div class="summaryTableDescription">
Returns true if this IGraphicElement is compatible and can
share display objects with the previous IGraphicElement
in the sequence.</div></td><td class="summaryTableOwnerCol">IGraphicElement</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#createDisplayObject()" class="signatureLink">createDisplayObject</a>():DisplayObject</div><div class="summaryTableDescription">
Creates a new DisplayObject where this IGraphicElement
is drawn.</div></td><td class="summaryTableOwnerCol">IGraphicElement</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/core/ILayoutElement.html#getBoundsXAtSize()" class="signatureLink">getBoundsXAtSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the x coordinate of the element's bounds at the specified element size.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getBoundsYAtSize()" class="signatureLink">getBoundsYAtSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the y coordinate of the element's bounds at the specified element size.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getLayoutBoundsHeight()" class="signatureLink">getLayoutBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's layout height.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getLayoutBoundsWidth()" class="signatureLink">getLayoutBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's layout width.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getLayoutBoundsX()" class="signatureLink">getLayoutBoundsX</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the x coordinate that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getLayoutBoundsY()" class="signatureLink">getLayoutBoundsY</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the y coordinate that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getLayoutMatrix()" class="signatureLink">getLayoutMatrix</a>():Matrix</div><div class="summaryTableDescription">
Returns the transform matrix that is used to calculate the component's
layout relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getLayoutMatrix3D()" class="signatureLink">getLayoutMatrix3D</a>():Matrix3D</div><div class="summaryTableDescription">
Returns the layout transform Matrix3D for this element.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getMaxBoundsHeight()" class="signatureLink">getMaxBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's maximum height.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getMaxBoundsWidth()" class="signatureLink">getMaxBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's maximum width.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getMinBoundsHeight()" class="signatureLink">getMinBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's minimum height.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getMinBoundsWidth()" class="signatureLink">getMinBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's minimum width.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getPreferredBoundsHeight()" class="signatureLink">getPreferredBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's preferred height.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#getPreferredBoundsWidth()" class="signatureLink">getPreferredBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription">
Returns the element's preferred width.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutDirectionElement.html#invalidateLayoutDirection()" class="signatureLink">invalidateLayoutDirection</a>():void</div><div class="summaryTableDescription">
An element must call this method when its layoutDirection changes or
when its parent's layoutDirection changes.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutDirectionElement.html">ILayoutDirectionElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#parentChanged()" class="signatureLink">parentChanged</a>(parent:<a href="../../spark/core/IGraphicElementContainer.html">IGraphicElementContainer</a>):void</div><div class="summaryTableDescription">
Called by IGraphicElementContainer when an IGraphicElement
is added to or removed from the host component.</div></td><td class="summaryTableOwnerCol">IGraphicElement</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/core/ILayoutElement.html#setLayoutBoundsPosition()" class="signatureLink">setLayoutBoundsPosition</a>(x:Number, y:Number, postLayoutTransform:Boolean = true):void</div><div class="summaryTableDescription">
Sets the coordinates that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#setLayoutBoundsSize()" class="signatureLink">setLayoutBoundsSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):void</div><div class="summaryTableDescription">
Sets the layout size of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#setLayoutMatrix()" class="signatureLink">setLayoutMatrix</a>(value:Matrix, invalidateLayout:Boolean):void</div><div class="summaryTableDescription">
Sets the transform Matrix that is used to calculate the component's layout
size and position relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</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/core/ILayoutElement.html#setLayoutMatrix3D()" class="signatureLink">setLayoutMatrix3D</a>(value:Matrix3D, invalidateLayout:Boolean):void</div><div class="summaryTableDescription">
Sets the transform Matrix3D that is used to calculate the component's layout
size and position relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#setSharedDisplayObject()" class="signatureLink">setSharedDisplayObject</a>(sharedDisplayObject:DisplayObject):Boolean</div><div class="summaryTableDescription">
Determines whether this element can draw itself to the
sharedDisplayObject of the sequence.</div></td><td class="summaryTableOwnerCol">IGraphicElement</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/core/ILayoutElement.html#transformAround()" class="signatureLink">transformAround</a>(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void</div><div class="summaryTableDescription">
A utility method to update the rotation, scale, and translation of the
transform while keeping a particular point, specified in the component's
own coordinate space, fixed in the parent's coordinate space.</div></td><td class="summaryTableOwnerCol"><a href="../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#validateDisplayList()" class="signatureLink">validateDisplayList</a>():void</div><div class="summaryTableDescription">
Called by the IGraphicElementContainer to redraw this element
in its displayObject property.</div></td><td class="summaryTableOwnerCol">IGraphicElement</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#validateProperties()" class="signatureLink">validateProperties</a>():void</div><div class="summaryTableDescription">
Called by the IGraphicElementContainer to validate the properties of
this element.</div></td><td class="summaryTableOwnerCol">IGraphicElement</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#validateSize()" class="signatureLink">validateSize</a>():void</div><div class="summaryTableDescription">
Called by the IGraphicElementContainer to validate the size of
this element.</div></td><td class="summaryTableOwnerCol">IGraphicElement</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="displayObject"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">displayObject</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>displayObject:DisplayObject</code>&nbsp;&nbsp;[read-only] <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</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>
The shared DisplayObject where this
IGraphicElement is drawn.
<p>Implementers should not create the DisplayObject
here, but in the <code>createDisplayObject()</code> method.</p>
</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get displayObject():DisplayObject</code><br/><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#createDisplayObject" target="">createDisplayObject</a><br/><a href="IGraphicElement.html#validateDisplayList" target="">validateDisplayList</a><br/><a href="IGraphicElement.html#displayObjectSharingMode" target="">displayObjectSharingMode</a></div></div><a name="propertyDetail"></a><a name="displayObjectSharingMode"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">displayObjectSharingMode</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>displayObjectSharingMode:String</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 2.5</td></tr></table><p></p><p></p><p>
Indicates the association between this IGraphicElement and its
display objects. The <code>IGraphicElementContainer</code> manages this
property and the values are one of the DisplayObjectSharingMode enum class.
<ul>
<li>A value of <code>DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT</code>
indicates that the IGraphicElement owns exclusively the
DisplayObject corresponding to its <code>displayObject</code>
property.</li>
<li>A value of <code>DisplayObjectSharingMode.OWNS_SHARED_OBJECT</code>
indicates taht the IGraphicElement owns the DisplayObject
corresponding to its <code>displayObject</code> property but
other IGraphicElements are using/drawing to that display object as well.
Depending on the specific implementation, the IGraphicElement may perform
certain management of the display object.
For example the base class GraphicElement
clears the transform of the display object, reset its visibility, alpha,
etc. properties to their default values and additionally clear the
graphics on every <code>validateDisplayList()</code> call.</li>
<li>A value of <code>DisplayObjectSharingMode.USES_SHARED_OBJECT</code>
indicates that the IGraphicElement draws into the
DisplayObject corresponding to its <code>displayObject</code>
property. There are one or more IGraphicElements that draw
into that same displayObject, and the first element that draws
has its mode set to <code>DisplayObjectMode.OWNS_SHARED_OBJECT</code></li>
</ul>
</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get displayObjectSharingMode():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set displayObjectSharingMode(value:String):void</code><br/></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="canShareWithNext()"></a><a name="canShareWithNext(spark.core.IGraphicElement)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">canShareWithNext</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function canShareWithNext(element:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a>):Boolean</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</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>
Returns <code>true</code> if this IGraphicElement is compatible and can
share display objects with the next IGraphicElement
in the sequence.
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">element</span>:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a></code> &mdash; The element that comes after this element in the sequence.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> when this element is compatible with the previous
element in the sequence.
</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#canShareWithPrevious" target="">canShareWithPrevious</a><br/><a href="IGraphicElement.html#setSharedDisplayObject" target="">setSharedDisplayObject</a></div></div><a name="canShareWithPrevious()"></a><a name="canShareWithPrevious(spark.core.IGraphicElement)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">canShareWithPrevious</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function canShareWithPrevious(element:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a>):Boolean</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</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>
Returns <code>true</code> if this IGraphicElement is compatible and can
share display objects with the previous IGraphicElement
in the sequence.
<p>In certain cases the element might be passed to the <code>IGraphicElementContainer</code>
in a call to the <code>setSharedDisplayObject()</code> method.
In those cases, this method is not called.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">element</span>:<a href="../../spark/core/IGraphicElement.html">IGraphicElement</a></code> &mdash; The element that comes before this element in the sequence.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> when this element is compatible with the previous
element in the sequence.
</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#canShareWithNext" target="">canShareWithNext</a><br/><a href="IGraphicElement.html#setSharedDisplayObject" target="">setSharedDisplayObject</a></div></div><a name="createDisplayObject()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">createDisplayObject</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function createDisplayObject():DisplayObject</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</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>
Creates a new DisplayObject where this IGraphicElement
is drawn.
<p>Subsequent calls to the getter of the <code>displayObject</code> property must
return the same display object.</p>
<p>After the DisplayObject is created, the parent <code>IGraphicElementContainer</code>
will pass along the display objects to the rest of the elements in the sequence.</p>
<p>The <code>IGraphicElementContainer</code> ensures that this method is called only when needed.</p>
<p>If the element wants to participate in the DisplayObject
sharing, then the new DisplayObject must implement IShareableDisplayObject.
This interface is being used by the <code>IGraphicElementContainer</code> to manage invalidation and
redrawing of the graphic element sequence and typically is not directly
used by the developer.</p>
<p>To reevaluate the shared sequences, call the
<code>invalidateGraphicElementSharing()</code> method
on the <code>IGraphicElementContainer</code>.</p>
<p>To force the <code>IGraphicElementContainer</code> to remove the element's current
DisplayObject from its display list and recalculate the
display object sharing, call the
<code>discardDisplayObject()</code> method on the <code>IGraphicElementContainer</code>.</p>
</p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>DisplayObject</code> &mdash; The display object created.
</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#displayObject" target="">displayObject</a><br/><a href="IGraphicElementContainer.html#invalidateGraphicElementSharing" target="">spark.core.IGraphicElementContainer.invalidateGraphicElementSharing</a><br/><a href="IGraphicElementContainer.html#discardDisplayObject" target="">spark.core.IGraphicElementContainer.discardDisplayObject</a></div></div><a name="parentChanged()"></a><a name="parentChanged(spark.core.IGraphicElementContainer)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">parentChanged</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function parentChanged(parent:<a href="../../spark/core/IGraphicElementContainer.html">IGraphicElementContainer</a>):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</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>
Called by <code>IGraphicElementContainer</code> when an IGraphicElement
is added to or removed from the host component.
<p>You typically never need to call this method.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">parent</span>:<a href="../../spark/core/IGraphicElementContainer.html">IGraphicElementContainer</a></code> &mdash; The <code>IGraphicElementContainer</code> of this <code>IGraphicElement</code>.
</td></tr></table></p></div><a name="setSharedDisplayObject()"></a><a name="setSharedDisplayObject(flash.display.DisplayObject)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">setSharedDisplayObject</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function setSharedDisplayObject(sharedDisplayObject:DisplayObject):Boolean</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</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>
Determines whether this element can draw itself to the
<code>sharedDisplayObject</code> of the sequence.
<p>Typically implementers return <code>true</code> when this
IGraphicElement can cumulatively draw in the shared
DisplayObject <code>graphics</code> property.
In all cases where this IGraphicElement needs to set
properties on the DisplayObjects that don't apply to the
rest of the elements in the sequence, this method must return <code>false</code>.
Examples for such properties are rotation, scale, transform,
mask, alpha, filters, color transform, 3D, and layer.</p>
<p>When this method returns <code>true</code>, subsequent calls to the getter of the
<code>displayObject</code> property must return the same display object.</p>
<p>In certain cases, the <code>sharedDisplayObject</code> property might be
the <code>IGraphicElementContainer</code> itself. In the rest of the cases, the
DisplayObject is created by the first element in the sequence.</p>
<p>When this IGraphicElement needs to rebuild its sequence,
it notifies the <code>IGraphicElementContainer</code> by calling its
<code>invalidateGraphicElementSharing()</code> method.</p>
</p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">sharedDisplayObject</span>:DisplayObject</code> &mdash; The shared DisplayObject.
</td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> &mdash; Returns <code>true</code> when this IGraphicElement can draw itself
to the shared DisplayObject of the sequence.
</td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#canShareWithPrevious" target="">canShareWithPrevious</a><br/><a href="IGraphicElement.html#canShareWithNext" target="">canShareWithNext</a><br/><a href="IGraphicElementContainer.html#invalidateGraphicElementSharing" target="">spark.core.IGraphicElementContainer.invalidateGraphicElementSharing</a></div></div><a name="validateDisplayList()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">validateDisplayList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function validateDisplayList():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</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>
Called by the <code>IGraphicElementContainer</code> to redraw this element
in its <code>displayObject</code> property.
<p>If the element is the first in the sequence (<code>displayObjectSharingMode</code>
is set to <code>DisplayObjectSharingMode.OWNS_SHARED_OBJECT</code>)
then it must clear the <code>displayObject</code>
graphics and set it up as necessary for drawing the rest of the elements.</p>
<p>The element must alway redraw even if it itself has not changed
since the last time the <code>validateDisplayList()</code> method was called.
The parent <code>IGraphicElementContainer</code> will redraw the whole sequence
if any of its elements need to be redrawn.</p>
<p>To ensure this method is called, notify the <code>IGraphicElementContainer</code>
by calling its <code>invalidateGraphicElementSize()</code> method.</p>
<p>This method might be called even if this element has not
notified the <code>IGraphicElementContainer</code>.</p>
</p><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#displayObject" target="">displayObject</a><br/><a href="IGraphicElement.html#validateProperties" target="">validateProperties</a><br/><a href="IGraphicElement.html#validateSize" target="">validateSize</a></div></div><a name="validateProperties()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">validateProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function validateProperties():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</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>
Called by the <code>IGraphicElementContainer</code> to validate the properties of
this element.
<p>To ensure that this method is called, notify the <code>IGraphicElementContainer</code>
by calling its <code>invalidateGraphicElementProperties()</code> method.</p>
<p>This method might be called even if this element has not
notified the <code>IGraphicElementContainer</code>.</p>
</p><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#validateSize" target="">validateSize</a><br/><a href="IGraphicElement.html#validateDisplayList" target="">validateDisplayList</a></div></div><a name="validateSize()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">validateSize</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function validateSize():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</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>
Called by the <code>IGraphicElementContainer</code> to validate the size of
this element.
<p>When the size of the element changes and is going to affect the
<code>IGraphicElementContainer</code> layout, the implementer is responsible
for invalidating the parent's size and display list.</p>
<p>To ensure that this method is called, notify the <code>IGraphicElementContainer</code>
by calling its <code>invalidateGraphicElementSize()</code> method.</p>
<p>This method might be called even if this element has not
notified the <code>IGraphicElementContainer</code>.</p>
</p><p><span class="label">See also</span></p><div class="seeAlso"><a href="IGraphicElement.html#validateProperties" target="">validateProperties</a><br/><a href="IGraphicElement.html#validateDisplayList" target="">validateDisplayList</a></div></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 -->