패키지 | spark.accessibility |
클래스 | public class VideoPlayerAccImpl |
상속 | VideoPlayerAccImpl ![]() ![]() ![]() |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 2.0 |
When a Spark VideoPlayer is created,
its accessibilityImplementation
property
is set to an instance of this class.
The Flash Player then uses this class to allow MSAA clients
such as screen readers to see and manipulate the VideoPlayer.
See the mx.accessibility.AccImpl and
flash.accessibility.AccessibilityImplementation classes
for background information about accessibility implementation
classes and MSAA.
Children
The VideoPlayer has six MSAA children:
- Play/Pause control
- Scrub control
- Play time indicator
- Mute control
- Volume control
- Full Screen control
The controls will always appear in the same order for accessibility regardless of the order of controls in the skin.
Role
The MSAA Role of a VideoPlayer is ROLE_SYSTEM_PANE.
The Role of each child control is:
- Play/Pause control: ROLE_SYSTEM_BUTTON
- Scrub control: ROLE_SYSTEM_SLIDER
- Play time indicator: ROLE_SYSTEM_STATICTEXT
- Mute control: ROLE_SYSTEM_BUTTON
- Volume control: ROLE_SYSTEM_SLIDER
- Full Screen control: ROLE_SYSTEM_BUTTON
Name
The MSAA Name of a VideoPlayer is, by default,
specified by a locale-dependent resource.
For the en_US locale, the name is "VideoPlayer".
When wrapped in a FormItem element,
this name is combined with the FormItem's label.
To override this behavior,
set the VideoPlayer's's accessibilityName
property.
The Name of each child control is similarly specified by a resource. The en_US names are:
- Play/Pause control: "Play" or "Pause"
- Scrub control: "Scrub Bar"
- Play time indicator: the displayed text
- Mute control: "Muted" or "Not muted"
- Volume control: "Volume Bar"
- Full Screen control: "Full Screen"
To override the names of these child controls, reskin the VideoPlayer
and set the accessibilityName
of the controls.
Note that the Play/Pause control and the Mute control
have MSAA Names which change as you interact with them.
To specify them, set accessibilityName
to a comma-separated list of MSAA Names,
such as "Play,Pause" or "Not Muted,Muted".
When the Name of the VideoPlayer or one of its child controls changes, a VideoPlayer dispatches the MSAA event EVENT_OBJECT_NAMECHANGE with the proper childID for the control or 0 for itself.
Description
The MSAA Description of a VideoPlayer is, by default, the empty string,
but you can set the VideoPlayer's accessibilityDescription
property.
The Description of each child control is the empty string.
State
The MSAA State of a VideoPlayer is STATE_SYSTEM_NORMAL.
The State of each child control is:
- Play/Pause control:
- STATE_SYSTEM_UNAVAILABLE
- STATE_SYSTEM_FOCUSABLE
- STATE_SYSTEM_FOCUSED
- Scrub control:
- STATE_SYSTEM_UNAVAILABLE
- STATE_SYSTEM_FOCUSABLE
- STATE_SYSTEM_FOCUSED
- Play time indicator:
- STATE_SYSTEM_UNAVAILABLE
- STATE_SYSTEM_READONLY
- Mute control:
- STATE_SYSTEM_UNAVAILABLE
- STATE_SYSTEM_FOCUSABLE
- STATE_SYSTEM_FOCUSED
- Volume control:
- STATE_SYSTEM_UNAVAILABLE
- STATE_SYSTEM_FOCUSABLE
- STATE_SYSTEM_FOCUSED
- Full Screen control:
- STATE_SYSTEM_UNAVAILABLE
- STATE_SYSTEM_FOCUSABLE
- STATE_SYSTEM_FOCUSED
When the State of the VideoPlayer or one of its child controls changes, a VideoPlayer dispatches the MSAA event EVENT_OBJECT_STATECHANGE with the proper childID for the control or 0 for itself.
Value
A VideoPlayer does not have an MSAA Value.
THe Value of each child control is:
- Play/Pause control: no Value
- Scrub control: Value of slider as an amount of time
- Play time indicator: no Value
- Mute control: no Value
- Volume control: Value of slider
- Full Screen control: no Value
When the Value of a child control changes, a VideoPlayer dispatches the MSAA event EVENT_OBJECT_VALUECHANGE with the proper childID for the control.
Location
The MSAA Location of a VideoPlayer, or one of its child controls, is its bounding rectangle.
Default Action
A VideoPlayer does not have an MSAA DefaultAction.
The DefaultAction of each child control is:
- Play/Pause control: "Press"
- Scrub control: none
- Play time indicator: none
- Mute control: "Press"
- Volume control: none
- Full Screen control: "Press"
Performing the default action of one of the child controls will have the following effect:
- Play/Pause control: toggle between Play and Pause
- Scrub control: none
- Play time indicator: none
- Mute control: toggle between Mute and Not Muted
- Volume control: none
- Full Screen control: toogle Full Screen on and off
Focus
A VideoPlayer accepts focus. When it does so, it dispatches the MSAA event EVENT_OBJECT_FOCUS event.
Some of its child controls also accept focus:
- Play/Pause control: accepts focus
- Scrub control: accepts focus
- Play time indicator: does not accept focus
- Mute control: transfers focus to Volume Bar
- Volume control: accepts focus
- Full Screen control: accepts focus
When reporting focus, the VideoPlayer reports itself if it is focused and none of its child controls is focused. Otherwise, the focus may be reported as being on the Play/Pause control, the Scrub control, the Volume control, or the Full Screen control.
Selection
A VideoPlayer does not support selection in the MSAA sense.
메서드 | 정의 주체 | ||
---|---|---|---|
VideoPlayerAccImpl(master:UIComponent)
Constructor. | VideoPlayerAccImpl | ||
![]() |
AccessibilityImplementation이 나타내는 구성 요소 또는 그 자식 요소 중 하나와 연결된 기본 액션을 수행하는 IAccessible 메서드입니다. | AccessibilityImplementation | |
![]() |
AccessibilityImplementation에서 자식 요소의 테두리 상자를 지정하는 DisplayObject 또는 Rectangle을 반환하는 MSAA 메서드입니다. | AccessibilityImplementation | |
![]() |
AccessibilityImplementation이 나타내는 구성 요소에서 선택을 변경하는 IAccessible 메서드입니다. | AccessibilityImplementation | |
[정적]
Enables accessibility in the VideoPlayer class. | VideoPlayerAccImpl | ||
![]() |
AccessibilityImplementation이 나타내는 구성 요소 또는 그 자식 요소 중 하나의 기본 액션을 반환하는 MSAA 메서드입니다. | AccessibilityImplementation | |
![]() |
자식 포커스가 구성 요소 내에 있는 자식 요소의 부호 없는 정수 ID(있는 경우)를 반환하는 MSAA 메서드입니다. | AccessibilityImplementation | |
![]() |
AccessibilityImplementation이 나타내는 구성 요소 또는 그 자식 요소 중 하나의 이름을 반환하는 MSAA 메서드입니다. | AccessibilityImplementation | |
![]() |
AccessibilityImplementation이 나타내는 구성 요소 또는 그 자식 요소 중 하나의 시스템 역할을 반환하는 MSAA 메서드입니다. | AccessibilityImplementation | |
![]() |
선택된 모든 자식 요소의 ID가 포함된 배열을 반환하는 MSAA 메서드입니다. | AccessibilityImplementation | |
![]() |
AccessibilityImplementation이 나타내는 구성 요소 또는 그 자식 요소 중 하나의 현재 런타임 상태를 반환하는 IAccessible 메서드입니다. | AccessibilityImplementation | |
![]() |
AccessibilityImplementation이 나타내는 구성 요소 또는 그 자식 요소 중 하나의 런타임 값을 반환하는 MSAA 메서드입니다. | AccessibilityImplementation | |
![]() | AccessibilityImplementation | ||
![]() | AccessibilityImplementation | ||
![]() |
AccessibilityImplementation의 자식 요소 중 부호 없는 정수 ID를 포함하는 배열을 반환합니다. | AccessibilityImplementation | |
![]() | [정적]
Method for supporting Form Accessibility. | AccImpl | |
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
![]() | [정적]
Returns true if an ancestor of the component has enabled set to false. | AccImpl | |
![]() |
x, y, 폭, 높이로 지정된 테두리 상자가 있는 텍스트 객체를 AccessibilityImplementation이 나타내는 구성 요소의 레이블로 간주해야 하는지를 나타내기 위해 true 또는 false를 반환합니다. | AccessibilityImplementation | |
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object |
VideoPlayerAccImpl | () | 생성자 |
public function VideoPlayerAccImpl(master:UIComponent)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 2.0 |
Constructor.
매개 변수master:UIComponent — The UIComponent instance that this AccImpl instance
is making accessible.
|
enableAccessibility | () | 메서드 |
public static function enableAccessibility():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 2.0 |
Enables accessibility in the VideoPlayer class.
This method is called by application startup code
that is autogenerated by the MXML compiler.
Afterwards, when instances of VideoPlayer are initialized,
their accessibilityImplementation
property
will be set to an instance of this class.
Tue Jun 12 2018, 03:17 PM Z