当前页面:
在线文档首页 >
JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档
Accessibility - New Features - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档
The features described here were introduced in Java 2 Platform Standard Edition 5.
These features are also part of subsequent releases of the Java platform. Many of these additions were made to maintain compatibility between the Java Accessibility API and the GNOME Accessibility Framework, described at
http://developer.gnome.org/projects/gap
Contents
AccessibleAction New Constant
AccessibleContext New Constants
AccessibleRelation New Constants
AccessibleRole New Constants
AccessibleState New Constants
AccessibleText New Constants
API Enhancements
AccessibleExtendedText
AccessibleStreamable
Accessibility Support for JSpinner and ProgressMonitor
AccessibleAction New Constant
Class AccessibleAction contains the following new constant:
AccessibleContext New Constants
Class AccessibleContext contains the following new constants:
- ACCESSIBLE_COMPONENT_BOUNDS_CHANGE
- ACCESSIBLE_INVALIDATE_CHILDREN
- ACCESSIBLE_TEXT_ATTRIBUTE_CHANGED
AccessibleRelation New Constants
Class AccessibleRelation contains the following new constants:
- CHILD_NODE_OF
- CHILD_NODE_OF_PROPERTY
- EMBEDS
- EMBEDS_PROPERTY
- EMBEDDED_BY
- EMBEDDED_BY_PROPERTY
- FLOWS_FROM
- FLOWS_FROM_PROPERTY
- FLOWS_TO
- FLOWS_TO_PROPERTY
- PARENT_WINDOW_OF
- PARENT_WINDOW_OF_PROPERTY
- SUBWINDOW_OF
- SUBWINDOW_OF_PROPERTY
AccessibleRole New Constants
Class AccessibleRole contains the following new constants:
- EDITBAR
- FOOTER
- HEADER
- PARAGRAPH
- PROGRESS_MONITOR
- RULER
AccessibleState New Constants
Class AccessibleState contains the following new constants:
- INDETERMINATE
- MANAGES_DESCENDANTS
- TRANSIENT
- TRUNCATED
AccessibleText New Constants
Class AccessibleText contains the following new constants:
- LINE
- ACCESSIBLE_CHANGED_TEXT
- ATTRIBUTE_RUN
API Enhancements
The following new classes and interfaces have been added to the
JavaTM Accessibility API:
AccessibleExtendedText
Interface AccessibleExtendedText provides support for braille and screen reader review mode.
AccessibleStreamable
Interface AccessibleStreamable provides a stream interface to raw data based on mime type.
Accessibility Support for JSpinner and ProgressMonitor
This release provides accessibility support for spinners and progress monitors in Swing.