This page was saved using jaction on 2006-09-04 8:33:48.
Address: http://flexdocs.kr/docs/flex2/langref/mx/core/IRepeaterClient.html
Title: mx.core.IRepeaterClient (Flex™ 2 레퍼런스 가이드)  •  Size: 17645
Packagemx.core
인터페이스public interface IRepeaterClient
인프리멘타UIComponent

IRepeaterClient 인터페이스는, Repeater 에 의해 작성된 복수의 인스턴스를 보관 유지할 수 있는 컴퍼넌트의 API 를 정의합니다. IRepeaterClient 인터페이스는, UIComponent 클래스에 의해 Implements되어 모든 Flex 체제 및 컨테이너에 의해 Inheritance됩니다.



Public property
 property정의
  instanceIndices : Array
반복해지는 컴퍼넌트의 인스턴스를 그 문서로부터 참조하기 위해서 필요한 인덱스를 포함한 배열입니다.
IRepeaterClient
  isDocument : Boolean
[read-only] 이 UIComponent 인스턴스가 문서 object인지, 즉 Flex 어플리케이션, MXML 컴퍼넌트, 또는 ActionScript 컴퍼넌트의 계층의 최상정도에 위치할지 어떨지를 지정합니다.
IRepeaterClient
  repeaterIndices : Array
컴퍼넌트를 생성한 Repeater 의 데이터 프로바이더내의 아이템의 인덱스를 포함한 배열입니다.
IRepeaterClient
  repeaters : Array
컴퍼넌트의 주위를 둘러싸는 Repeater 를 포함한 배열입니다.
IRepeaterClient
Public Methods
 Methods정의
  initializeRepeaterArrays (parent:IRepeaterClient ):void
instanceIndices,repeaterIndices, 및 repeaters property를 초기화합니다.
IRepeaterClient
property의 상세
instanceIndicesproperty
instanceIndices:Array   [read-write]

반복해지는 컴퍼넌트의 인스턴스를 그 문서로부터 참조하기 위해서 필요한 인덱스를 포함한 배열입니다. 컴퍼넌트가 Repeater 안에 없는 한, 이 배열은 empty입니다. 최초의 엘리먼트가 가장 외측의 Repeater 를 나타냅니다. 예를 들어,id"b"instanceIndices[ 2, 4 ] 의 경우, 문서상에서 b[2][4] 로서 참조합니다.

Implements
    public function get instanceIndices():Array
    public function set instanceIndices(value:Array ):void
isDocumentproperty 
isDocument:Boolean   [read-only]

이 UIComponent 인스턴스가 문서 object인지, 즉 Flex 어플리케이션, MXML 컴퍼넌트, 또는 ActionScript 컴퍼넌트의 계층의 최상정도에 위치할지 어떨지를 지정합니다.

Implements
    public function get isDocument():Boolean
repeaterIndicesproperty 
repeaterIndices:Array   [read-write]

컴퍼넌트를 생성한 Repeater 의 데이터 프로바이더내의 아이템의 인덱스를 포함한 배열입니다. 컴퍼넌트가 Repeater 안에 없는 한, 이 배열은 empty입니다. 최초의 엘리먼트가 가장 외측의 Repeater 컴퍼넌트를 나타냅니다. 예를 들어,repeaterIndices[ 2, 4 ] 의 경우, 외측의 Repeater 컴퍼넌트에서는 데이터 아이템 dataProvider[2] 가 사용되어 안쪽의 Repeater 컴퍼넌트에서는 데이터 아이템 dataProvider[4] 가 사용됩니다.

몇개의 Repeater 컴퍼넌트의 startingIndex 이 0 이외의 경우, 이 property는 instanceIndices 와 다릅니다. 예를 들어, Repeater 컴퍼넌트가 dataProvider 아이템 4 로부터 개시하는 경우도, 최초로 반복해지는 컴퍼넌트의 문서 참조는 b[4] 는 아니고 b[0] 입니다.

Implements
    public function get repeaterIndices():Array
    public function set repeaterIndices(value:Array ):void
repeatersproperty 
repeaters:Array   [read-write]

컴퍼넌트의 주위를 둘러싸는 Repeater 를 포함한 배열입니다. 컴퍼넌트가 Repeater 안에 없는 한, 이 배열은 empty입니다. 최초의 엘리먼트가 가장 외측의 Repeater 를 나타냅니다.

Implements
    public function get repeaters():Array
    public function set repeaters(value:Array ):void
Methods의 상세
initializeRepeaterArrays()Methods
public function initializeRepeaterArrays(parent:IRepeaterClient ):void

instanceIndices,repeaterIndices, 및 repeaters property를 초기화합니다.

이 Methods는, Flex 체제에 의해 불려 갑니다. 개발자가 그것을 호출할 필요는 없습니다.

Parameters
parent:IRepeaterClient






 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/core/IRepeaterClient.html