This page was saved using jaction on 2006-09-04 8:33:37.
Address: http://flexdocs.kr/docs/flex2/langref/mx/core/DeferredInstanceFromFunction.html
Title: mx.core.DeferredInstanceFromFunction (Flex™ 2 레퍼런스 가이드)  •  Size: 19074
Packagemx.core
Classpublic class DeferredInstanceFromFunction
InheritanceDeferredInstanceFromFunction Inheritance Object
ImplementsIDeferredInstance

제네레이터 함수를 사용해 필요하게 되고 있는 object의 인스턴스를 작성하는 지연 인스턴스 팩토리입니다. 어플리케이션은 getInstance() Methods를 사용해, object의 인스턴스가 처음으로 필요하게 되었을 때에 그것을 작성해, 그 이후는 object에의 참조를 취득합니다.

See also

DeferredInstanceFromClass


Public property
 property정의
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
Public Methods
 Methods정의
  DeferredInstanceFromFunction (generator:Function )
constructor   .
DeferredInstanceFromFunction
  getInstance ():Object
필요한 object의 인스턴스에의 참조를 돌려줍니다.
DeferredInstanceFromFunction
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedtoString ():String
지정된 object의 string 표현을 돌려줍니다.
Object
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
constructor    의 상세
DeferredInstanceFromFunction()constructor   
public 함수 DeferredInstanceFromFunction(generator:Function )

constructor   .

Parameters
generator:Function — 필요한 object의 인스턴스를 작성해, 돌려주는 함수입니다.
Methods의 상세
getInstance()Methods
public function getInstance():Object

필요한 object의 인스턴스에의 참조를 돌려줍니다. 필요한 object의 인스턴스가 없는 경우는, 이 클래스의 generator constructor    Parameters로 지정된 함수를 호출합니다.

반환값
Object — object의 인스턴스입니다.






 

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

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