Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ClassFactory

Package | org.apache.flex.core
Class | public class ClassFactory
Inheritance | ClassFactory Object
Implements | IFactory

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 Properties

| Property | Defined By
--- | --- | ---
|  | generator : Class The class to instantiate. | ClassFactory
|  | properties : Object Initial properties assigned to each instance. | ClassFactory

Public Methods

| Method | Defined By
--- | --- | ---
|  | ClassFactory(generator:Class = null) Constructor. | ClassFactory
|  | newInstance():* | ClassFactory

Property Detail

generator | property

`public var generator:Class`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The class to instantiate.

properties | property |

`public var properties:Object`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Initial properties assigned to each instance.

Constructor Detail

ClassFactory | () | Constructor

`public function ClassFactory(generator:Class = null)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor.

Parameters

| `generator:Class` (default = `null`)``

Method Detail

newInstance | () | method

`public function newInstance():*`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns

| `*`

Mon Sep 5 2016, 07:19 AM -07:00