| Package | jp.progression.commands |
| Class | public class Return |
| Inheritance | Return Command flash.events.EventDispatcher |
// SerialList インスタンスを作成する
var com:SerialList = new SerialList();
// コマンドを登録する
com.addCommand(
new Trace( "親の SerialList を実行 ),
new SerialList( null,
new Trace( "子の SerialList を実行 ),
new SerialList( null,
new Trace( "孫の SerialList を実行 ),
// ここで処理を中断する
new Return(),
new Trace( "このコマンドは実行されない" )
),
new Trace( "このコマンドは実行されない" )
),
new Trace( "このコマンドは実行されない" )
);
// コマンドを実行する
com.execute();
| Method | Defined by | ||
|---|---|---|---|
|
Return(initObject:Object = null)
新しい Return インスタンスを作成します。
Creates a new Return object.
| Return | ||
|
Return インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。
Duplicates an instance of an Return subclass.
| Return | ||
![]() |
dispose():void
保持しているデータを解放します。
| Command | |
![]() |
execute(extra:Object = null):void
コマンド処理を実行します。
| Command | |
![]() |
executeComplete():void
実行中のコマンド処理が完了したことを通知します。
このメソッドを実行するためには、事前に execute() メソッドが実行されている必要があります。
| Command | |
![]() |
interrupt(enforced:Boolean = false):void
コマンド処理を中断します。
このメソッドを実行するためには、事前に execute() メソッドが実行されている必要があります。
| Command | |
![]() |
setProperties(parameters:Object):Command
インスタンスに対して、複数のプロパティを一括設定します。
| Command | |
![]() |
toString():String
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| Command | |
| Return | () | constructor |
public function Return(initObject:Object = null)新しい Return インスタンスを作成します。 Creates a new Return object.
ParametersinitObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| clone | () | method |
public override function clone():CommandReturn インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an Return subclass.
ReturnsCommand —
元のオブジェクトと同じプロパティ値を含む新しい Return インスタンスです。
A new Return object that is identical to the original.
|