Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The ClassFactory class is the basic implementation
of an IFactory that will generate multiple
instances of item renderers or custom classes.
public var generator:Class
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The class to instantiate.
public var properties:Object
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Initial properties assigned to each instance.
public function ClassFactory(generator:Class = null)
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
Parameters | generator:Class (default = null )
|
public function newInstance():*
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
This method is called to generate a new instance of
an item renderer or other custom class.
Returns | * — A new instance of an item renderer or other custom class.
|
Wed Jul 9 2014, 10:38 PM -07:00