| Pakket | mx.automation |
| Interface | public interface IAutomationMethodDescriptor |
| Geïmplementeerd door | AutomationMethodDescriptor |
| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Meer voorbeelden
Openbare eigenschappen
| Eigenschap | Gedefinieerd door | ||
|---|---|---|---|
| name : String [alleen-lezen]
The name of the method. | IAutomationMethodDescriptor | ||
| returnType : String [alleen-lezen]
The return type of the method. | IAutomationMethodDescriptor | ||
Openbare methoden
| Methode | Gedefinieerd door | ||
|---|---|---|---|
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 | ||
Eigenschapdetails
name | eigenschap |
returnType | eigenschap |
Methodedetails
getArgDescriptors | () | methode |
public function getArgDescriptors(obj:IAutomationObject):Array| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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 | () | methode |
public function record(target:IAutomationObject, event:Event):Array| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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 | () | methode |
public function replay(target:IAutomationObject, args:Array):Object| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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.
|
Wed Jun 13 2018, 11:42 AM Z