Packagejp.nium.events
Classpublic class CollectionEvent
InheritanceCollectionEvent Inheritance flash.events.Event

コレクションに対して各種操作が行われた場合に CollectionEvent オブジェクトが送出されます。


Example
  // CollectionEvent インスタンスを作成する
  var event:CollectionEvent = new CollectionEvent();
  



Public Properties
 PropertyDefined by
  collectionTarget : *
[read-only] イベント発生対象となるコレクションを取得します。
CollectionEvent
Public Methods
 MethodDefined by
  
CollectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, collectionTarget:* = null)
新しい CollectionEvent インスタンスを作成します。 Creates a new CollectionEvent object.
CollectionEvent
  
clone():Event
CollectionEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an CollectionEvent subclass.
CollectionEvent
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
CollectionEvent
Public Constants
 ConstantDefined by
  COLLECTION_UPDATE : String = "collectionUpdate"
[static] collectionUpdate イベントオブジェクトの type プロパティ値を定義します。 The CollectionEvent.COLLECTION_UPDATE constant defines the value of the type property of an collectionUpdate event object.
CollectionEvent
Property detail
collectionTargetproperty
collectionTarget:*  [read-only]

イベント発生対象となるコレクションを取得します。

Implementation
    public function get collectionTarget():*
Constructor detail
CollectionEvent()constructor
public function CollectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, collectionTarget:* = null)

新しい CollectionEvent インスタンスを作成します。 Creates a new CollectionEvent object.

Parameters
type:StringCollectionEvent.type としてアクセス可能なイベントタイプです。 The type of the event, accessible as CollectionEvent.type.
 
bubbles:Boolean (default = false)CollectionEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。 Determines whether the CollectionEvent object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false)CollectionEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。 Determines whether the CollectionEvent object can be canceled. The default values is false.
 
collectionTarget:* (default = null)イベント発生対象となるコレクションです。
Method detail
clone()method
public override function clone():Event

CollectionEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an CollectionEvent subclass.

Returns
Event元のオブジェクトと同じプロパティ値を含む新しい CollectionEvent インスタンスです。 A new CollectionEvent object that is identical to the original.
toString()method 
public override function toString():String

指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.
Constant detail
COLLECTION_UPDATEconstant
public static const COLLECTION_UPDATE:String = "collectionUpdate"

collectionUpdate イベントオブジェクトの type プロパティ値を定義します。 The CollectionEvent.COLLECTION_UPDATE constant defines the value of the type property of an collectionUpdate event object.

See also