Packagejp.progression.events
Classpublic class CommandEvent
InheritanceCommandEvent Inheritance flash.events.Event

Command オブジェクトが処理を実行、完了、中断、等を行った場合に CommandEvent オブジェクトが送出されます。

View the examples



Public Properties
 PropertyDefined By
  enforcedInterrupted : Boolean
[read-only] コマンドが強制中断処理されたかどうかを取得します。
CommandEvent
  errorObject : Error
[read-only] コマンドオブジェクトからスローされた例外を取得します。
CommandEvent
Public Methods
 MethodDefined By
  
CommandEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, enforcedInterrupted:Boolean = false, errorObject:Error = null)
新しい CommandEvent インスタンスを作成します。 Creates a new CommandEvent object.
CommandEvent
  
clone():Event
[override] CommandEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an CommandEvent subclass.
CommandEvent
  
toString():String
[override] 指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
CommandEvent
Public Constants
 ConstantDefined By
  COMMAND_ADDED : String = commandAdded
[static] commandAdded イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_ADDED constant defines the value of the type property of an commandAdded event object.
CommandEvent
  COMMAND_COMPLETE : String = commandComplete
[static] commandComplete イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_COMPLETE constant defines the value of the type property of an commandComplete event object.
CommandEvent
  COMMAND_ERROR : String = commandError
[static] commandError イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_ERROR constant defines the value of the type property of an commandError event object.
CommandEvent
  COMMAND_INTERRUPT : String = commandInterrupt
[static] commandInterrupt イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_INTERRUPT constant defines the value of the type property of an commandInterrupt event object.
CommandEvent
  COMMAND_REMOVED : String = commandRemoved
[static] commandRemoved イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_REMOVED constant defines the value of the type property of an commandRemoved event object.
CommandEvent
  COMMAND_START : String = commandStart
[static] commandStart イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_START constant defines the value of the type property of an commandStart event object.
CommandEvent
Property Detail
enforcedInterruptedproperty
enforcedInterrupted:Boolean  [read-only]

コマンドが強制中断処理されたかどうかを取得します。


Implementation
    public function get enforcedInterrupted():Boolean
errorObjectproperty 
errorObject:Error  [read-only]

コマンドオブジェクトからスローされた例外を取得します。


Implementation
    public function get errorObject():Error
Constructor Detail
CommandEvent()Constructor
public function CommandEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, enforcedInterrupted:Boolean = false, errorObject:Error = null)

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

Parameters
type:StringCommandEvent.type としてアクセス可能なイベントタイプです。 The type of the event, accessible as CommandEvent.type.
 
bubbles:Boolean (default = false)CommandEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。 Determines whether the CommandEvent object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false)CommandEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。 Determines whether the CommandEvent object can be canceled. The default values is false.
 
enforcedInterrupted:Boolean (default = false)コマンドが強制中断処理されたかどうかです。
 
errorObject:Error (default = null)コマンドオブジェクトからスローされた例外です。
Method Detail
clone()method
override public function clone():Event

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

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

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

COMMAND_COMPLETEConstant 
public static const COMMAND_COMPLETE:String = commandComplete

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

COMMAND_ERRORConstant 
public static const COMMAND_ERROR:String = commandError

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

COMMAND_INTERRUPTConstant 
public static const COMMAND_INTERRUPT:String = commandInterrupt

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

COMMAND_REMOVEDConstant 
public static const COMMAND_REMOVED:String = commandRemoved

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

COMMAND_STARTConstant 
public static const COMMAND_START:String = commandStart

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

Examples