| Pacchetto | mx.automation |
| Interfaccia | public interface IAutomationClass |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Altri esempi
Proprietà pubbliche
| Proprietà | Definito da | ||
|---|---|---|---|
| name : String [sola lettura]
The class name. | IAutomationClass | ||
| propertyNameMap : Object [sola lettura]
An Object containing a map to map a property name to descriptor. | IAutomationClass | ||
| superClassName : String [sola lettura]
The name of the class's superclass. | IAutomationClass | ||
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
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 | ||
Descrizione delle proprietà
name | proprietà |
propertyNameMap | proprietà |
propertyNameMap:Object [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | 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];
Implementazione
public function get propertyNameMap():ObjectsuperClassName | proprietà |
Descrizione dei metodi
getDescriptorForEvent | () | metodo |
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns an IAutomationEventDescriptor object
for the specified event object.
Parametri
event:Event — The event for which the descriptor is required.
|
IAutomationEventDescriptor |
getDescriptorForEventByName | () | metodo |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns an IAutomationEventDescriptor object from the event's name.
Parametri
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 | () | metodo |
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns an IAutomationMethodDescriptorfrom object
from the method's name.
Parametri
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 | () | metodo |
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns the list of properties this class supports.
Parametri
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, 02:44 PM Z