套件 | mx.automation |
介面 | public interface IAutomationMethodDescriptor |
實作者 | AutomationMethodDescriptor |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
更多範例
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
name : String [唯讀]
The name of the method. | IAutomationMethodDescriptor | ||
returnType : String [唯讀]
The return type of the method. | IAutomationMethodDescriptor |
公用方法
方法 | 定義自 | ||
---|---|---|---|
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 |
屬性詳細資訊
name | 屬性 |
returnType | 屬性 |
方法詳細資訊
getArgDescriptors | () | 方法 |
public function getArgDescriptors(obj:IAutomationObject):Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns an Array of argument descriptors for this method.
參數
obj:IAutomationObject — Instance of the IAutomationObject that
supports this method.
|
Array — Array of argument descriptors for this method.
|
record | () | 方法 |
public function record(target:IAutomationObject, event:Event):Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Encodes an automation event arguments into an Array. Not all method descriptors support recording.
參數
target:IAutomationObject — Automation event that is being recorded.
| |
event:Event |
Array — Array of argument descriptors.
|
replay | () | 方法 |
public function replay(target:IAutomationObject, args:Array):Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Decodes an argument array and invokes a method.
參數
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, 03:47 PM Z