| Package | jp.nium.core.display |
| Interface | public interface IExDisplayObject extends IEventIntegrator, flash.events.IEventDispatcher |
| Implementors | ExBitmap, ExDisplayObject, ExTextField |
| Property | Defined By | ||
|---|---|---|---|
| className : String [read-only]
インスタンスのクラス名を取得します。
Indicates the instance className of the IExDisplayObject.
| IExDisplayObject | ||
| group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the IExDisplayObject.
| IExDisplayObject | ||
| id : String
インスタンスの識別子を取得または設定します。
Indicates the instance id of the IExDisplayObject.
| IExDisplayObject | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | addExclusivelyEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。
このメソッドを使用して登録されたリスナーは、IEventIntegrator インスタンスの管理外となるため、removeEventListener() メソッドで削除した場合にも、restoreRemovedListeners() メソッドで再登録させることができません。
Register the event listener object into the EventIntegrator instance to get the event notification. | IEventIntegrator | |
![]() | completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventIntegrator インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。
Remove the listener from EventIntegrator instance. | IEventIntegrator | |
getInstanceById(id:String):DisplayObject
指定された id と同じ値が設定されている IExDisplayObject インターフェイスを実装したインスタンスを返します。
Returns the instance which implements the IExDisplayObject interface with same specified id value.
| IExDisplayObject | ||
getInstancesByGroup(group:String, sort:Boolean = false):Array
指定された group と同じ値を持つ IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。
Returns the array contains the instance which implements the IExDisplayObject interface with same specified group value.
| IExDisplayObject | ||
getInstancesByRegExp(fieldName:String, pattern:RegExp, sort:Boolean = false):Array
指定された fieldName が条件と一致する IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。
Returns the array contains the instance which implements the IExDisplayObject interface which the specified fieldName matches to the condition.
| IExDisplayObject | ||
![]() | removeAllListeners(completely:Boolean = false):void
addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。
完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。
Remove the whole event listener registered via addEventListener() method. | IEventIntegrator | |
![]() | restoreRemovedListeners():void
removeEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。
Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
| IEventIntegrator | |
setProperties(props:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。
Setup the several instance properties.
| IExDisplayObject | ||
| className | property |
className:String [read-only] インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
public function get className():String| group | property |
group:Stringインスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
public function get group():String public function set group(value:String):void| id | property |
id:Stringインスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.
public function get id():String public function set id(value:String):void| getInstanceById | () | method |
public function getInstanceById(id:String):DisplayObject指定された id と同じ値が設定されている IExDisplayObject インターフェイスを実装したインスタンスを返します。 Returns the instance which implements the IExDisplayObject interface with same specified id value.
Parameters
id:String — 条件となるストリングです。
|
DisplayObject —
条件と一致するインスタンスです。
|
| getInstancesByGroup | () | method |
public function getInstancesByGroup(group:String, sort:Boolean = false):Array指定された group と同じ値を持つ IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。 Returns the array contains the instance which implements the IExDisplayObject interface with same specified group value.
Parameters
group:String — 条件となるストリングです。
The string to become a condition.
| |
sort:Boolean (default = false) — 配列をソートするかどうかを指定します。
Specify if it sorts the array.
|
Array —
条件と一致するインスタンスです。
The instance which match to the condition.
|
| getInstancesByRegExp | () | method |
public function getInstancesByRegExp(fieldName:String, pattern:RegExp, sort:Boolean = false):Array指定された fieldName が条件と一致する IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。 Returns the array contains the instance which implements the IExDisplayObject interface which the specified fieldName matches to the condition.
Parameters
fieldName:String — 調査するフィールド名です。
The field name to check.
| |
pattern:RegExp — 条件となる正規表現です。
The regular expression to become a condition.
| |
sort:Boolean (default = false) — 配列をソートするかどうかを指定します。
Specify if it sorts the array.
|
Array —
条件と一致するインスタンスです。
The instance which match to the condition.
|
| setProperties | () | method |
public function setProperties(props:Object):DisplayObjectインスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.
Parameters
props:Object — 設定したいプロパティを含んだオブジェクトです。
The object that contains the property to setup.
|
DisplayObject —
設定対象の DisplayObject インスタンスです。
The DisplayObject instance to setup.
|