Packagejp.progression.events
Classpublic class CastEvent
InheritanceCastEvent Inheritance flash.events.Event

IExecutable インターフェイスを実装したオブジェクトが AddChild コマンドや RemoveChild コマンドなどによって表示リストに追加された場合などに CastEvent オブジェクトが送出されます。


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



Public Methods
 MethodDefined by
  
CastEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
新しい CastEvent インスタンスを作成します。 Creates a new CastEvent object.
CastEvent
  
clone():Event
CastEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an CastEvent subclass.
CastEvent
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
CastEvent
Public Constants
 ConstantDefined by
  CAST_ADDED : String = "castAdded"
[static] castAdded イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_ADDED constant defines the value of the type property of an castAdded event object.
CastEvent
  CAST_ADDED_COMPLETE : String = "castAddedComplete"
[static] castAddedComplete イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_ADDED_COMPLETE constant defines the value of the type property of an castAddedComplete event object.
CastEvent
  CAST_LOAD_COMPLETE : String = "castLoadComplete"
[static] castLoadComplete イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_LOAD_COMPLETE constant defines the value of the type property of an castLoadComplete event object.
CastEvent
  CAST_LOAD_START : String = "castLoadStart"
[static] castLoadStart イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_LOAD_START constant defines the value of the type property of an castLoadStart event object.
CastEvent
  CAST_REMOVED : String = "castRemoved"
[static] castRemoved イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_REMOVED constant defines the value of the type property of an castRemoved event object.
CastEvent
  CAST_REMOVED_COMPLETE : String = "castRemovedComplete"
[static] castRemovedComplete イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.CAST_REMOVED_COMPLETE constant defines the value of the type property of an castRemovedComplete event object.
CastEvent
Constructor detail
CastEvent()constructor
public function CastEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

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

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

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

Returns
Event元のオブジェクトと同じプロパティ値を含む新しい CastEvent インスタンスです。 A new CastEvent 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
CAST_ADDEDconstant
public static const CAST_ADDED:String = "castAdded"

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

See also

CAST_ADDED_COMPLETEconstant 
public static const CAST_ADDED_COMPLETE:String = "castAddedComplete"

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

See also

CAST_LOAD_COMPLETEconstant 
public static const CAST_LOAD_COMPLETE:String = "castLoadComplete"

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

See also

CAST_LOAD_STARTconstant 
public static const CAST_LOAD_START:String = "castLoadStart"

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

See also

CAST_REMOVEDconstant 
public static const CAST_REMOVED:String = "castRemoved"

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

See also

CAST_REMOVED_COMPLETEconstant 
public static const CAST_REMOVED_COMPLETE:String = "castRemovedComplete"

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

See also