| Package | jp.sourceforge.larch.core.command |
| Class | public class AsyncCommand |
| Inheritance | AsyncCommand Command |
| Property | Defined by | ||
|---|---|---|---|
| commandResult : Boolean [write-only]
サブクラスのコマンド実行結果のバンディングメソッドです。
サブクラスの処理が正常終了の場合、次のコマンドを実行します。
| AsyncCommand | ||
![]() | resultValue : Object
コンストラクタで指定した結果の設定先に結果を設定します。
| Command | |
| Method | Defined by | ||
|---|---|---|---|
|
AsyncCommand(aTarget:Object = null, aTargetProperty:String = null)
コンストラクタ
| AsyncCommand | ||
|
execute():void
サブクラスのコマンド処理を実行します。
| AsyncCommand | ||
| Method | Defined by | ||
|---|---|---|---|
|
doExecute():void
コマンドの処理を実行します。
サブクラスにて実装してください。
コマンド実行後、実行結果をprotectedメンバ変数resultに設定してください。
| AsyncCommand | ||
| commandResult | property |
commandResult:Boolean [write-only]サブクラスのコマンド実行結果のバンディングメソッドです。 サブクラスの処理が正常終了の場合、次のコマンドを実行します。
Implementation protected function set commandResult(value:Boolean):void
| AsyncCommand | () | constructor |
public function AsyncCommand(aTarget:Object = null, aTargetProperty:String = null)コンストラクタ
ParametersaTarget:Object (default = null) — 結果の設定先
|
|
aTargetProperty:String (default = null) — 結果の設定先のプロパティ名
|
| doExecute | () | method |
protected function doExecute():voidコマンドの処理を実行します。 サブクラスにて実装してください。 コマンド実行後、実行結果をprotectedメンバ変数resultに設定してください。
| execute | () | method |
public override function execute():voidサブクラスのコマンド処理を実行します。