Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.automation 
Automation 
Packagemx.automation
Classpublic class Automation
InheritanceAutomation Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The Automation class defines the entry point for the Flex Automation framework.

See also



Public Properties
 PropertyDefined By
  automationManager : IAutomationManager
[static] The IAutomationManager instance.
Automation
  automationManager2 : IAutomationManager2
[static] [read-only]
Automation
  automationObjectHelper : IAutomationObjectHelper
[static] [read-only] The available IAutomationObjectHelper instance.
Automation
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  initialized : Boolean
[static] [read-only] Contains true if the automation module has been initialized.
Automation
  mouseSimulator : IAutomationMouseSimulator
[static] The currently active mouse simulator.
Automation
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
[static]
Automation
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
registerDelegateClass(compClass:Class, delegateClass:Class, priority:int = 0):void
[static] Registers the component class and delegate class association with Automation.
Automation
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

automationManager

property
automationManager:IAutomationManager

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The IAutomationManager instance.



Implementation
    public static function get automationManager():IAutomationManager
    public static function set automationManager(value:IAutomationManager):void

automationManager2

property 
automationManager2:IAutomationManager2  [read-only]



Implementation
    public static function get automationManager2():IAutomationManager2

automationObjectHelper

property 
automationObjectHelper:IAutomationObjectHelper  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The available IAutomationObjectHelper instance.



Implementation
    public static function get automationObjectHelper():IAutomationObjectHelper

initialized

property 
initialized:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Contains true if the automation module has been initialized.



Implementation
    public static function get initialized():Boolean

mouseSimulator

property 
mouseSimulator:IAutomationMouseSimulator

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The currently active mouse simulator.



Implementation
    public static function get mouseSimulator():IAutomationMouseSimulator
    public static function set mouseSimulator(value:IAutomationMouseSimulator):void
Method Detail

getMainApplication

()method
public static function getMainApplication():Object

Returns
Object

registerDelegateClass

()method 
public static function registerDelegateClass(compClass:Class, delegateClass:Class, priority:int = 0):void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Registers the component class and delegate class association with Automation.

Parameters

compClass:Class — The component class.
 
delegateClass:Class — The delegate class associated with the component.
 
priority:int (default = 0)