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

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

View the examples



Public Methods
 MethodDefined By
  
CastEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
新しい CastEvent インスタンスを作成します。 Creates a new CastEvent object.
CastEvent
  
clone():Event
[override] CastEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an CastEvent subclass.
CastEvent
  
toString():String
[override] 指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
CastEvent
Public Constants
 ConstantDefined By
  BUTTON_ENABLED_CHANGE : String = buttonEnabledChange
[static] buttonEnabledChange イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.BUTTON_ENABLED_CHANGE constant defines the value of the type property of an buttonEnabledChange event object.
CastEvent
  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_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
  STATUS_CHANGE : String = statusChange
[static] statusChange イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.STATUS_CHANGE constant defines the value of the type property of an statusChange event object.
CastEvent
  UPDATE : String = update
[static] update イベントオブジェクトの type プロパティ値を定義します。 The CastEvent.UPDATE constant defines the value of the type property of an update 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
override public 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 
override public function toString():String

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

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.
Constant Detail
BUTTON_ENABLED_CHANGEConstant
public static const BUTTON_ENABLED_CHANGE:String = buttonEnabledChange

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

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.

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.

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.

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.

STATUS_CHANGEConstant 
public static const STATUS_CHANGE:String = statusChange

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

UPDATEConstant 
public static const UPDATE:String = update

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

Examples