套件 | mx.automation |
介面 | public interface IAutomationClass |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
更多範例
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
name : String [唯讀]
The class name. | IAutomationClass | ||
propertyNameMap : Object [唯讀]
An Object containing a map to map a property name to descriptor. | IAutomationClass | ||
superClassName : String [唯讀]
The name of the class's superclass. | IAutomationClass |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Returns an IAutomationEventDescriptor object
for the specified event object. | IAutomationClass | ||
Returns an IAutomationEventDescriptor object from the event's name. | IAutomationClass | ||
Returns an IAutomationMethodDescriptorfrom object
from the method's name. | IAutomationClass | ||
getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Returns the list of properties this class supports. | IAutomationClass |
屬性詳細資訊
name | 屬性 |
propertyNameMap | 屬性 |
propertyNameMap:Object
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
An Object containing a map to map a property name to descriptor. The following example uses this property:
var descriptor:IAutomationPropertyDescriptor = map[propertyNameMap];
實作
public function get propertyNameMap():Object
superClassName | 屬性 |
方法詳細資訊
getDescriptorForEvent | () | 方法 |
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns an IAutomationEventDescriptor
object
for the specified event object.
參數
event:Event — The event for which the descriptor is required.
|
IAutomationEventDescriptor |
getDescriptorForEventByName | () | 方法 |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns an IAutomationEventDescriptor
object from the event's name.
參數
eventName:String — The event name for which the descriptor is required.
|
IAutomationEventDescriptor — The event descriptor for the name passed if one is available.
Otherwise null.
|
getDescriptorForMethodByName | () | 方法 |
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns an IAutomationMethodDescriptorfrom
object
from the method's name.
參數
methodName:String — The method name for which the descriptor is required.
|
IAutomationMethodDescriptor — The method descriptor for the name passed if one is available.
Otherwise, 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 |
Returns the list of properties this class supports.
參數
objForInitialization:Object (default = null ) — Object which can be used to find the
ActionScript type of the properties.
| |
forVerification:Boolean (default = true ) — If true , indicates that properties used
for verification should be included in the return value.
| |
forDescription:Boolean (default = true ) — If true , indicates that properties used
for object identitication should be included in the return value.
|
Array — Array containing property descriptions.
|
Tue Jun 12 2018, 03:47 PM Z