Package | mx.automation |
Class | public class AutomationMethodDescriptor |
Inheritance | AutomationMethodDescriptor Object |
Implements | IAutomationMethodDescriptor |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Learn more
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
name : String [read-only]
The name of the method. | AutomationMethodDescriptor | ||
returnType : String [read-only]
| AutomationMethodDescriptor |
Public Methods
Method | Defined By | ||
---|---|---|---|
AutomationMethodDescriptor | |||
Returns an Array of argument descriptors for this method. | AutomationMethodDescriptor | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Encodes an automation event arguments into an Array. | AutomationMethodDescriptor | ||
Decodes an argument array and invokes a method. | AutomationMethodDescriptor | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
name | property |
returnType | property |
Constructor Detail
AutomationMethodDescriptor | () | Constructor |
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.
|
Thu Dec 6 2018, 01:12 PM -08:00