| 패키지 | mx.core | 
| 클래스 | public class UIComponentDescriptor | 
| 상속 | UIComponentDescriptor    ComponentDescriptor   Object | 
| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Most of the tags in an MXML file describe a tree of UIComponent objects.
  For example, the <mx:Application> tag represents a
  UIComponent object, and its child containers and controls are all
  UIComponent objects.
The MXML compiler compiles each of these MXML tags into a UIComponentDescriptor instance. To be precise, the MXML compiler autogenerates an ActionScript data structure which is a tree of UIComponentDescriptor objects.
At runtime, the createComponentsFromDescriptors() method
  of the Container class uses the information in the UIComponentDescriptor
  objects in the container's childDescriptors array to create
  the actual UIComponent objects that are the container's children,
  plus deeper descendants as well.
  Depending on the value of the container's creationPolicy,
  property, the descendants might be created at application startup,
  when some part of the component is about to become visible,
  or when the application developer manually calls
  the createComponentsFromDescriptors() method.
You do not typically create UIComponentDescriptor instances yourself;
  you can access the ones that the MXML compiler autogenerates via the
  childDescriptors array of the Container class.
관련 API 요소
mx.core.Container.creationPolicy
mx.core.Container.createComponentsFromDescriptors()
| 속성 | 정의 주체 | ||
|---|---|---|---|
![]()  | constructor : Object 
	 지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.  | Object | |
![]()  | document : Object 
      A reference to the document Object in which the component
      is to be created.  | ComponentDescriptor | |
| effects : Array 
      An Array containing the effects for the component, as specified in MXML.  | UIComponentDescriptor | ||
![]()  | events : Object 
      An Object containing name/value pairs for the component's
      event handlers, as specified in MXML.  | ComponentDescriptor | |
![]()  | id : String 
      The identifier for the component, as specified in MXML.  | ComponentDescriptor | |
![]()  | properties : Object [읽기 전용] 
      An Object containing name/value pairs for the component's properties,
      as specified in MXML.  | ComponentDescriptor | |
![]()  | propertiesFactory : Function 
      A Function that returns an Object containing name/value pairs
      for the component's properties, as specified in MXML.  | ComponentDescriptor | |
| stylesFactory : Function 
      A Function that constructs an Object containing name/value pairs
	  for the instance styles for the component, as specified in MXML.  | UIComponentDescriptor | ||
![]()  | type : Class 
      The Class of the component, as specified in MXML.  | ComponentDescriptor | |
| 메서드 | 정의 주체 | ||
|---|---|---|---|
UIComponentDescriptor(descriptorProperties:Object) 
      Constructor.  | UIComponentDescriptor | ||
![]()  | 
	 지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
      Invalidates the cached properties property.  | ComponentDescriptor | |
![]()  | 
	 Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.  | Object | |
![]()  | 
     루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.  | Object | |
![]()  | 
	 로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
      Returns the string "ComponentDescriptor_" plus the value of the  
      id property.  | ComponentDescriptor | |
![]()  | 
	 지정된 객체의 프리미티브 값을 반환합니다.  | Object | |
effects | 속성 | 
public var effects:Array| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
An Array containing the effects for the component, as specified in MXML.
For example, if you write the following code:
<mx:TextInput showEffect="Fade" hideEffect="Fade"/>
The descriptor's effects property is the Array
      [ "showEffect", "hideEffect" ].
The effectsproperty is null
	  if no MXML effects were specified for the component.
Note that the values of the effect attributes are not specified
	  in this property.
	  Instead, effects are treated like styles and therefore are include
	  in the stylesFactory property.
	  The effect Array simply keeps track of which styles
	  in the stylesFactory are actually effects.
This property is used by the Container method
	  createComponentsFromDescriptors()
	  to register the effects with the EffectManager.
stylesFactory | 속성 | 
public var stylesFactory:Function| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
A Function that constructs an Object containing name/value pairs for the instance styles for the component, as specified in MXML.
For example, if you write the following code:
<mx:TextInput borderColor="0x888888" color="0xDDDDDD"/>
Then the descriptors' stylesFactory property
	  is the Function:
	  function():void { this.borderColor = 0x888888; this.color = 0xDDDDDD };
	 
      The stylesFactory property is null
	  if no MXML styles were specified for the component instance.
UIComponentDescriptor | () | 생성자 | 
public function UIComponentDescriptor(descriptorProperties:Object)| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Constructor.
매개 변수descriptorProperties:Object — An Object containing name/value pairs
	  for the  properties of the UIComponentDescriptor object, such as its
	  type, id, propertiesFactory,
	  events, stylesFactory,
	  and effects.
      
       | 
Tue Jun 12 2018, 03:17 PM Z
 
 상속되는 공용 속성 숨기기
 상속되는 공용 속성 표시