Packagejp.sourceforge.larch.core.command
Classpublic class Command
SubclassesAsyncCommand, RemotingCommand, SequenceCommand, SyncCommand

コマンド基底クラス



Public Properties
 PropertyDefined by
  nextCommand : Command
次に実行するコマンド
Command
Protected Properties
 PropertyDefined by
  resultValue : Object
[write-only] コンストラクタで指定した結果の設定先に結果を設定します。
Command
Public Methods
 MethodDefined by
  
Command(aTarget:Object = null, aTargetProperty:String = null)
コンストラクタ
Command
  
execute():void
コマンドを実行します。 サブクラスにて実装してください。
Command
Property detail
nextCommandproperty
public var nextCommand:Command

次に実行するコマンド

resultValueproperty 
resultValue:Object  [write-only]

コンストラクタで指定した結果の設定先に結果を設定します。

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

コンストラクタ

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

コマンドを実行します。 サブクラスにて実装してください。