Paket | com.adobe.gravity.utility.factory |
Sınıf | public class FactoryAdapter |
Miras Alma | FactoryAdapter Object |
Uygular | IFactory |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Çalışma Zamanı Sürümleri: | AIR 1.1, Flash Player 9 |
Genel Yöntemler
Yöntem | Tanımlayan: | ||
---|---|---|---|
Construct a FactoryAdapter that will use the provided function to produce instances. | FactoryAdapter | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | 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 | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Belirtilen nesnenin dize olarak temsil edilen halini döndürür. | Object | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
Yapıcı Ayrıntı
FactoryAdapter | () | Yapıcı |
public function FactoryAdapter(factoryFunction:Function, params:Array)
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Çalışma Zamanı Sürümleri: | AIR 1.1, Flash Player 9 |
Construct a FactoryAdapter that will use the provided function to produce instances.
ParametrelerfactoryFunction: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.
|
Yöntem Ayrıntısı
newInstance | () | yöntem |
public function newInstance(... params):com.adobe.gravity.utility.async:IToken
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Çalışma Zamanı Sürümleri: | 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.
Parametreler
... 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, 01:09 PM Z