Extends
- InteractiveObject
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.display.DisplayObjectContainer
オブジェクトの子がマウスまたはユーザー入力デバイスに対応しているかどうかを判断します。
Determines whether or not the children of the object are mouse, or user input device, enabled.指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.display.DisplayObjectContainer
このオブジェクトの子の数を返します。
Returns the number of children of this object.
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class DisplayObjectContainer]
Returns:
Type Description string この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.Name Type Description child
DisplayObject Returns:
Type Description DisplayObject この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.Name Type Description child
DisplayObject index
number Returns:
Type Description DisplayObject 指定された表示オブジェクトが、DisplayObjectContainer インスタンスの子であるか
インスタンス自体であるかを指定します。
Determines whether the specified display object is a child
of the DisplayObjectContainer instance or the instance itself.Name Type Description child
DisplayObject Returns:
Type Description boolean 指定のインデックス位置にある子表示オブジェクトインスタンスを返します。
Returns the child display object instance that exists at the specified index.Name Type Description index
number Returns:
Type Description DisplayObject 指定された名前に一致する子表示オブジェクトを返します。
Returns the child display object that exists with the specified name.Name Type Description name
string Returns:
Type Description Object | null 子 DisplayObject インスタンスのインデックス位置を返します。
Returns the index position of a child DisplayObject instance.Name Type Description child
DisplayObject Returns:
Type Description number DisplayObjectContainer インスタンスの子リストから指定の
child DisplayObject インスタンスを削除します。
Removes the specified child DisplayObject instance from the
child list of the DisplayObjectContainer instance.Name Type Description child
DisplayObject Returns:
Type Description DisplayObject DisplayObjectContainer の子リストの指定された index 位置から子 DisplayObject を削除します。
Removes a child DisplayObject from the specified index position
in the child list of the DisplayObjectContainer.Name Type Description index
number Returns:
Type Description DisplayObject DisplayObjectContainer インスタンスの子リストから
すべての child DisplayObject インスタンスを削除します。
Removes all child DisplayObject instances from
the child list of the DisplayObjectContainer instance.Name Type Default Description begin_index
number 0 optional end_index
number 0x7fffffff optional Returns:
Type Description void 表示オブジェクトコンテナの既存の子の位置を変更します。
Changes the position of an existing child in the display object container.Name Type Description child
DisplayObject index
number Returns:
Type Description void 指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。
Swaps the z-order (front-to-back order) of the two specified child objects.Name Type Description child1
DisplayObject child2
DisplayObject Returns:
Type Description 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.Name Type Description index1
number index2
number Returns:
Type Description void 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object DisplayObjectContainer]
Returns:
Type Description string