(仅� Flex 数��视化)
包mx.automation
接�public interface IAutomationEventDescriptor

IAutomationEventDescriptor 接�定义事件�述符的接�。



公共属性
 å±žæ€§å®šä¹‰æ–¹
  eventClassName : String
[�读 (read-only)] 实现此事件的类的�称。
IAutomationEventDescriptor
  eventType : String
[�读 (read-only)] 用于此事件的类型属性的值。
IAutomationEventDescriptor
  name : String
[�读 (read-only)] 代�看到此事件时的事件�称。
IAutomationEventDescriptor
公共方法
 æ–¹æ³•定义方
  
返回此事件的�数�述符 Array。
IAutomationEventDescriptor
  
将自动化事件�数编�为 Array。
IAutomationEventDescriptor
  
解��数 Array 并�放事件。
IAutomationEventDescriptor
属性详细信�
eventClassName属性
eventClassName:String  [å�ªè¯» (read-only)]

实现此事件的类的�称。



实现
    public function get eventClassName():String
eventType属性 
eventType:String  [å�ªè¯» (read-only)]

用于此事件的 type 属性的值。



实现
    public function get eventType():String
name属性 
name:String  [å�ªè¯» (read-only)]

代�看到此事件时的事件�称。AutomationManager 使用此�称填写 AutomationRecordEvent.name 属性。



实现
    public function get name():String
方法详细信�
getArgDescriptors()方法
public function getArgDescriptors(target:IAutomationObject):Array

返回此事件的�数�述符 Array。

�数

target:IAutomationObject — 支æŒ�此事件的 IAutomationObject 实例。

返回
Array — 此事件的å�‚æ•°æ��述符数组。
record()方法 
public function record(target:IAutomationObject, event:Event):Array

将自动化事件�数编�为 Array。

�数

target:IAutomationObject — 在其上录制事件的自动化对象。
 
event:Event — 正在记录的自动化事件。

返回
Array — PropertyDescriptor æ��述的事件属性值的数组。
replay()方法 
public function replay(target:IAutomationObject, args:Array):Object

解��数 Array 并�放事件。

�数

target:IAutomationObject — 在其上é‡�放事件的自动化对象。
 
args:Array — 用于é‡�放事件的å�‚数值的数组。

返回
Object — null