| 包 | mx.automation |
| 接口 | public interface IAutomationClass |
| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
公共属性
| 属性 | 由以下参数定义 | ||
|---|---|---|---|
| name : String [只读]
类名称。 | IAutomationClass | ||
| propertyNameMap : Object [只读]
包含将属性名称映射到描述符的映射的 Object。 | IAutomationClass | ||
| superClassName : String [只读]
类的 superclass 的名称。 | IAutomationClass | ||
公共方法
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
返回指定事件对象的 IAutomationEventDescriptor 对象。 | IAutomationClass | ||
返回事件名称中的 IAutomationEventDescriptor 对象。 | IAutomationClass | ||
返回方法名称中的 IAutomationMethodDescriptorfrom 对象。 | IAutomationClass | ||
getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
返回此类支持的属性列表。 | IAutomationClass | ||
属性详细信息
name | 属性 |
propertyNameMap | 属性 |
superClassName | 属性 |
方法详细信息
getDescriptorForEvent | () | 方法 |
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
返回指定事件对象的 IAutomationEventDescriptor 对象。
参数
event:Event — 描述符所需的事件。
|
IAutomationEventDescriptor |
getDescriptorForEventByName | () | 方法 |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
返回事件名称中的 IAutomationEventDescriptor 对象。
参数
eventName:String — 描述符所需的事件名称。
|
IAutomationEventDescriptor — 如果某个对象可用,则传入名称的事件描述符。否则为 null。
|
getDescriptorForMethodByName | () | 方法 |
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
返回方法名称中的 IAutomationMethodDescriptorfrom 对象。
参数
methodName:String — 需要描述符的方法名称。
|
IAutomationMethodDescriptor — 如果某个对象可用,则传入名称的方法描述符。否则为 null。
|
getPropertyDescriptors | () | 方法 |
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
返回此类支持的属性列表。
参数
objForInitialization:Object (default = null) — 可用于查找属性的 ActionScript 类型的对象。
| |
forVerification:Boolean (default = true) — 如果为 true,则指示用于验证的属性应包含在返回值中。
| |
forDescription:Boolean (default = true) — 如果为 true,则指示用于对象标识的属性应包含在返回值中。
|
Array — 包含属性描述的数组。
|
Tue Jun 12 2018, 11:04 AM Z