Paket | mx.automation |
Gränssnitt | public interface IAutomationClass |
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 class name. | IAutomationClass | ||
propertyNameMap : Object [skrivskyddad]
An Object containing a map to map a property name to descriptor. | IAutomationClass | ||
superClassName : String [skrivskyddad]
The name of the class's superclass. | IAutomationClass |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
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 |
Egenskapsdetaljer
name | egenskap |
propertyNameMap | egenskap |
propertyNameMap:Object
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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];
Implementering
public function get propertyNameMap():Object
superClassName | egenskap |
Metoddetaljer
getDescriptorForEvent | () | metod |
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns an IAutomationEventDescriptor
object
for the specified event object.
Parametrar
event:Event — The event for which the descriptor is required.
|
IAutomationEventDescriptor |
getDescriptorForEventByName | () | metod |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns an IAutomationEventDescriptor
object from the event's name.
Parametrar
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 | () | metod |
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns an IAutomationMethodDescriptorfrom
object
from the method's name.
Parametrar
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 | () | metod |
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the list of properties this class supports.
Parametrar
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, 01:40 PM Z