Packagejp.nium.impls
Interfacepublic interface IDisplayObjectContainer extends IInteractiveObject, IDisplayObject, flash.events.IEventDispatcher
ImplementorsExLoader, ExMovieClip, ExSprite

IDisplayObjectContainer インターフェイスは、対象に対して DisplayObjectContainer として必要となる機能を実装します。


Example
  



Public Properties
 PropertyDefined by
 InheritedaccessibilityProperties : AccessibilityProperties
この表示オブジェクトの現在のアクセシビリティオプションです。 The current accessibility options for this display object.
IDisplayObject
 Inheritedalpha : Number
指定されたオブジェクトのアルファ透明度値を示します。 Indicates the alpha transparency value of the object specified.
IDisplayObject
 InheritedblendMode : String
使用するブレンドモードを指定する BlendMode クラスの値です。 A value from the BlendMode class that specifies which blend mode to use.
IDisplayObject
 InheritedcacheAsBitmap : Boolean
true に設定されている場合、表示オブジェクトの内部ビットマップ表現が Flash Player にキャッシュされます。 If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the display object.
IDisplayObject
 InheritedcontextMenu : ContextMenu
このオブジェクトに関連付けられたコンテキストメニューを指定します。 Specifies the context menu associated with this object.
IInteractiveObject
 InheriteddoubleClickEnabled : Boolean
オブジェクトが doubleClick イベントを受け取るかどうかを指定します。 Specifies whether the object receives doubleClick events.
IInteractiveObject
 Inheritedfilters : Array
表示オブジェクトに現在関連付けられている各フィルタオブジェクトが保存されているインデックス付きの配列です。 An indexed array that contains each filter object currently associated with the display object.
IDisplayObject
 InheritedfocusRect : Object
このオブジェクトがフォーカス矩形を表示するかどうかを指定します。 Specifies whether this object displays a focus rectangle.
IInteractiveObject
 Inheritedheight : Number
表示オブジェクトの高さを示します (ピクセル単位)。 Indicates the height of the display object, in pixels.
IDisplayObject
 InheritedloaderInfo : LoaderInfo
この表示オブジェクトが属するファイルのロード情報を含む LoaderInfo オブジェクトを返します。 Returns a LoaderInfo object containing information about loading the file to which this display object belongs.
IDisplayObject
 Inheritedmask : DisplayObject
呼び出し元の表示オブジェクトは、指定された mask オブジェクトによってマスクされます。 The calling display object is masked by the specified mask object.
IDisplayObject
  mouseChildren : Boolean
オブジェクトの子に対してマウスが有効かどうかを調べます。 Determines whether or not the children of the object are mouse enabled.
IDisplayObjectContainer
 InheritedmouseEnabled : Boolean
このオブジェクトがマウスメッセージを受け取るかどうかを指定します。 Specifies whether this object receives mouse messages.
IInteractiveObject
 InheritedmouseX : Number
マウス位置の x 座標を示します (ピクセル単位)。 Indicates the x coordinate of the mouse position, in pixels.
IDisplayObject
 InheritedmouseY : Number
マウス位置の y 座標を示します (ピクセル単位)。 Indicates the y coordinate of the mouse position, in pixels.
IDisplayObject
 Inheritedname : String
DisplayObject のインスタンス名を示します。 Indicates the instance name of the DisplayObject.
IDisplayObject
  numChildren : int
[read-only] このオブジェクトの子の数を返します。 Returns the number of children of this object.
IDisplayObjectContainer
 InheritedopaqueBackground : Object
表示オブジェクトが特定の背景色で不透明であるかどうかを指定します。 Specifies whether the display object is opaque with a certain background color.
IDisplayObject
 Inheritedparent : DisplayObjectContainer
この表示オブジェクトを含む DisplayObjectContainer オブジェクトを示します。 Indicates the DisplayObjectContainer object that contains this display object.
IDisplayObject
 Inheritedroot : DisplayObject
ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。 For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
IDisplayObject
 Inheritedrotation : Number
