패키지 | mx.automation |
인터페이스 | public interface IAutomationObject |
구현자 | FlexNativeMenu, FlexNativeMenuAutomationImpl, UIComponent, UIComponentAutomationImpl, UIFTETextField, UIFTETextFieldAutomationImpl, UIMovieClip, UIMovieClipAutomationImpl, UITextField, UITextFieldAutomationImpl |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
기타 예제
속성 | 정의 주체 | ||
---|---|---|---|
automationDelegate : Object
The delegate object that is handling the automation-related functionality. | IAutomationObject | ||
automationEnabled : Boolean [읽기 전용]
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 [읽기 전용]
The owner of this component for automation purposes. | IAutomationObject | ||
automationParent : DisplayObjectContainer [읽기 전용]
The parent of this component for automation purposes. | IAutomationObject | ||
automationTabularData : Object [읽기 전용]
An implementation of the IAutomationTabularData interface, which
can be used to retrieve the data. | IAutomationObject | ||
automationValue : Array [읽기 전용]
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 [읽기 전용]
True if this component is visible for automation, false
otherwise. | IAutomationObject | ||
numAutomationChildren : int [읽기 전용]
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 |
메서드 | 정의 주체 | ||
---|---|---|---|
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 | 속성 |
automationDelegate:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get automationDelegate():Object
public function set automationDelegate(value:Object):void
automationEnabled | 속성 |
automationName | 속성 |
automationOwner | 속성 |
automationOwner:DisplayObjectContainer
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The owner of this component for automation purposes.
구현
public function get automationOwner():DisplayObjectContainer
관련 API 요소
automationParent | 속성 |
automationParent:DisplayObjectContainer
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The parent of this component for automation purposes.
구현
public function get automationParent():DisplayObjectContainer
관련 API 요소
automationTabularData | 속성 |
automationValue | 속성 |
automationValue:Array
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get automationValue():Array
automationVisible | 속성 |
numAutomationChildren | 속성 |
numAutomationChildren:int
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get numAutomationChildren():int
showInAutomationHierarchy | 속성 |
showInAutomationHierarchy:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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
.
구현
public function get showInAutomationHierarchy():Boolean
public function set showInAutomationHierarchy(value:Boolean):void
createAutomationIDPart | () | 메서드 |
public function createAutomationIDPart(child:IAutomationObject):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수
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 | () | 메서드 |
public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수
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 | () | 메서드 |
public function getAutomationChildAt(index:int):IAutomationObject
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Provides the automation object at the specified index. This list should not include any children that are composites.
매개 변수
index:int — The index of the child to return
|
IAutomationObject — The child at the specified index.
|
getAutomationChildren | () | 메서드 |
replayAutomatableEvent | () | 메서드 |
public function replayAutomatableEvent(event:Event):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수
event:Event — The event to replay.
|
Boolean — true if a replay was successful.
|
resolveAutomationIDPart | () | 메서드 |
public function resolveAutomationIDPart(criteria:Object):Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수
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.
|
Tue Jun 12 2018, 03:17 PM Z