Referenshandbok för ActionScript® 3.0 i Adobe® Flash®-plattformen
Hem  |  Dölj paket och klasslista |  Paket  |  Klasser  |  Nyheter  |  Index  |  Bilagor  |  Varför på engelska?
Filter: Hämtar data från servern ...
Hämtar data från servern ...
mx.core 

IRepeaterClient  - AS3 Flex

Paketmx.core
Gränssnittpublic interface IRepeaterClient
Implementorer UIComponent

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.



Publika egenskaper
 EgenskapDefinieras med
  instanceIndices : Array
An Array that contains the indices required to reference the repeated component instance from its document.
IRepeaterClient
  isDocument : Boolean
[skrivskyddad] 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
Publika metoder
 MetodDefinieras med
  
Initializes the instanceIndices, repeaterIndices, and repeaters properties.
IRepeaterClient
Egenskapsdetaljer

instanceIndices

egenskap
instanceIndices:Array

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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].



Implementering
    public function get instanceIndices():Array
    public function set instanceIndices(value:Array):void

isDocument

egenskap 
isDocument:Boolean  [skrivskyddad]

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.



Implementering
    public function get isDocument():Boolean

repeaterIndices

egenskap 
repeaterIndices:Array

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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].



Implementering
    public function get repeaterIndices():Array
    public function set repeaterIndices(value:Array):void

repeaters

egenskap 
repeaters:Array

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.



Implementering
    public function get repeaters():Array
    public function set repeaters(value:Array):void
Metoddetaljer

initializeRepeaterArrays

()metod
public function initializeRepeaterArrays(parent:IRepeaterClient):void

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

Parametrar

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





[ X ]Varför på engelska?
Innehåll i Referenshandbok för ActionScript 3.0 i Adobe Flash-plattformen är på engelska

Det är inte alla delar av Referenshandbok för ActionScript 3.0 i Adobe Flash-plattformen som översätts till alla språk. Om ett språkelement inte översätts visas det på engelska. Klassen ga.controls.HelpBox översätts till exempel inte till något språk. I den svenska versionen av referenshandboken visas därför klassen ga.controls.HelpBox på engelska.