套件 | mx.automation |
類別 | public class AutomationClass |
繼承 | AutomationClass Object |
實作 | IAutomationClass2 |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
更多範例
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
implementationVersion : int
Version of the implementation classes. | AutomationClass | ||
name : String [唯讀]
the class name
| AutomationClass | ||
previousVersionClassNames : Array
An array of names of the classes that are compatible with current class. | AutomationClass | ||
propertyNameMap : Object [唯讀]
private
| AutomationClass | ||
superClassName : String [唯讀]
The name of the class's superclass. | AutomationClass |
公用方法
方法 | 定義自 | ||
---|---|---|---|
AutomationClass | |||
Add Flex class names which match this class description. | AutomationClass | ||
[靜態]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[靜態]
Fills in the AS types for the provided propertyDescriptors based
on the information provided in the describeType XML. | AutomationClass | ||
[靜態]
Returns the fully qualified name of the class to which the object belongs. | AutomationClass | ||
[靜態]
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 | ||
[靜態]
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 | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
AutomationClass | |||
會傳回指定之物件的基本值。 | Object |
屬性詳細資訊
implementationVersion | 屬性 |
implementationVersion:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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
實作
public function get implementationVersion():int
public function set implementationVersion(value:int):void
name | 屬性 |
previousVersionClassNames | 屬性 |
propertyNameMap | 屬性 |
superClassName | 屬性 |
建構函式詳細資料
AutomationClass | () | 建構函式 |
方法詳細資訊
addImplementationClassName | () | 方法 |
fillInASTypesFromMethods | () | 方法 |
public static function fillInASTypesFromMethods(dtForClass:XML, methodName:String, argDescriptors:Array):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
參數
dtForClass:XML | |
methodName:String | |
argDescriptors:Array |
fillInASTypesFromProperties | () | 方法 |
public static function fillInASTypesFromProperties(dtForClass:XML, propertyDescriptors:Array):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
參數
dtForClass:XML | |
propertyDescriptors:Array |
getClassName | () | 方法 |
getDefinitionFromObjectDomain | () | 方法 |
getDescriptorForEvent | () | 方法 |
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Translates between component event and Automation method descriptor
參數
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 | () | 方法 |
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor
參數
eventName:String |
IAutomationEventDescriptor |
getDescriptorForMethodByName | () | 方法 |
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns a full methodDescriptor from its name
參數
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 | () | 方法 |
getPropertyDescriptors | () | 方法 |
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the list of properties this class supports.
參數
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 | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z