| Package | jp.progression.core.commands |
| Class | public class CommandExecutor |
| Inheritance | CommandExecutor EventIntegrator flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| enforcedInterrupting : Boolean [read-only]
コマンドが強制中断処理中かどうかを取得します。
| CommandExecutor | ||
| interrupting : Boolean [read-only]
コマンドが中断処理中かどうかを取得します。
| CommandExecutor | ||
| running : Boolean [read-only]
コマンドが実行中かどうかを取得します。
| CommandExecutor | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void [override]
イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。
このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。
Register the event listener object into the EventIntegrator instance to get the event notification. | EventIntegrator | |
![]() | 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. | EventIntegrator | |
![]() | completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventIntegrator インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。
Remove the listener from EventIntegrator instance. | EventIntegrator | |
![]() | dispatchEvent(event:Event):Boolean [override]
イベントをイベントフローに送出します。
Dispatches an event into the event flow.
| EventIntegrator | |
![]() | hasEventListener(type:String):Boolean [override]
EventIntegrator インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| EventIntegrator | |
![]() | removeAllListeners(completely:Boolean = false):void
addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。
完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。
Remove the whole event listener registered via addEventListener() method. | EventIntegrator | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void [override]
EventIntegrator インスタンスからリスナーを削除します。
このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。
Remove the listener from EventIntegrator instance. | EventIntegrator | |
![]() | restoreRemovedListeners():void
removeEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。
Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
| EventIntegrator | |
toString():String [override]
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| CommandExecutor | ||
![]() | willTrigger(type:String):Boolean [override]
指定されたイベントタイプについて、この EventIntegrator インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| EventIntegrator | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| コマンドの処理が完了した場合に送出されます。 | CommandExecutor | |||
| コマンド処理中にエラーが発生した場合に送出されます。 | CommandExecutor | |||
| コマンドの処理を停止した場合に送出されます。 | CommandExecutor | |||
| コマンドの処理が開始された場合に送出されます。 | CommandExecutor | |||
| __parallelMode | property |
__parallelMode:BooleanCommandExecutor の実行方法を並列処理にするかどうかを取得または設定します。
progression_internal function get __parallelMode():Boolean progression_internal function set __parallelMode(value:Boolean):void| __parent | property |
__parent:CommandExecutor [read-only] この CommandExecutor を子に含んでいる親の CommandExecutor インスタンスを取得します。
progression_internal function get __parent():CommandExecutor| __root | property |
__root:CommandExecutor [read-only] CommandExecutor ツリー構造の一番上に位置するコマンドを取得します。
progression_internal function get __root():CommandExecutor| enforcedInterrupting | property |
enforcedInterrupting:Boolean [read-only] コマンドが強制中断処理中かどうかを取得します。
public function get enforcedInterrupting():Boolean| interrupting | property |
interrupting:Boolean [read-only] コマンドが中断処理中かどうかを取得します。
public function get interrupting():Boolean| running | property |
running:Boolean [read-only] コマンドが実行中かどうかを取得します。
public function get running():Boolean| toString | () | method |
override public function toString():String指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ReturnsString —
オブジェクトのストリング表現です。
A string representation of the object.
|
| commandComplete | Event |
jp.progression.events.CommandEventjp.progression.events.CommandEvent.COMMAND_COMPLETEコマンドの処理が完了した場合に送出されます。
commandComplete イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_COMPLETE constant defines the value of the type property of an commandComplete event object.| commandError | Event |
jp.progression.events.CommandEventjp.progression.events.CommandEvent.COMMAND_ERRORコマンド処理中にエラーが発生した場合に送出されます。
commandError イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_ERROR constant defines the value of the type property of an commandError event object.| commandInterrupt | Event |
jp.progression.events.CommandEventjp.progression.events.CommandEvent.COMMAND_INTERRUPTコマンドの処理を停止した場合に送出されます。
commandInterrupt イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_INTERRUPT constant defines the value of the type property of an commandInterrupt event object.| commandStart | Event |
jp.progression.events.CommandEventjp.progression.events.CommandEvent.COMMAND_STARTコマンドの処理が開始された場合に送出されます。
commandStart イベントオブジェクトの type プロパティ値を定義します。 The CommandEvent.COMMAND_START constant defines the value of the type property of an commandStart event object.