Paket | mx.automation |
Klass | public class AutomationClass |
Arv | AutomationClass Object |
Implementerar | IAutomationClass2 |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
implementationVersion : int
Version of the implementation classes. | AutomationClass | ||
name : String [skrivskyddad]
the class name
| AutomationClass | ||
previousVersionClassNames : Array
An array of names of the classes that are compatible with current class. | AutomationClass | ||
propertyNameMap : Object [skrivskyddad]
private
| AutomationClass | ||
superClassName : String [skrivskyddad]
The name of the class's superclass. | AutomationClass |
Metod | Definieras med | ||
---|---|---|---|
AutomationClass | |||
Add Flex class names which match this class description. | AutomationClass | ||
[statisk]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[statisk]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[statisk]
Returns the fully qualified name of the class to which the object belongs. | AutomationClass | ||
[statisk]
Utility function that returns the class definition from the domain of a
object instance
| AutomationClass | ||
Translates between component event and Automation method descriptor
| AutomationClass | ||
AutomationClass | |||
Returns a full methodDescriptor from its name
| AutomationClass | ||
[statisk]
Returns the major from current version number
| AutomationClass | ||
getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Returns the list of properties this class supports. | AutomationClass | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
AutomationClass | |||
Returnerar det angivna objektets primitiva värde. | Object |
implementationVersion | egenskap |
implementationVersion:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Version of the implementation classes. This version is supposed to be unique for all implementation classes of a single ClassInfo tag in XML
Implementering
public function get implementationVersion():int
public function set implementationVersion(value:int):void
name | egenskap |
previousVersionClassNames | egenskap |
previousVersionClassNames:Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
An array of names of the classes that are compatible with current class.
Implementering
public function get previousVersionClassNames():Array
public function set previousVersionClassNames(value:Array):void
propertyNameMap | egenskap |
superClassName | egenskap |
AutomationClass | () | Konstruktor |
addImplementationClassName | () | metod |
fillInASTypesFromMethods | () | metod |
public static function fillInASTypesFromMethods(dtForClass:XML, methodName:String, argDescriptors:Array):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
Parametrar
dtForClass:XML | |
methodName:String | |
argDescriptors:Array |
fillInASTypesFromProperties | () | metod |
public static function fillInASTypesFromProperties(dtForClass:XML, propertyDescriptors:Array):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
Parametrar
dtForClass:XML | |
propertyDescriptors:Array |
getClassName | () | metod |
public static function getClassName(obj:Object):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the fully qualified name of the class to which the object belongs.
Parametrar
obj:Object — The object whose class name is desired
|
String — Fully qualified name of the class
|
getDefinitionFromObjectDomain | () | metod |
public static function getDefinitionFromObjectDomain(obj:Object, className:String):Class
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Utility function that returns the class definition from the domain of a object instance
Parametrar
obj:Object | |
className:String |
Class |
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 |
Translates between component event and Automation method descriptor
Parametrar
event:Event — The event object for which a method descrptor is required.
|
IAutomationEventDescriptor — The method descriptor for the event passed if one is available.
Otherwise null.
|
getDescriptorForEventByName | () | metod |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
Parametrar
eventName:String |
IAutomationEventDescriptor |
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 a full methodDescriptor from its 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.
|
getMajorVersion | () | metod |
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.
|
toString | () | metod |
Tue Jun 12 2018, 01:40 PM Z