DisplayObject インスタンスの元の位置からの回転角を度単位で示します。 Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.
IDisplayObject
 Inheritedscale9Grid : Rectangle
現在有効な拡大 / 縮小グリッドです。 The current scaling grid that is in effect.
IDisplayObject
 InheritedscaleX : Number
基準点から適用されるオブジェクトの水平スケール (percentage) を示します。 Indicates the horizontal scale (percentage) of the object as applied from the registration point.
IDisplayObject
 InheritedscaleY : Number
オブジェクトの基準点から適用されるオブジェクトの垂直スケール (percentage) を示します。 Indicates the vertical scale (percentage) of an object as applied from the registration point of the object.
IDisplayObject
 InheritedscrollRect : Rectangle
表示オブジェクトのスクロール矩形の境界です。 The scroll rectangle bounds of the display object.
IDisplayObject
 Inheritedstage : Stage
表示オブジェクトのステージです。 The Stage of the display object.
IDisplayObject
  tabChildren : Boolean
オブジェクトの子に対してタブが有効かどうかを調べます。 Determines whether the children of the object are tab enabled.
IDisplayObjectContainer
 InheritedtabEnabled : Boolean
このオブジェクトがタブ順序に含まれるかどうかを指定します。 Specifies whether this object is in the tab order.
IInteractiveObject
 InheritedtabIndex : int
SWF ファイル内のオブジェクトのタブ順序を指定します。 Specifies the tab ordering of objects in a SWF file.
IInteractiveObject
  textSnapshot : TextSnapshot
[read-only] この DisplayObjectContainer インスタンスの TextSnapshot オブジェクトを返します。 Returns a TextSnapshot object for this DisplayObjectContainer instance.
IDisplayObjectContainer
 Inheritedtransform : Transform
表示オブジェクトのマトリックス、カラー変換、ピクセル境界に関係するプロパティを持つオブジェクトです。 An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.
IDisplayObject
 Inheritedvisible : Boolean
表示オブジェクトが可視かどうかを示します。 Whether or not the display object is visible.
IDisplayObject
 Inheritedwidth : Number
表示オブジェクトの幅を示します (ピクセル単位)。 Indicates the width of the display object, in pixels.
IDisplayObject
 Inheritedx : Number
親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの x 座標を示します。 Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
IDisplayObject
 Inheritedy : Number
親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの y 座標を示します。 Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
IDisplayObject
Public Methods
 MethodDefined by
  
addChild(child:DisplayObject):DisplayObject
この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
IDisplayObjectContainer
  
