Packagejp.sourceforge.larch.core.action.command.impl
Classpublic class ExecFunctionCommand
InheritanceExecFunctionCommand Inheritance SyncCommand Inheritance Command

関数実行コマンド



Public Properties
 PropertyDefined by
 InheritednextCommand : Command
次に実行するコマンド
Command
Protected Properties
 PropertyDefined by
 InheritedresultValue : Object
コンストラクタで指定した結果の設定先に結果を設定します。
Command
Public Methods
 MethodDefined by
  
ExecFunctionCommand(aFunction:Function, aArgs:Array = null, aTarget:Object = null, aTargetProperty:String = null)
コンストラクタ
ExecFunctionCommand
 Inherited
execute():void
サブクラスのコマンド処理を実行します。 実行が正常終了したらnextCommandを実行します。
SyncCommand
Protected Methods
 MethodDefined by
  
doExecute():Boolean
関数を実行し、結果をresultValueに設定します。
ExecFunctionCommand
Constructor detail
ExecFunctionCommand()constructor
public function ExecFunctionCommand(aFunction:Function, aArgs:Array = null, aTarget:Object = null, aTargetProperty:String = null)

コンストラクタ

Parameters
aFunction:Function — 実行する関数
 
aArgs:Array (default = null) — aFunctionの引数
 
aTarget:Object (default = null) — 関数実行結果の設定先
 
aTargetProperty:String (default = null) — 関数実行結果の設定先のプロパティ名
Method detail
doExecute()method
protected override function doExecute():Boolean

関数を実行し、結果をresultValueに設定します。

Returns
Boolean — 常にtrue