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

Package | org.apache.flex.core
Interface | public interface IFactory
Implementors | ClassFactory

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IFactory interface is the basic interface used as the type for properties that specify a factory for item renderers and other scenarios where multiple copies of a custom class are generated.

Public Methods

| Method | Defined By
--- | --- | ---
|  | newInstance():* This method is called to generate a new instance of an item renderer or other custom class. | IFactory

Method Detail

newInstance | () | method

`public function newInstance():*`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

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.

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