Pakket | mx.automation |
Interface | public interface IAutomationObject |
Geïmplementeerd door | FlexNativeMenu, FlexNativeMenuAutomationImpl, UIComponent, UIComponentAutomationImpl, UIFTETextField, UIFTETextFieldAutomationImpl, UIMovieClip, UIMovieClipAutomationImpl, UITextField, UITextFieldAutomationImpl |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Meer voorbeelden
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
automationDelegate : Object
The delegate object that is handling the automation-related functionality. | IAutomationObject | ||
automationEnabled : Boolean [alleen-lezen]
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 [alleen-lezen]
The owner of this component for automation purposes. | IAutomationObject | ||
automationParent : DisplayObjectContainer [alleen-lezen]
The parent of this component for automation purposes. | IAutomationObject | ||
automationTabularData : Object [alleen-lezen]
An implementation of the IAutomationTabularData interface, which
can be used to retrieve the data. | IAutomationObject | ||
automationValue : Array [alleen-lezen]
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 [alleen-lezen]
True if this component is visible for automation, false
otherwise. | IAutomationObject | ||
numAutomationChildren : int [alleen-lezen]
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 |
Methode | Gedefinieerd door | ||
---|---|---|---|
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 |
automationDelegate | eigenschap |
automationDelegate:Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get automationDelegate():Object
public function set automationDelegate(value:Object):void
automationEnabled | eigenschap |
automationName | eigenschap |
automationOwner | eigenschap |
automationOwner:DisplayObjectContainer
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The owner of this component for automation purposes.
Implementatie
public function get automationOwner():DisplayObjectContainer
Verwante API-elementen
automationParent | eigenschap |
automationParent:DisplayObjectContainer
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The parent of this component for automation purposes.
Implementatie
public function get automationParent():DisplayObjectContainer
Verwante API-elementen
automationTabularData | eigenschap |
automationValue | eigenschap |
automationValue:Array
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get automationValue():Array
automationVisible | eigenschap |
numAutomationChildren | eigenschap |
numAutomationChildren:int
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Implementatie
public function get numAutomationChildren():int
showInAutomationHierarchy | eigenschap |
showInAutomationHierarchy:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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
.
Implementatie
public function get showInAutomationHierarchy():Boolean
public function set showInAutomationHierarchy(value:Boolean):void
createAutomationIDPart | () | methode |
public function createAutomationIDPart(child:IAutomationObject):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
child:IAutomationObject — Child for which to provide the id.
|
Object — Sets of properties describing the child which can
later be used to resolve the component.
|
createAutomationIDPartWithRequiredProperties | () | methode |
public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
child:IAutomationObject — Child for which to provide the id.
| |
properties:Array |
Object — Sets of properties describing the child which can
later be used to resolve the component.
|
getAutomationChildAt | () | methode |
public function getAutomationChildAt(index:int):IAutomationObject
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Provides the automation object at the specified index. This list should not include any children that are composites.
Parameters
index:int — The index of the child to return
|
IAutomationObject — The child at the specified index.
|
getAutomationChildren | () | methode |
replayAutomatableEvent | () | methode |
public function replayAutomatableEvent(event:Event):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
event:Event — The event to replay.
|
Boolean — true if a replay was successful.
|
resolveAutomationIDPart | () | methode |
public function resolveAutomationIDPart(criteria:Object):Array
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
criteria:Object — Set of properties describing the child.
The criteria can contain regular expression values
resulting in multiple children being matched.
|
Array — Array of children that matched the criteria
or null if no children could not be resolved.
|
Wed Jun 13 2018, 11:42 AM Z