ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.automation 

AutomationClass  - AS3 Flex

Pakietmx.automation
Klasapublic class AutomationClass
DziedziczenieAutomationClass Inheritance Object
Implementuje IAutomationClass2

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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).



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
  implementationVersion : int
Version of the implementation classes.
AutomationClass
  name : String
[tylko do odczytu] the class name
AutomationClass
  previousVersionClassNames : Array
An array of names of the classes that are compatible with current class.
AutomationClass
  propertyNameMap : Object
[tylko do odczytu] private
AutomationClass
  superClassName : String
[tylko do odczytu] The name of the class's superclass.
AutomationClass
Metody publiczne
 MetodaZdefiniowane przez
  
AutomationClass(name:String, superClassName:String = null)
AutomationClass
  
Add Flex class names which match this class description.
AutomationClass
  
fillInASTypesFromMethods(dtForClass:XML, methodName:String, argDescriptors:Array):void
[statyczny] Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
AutomationClass
  
fillInASTypesFromProperties(dtForClass:XML, propertyDescriptors:Array):void
[statyczny] Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.
AutomationClass
  
[statyczny] Returns the fully qualified name of the class to which the object belongs.
AutomationClass
  
[statyczny] 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
  
[statyczny] 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
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
  
AutomationClass
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Szczegół właściwości

implementationVersion

właściwość
implementationVersion:int

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4
Wersje środowiska wykonawczego: 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



Implementacja
    public function get implementationVersion():int
    public function set implementationVersion(value:int):void

name

właściwość 
name:String  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

the class name



Implementacja
    public function get name():String

previousVersionClassNames

właściwość 
previousVersionClassNames:Array

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

An array of names of the classes that are compatible with current class.



Implementacja
    public function get previousVersionClassNames():Array
    public function set previousVersionClassNames(value:Array):void

propertyNameMap

właściwość 
propertyNameMap:Object  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

private



Implementacja
    public function get propertyNameMap():Object

superClassName

właściwość 
superClassName:String  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The name of the class's superclass.



Implementacja
    public function get superClassName():String
Konstruktor Szczegół

AutomationClass

()Konstruktor
public function AutomationClass(name:String, superClassName:String = null)



Parametry
name:String
 
superClassName:String (default = null)
Szczegół metody

addImplementationClassName

()metoda
public function addImplementationClassName(className:String):void

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Add Flex class names which match this class description.

Parametry

className:String — the name of the Flex class

fillInASTypesFromMethods

()metoda 
public static function fillInASTypesFromMethods(dtForClass:XML, methodName:String, argDescriptors:Array):void

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.

Parametry

dtForClass:XML
 
methodName:String
 
argDescriptors:Array

fillInASTypesFromProperties

()metoda 
public static function fillInASTypesFromProperties(dtForClass:XML, propertyDescriptors:Array):void

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Fills in the AS types for the provided propertyDescriptors based on the information provided in the describeType XML.

Parametry

dtForClass:XML
 
propertyDescriptors:Array

getClassName

()metoda 
public static function getClassName(obj:Object):String

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Returns the fully qualified name of the class to which the object belongs.

Parametry

obj:Object — The object whose class name is desired

Zwraca
String — Fully qualified name of the class

getDefinitionFromObjectDomain

()metoda 
public static function getDefinitionFromObjectDomain(obj:Object, className:String):Class

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Utility function that returns the class definition from the domain of a object instance

Parametry

obj:Object
 
className:String

Zwraca
Class

getDescriptorForEvent

()metoda 
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Translates between component event and Automation method descriptor

Parametry

event:Event — The event object for which a method descrptor is required.

Zwraca
IAutomationEventDescriptor — The method descriptor for the event passed if one is available. Otherwise null.

getDescriptorForEventByName

()metoda 
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor

Parametry

eventName:String

Zwraca
IAutomationEventDescriptor

getDescriptorForMethodByName

()metoda 
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Returns a full methodDescriptor from its name

Parametry

methodName:String — The method name for which the descriptor is required.

Zwraca
IAutomationMethodDescriptor — The method descriptor for the name passed if one is available. Otherwise null.

getMajorVersion

()metoda 
public static function getMajorVersion():String

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Returns the major from current version number

Zwraca
String

getPropertyDescriptors

()metoda 
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Returns the list of properties this class supports.

Parametry

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.

Zwraca
Array — Array containing property descriptions.

toString

()metoda 
public function toString():String

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

Zwraca
String — name, superClassName, and event/method mappings.




[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.