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 

IAutomationManager2  - AS3 Flex

Pakietmx.automation
Interfejspublic interface IAutomationManager2 extends IAutomationManager , IEventDispatcher
Implementory AutomationManager

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

The IAutomationManager interface defines the interface expected from an AutomationManager object by the automation module.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 InheritedautomationEnvironment : Object
The automation environment for this automation manager.
IAutomationManager
  automationEnvironmentHandlingClassName : String
[tylko do zapisu] Marshalling Support(for tool): The tool class which is responsible for handling the automation environment.
IAutomationManager2
  automationEnvironmentString : String
[tylko do zapisu] The automation environment for this automation manager.
IAutomationManager2
 Inheritedrecording : Boolean
[tylko do odczytu] Indicates whether recording is taking place.
IAutomationManager
 Inheritedreplaying : Boolean
[tylko do odczytu] Indicates whether replay is taking place.
IAutomationManager
Metody publiczne
 MetodaZdefiniowane przez
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu.
IEventDispatcher
  
Marshalling Support(for tool): Adds the passed EventDetails objects to the probable child applications in the current ApplicationDomain.
IAutomationManager2
  
Marshalling Support(for tool): Adds the passed EventDetails objects to the probable parent applications in the current ApplicationDomain.
IAutomationManager2
 Inherited
Sets the automation manager to record mode.
IAutomationManager
 Inherited
Returns an id for the given object that can be used with the resolveID() method.
IAutomationManager
 Inherited
Returns an id part for the given object that can be used in the resolveIDPart() method.
IAutomationManager
 Inherited
Decrement the cache counter.
IAutomationManager
 Inherited
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń.
IEventDispatcher
  
Marshalling Support(for tool): Dispatches event to all children.
IAutomationManager2
  
Marshalling Support(for tool): Dispatches event to parent applications.
IAutomationManager2
 Inherited
Takes the automation manager out of record mode.
IAutomationManager
  
AIR support(for tool): Returns the window with the passed id.
IAutomationManager2
  
AIR support(for tool): Returns the unique id of the window object.
IAutomationManager2
  
AIR support(for tool): Returns the unique ID of window from the automation ID part.
IAutomationManager2
  
AIR support(for tool): Returns the unique ID of window from the object ID.
IAutomationManager2
  
Marshalling Support(for tool): Returns name of the application from the part id.
IAutomationManager2
 Inherited
Returns the text to display as the type of the object.
IAutomationManager
 Inherited
Returns the text to display as the description for the object.
IAutomationManager
 Inherited
getChildren(obj:IAutomationObject, ignoreShowInHierarchy:Boolean = false):Array
Returns all children of this object that are visible within the testing hierarchy.
IAutomationManager
 Inherited
getChildrenFromIDPart(obj:IAutomationObject, part:AutomationIDPart = null, ignoreShowInHierarchy:Boolean = false):Array
Returns all children of this object that are visible within the testing hierarchy and meet the criteria in the automation part.
IAutomationManager
 Inherited
Returns the automation object under the given coordinate.
IAutomationManager
  
AIR support(for tool): Returns the automation object under the given coordinate in a window.
IAutomationManager2
 Inherited
getParent(obj:IAutomationObject, parentToStopAt:IAutomationObject = null, ignoreShowInHierarchy:Boolean = false):IAutomationObject
Returns the next parent that is visible within the automation hierarchy.
IAutomationManager
  
Marshalling Support(for delegates):Returns array of pop up objects of the root application.
IAutomationManager2
  
Marshalling Support(for delegates):Returns array of pop up objects of the top level application.
IAutomationManager2
  
Marshalling Support(for delegates):Returns the number of pop up children of the top level application.
IAutomationManager2
 Inherited
