Pakket | com.adobe.gravity.utility.factory |
Klasse | public class FactoryAdapter |
Overerving | FactoryAdapter Object |
Implementatie | IFactory |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Openbare eigenschappen
Openbare methoden
Methode | Gedefinieerd door | ||
---|---|---|---|
Construct a FactoryAdapter that will use the provided function to produce instances. | FactoryAdapter | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | 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 | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Constructordetails
FactoryAdapter | () | Constructor |
public function FactoryAdapter(factoryFunction:Function, params:Array)
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | AIR 1.1, Flash Player 9 |
Construct a FactoryAdapter that will use the provided function to produce instances.
ParametersfactoryFunction: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.
|
Methodedetails
newInstance | () | methode |
public function newInstance(... params):com.adobe.gravity.utility.async:IToken
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Runtimeversies: | 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.
Parameters
... 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.
|
Wed Jun 13 2018, 11:42 AM Z