| Paket | mx.automation |
| Gränssnitt | public interface IAutomationMethodDescriptor |
| Implementorer | AutomationMethodDescriptor |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Publika egenskaper
| Egenskap | Definieras med | ||
|---|---|---|---|
| name : String [skrivskyddad]
The name of the method. | IAutomationMethodDescriptor | ||
| returnType : String [skrivskyddad]
The return type of the method. | IAutomationMethodDescriptor | ||
Publika metoder
| Metod | Definieras med | ||
|---|---|---|---|
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 | ||
Egenskapsdetaljer
name | egenskap |
returnType | egenskap |
Metoddetaljer
getArgDescriptors | () | metod |
public function getArgDescriptors(obj:IAutomationObject):Array| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns an Array of argument descriptors for this method.
Parametrar
obj:IAutomationObject — Instance of the IAutomationObject that
supports this method.
|
Array — Array of argument descriptors for this method.
|
record | () | metod |
public function record(target:IAutomationObject, event:Event):Array| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Encodes an automation event arguments into an Array. Not all method descriptors support recording.
Parametrar
target:IAutomationObject — Automation event that is being recorded.
| |
event:Event |
Array — Array of argument descriptors.
|
replay | () | metod |
public function replay(target:IAutomationObject, args:Array):Object| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Decodes an argument array and invokes a method.
Parametrar
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.
|
Tue Jun 12 2018, 01:40 PM Z