Package | mx.automation |
Class | public class AutomationClass |
Inheritance | AutomationClass Object |
Implements | IAutomationClass2 |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Learn more
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
implementationVersion : int
Version of the implementation classes. | AutomationClass | ||
name : String [read-only]
the class name
| AutomationClass | ||
previousVersionClassNames : Array
An array of names of the classes that are compatible with current class. | AutomationClass | ||
propertyNameMap : Object [read-only]
private
| AutomationClass | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
superClassName : String [read-only]
The name of the class's superclass. | AutomationClass |
Method | Defined By | ||
---|---|---|---|
AutomationClass | |||
Add Flex class names which match this class description. | AutomationClass | ||
[static]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[static]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[static]
Returns the fully qualified name of the class to which the object belongs. | AutomationClass | ||
[static]
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 | ||
[static]
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 | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
AutomationClass | |||
Returns the primitive value of the specified object. | Object |
implementationVersion | property |
implementationVersion:int
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | 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
Implementation
public function get implementationVersion():int
public function set implementationVersion(value:int):void
name | property |
previousVersionClassNames | property |
previousVersionClassNames:Array
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
An array of names of the classes that are compatible with current class.
Implementation
public function get previousVersionClassNames():Array
public function set previousVersionClassNames(value:Array):void
propertyNameMap | property |
superClassName | property |
AutomationClass | () | Constructor |
addImplementationClassName | () | method |
fillInASTypesFromMethods | () | method |
public static function fillInASTypesFromMethods(dtForClass:XML, methodName:String, argDescriptors:Array):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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 | () | method |
public static function fillInASTypesFromProperties(dtForClass:XML, propertyDescriptors:Array):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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 | () | method |
public static function getClassName(obj:Object):String
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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 | () | method |
public static function getDefinitionFromObjectDomain(obj:Object, className:String):Class
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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 | () | method |
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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 | () | method |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
Parameters
eventName:String |
IAutomationEventDescriptor |
getDescriptorForMethodByName | () | method |
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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 | () | method |
getPropertyDescriptors | () | method |
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | 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 | () | method |
Mon Nov 28 2011, 06:48 AM -08:00