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 

AutomationHelper  - AS3 Flex

Pakietmx.automation
Klasapublic class AutomationHelper
DziedziczenieAutomationHelper Inheritance Object

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

Helper class used to call appropriate methods based on whether the current app is an AIR app or a Flex app.



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
Metody publiczne
 MetodaZdefiniowane przez
  
Constructor
AutomationHelper
  
[statyczny] Returns the current active window in case of AIR app, top level application otherwise.
AutomationHelper
  
[statyczny] Returns the helper class used for AIR automation (AirFunctionsHelper).
AutomationHelper
  
[statyczny] Returns the title in case of AIR app, empty string otherwise.
AutomationHelper
  
[statyczny] Returns the top level application.
AutomationHelper
  
[statyczny] Returns the start point in screen coordinates.
AutomationHelper
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
  
[statyczny] Returns false if AIR helper class (AirFunctionsHelper) is not loaded.
AutomationHelper
  
[statyczny] Returns true if the current application is an AIR app, false otherwise.
AutomationHelper
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
  
[statyczny] Returns false if AIR helper class (mx.automation.air.AirFunctionsHelper) is not found.
AutomationHelper
  
[statyczny]
AutomationHelper
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
  
[statyczny] Sets the system manager using which the root application is determined.
AutomationHelper
 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
 Inherited
Zwraca ciąg reprezentujący określony obiekt.
Object
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Konstruktor Szczegół

AutomationHelper

()Konstruktor
public function AutomationHelper()

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

Constructor

Szczegół metody

getActiveWindow

()metoda
public static function getActiveWindow(windowId:String):Object

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

Returns the current active window in case of AIR app, top level application otherwise.

Parametry

windowId:String

Zwraca
Object

getAirHelperClass

()metoda 
public static function getAirHelperClass(className:String):Class

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

Returns the helper class used for AIR automation (AirFunctionsHelper).

Parametry

className:String

Zwraca
Class

getAppTitle

()metoda 
public static function getAppTitle():String

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

Returns the title in case of AIR app, empty string otherwise.

Zwraca
String

getMainApplication

()metoda 
public static function getMainApplication():Object

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

Returns the top level application.

Zwraca
Object

getStageStartPointInScreenCoords

()metoda 
public static function getStageStartPointInScreenCoords(windowId:String):Point

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

Returns the start point in screen coordinates.

Parametry

windowId:String

Zwraca
Point

isAirClassLoaded

()metoda 
public static function isAirClassLoaded():Boolean

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

Returns false if AIR helper class (AirFunctionsHelper) is not loaded.

Zwraca
Boolean

isCurrentAppAir

()metoda 
public static function isCurrentAppAir():Boolean

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

Returns true if the current application is an AIR app, false otherwise.

Zwraca
Boolean

isRequiredAirClassPresent

()metoda 
public static function isRequiredAirClassPresent():Boolean

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

Returns false if AIR helper class (mx.automation.air.AirFunctionsHelper) is not found.

Zwraca
Boolean

isRequiredSparkClassPresent

()metoda 
public static function isRequiredSparkClassPresent():Boolean

Zwraca
Boolean

registerSystemManager

()metoda 
public static function registerSystemManager(sm1:ISystemManager):void

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

Sets the system manager using which the root application is determined.

Parametry

sm1:ISystemManager





[ 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.