| Package | mx.automation |
| Interface | public interface IAutomationEventDescriptor |
| Implementors | AutomationEventDescriptor |
| Language Version: | ActionScript 3.0 |
| Product Version: | Flex 3 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
Learn more
Public Properties
| Property | Defined 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
| Method | Defined 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 |
eventType | property |
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():StringMethod 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.
|
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.
|
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.
|
Object — null
|
Mon Nov 28 2011, 06:48 AM -08:00