Pakket | mx.automation |
Klasse | public class AutomationClass |
Overerving | AutomationClass Object |
Implementatie | IAutomationClass2 |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Meer voorbeelden
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
implementationVersion : int
Version of the implementation classes. | AutomationClass | ||
name : String [alleen-lezen]
the class name
| AutomationClass | ||
previousVersionClassNames : Array
An array of names of the classes that are compatible with current class. | AutomationClass | ||
propertyNameMap : Object [alleen-lezen]
private
| AutomationClass | ||
superClassName : String [alleen-lezen]
The name of the class's superclass. | AutomationClass |
Methode | Gedefinieerd door | ||
---|---|---|---|
AutomationClass | |||
Add Flex class names which match this class description. | AutomationClass | ||
[statisch]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[statisch]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[statisch]
Returns the fully qualified name of the class to which the object belongs. | AutomationClass | ||
[statisch]
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 | ||
[statisch]
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 | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
AutomationClass | |||
Retourneert de primitieve waarde van het opgegeven object. | Object |
implementationVersion | eigenschap |
implementationVersion:int
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | 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
Implementatie
public function get implementationVersion():int
public function set implementationVersion(value:int):void
name | eigenschap |
previousVersionClassNames | eigenschap |
previousVersionClassNames:Array
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
An array of names of the classes that are compatible with current class.
Implementatie
public function get previousVersionClassNames():Array
public function set previousVersionClassNames(value:Array):void
propertyNameMap | eigenschap |
superClassName | eigenschap |
AutomationClass | () | Constructor |
addImplementationClassName | () | methode |
fillInASTypesFromMethods | () | methode |
public static function fillInASTypesFromMethods(dtForClass:XML, methodName:String, argDescriptors:Array):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
Parameters
dtForClass:XML | |
methodName:String | |
argDescriptors:Array |
fillInASTypesFromProperties | () | methode |
public static function fillInASTypesFromProperties(dtForClass:XML, propertyDescriptors:Array):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
Parameters
dtForClass:XML | |
propertyDescriptors:Array |
getClassName | () | methode |
public static function getClassName(obj:Object):String
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the fully qualified name of the class to which the object belongs.
Parameters
obj:Object — The object whose class name is desired
|
String — Fully qualified name of the class
|
getDefinitionFromObjectDomain | () | methode |
public static function getDefinitionFromObjectDomain(obj:Object, className:String):Class
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Utility function that returns the class definition from the domain of a object instance
Parameters
obj:Object | |
className:String |
Class |
getDescriptorForEvent | () | methode |
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Translates between component event and Automation method descriptor
Parameters
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 | () | methode |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
Parameters
eventName:String |
IAutomationEventDescriptor |
getDescriptorForMethodByName | () | methode |
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns a full methodDescriptor from its name
Parameters
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 | () | methode |
getPropertyDescriptors | () | methode |
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the list of properties this class supports.
Parameters
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 | () | methode |
Wed Jun 13 2018, 11:42 AM Z