Package | mx.automation |
Interface | public interface IAutomationMethodDescriptor |
Implementors | AutomationMethodDescriptor |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Learn more
Public Properties
Property | Defined By | ||
---|---|---|---|
name : String [read-only]
The name of the method. | IAutomationMethodDescriptor | ||
returnType : String [read-only]
The return type of the method. | IAutomationMethodDescriptor |
Public Methods
Method | Defined By | ||
---|---|---|---|
Returns an Array of argument descriptors for this method. | IAutomationMethodDescriptor | ||
Encodes an automation event arguments into an Array. | IAutomationMethodDescriptor | ||
Decodes an argument array and invokes a method. | IAutomationMethodDescriptor |
Property Detail
name | property |
returnType | property |
Method Detail
getArgDescriptors | () | method |
public function getArgDescriptors(obj: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 method.
Parameters
obj:IAutomationObject — Instance of the IAutomationObject that
supports this method.
|
Array — Array of argument descriptors for this method.
|
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 arguments into an Array. Not all method descriptors support recording.
Parameters
target:IAutomationObject — Automation event that is being recorded.
| |
event:Event |
Array — Array of argument descriptors.
|
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 invokes a method.
Parameters
target:IAutomationObject — Automation object to replay the method on.
| |
args:Array — Array of argument values and descriptors to
be used to invoke the method.
|
Object — Whatever the method invoked returns.
|
Mon Nov 28 2011, 06:48 AM -08:00