(仅� Flex 数��视化)
包mx.automation
ç±»public class Automation
继承Automation Inheritance Object

Automation 类定义 Flex 自动化框架的入�点。



公共属性
 å±žæ€§å®šä¹‰æ–¹
  automationManager : IAutomationManager
[��] IAutomationManager 实例。
Automation
  automationObjectHelper : IAutomationObjectHelper
[��] [�读 (read-only)] �用的 IAutomationObjectHelper 实例。
Automation
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
  initialized : Boolean
[��] [�读 (read-only)] 如果已�始化自动化模�,则包� true。
Automation
  mouseSimulator : IAutomationMouseSimulator
[��] 当�活动的鼠标模拟器。
Automation
 Inheritedprototype : Object
[��] 对类或函数对象的原型对象的引用。
Object
公共方法
 æ–¹æ³•定义方
 Inherited
指示对象是�已�定义了指定的属性。
Object
 Inherited
指示 Object 类的实例是�在指定为�数的对象的原型链中。
Object
 Inherited
指示指定的属性是�存在�是��枚举。
Object
  
registerDelegateClass(compClass:Class, delegateClass:Class):void
[��] 注册组件类并委托与 Automation 的类关�。
Automation
 Inherited
设置循环�作动�属性的�用性。
Object
 Inherited
返回指定对象的字符串表示形�。
Object
 Inherited
返回指定对象的原始值。
Object
属性详细信�
automationManager属性
automationManager:IAutomationManager  [读写]

IAutomationManager 实例。



实现
    public static function get automationManager():IAutomationManager
    public function set automationManager(value:IAutomationManager):void
automationObjectHelper属性 
automationObjectHelper:IAutomationObjectHelper  [å�ªè¯» (read-only)]

�用的 IAutomationObjectHelper 实例。



实现
    public static function get automationObjectHelper():IAutomationObjectHelper
initialized属性 
initialized:Boolean  [å�ªè¯» (read-only)]

如果已�始化自动化模�,则包� true。



实现
    public static function get initialized():Boolean
mouseSimulator属性 
mouseSimulator:IAutomationMouseSimulator  [读写]

当�活动的鼠标模拟器。



实现
    public static function get mouseSimulator():IAutomationMouseSimulator
    public function set mouseSimulator(value:IAutomationMouseSimulator):void
方法详细信�
registerDelegateClass()方法
public static function registerDelegateClass(compClass:Class, delegateClass:Class):void

注册组件类并委托与 Automation 的类关�。

�数

compClass:Class — 组件类。
 
delegateClass:Class — 与组件关è�”的委托类。