Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Provides serializable class information for external automation tools.
Some classes are represented as the same AutomationClass (HSlider and VSlider, forinstance).
implementationVersion:int
Language Version: | ActionScript 3.0 |
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:String
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
the class name
Implementation public function get name():String
previousVersionClassNames:Array
Language Version: | ActionScript 3.0 |
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:Object
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
private
Implementation public function get propertyNameMap():Object
superClassName:String
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The name of the class's superclass.
Implementation public function get superClassName():String
public function AutomationClass(name:String, superClassName:String = null)
Parameters public function addImplementationClassName(className:String):void
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Add Flex class names which match this class description.
Parameters
| className:String — the name of the Flex class
|
public static function fillInASTypesFromMethods(dtForClass:XML, methodName:String, argDescriptors:Array):void
Language Version: | ActionScript 3.0 |
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
public static function fillInASTypesFromProperties(dtForClass:XML, propertyDescriptors:Array):void
Language Version: | ActionScript 3.0 |
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 |
public static function getClassName(obj:Object):String
Language Version: | ActionScript 3.0 |
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
|
Returns | String — Fully qualified name of the class
|
public static function getDefinitionFromObjectDomain(obj:Object, className:String):Class
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Utility function that returns the class definition from the domain of a
object instance
Parameters
Returns public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor
Language Version: | ActionScript 3.0 |
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.
|
Returns public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
Parameters
Returns public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor
Language Version: | ActionScript 3.0 |
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.
|
Returns public static function getMajorVersion():String
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Returns the major from current version number
Returns public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Language Version: | ActionScript 3.0 |
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.
|
Returns | Array — Array containing property descriptions.
|
public function toString():String
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Returns | String — name, superClassName, and event/method mappings.
|