Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.automation 
IAutomationEventDescriptor 
Packagemx.automation
Interfacepublic interface IAutomationEventDescriptor
Implementors AutomationEventDescriptor

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

The IAutomationEventDescriptor interface defines the interface for an event descriptor.

See also



Public Properties
 PropertyDefined By
  eventClassName : String
[read-only] The name of the class implementing this event.
IAutomationEventDescriptor
  eventType : String
[read-only] The value of the type property used for this event.
IAutomationEventDescriptor
  name : String
[read-only] The name of this event as the agent sees it.
IAutomationEventDescriptor
Public Methods
 MethodDefined By
  
Returns an Array of argument descriptors for this event.
IAutomationEventDescriptor
  
Encodes an automation event argument into an Array.
IAutomationEventDescriptor
  
Decodes an argument Array and replays the event.
IAutomationEventDescriptor
Property Detail

eventClassName

property
eventClassName:String  [read-only]

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

The name of the class implementing this event.



Implementation
    public function get eventClassName():String

eventType

property 
eventType:String  [read-only]

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

The value of the type property used for this event.



Implementation
    public function get eventType():String

name

property 
name:String  [read-only]

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

The name of this event as the agent sees it. The AutomationManager fills the AutomationRecordEvent.name property with this name.



Implementation
    public function get name():String
Method Detail

getArgDescriptors

()method
public function getArgDescriptors(target:IAutomationObject):Array

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

Returns an Array of argument descriptors for this event.

Parameters

target:IAutomationObject — Instance of the IAutomationObject that supports this event.

Returns
Array — Array of argument descriptors for this event.

record

()method 
public function record(target:IAutomationObject, event:Event):Array

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

Encodes an automation event argument into an Array.

Parameters

target:IAutomationObject — Automation object on which to record the event.
 
event:Event — Automation event that is being recorded.

Returns
Array — Array of property values of the event described by the PropertyDescriptors.

replay

()method 
public function replay(target:IAutomationObject, args:Array):Object

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

Decodes an argument Array and replays the event.

Parameters

target:IAutomationObject — Automation object on which to replay the event.
 
args:Array — Array of argument values to be used to replay the event.

Returns
Object — null