Pacchetto | com.adobe.gravity.utility.factory |
Classe | public class FactoryAdapter |
Ereditarietà | FactoryAdapter Object |
Implementa | IFactory |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | AIR 1.1, Flash Player 9 |
Proprietà pubbliche
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
Construct a FactoryAdapter that will use the provided function to produce instances. | FactoryAdapter | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | 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 | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
Descrizione della funzione di costruzione
FactoryAdapter | () | Funzione di costruzione |
public function FactoryAdapter(factoryFunction:Function, params:Array)
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | AIR 1.1, Flash Player 9 |
Construct a FactoryAdapter that will use the provided function to produce instances.
ParametrifactoryFunction: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.
|
Descrizione dei metodi
newInstance | () | metodo |
public function newInstance(... params):com.adobe.gravity.utility.async:IToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versioni runtime: | 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.
Parametri
... 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, 02:44 PM Z