このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

UNO Accessibility API

The UNO Accessibility API (also called UAA in the に引き続いて) is modeled closely after Java Accessibility API in 見解/翻訳/版 1.4 and the the Gnome Accessibility API. The UAA is part of the offapi 事業/計画(する). You can browse the CVS 古記録 at com/sun/星/主役にする/accessibility or have a look at the documentation here.

代表 of GUI and 文書s

The UAA 代表するs both structure and content of the GUI. Here GUI 含むd the 見解(をとる)s of 文書s that are embedded therein.

Structure

Each 最高の,を越す-level window of the GUI is 代表するd as a tree of accessibility 反対するs. Each accessibility 反対する stands for one GUI element or one 反対する of a 文書 見解(をとる):

This tree structure is realized by 器具/実施するing the XAccessibleContext interface. To go up に向かって the root of a tree you can get an 反対する's parent. To go 負かす/撃墜する に向かって the leaves of a tree you can retrieve all the children of an 反対する.

Relations
Relations introduce a 第2位 structure that is 独立した・無所属 of the tree 階層制度 created by the parent/child 関係 供給するd by the XAccessibleContext interface. Relation 始める,決めるs as returned by the XAccessibleContext::getAccessibleRelationSet() are defined by the XAccessibleRelationSet interface.

Content

Each node of the tree that 器具/実施するs XAccessibleContext gives 接近 to different facets of the 代表するd GUI element or 文書 part. These are

指名する
The 指名する is a localized string and 行為/法令/行動するs as short, one word description, this is e.g. the text 陳列する,発揮するd on a button.
役割
The 肉親,親類d of 支配(する)/統制する or 文書 part. E.g. the 役割 of a button is "button". With the AccessibleRole collection of constants there is a 始める,決める of predefined 役割s that is suitable for the elements of the GUI 反して there are no (not yet) 役割s for the direct support of the 文書.
description
A localized string description that is longer and more 明確な/細部 than the 指名する.
明言する/公表する
明言する/公表するs of GUI elements as 述べるd by the AccessibleStateType constants collection can be for example "active", "hidden", or "checked". Again there is a predefined 始める,決める of 明言する/公表するs suitable for GUI elements but maybe not 十分な to 代表する 明言する/公表するs of 文書 parts.
活動/戦闘s
This active part of a node content can for instance open a pop up window with a 状況 極度の慎重さを要する menu. Another example are 付加 navigational 命令(する)s. 活動/戦闘s are 代表するd by the AccessibleRole service. In general there should be as few 活動/戦闘s as possible. It is better to 申し込む/申し出 付加 functionality through the clasical means of the GUI.
graphical 代表
The graphical 代表 of an accessible 反対する is exposed by the XAccessibleComponent interface. It can be queried for instance for its bounding-box or for the child node at a given point on the 審査する.
content
The actual content of a node of the accessibility tree can have different forms:

Events

The tree modeled by the UAA is not a static data structure. Because of scrolling the 文書 window, changing its content, or 修正するing the contents of GUI 支配(する)/統制するs, the structure and content of 選び出す/独身 nodes and sub-trees is 絶えず changing. These changes are 通知するd to the AT by sending events to 登録(する)d listeners (の中で them the AT). The 肉親,親類d of event that is sent for a 明確な/細部 change depends on the UAA interfaces that the node that 代表するs the 修正するd 反対する does support and on the actual 実施 of these interfaces. Listeners to accessibility events 器具/実施する the XAccessibleEventListener interface while 放送者s 器具/実施する the XAccessibleEventBroadcaster interface. Events are AccessibleEventObject structures, their types are 述べるd in the AccessibleEventId constants group.

独立した・無所属 実施 of the UAA

The XAccessible interface 許すs the decoupling of the 実施 of the UAA from the 実施 of the 残り/休憩(する) of the UNO API. Its only method, getAccessibleContext(), returns an 反対する that 器具/実施するs the AccessibleContext service. This may or may not be done by a class other than the one that 器具/実施するs the XAccessible interface. This has the big advantage, that the 存在するing API 実施 needs only 極小の modifications.

Differences between the Accessibility APIs of UNO and Java

Here is a 名簿(に載せる)/表(にあげる) of major differences between the UNO and the Java Accessibility APIs:

Documentation of the UNO Accessibility API

More 詳細(に述べる)s of the UAA can be 設立する in the API 言及/関連.

The services that expose 使用/適用 明確な/細部 詳細(に述べる)s of the UAA can be 設立する here for the GUI, Writer, Calc, Draw/Impress, and Chart.

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.