Packagejp.nium.core.display
Interfacepublic interface IExDisplayObject extends IEventIntegrator, flash.events.IEventDispatcher
Implementors ExBitmap, ExDisplayObject, ExTextField

IExDisplayObject インターフェイスは IEventIntegrator を拡張し、DisplayObject の基本機能を強化する機能を実装します。 IExDisplayObject interface extends IEventIntegrator and implements the function to enhance the basic function of the DisplayObject.

View the examples



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
 Inherited
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
 Inherited
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
 Inherited
removeAllListeners(completely:Boolean = false):void
addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。 完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。 Remove the whole event listener registered via addEventListener() method.
IEventIntegrator
 Inherited
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
Property Detail
classNameproperty
className:String  [read-only]

インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.


Implementation
    public function get className():String
groupproperty 
group:String

インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.


Implementation
    public function get group():String
    public function set group(value:String):void
idproperty 
id:String

インスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.


Implementation
    public function get id():String
    public function set id(value:String):void
Method Detail
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条件となるストリングです。

Returns
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.

Returns
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.

Returns
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.

Returns
DisplayObject設定対象の DisplayObject インスタンスです。 The DisplayObject instance to setup.
Examples