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 |
See also
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 | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
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 |
name:String
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The name of the method.
Implementation
public function get name():String
returnType | property |
returnType:String
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Implementation
public function get returnType():String
Constructor Detail
AutomationMethodDescriptor | () | Constructor |
public function AutomationMethodDescriptor(name:String, asMethodName:String, returnType:String, args:Array)
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Parameters
name:String | |
asMethodName:String | |
returnType:String | |
args:Array |
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 May 20 2010, 02:19 AM -07:00