public class ScreenReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESS_BRIDGE |
static java.lang.String |
ATK_WRAPPER |
static java.lang.String |
SCREEN_READER_ACTIVE_PROPERTY |
Constructor and Description |
---|
ScreenReader() |
Modifier and Type | Method and Description |
---|---|
static void |
addPropertyChangeListener(java.lang.String propertyName,
Disposable parent,
java.beans.PropertyChangeListener listener)
Adds property change listener.
|
static boolean |
isActive()
Components that need to customize their behavior in the presence of an external screen reader
application should call this method.
|
static boolean |
isEnabled(java.lang.String a11yClassName)
Checks whether a particular a11y technology is enabled, in order of priority:
1) via the sys.
|
static void |
setActive(boolean active)
This method should be called by a central configuration mechanism to enable screen reader
support for the application.
|
public static final java.lang.String ATK_WRAPPER
public static final java.lang.String ACCESS_BRIDGE
public static final java.lang.String SCREEN_READER_ACTIVE_PROPERTY
public static boolean isActive()
public static void setActive(boolean active)
public static boolean isEnabled(java.lang.String a11yClassName)
a11yClassName
- the full class name representing the a11y technologyACCESS_BRIDGE
,
ATK_WRAPPER
public static void addPropertyChangeListener(java.lang.String propertyName, Disposable parent, java.beans.PropertyChangeListener listener)
SCREEN_READER_ACTIVE_PROPERTY