Packageorg.as3coreaddendum.display
Interfacepublic interface IDisplayObjectContainer extends IInteractiveObject, IDisplayObject, flash.events.IEventDispatcher

When working on an architecture of interfaces for user-interface components, this interface may be desirable.

This interface simulates a native DisplayObjectContainer interface, specifying all methods and properties of the DisplayObjectContainer class for pure Flash Player 10.

For more information see the ActionScript 3.0 Language Reference.



Public Properties
 PropertyDefined By
 InheritedaccessibilityImplementation : AccessibilityImplementation
IInteractiveObject
 InheritedaccessibilityProperties : AccessibilityProperties
IDisplayObject
 Inheritedalpha : Number
IDisplayObject
 InheritedblendMode : String
IDisplayObject
 InheritedblendShader : Shader
[write-only]
IDisplayObject
 InheriteddoubleClickEnabled : Boolean
IInteractiveObject
 Inheritedfilters : Array
IDisplayObject
 InheritedfocusRect : Object
IInteractiveObject
 Inheritedheight : Number
IDisplayObject
 InheritedloaderInfo : LoaderInfo
[read-only]
IDisplayObject
 Inheritedmask : DisplayObject
IDisplayObject
  mouseChildren : Boolean
IDisplayObjectContainer
 InheritedmouseEnabled : Boolean
IInteractiveObject
 InheritedmouseX : Number
[read-only]
IDisplayObject
 InheritedmouseY : Number
[read-only]
IDisplayObject
 Inheritedname : String
IDisplayObject
  numChildren : int
[read-only]
IDisplayObjectContainer
 InheritedopaqueBackground : Object
IDisplayObject
 Inheritedparent : DisplayObjectContainer
[read-only]
IDisplayObject
 Inheritedroot : DisplayObject
[read-only]
IDisplayObject
 Inheritedrotation : Number
IDisplayObject
 InheritedrotationX : Number
IDisplayObject
 InheritedrotationY : Number
IDisplayObject
 InheritedrotationZ : Number
IDisplayObject
 Inheritedscale9Grid : Rectangle
IDisplayObject
 InheritedscaleX : Number
IDisplayObject
 InheritedscaleY : Number
IDisplayObject
 InheritedscaleZ : Number
IDisplayObject
 InheritedscrollRect : Rectangle
IDisplayObject
 Inheritedstage : Stage
[read-only]
IDisplayObject
  tabChildren : Boolean
IDisplayObjectContainer
 InheritedtabEnabled : Boolean
IInteractiveObject
 InheritedtabIndex : int
IInteractiveObject
  textSnapshot : TextSnapshot
[read-only]
IDisplayObjectContainer
 Inheritedtransform : Transform
IDisplayObject
 Inheritedvisible : Boolean
IDisplayObject
 Inheritedwidth : Number
IDisplayObject
 Inheritedx : Number
IDisplayObject
 Inheritedy : Number
IDisplayObject
 Inheritedz : Number
IDisplayObject
Public Methods
 MethodDefined By
  
addChild(child:DisplayObject):DisplayObject
IDisplayObjectContainer
  
addChildAt(child:DisplayObject, index:int):DisplayObject
IDisplayObjectContainer
  
IDisplayObjectContainer
  
contains(child:DisplayObject):Boolean
IDisplayObjectContainer
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
IDisplayObject
  
getChildAt(index:int):DisplayObject
IDisplayObjectContainer
  
getChildByName(name:String):DisplayObject
IDisplayObjectContainer
  
getChildIndex(child:DisplayObject):int
IDisplayObjectContainer
  
getObjectsUnderPoint(point:Point):Array
IDisplayObjectContainer
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
IDisplayObject
 Inherited
globalToLocal(point:Point):Point
IDisplayObject
 Inherited
globalToLocal3D(point:Point):Vector3D
IDisplayObject
 Inherited
hitTestObject(obj:DisplayObject):Boolean
IDisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
IDisplayObject
 Inherited
local3DToGlobal(point3d:Vector3D):Point
IDisplayObject
 Inherited
localToGlobal(point:Point):Point
IDisplayObject
  
removeChild(child:DisplayObject):DisplayObject
IDisplayObjectContainer
  
removeChildAt(index:int):DisplayObject
IDisplayObjectContainer
  
setChildIndex(child:DisplayObject, index:int):void
IDisplayObjectContainer
  
swapChildren(child1:DisplayObject, child2:DisplayObject):void
IDisplayObjectContainer
  
swapChildrenAt(index1:int, index2:int):void
IDisplayObjectContainer
Property Detail
mouseChildrenproperty
mouseChildren:Boolean


Implementation
    public function get mouseChildren():Boolean
    public function set mouseChildren(value:Boolean):void
numChildrenproperty 
numChildren:int  [read-only]


Implementation
    public function get numChildren():int
tabChildrenproperty 
tabChildren:Boolean


Implementation
    public function get tabChildren():Boolean
    public function set tabChildren(value:Boolean):void
textSnapshotproperty 
textSnapshot:TextSnapshot  [read-only]


Implementation
    public function get textSnapshot():TextSnapshot
Method Detail
addChild()method
public function addChild(child:DisplayObject):DisplayObject

Parameters

child:DisplayObject

Returns
DisplayObject
addChildAt()method 
public function addChildAt(child:DisplayObject, index:int):DisplayObject

Parameters

child:DisplayObject
 
index:int

Returns
DisplayObject
areInaccessibleObjectsUnderPoint()method 
public function areInaccessibleObjectsUnderPoint(point:Point):Boolean

Parameters

point:Point

Returns
Boolean
contains()method 
public function contains(child:DisplayObject):Boolean

Parameters

child:DisplayObject

Returns
Boolean
getChildAt()method 
public function getChildAt(index:int):DisplayObject

Parameters

index:int

Returns
DisplayObject
getChildByName()method 
public function getChildByName(name:String):DisplayObject

Parameters

name:String

Returns
DisplayObject
getChildIndex()method 
public function getChildIndex(child:DisplayObject):int

Parameters

child:DisplayObject

Returns
int
getObjectsUnderPoint()method 
public function getObjectsUnderPoint(point:Point):Array

Parameters

point:Point

Returns
Array
removeChild()method 
public function removeChild(child:DisplayObject):DisplayObject

Parameters

child:DisplayObject

Returns
DisplayObject
removeChildAt()method 
public function removeChildAt(index:int):DisplayObject

Parameters

index:int

Returns
DisplayObject
setChildIndex()method 
public function setChildIndex(child:DisplayObject, index:int):void

Parameters

child:DisplayObject
 
index:int

swapChildren()method 
public function swapChildren(child1:DisplayObject, child2:DisplayObject):void

Parameters

child1:DisplayObject
 
child2:DisplayObject

swapChildrenAt()method 
public function swapChildrenAt(index1:int, index2:int):void

Parameters

index1:int
 
index2:int