addChildAt(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
IDisplayObjectContainer
  
areInaccessibleObjectsUnderPoint(point:Point):Boolean
特定の point ポイントを指定して呼び出した DisplayObjectContainer.getObjectsUnderPoint() メソッドから返されたリストに、セキュリティ上の制約のために省略される表示オブジェクトがあるかどうかを示します。 Indicates whether the security restrictions would cause any display objects to be omitted from the list returned by calling the DisplayObjectContainer.getObjectsUnderPoint() method with the specified point point.
IDisplayObjectContainer
  
contains(child:DisplayObject):Boolean
指定された表示オブジェクトが DisplayObjectContainer インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
IDisplayObjectContainer
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
targetCoordinateSpace オブジェクトの座標系を基準にして、表示オブジェクトの領域を定義する矩形を返します。 Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object.
IDisplayObject
  
getChildAt(index:int):DisplayObject
指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。 Returns the child display object instance that exists at the specified index.
IDisplayObjectContainer
  
getChildByName(name:String):DisplayObject
指定された名前に一致する子表示オブジェクトを返します。 Returns the child display object that exists with the specified name.
IDisplayObjectContainer
  
getChildIndex(child:DisplayObject):int
子 DisplayObject インスタンスのインデックス位置を返します。 Returns the index position of a child DisplayObject instance.
IDisplayObjectContainer
  
getObjectsUnderPoint(point:Point):Array
指定されたポイントの下にあり、この DisplayObjectContainer インスタンスの子(または孫など)であるオブジェクトの配列を返します。 Returns an array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance.
IDisplayObjectContainer
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
シェイプ上の線を除き、targetCoordinateSpace パラメータによって定義された座標系に基づいて、表示オブジェクトの境界を定義する矩形を返します。 Returns a rectangle that defines the boundary of the display object, based on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
IDisplayObject
 Inherited
globalToLocal(point:Point):Point
point オブジェクトをステージ (グローバル) 座標から表示オブジェクトの (ローカル) 座標に変換します。 Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.
IDisplayObject
 Inherited
hitTestObject(obj:DisplayObject):Boolean
表示オブジェクトを評価して、obj 表示オブジェクトと重複または交差するかどうかを調べます。 Evaluates the display object to see if it overlaps or intersects with the obj display object.
IDisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
表示オブジェクトを評価して、x および y パラメータで指定されたポイントと重複または交差するかどうかを調べます。 Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.
IDisplayObject
 Inherited
localToGlobal(point:Point):Point
point オブジェクトを表示オブジェクトの (ローカル) 座標からステージ (グローバル) 座標に変換します。 Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.
IDisplayObject
  
removeChild(child:DisplayObject):DisplayObject
DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
IDisplayObjectContainer
  
removeChildAt(index:int):DisplayObject
DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。 Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
IDisplayObjectContainer
  
setChildIndex(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.
IDisplayObjectContainer
  
swapChildren(child1:DisplayObject, child2:DisplayObject):void
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified child objects.
IDisplayObjectContainer
  
swapChildrenAt(index1:int, index2:int):void
子リスト内の指定されたインデックス位置に該当する 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.
IDisplayObjectContainer
Property detail
mouseChildrenproperty
mouseChildren:Boolean  [read-write]

オブジェクトの子に対してマウスが有効かどうかを調べます。 Determines whether or not the children of the object are mouse enabled.

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

このオブジェクトの子の数を返します。 Returns the number of children of this object.

Implementation
    public function get numChildren():int
tabChildrenproperty 
tabChildren:Boolean  [read-write]

オブジェクトの子に対してタブが有効かどうかを調べます。 Determines whether the children of the object are tab enabled.

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

この DisplayObjectContainer インスタンスの TextSnapshot オブジェクトを返します。 Returns a TextSnapshot object for this DisplayObjectContainer instance.

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

この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.

Parameters
child:DisplayObject対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。 The DisplayObject instance to add as a child of this DisplayObjectContainer instance.

Returns
DisplayObjectchild パラメータで渡す DisplayObject インスタンスです。 The DisplayObject instance that you pass in the child parameter.
addChildAt()method 
public function addChildAt(child:DisplayObject, index:int):DisplayObject

この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.

Parameters
child:DisplayObject対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。 The DisplayObject instance to add as a child of this DisplayObjectContainer instance.
 
index:int子を追加するインデックス位置です。 The index position to which the child is added. If you specify a currently occupied index position, the child object that exists at that position and all higher positions are moved up one position in the child list.

Returns
DisplayObjectchild パラメータで渡す DisplayObject インスタンスです。 The DisplayObject instance that you pass in the child parameter.
areInaccessibleObjectsUnderPoint()method 
public function areInaccessibleObjectsUnderPoint(point:Point):Boolean

特定の point ポイントを指定して呼び出した DisplayObjectContainer.getObjectsUnderPoint() メソッドから返されたリストに、セキュリティ上の制約のために省略される表示オブジェクトがあるかどうかを示します。 Indicates whether the security restrictions would cause any display objects to be omitted from the list returned by calling the DisplayObjectContainer.getObjectsUnderPoint() method with the specified point point.

Parameters
point:Point注目するポイントです。 The point under which to look.

Returns
Booleantrue は、そのポイントがセキュリティ上の制限のある子表示オブジェクトを含んでいることを示します。 true if the point contains child display objects with security restrictions.
contains()method 
public function contains(child:DisplayObject):Boolean

指定された表示オブジェクトが DisplayObjectContainer インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.

Parameters
child:DisplayObjectテストする子 DisplayObject インスタンスです。 The child object to test.

Returns
Booleanchild インスタンスが DisplayObjectContainer の子であるか、コンテナ自体である場合は true となります。そうでない場合は false となります。 true if the child object is a child of the DisplayObjectContainer or the container itself; otherwise false.
getChildAt()method 
public function getChildAt(index:int):DisplayObject

指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。 Returns the child display object instance that exists at the specified index.

Parameters
index:int子 DisplayObject インスタンスのインデックス位置です。 The index position of the child object.

Returns
DisplayObject指定されたインデックス位置にある子 DisplayObject インスタンスです。 The child display object at the specified index position.
getChildByName()method 
public function getChildByName(name:String):DisplayObject

指定された名前に一致する子表示オブジェクトを返します。 Returns the child display object that exists with the specified name.

Parameters
name:String返される子 DisplayObject インスタンスの名前です。 The name of the child to return.

Returns
DisplayObject指定された名前を持つ子 DisplayObject インスタンスです。 The child display object with the specified name.
getChildIndex()method 
public function getChildIndex(child:DisplayObject):int

子 DisplayObject インスタンスのインデックス位置を返します。 Returns the index position of a child DisplayObject instance.

Parameters
child:DisplayObject特定する子 DisplayObject インスタンスです。 The DisplayObject instance to identify.

Returns
int特定する子 DisplayObject インスタンスのインデックス位置です。 The index position of the child display object to identify.
getObjectsUnderPoint()method 
public function getObjectsUnderPoint(point:Point):Array

指定されたポイントの下にあり、この DisplayObjectContainer インスタンスの子(または孫など)であるオブジェクトの配列を返します。 Returns an array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance.

Parameters
point:Point注目するポイントです。 The point under which to look.

Returns
Array指定されたポイントの下にあり、この DisplayObjectContainer インスタンスの子または孫などであるオブジェクトの配列です。 An array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance.
removeChild()method 
public function removeChild(child:DisplayObject):DisplayObject

DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.

Parameters
child:DisplayObject対象の DisplayObjectContainer インスタンスの子から削除する DisplayObject インスタンスです。 The DisplayObject instance to remove.

Returns
DisplayObjectchild パラメータで渡す DisplayObject インスタンスです。 The DisplayObject instance that you pass in the child parameter.
removeChildAt()method 
public function removeChildAt(index:int):DisplayObject

DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。 Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.

Parameters
index:int削除する DisplayObject の子インデックスです。 The child index of the DisplayObject to remove.

Returns
DisplayObject削除された DisplayObject インスタンスです。 The DisplayObject instance that was removed.
setChildIndex()method 
public function setChildIndex(child:DisplayObject, index:int):void

表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.

Parameters
child:DisplayObjectインデックス番号を変更する子 DisplayObject インスタンスです。 The child DisplayObject instance for which you want to change the index number.
 
index:intchild インスタンスの結果のインデックス番号です。 The resulting index number for the child display object.
swapChildren()method 
public function swapChildren(child1:DisplayObject, child2:DisplayObject):void

指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified child objects.

Parameters
child1:DisplayObject先頭の子 DisplayObject インスタンスです。 The first child object.
 
child2:DisplayObject2 番目の子 DisplayObject インスタンスです。 The second child object.
swapChildrenAt()method 
public function swapChildrenAt(index1:int, index2:int):void

子リスト内の指定されたインデックス位置に該当する 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.

Parameters
index1:int最初の子 DisplayObject インスタンスのインデックス位置です。 The index position of the first child object.
 
index2:int2 番目の子 DisplayObject インスタンスのインデックス位置です。 The index position of the second child object.