Packagejp.sourceforge.larch.core.action.command
Classpublic class AsyncCommand
InheritanceAsyncCommand Inheritance Command

非同期処理コマンド基底クラス



Public Properties
 PropertyDefined by
 InheritednextCommand : Command
次に実行するコマンド
Command
Protected Properties
 PropertyDefined by
  commandResult : Boolean
[write-only] サブクラスのコマンド実行結果のバンディングメソッドです。 サブクラスの処理が正常終了の場合、次のコマンドを実行します。
AsyncCommand
 InheritedresultValue : Object
コンストラクタで指定した結果の設定先に結果を設定します。
Command
Public Methods
 MethodDefined by
  
AsyncCommand(aTarget:Object = null, aTargetProperty:String = null)
コンストラクタ
AsyncCommand
  
execute():void
サブクラスのコマンド処理を実行します。
AsyncCommand
Protected Methods
 MethodDefined by
  
doExecute():void
コマンドの処理を実行します。 サブクラスにて実装してください。 コマンド実行後、実行結果をprotectedメンバ変数resultに設定してください。
AsyncCommand
Property detail
commandResultproperty
commandResult:Boolean  [write-only]

サブクラスのコマンド実行結果のバンディングメソッドです。 サブクラスの処理が正常終了の場合、次のコマンドを実行します。

Implementation
    protected function set commandResult(value:Boolean):void
Constructor detail
AsyncCommand()constructor
public function AsyncCommand(aTarget:Object = null, aTargetProperty:String = null)

コンストラクタ

Parameters
aTarget:Object (default = null) — 結果の設定先
 
aTargetProperty:String (default = null) — 結果の設定先のプロパティ名
Method detail
doExecute()method
protected function doExecute():void

コマンドの処理を実行します。 サブクラスにて実装してください。 コマンド実行後、実行結果をprotectedメンバ変数resultに設定してください。

execute()method 
public override function execute():void

サブクラスのコマンド処理を実行します。