適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
mx.core 

IFactory  - AS3 Flex

套件mx.core
介面public interface IFactory
實作者 ClassFactory, PanelBreak

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

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 example, a DataGridColumn has an itemRenderer of type IFactory; it calls itemRenderer.newInstance() to create the cells for a particular column of the DataGrid.

相關 API 元素



公用方法
 方法定義自
  
Creates an instance of some class (determined by the class that implements IFactory).
IFactory
方法詳細資訊

newInstance

()方法
public function newInstance():*

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

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

傳回值
* — The newly created instance.




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。