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 

IAutomationObject  - AS3 Flex

Pakietmx.automation
Interfejspublic interface IAutomationObject
Implementory FlexNativeMenu, FlexNativeMenuAutomationImpl, UIComponent, UIComponentAutomationImpl, UIFTETextField, UIFTETextFieldAutomationImpl, UIMovieClip, UIMovieClipAutomationImpl, UITextField, UITextFieldAutomationImpl

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

The IAutomationObject interface defines the interface for a delegate object that implements automation for a component.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
  automationDelegate : Object
The delegate object that is handling the automation-related functionality.
IAutomationObject
  automationEnabled : Boolean
[tylko do odczytu] True if this component is enabled for automation, false otherwise.
IAutomationObject
  automationName : String
Name that can be used as an identifier for this object.
IAutomationObject
  automationOwner : DisplayObjectContainer
[tylko do odczytu] The owner of this component for automation purposes.
IAutomationObject
  automationParent : DisplayObjectContainer
[tylko do odczytu] The parent of this component for automation purposes.
IAutomationObject
  automationTabularData : Object
[tylko do odczytu] An implementation of the IAutomationTabularData interface, which can be used to retrieve the data.
IAutomationObject
  automationValue : Array
[tylko do odczytu] This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
IAutomationObject
  automationVisible : Boolean
[tylko do odczytu] True if this component is visible for automation, false otherwise.
IAutomationObject
  numAutomationChildren : int
[tylko do odczytu] The number of automation children this container has.
IAutomationObject
  showInAutomationHierarchy : Boolean
A flag that determines if an automation object shows in the automation hierarchy.
IAutomationObject
Metody publiczne
 MetodaZdefiniowane przez
  
Returns a set of properties that identify the child within this container.
IAutomationObject
  
Returns a set of properties that identify the child within this container.
IAutomationObject
  
Provides the automation object at the specified index.
IAutomationObject
  
Provides the automation object list .
IAutomationObject
  
Replays the specified event.
IAutomationObject
  
Resolves a child by using the id provided.
IAutomationObject
Szczegół właściwości

automationDelegate

właściwość
automationDelegate:Object

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

The delegate object that is handling the automation-related functionality. Automation sets this when it creates the delegate object.



Implementacja
    public function get automationDelegate():Object
    public function set automationDelegate(value:Object):void

automationEnabled

właściwość 
automationEnabled:Boolean  [tylko do odczytu]

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

True if this component is enabled for automation, false otherwise.



Implementacja
    public function get automationEnabled():Boolean

Powiązane elementy interfejsu API

automationName

właściwość 
automationName:String

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

Name that can be used as an identifier for this object.



Implementacja
    public function get automationName():String
    public function set automationName(value:String):void

automationOwner

właściwość 
automationOwner:DisplayObjectContainer  [tylko do odczytu]

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

The owner of this component for automation purposes.



Implementacja
    public function get automationOwner():DisplayObjectContainer

Powiązane elementy interfejsu API

automationParent

właściwość 
automationParent:DisplayObjectContainer  [tylko do odczytu]

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

The parent of this component for automation purposes.



Implementacja
    public function get automationParent():DisplayObjectContainer

Powiązane elementy interfejsu API

automationTabularData

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

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

An implementation of the IAutomationTabularData interface, which can be used to retrieve the data.



Implementacja
    public function get automationTabularData():Object

automationValue

właściwość 
automationValue:Array  [tylko do odczytu]

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

This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.



Implementacja
    public function get automationValue():Array

automationVisible

właściwość 
automationVisible:Boolean  [tylko do odczytu]

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

True if this component is visible for automation, false otherwise.



Implementacja
    public function get automationVisible():Boolean

Powiązane elementy interfejsu API

numAutomationChildren

właściwość 
numAutomationChildren:int  [tylko do odczytu]

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

The number of automation children this container has. This sum should not include any composite children, though it does include those children not significant within the automation hierarchy.



Implementacja
    public function get numAutomationChildren():int

showInAutomationHierarchy

właściwość 
showInAutomationHierarchy:Boolean

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

A flag that determines if an automation object shows in the automation hierarchy. Children of containers that are not visible in the hierarchy appear as children of the next highest visible parent. Typically containers used for layout, such as boxes and Canvas, do not appear in the hierarchy.

Some controls force their children to appear in the hierarchy when appropriate. For example a List will always force item renderers, including boxes, to appear in the hierarchy. Implementers must support setting this property to true.



Implementacja
    public function get showInAutomationHierarchy():Boolean
    public function set showInAutomationHierarchy(value:Boolean):void
Szczegół metody

createAutomationIDPart

()metoda
public function createAutomationIDPart(child:IAutomationObject):Object

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

Returns a set of properties that identify the child within this container. These values should not change during the lifespan of the application.

Parametry

child:IAutomationObject — Child for which to provide the id.

Zwraca
Object — Sets of properties describing the child which can later be used to resolve the component.

createAutomationIDPartWithRequiredProperties

()metoda 
public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object

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

Returns a set of properties that identify the child within this container. These values should not change during the lifespan of the application.

Parametry

child:IAutomationObject — Child for which to provide the id.
 
properties:Array

Zwraca
Object — Sets of properties describing the child which can later be used to resolve the component.

getAutomationChildAt

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

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

Provides the automation object at the specified index. This list should not include any children that are composites.

Parametry

index:int — The index of the child to return

Zwraca
IAutomationObject — The child at the specified index.

getAutomationChildren

()metoda 
public function getAutomationChildren():Array

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

Provides the automation object list . This list does not include any children that are composites.

Zwraca
Array — The children .

replayAutomatableEvent

()metoda 
public function replayAutomatableEvent(event:Event):Boolean

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

Replays the specified event. A component author should probably call super.replayAutomatableEvent in case default replay behavior has been defined in a superclass.

Parametry

event:Event — The event to replay.

Zwraca
Booleantrue if a replay was successful.

resolveAutomationIDPart

()metoda 
public function resolveAutomationIDPart(criteria:Object):Array

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

Resolves a child by using the id provided. The id is a set of properties as provided by the createAutomationIDPart() method.

Parametry

criteria:Object — Set of properties describing the child. The criteria can contain regular expression values resulting in multiple children being matched.

Zwraca
Array — Array of children that matched the criteria or null if no children could not be resolved.




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