getProperties(obj:IAutomationObject, names:Array = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
Returns the values for a set of properties.
IAutomationManager
 Inherited
The display rectangle enclosing the DisplayObject.
IAutomationManager
  
AIR support(for tool): Used by Flex application loaded from AIR application, to get the start point of main AIR application in screen coordinates
IAutomationManager2
 Inherited
Returns the object implementing the IAutomationTabularData interface through which the tabular data can be obtained.
IAutomationManager
  
Marshalling Support(for tool): Returns the index of top visible object among the passed array of objects.
IAutomationManager2
  
Marshalling Support(for tool): Returns unique ID of the application considering the hierarchy using the SWFLoader information and the application name.
IAutomationManager2
 Inherited
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń.
IEventDispatcher
 Inherited
Increments the cache counter.
IAutomationManager
  
Marshalling Support(for tool): Returns true if the passed object is a pop up.
IAutomationManager2
 Inherited
Tests if the provided target needs to wait until a previous operation completes.
IAutomationManager
 Inherited
Returns true if an object and all of its parents are visible.
IAutomationManager
 Inherited
recordAutomatableEvent(recorder:IAutomationObject, event:Event, cacheable:Boolean = false):void
Records the event.
IAutomationManager
 Inherited
Records the custom event.
IAutomationManager
  
Marshalling Support(for delegates): When a new application is added, application delegate registers itself so that appropriate listeners are added to that in order to support Marshalling.
IAutomationManager2
  
AIR Support(for delegates): When a FlexNativeMenu is added to a component, its delegate registers the new FlexNativeMenu object and creates a delegate.
IAutomationManager2
  
AIR Support(for delegates): When a new window is added, WindowedApplication delegate registers the new window object so that a unique id is created for that window.
IAutomationManager2
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Usuwa detektor z obiektu EventDispatcher.
IEventDispatcher
 Inherited
Replays the specified event.
IAutomationManager
 Inherited
resolveID(rid:AutomationID, currentParent:IAutomationObject = null):Array
Resolves an id to automation objects.
IAutomationManager
 Inherited
Resolves an id part to an Array of automation objects.
IAutomationManager
 Inherited
Resolves an id part to an automation object within the parent.
IAutomationManager
 Inherited
Resolves an id to an automation object.
IAutomationManager
 Inherited
Indicates whether an automation object should be visible within the hierarchy.
IAutomationManager
  
Marshalling Support(for delegates): Stores the drag proxy to enable inter-application drag-drop.DragProxy created in one application should be accessible by another application if required.
IAutomationManager2
 Inherited
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych.
IEventDispatcher
Szczegół właściwości

automationEnvironmentHandlingClassName

właściwość
automationEnvironmentHandlingClassName:String  [tylko do zapisu]

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

Marshalling Support(for tool): The tool class which is responsible for handling the automation environment.



Implementacja
    public function set automationEnvironmentHandlingClassName(value:String):void

automationEnvironmentString

właściwość 
automationEnvironmentString:String  [tylko do zapisu]

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

The automation environment for this automation manager. The automation environment provides information about the objects and properties of testable components needed for communicating with agent tools. The value of this property must implement the IAutomationEnvironment interface.



Implementacja
    public function set automationEnvironmentString(value:String):void

Powiązane elementy interfejsu API

Szczegół metody

addEventListenersToAllChildApplications

()metoda
public function addEventListenersToAllChildApplications(eventDetailsArray:Array):void

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

Marshalling Support(for tool): Adds the passed EventDetails objects to the probable child applications in the current ApplicationDomain. AutomationManager identifies the child applications in the current ApplicationDomain as and when the application is loaded, and adds appropriate listeners obtained from the passed objects.

Parametry

eventDetailsArray:Array — Array of EventDetails objects.

addEventListenersToAllParentApplications

()metoda 
public function addEventListenersToAllParentApplications(eventDetailsArray:Array):void

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

Marshalling Support(for tool): Adds the passed EventDetails objects to the probable parent applications in the current ApplicationDomain. AutomationManager identifies the parent applications in the current ApplicationDomain which are responsible to listen to the events from children and adds appropriate listeners obtained from the passed objects.

Parametry

eventDetailsArray:Array — Array of EventDetails objects.

dispatchToAllChildren

()metoda 
public function dispatchToAllChildren(event:Event):void

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

Marshalling Support(for tool): Dispatches event to all children.

Parametry

event:Event — Event to be dispatched.

dispatchToParent

()metoda 
public function dispatchToParent(event:Event):void

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

Marshalling Support(for tool): Dispatches event to parent applications.

Parametry

event:Event — Event to be dispatched.

getAIRWindow

()metoda 
public function getAIRWindow(windowId:String):DisplayObject

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

AIR support(for tool): Returns the window with the passed id.

Parametry

windowId:String — id of the window

Zwraca
DisplayObject — Window with passed id.

getAIRWindowUniqueID

()metoda 
public function getAIRWindowUniqueID(newWindow:DisplayObject):String

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

AIR support(for tool): Returns the unique id of the window object.

Parametry

newWindow:DisplayObject — window whose id is to required.

Zwraca
String — String

getAIRWindowUniqueIDFromAutomationIDPart

()metoda 
public function getAIRWindowUniqueIDFromAutomationIDPart(objectIdPart:AutomationIDPart):String

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

AIR support(for tool): Returns the unique ID of window from the automation ID part. Automation ID part has application ID and window ID.

Parametry

objectIdPart:AutomationIDPart — The AutomationIDPart from which unique ID of the window is to be obtained.

Zwraca
String

getAIRWindowUniqueIDFromObjectIDString

()metoda 
public function getAIRWindowUniqueIDFromObjectIDString(objectId:String):String

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

AIR support(for tool): Returns the unique ID of window from the object ID. Object ID has application ID and window ID.

Parametry

objectId:String — The object ID from which unique ID of the window is to be obtained.

Zwraca
String

getApplicationNameFromAutomationIDPart

()metoda 
public function getApplicationNameFromAutomationIDPart(objectID:AutomationIDPart):String

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

Marshalling Support(for tool): Returns name of the application from the part id.

Parametry

objectID:AutomationIDPart — AutomationIDPart from which the application name is obtained.

Zwraca
String

getElementFromPoint2

()metoda 
public function getElementFromPoint2(x:int, y:int, windowId:String):IAutomationObject

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

AIR support(for tool): Returns the automation object under the given coordinate in a window.

Parametry

x:int — The x coordinate.
 
y:int — The y coordinate.
 
windowId:String — The window on which the object is to be identified.

Zwraca
IAutomationObject — Automation object at that point.

getPopUpChildObject

()metoda 
public function getPopUpChildObject(index:int):IAutomationObject

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

Marshalling Support(for delegates):Returns array of pop up objects of the root application. All pop up objects created in an application are added as pop up children to the top level application of its ApplicationDomain.

Parametry

index:int — at which the object is to be retrieved

Zwraca
IAutomationObject — IAutomationObject at the given index

getPopUpChildren

()metoda 
public function getPopUpChildren():Array

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

Marshalling Support(for delegates):Returns array of pop up objects of the top level application. All pop up objects created in an application are added as pop up children to the top level application of its ApplicationDomain.

Zwraca
Array — Array of pop up children

getPopUpChildrenCount

()metoda 
public function getPopUpChildrenCount():Number

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

Marshalling Support(for delegates):Returns the number of pop up children of the top level application. All pop up objects created in an application are added as pop up children to the top level application of its ApplicationDomain.

Zwraca
Number — Number of pop up children

getStartPointInScreenCoordinates

()metoda 
public function getStartPointInScreenCoordinates(windowId:String):Point

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

AIR support(for tool): Used by Flex application loaded from AIR application, to get the start point of main AIR application in screen coordinates

Parametry

windowId:String

Zwraca
Point

getTopApplicationIndex

()metoda 
public function getTopApplicationIndex(objectList:Array):int

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

Marshalling Support(for tool): Returns the index of top visible object among the passed array of objects. This can be used by tools to identify the topmost Application object when there are multiple objects from different applications, which belong to different ApplicationDomain or different SecurityDomain, under the mouse.

Parametry

objectList:Array — Array of objects

Zwraca
int

getUniqueApplicationID

()metoda 
public function getUniqueApplicationID():String

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

Marshalling Support(for tool): Returns unique ID of the application considering the hierarchy using the SWFLoader information and the application name.

Zwraca
String

isObjectPopUp

()metoda 
public function isObjectPopUp(obj:IAutomationObject):Boolean

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

Marshalling Support(for tool): Returns true if the passed object is a pop up.

Parametry

obj:IAutomationObject — IAutomationObject

Zwraca
Boolean

registerNewApplication

()metoda 
public function registerNewApplication(application:DisplayObject):void

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

Marshalling Support(for delegates): When a new application is added, application delegate registers itself so that appropriate listeners are added to that in order to support Marshalling.

Parametry

application:DisplayObject — Application object to be registered.

registerNewFlexNativeMenu

()metoda 
public function registerNewFlexNativeMenu(menu:Object, sm:DisplayObject):void

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

AIR Support(for delegates): When a FlexNativeMenu is added to a component, its delegate registers the new FlexNativeMenu object and creates a delegate.

Parametry

menu:Object — FlexNativeMenu object to be registered.
 
sm:DisplayObject — SystemManager of the component in which FlexNativeMenu is added.

registerNewWindow

()metoda 
public function registerNewWindow(newWindow:DisplayObject):void

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

AIR Support(for delegates): When a new window is added, WindowedApplication delegate registers the new window object so that a unique id is created for that window.

Parametry

newWindow:DisplayObject — Window object to be registered.

storeDragProxy

()metoda 
public function storeDragProxy(dragProxy:Object):void

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

Marshalling Support(for delegates): Stores the drag proxy to enable inter-application drag-drop.DragProxy created in one application should be accessible by another application if required.

Parametry

dragProxy:Object — object





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