Pacotemx.core
Interfacepublic interface IFactory
ImplementorsClassFactory

The IFactory interface defines the interface that factory classes such as ClassFactory must implement. An object of type IFactory is a "factory object" which Flex uses to generate multiple instances of another class, each with identical properties.

For exemplo, a DataGridColumn has an itemRenderer of type IFactory; it calls itemRenderer.newInstance() to create the cells for a particular column of the DataGrid.

Veja também

mx.core.ClassFactory


Métodos Públicos
 MétodoDefinido por
  
Creates an instance of some class (determined by the class that implements IFactory).
IFactory
Detalhes do método
newInstance()método
public function newInstance():*

Creates an instance of some class (determined by the class that implements IFactory).

Retorna
* — The newly created instance.