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

IRepeaterClient  - AS3 Flex

套件mx.core
介面public interface IRepeaterClient
實作者 UIComponent

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

The IRepeaterClient interface defines the APIs for components that can have multiple instances created by a Repeater. The IRepeaterClient interface is implemented by the UIComponent class and so is inherited by all Flex framework controls and containers.



公用屬性
 屬性定義自
  instanceIndices : Array
An Array that contains the indices required to reference the repeated component instance from its document.
IRepeaterClient
  isDocument : Boolean
[唯讀] Contains true if this UIComponent instance is a document object.
IRepeaterClient
  repeaterIndices : Array
An Array that contains the indices of the items in the data providers of the Repeaters that produced the component.
IRepeaterClient
  repeaters : Array
An Array that contains any enclosing Repeaters of the component.
IRepeaterClient
公用方法
 方法定義自
  
Initializes the instanceIndices, repeaterIndices, and repeaters properties.
IRepeaterClient
屬性詳細資訊

instanceIndices

屬性
instanceIndices:Array

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

An Array that contains the indices required to reference the repeated component instance from its document. This Array is empty unless the component is within one or more Repeaters. The first element corresponds to the outermost Repeater. For example, if the id is "b" and instanceIndices is [ 2, 4 ], you would reference it on the document as b[2][4].



實作
    public function get instanceIndices():Array
    public function set instanceIndices(value:Array):void

isDocument

屬性 
isDocument:Boolean  [唯讀]

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

Contains true if this UIComponent instance is a document object. That means it is at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.



實作
    public function get isDocument():Boolean

repeaterIndices

屬性 
repeaterIndices:Array

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

An Array that contains the indices of the items in the data providers of the Repeaters that produced the component. The Array is empty unless the component is within one or more Repeaters. The first element corresponds to the outermost Repeater component. For example, if repeaterIndices is [ 2, 4 ], the outer Repeater component used its dataProvider[2] data item and the inner Repeater component used its dataProvider[4] data item.

This property differs from instanceIndices if the startingIndex of any of the Repeater components is non-zero. For example, even if a Repeater component starts at dataProvider item 4, the document reference of the first repeated component is b[0], not b[4].



實作
    public function get repeaterIndices():Array
    public function set repeaterIndices(value:Array):void

repeaters

屬性 
repeaters:Array

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

An Array that contains any enclosing Repeaters of the component. The Array is empty unless the component is within one or more Repeaters. The first element corresponds to the outermost Repeater.



實作
    public function get repeaters():Array
    public function set repeaters(value:Array):void
方法詳細資訊

initializeRepeaterArrays

()方法
public function initializeRepeaterArrays(parent:IRepeaterClient):void

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

Initializes the instanceIndices, repeaterIndices, and repeaters properties.

This method is called by the Flex framework. Developers should not need to call it.

參數

parent:IRepeaterClient — The parent Repeater that created this component.





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

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