パッケージ | com.adobe.gravity.utility.factory |
クラス | public class FactoryAdapter |
継承 | FactoryAdapter Object |
実装 | IFactory |
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
ランタイムバージョン: | AIR 1.1, Flash Player 9 |
パブリックプロパティ
パブリックメソッド
メソッド | 定義元 | ||
---|---|---|---|
Construct a FactoryAdapter that will use the provided function to produce instances. | FactoryAdapter | ||
オブジェクトに指定されたプロパティが定義されているかどうかを示します。 | Object | ||
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。 | Object | ||
Create a new instance of an object by calling the provided factory function with the parameters passed in the constructor followed by the parameters provided here. | FactoryAdapter | ||
指定されたプロパティが存在し、列挙できるかどうかを示します。 | Object | ||
ループ処理に対するダイナミックプロパティの可用性を設定します。 | Object | ||
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。 | Object | ||
指定されたオブジェクトのストリング表現を返します。 | Object | ||
指定されたオブジェクトのプリミティブな値を返します。 | Object |
コンストラクターの詳細
FactoryAdapter | () | コンストラクター |
public function FactoryAdapter(factoryFunction:Function, params:Array)
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
ランタイムバージョン: | AIR 1.1, Flash Player 9 |
Construct a FactoryAdapter that will use the provided function to produce instances.
パラメーターfactoryFunction:Function — The actual factory function. The function must return an IToken; the success handlers of the IToken must receive a single object, that object being the "new instance" of interest.
| |
params:Array — Any parameters to be passed to factoryFunction.
|
メソッドの詳細
newInstance | () | メソッド |
public function newInstance(... params):com.adobe.gravity.utility.async:IToken
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
ランタイムバージョン: | AIR 1.1, Flash Player 9 |
Create a new instance of an object by calling the provided factory function with the parameters passed in the constructor followed by the parameters provided here.
パラメーター
... params — Any extra parameters to be provided to the factory function.
|
com.adobe.gravity.utility.async:IToken — A token used to set success and failure handlers to be called when the operation has completed. The success handler must be called with the new instance.
|
Tue Jun 12 2018, 10:34 AM Z