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

翻訳前ページへ


Interface XAccessibleSelection
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: accessibility ::

interface XAccessibleSelection
Description
器具/実施する this interface to 代表する a 選択 of accessible 反対するs.

This interface is the 基準 機械装置 to 得る and 修正する the 現在/一般に selected children. Every 反対する that has children that can be selected should support this interface.

The XAccessibleSelection interface has to be 器具/実施するd in 合同 with the XAccessibleContext interface that 供給するs the children on which the first operates.

It depends on the class 器具/実施するing this interface, whether it supports 選び出す/独身 or multi 選択.

Since
OOo 1.1.2
Developers Guide
Accessibility - XAccessibleSelection

Methods' 要約
selectAccessibleChild Selects the 明示するd Accessible child of the 反対する.  
isAccessibleChildSelected 決定するs if the 明示するd child of this 反対する is selected.  
clearAccessibleSelection (疑いを)晴らすs the 選択, so that no children of the 反対する are selected.  
selectAllAccessibleChildren Select all children.  
getSelectedAccessibleChildCount Returns the number of Accessible children that are 現在/一般に selected.  
getSelectedAccessibleChild Returns the 明示するd selected Accessible child.  
deselectAccessibleChild 除去するs the 明示するd child from the 始める,決める of this 反対する's selected children. 公式文書,認める that not all 使用/適用s support deselection: calls to this method may be silently ignored.  
Methods' 詳細(に述べる)s
selectAccessibleChild
無効の
selectAccessibleChild( [in] long  nChildIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
Selects the 明示するd Accessible child of the 反対する.

Depending on the 器具/実施するing class the child is 追加するd to the 現在の 始める,決める a selected children (multi 選択) or a 以前 selected child is deselected first (選び出す/独身 選択).

Parameter nChildIndex
索引 of the child which is to 追加する to the 選択. This 索引 言及するs to all the children of this 反対する.
Throws
::com::sun::星/主役にする::lang::IndexOutOfBoundsException if the given 索引 does not 嘘(をつく) in the valid 範囲 of 0 up to the result of XAccessibleContext::getAccessibleChildCount()-1.
isAccessibleChildSelected
boolean
isAccessibleChildSelected( [in] long  nChildIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
決定するs if the 明示するd child of this 反対する is selected.
Parameter nChildIndex
索引 of the child for which to (悪事,秘密などを)発見する whether it is selected. This 索引 言及するs to all the children of this 反対する.
Returns
Returns true if the 明示するd child is selected and 誤った if it is not selected.
Throws
::com::sun::星/主役にする::lang::IndexOutOfBoundsException if the given 索引 does not 嘘(をつく) in the valid 範囲 of 0 up to the result of XAccessibleContext::getAccessibleChildCount()-1.
clearAccessibleSelection
[oneway] 無効の
clearAccessibleSelection();

Description
(疑いを)晴らすs the 選択, so that no children of the 反対する are selected.
selectAllAccessibleChildren
[oneway] 無効の
selectAllAccessibleChildren();

Description
Select all children.

原因(となる)s every child of the 反対する to be selected if the 反対する supports 多重の 選択s. If 多重の 選択 is not supported then the first child, if it 存在するs, is selected and all other children are deselected.

getSelectedAccessibleChildCount
long
getSelectedAccessibleChildCount();

Description
Returns the number of Accessible children that are 現在/一般に selected.

This number 明示するs the valid interval of indices that can be used as arguments for the methods XAccessibleSelection::getSelectedChild and XAccessibleSelection::deselectSelectedChild.

Returns
Returns the number of selected children of this 反対する or 0 if no child is selected.
getSelectedAccessibleChild
XAccessible
getSelectedAccessibleChild( [in] long  nSelectedChildIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
Returns the 明示するd selected Accessible child.
Parameter nSelectedChildIndex
This 索引 言及するs only to the selected children, not to all the children of this 反対する. Even if all children are selected, the indices enumerating the selected children need not be the same as those enumerating all children. If only 選び出す/独身 選択 is supported the only valid value is 0.
Returns
If the 索引 is valid, i.e. not 消極的な and lower than the number of selected children, then a valid 言及/関連 to the corresponding XAccessible child is returned. さもなければ an exception is thrown.
Throws
::com::sun::星/主役にする::lang::IndexOutOfBoundsException if the given 索引 does not 嘘(をつく) in the valid 範囲 of 0 up to the result of XAccessibleRelationSet::getAccessibleChildCount()-1.
deselectAccessibleChild
無効の
deselectAccessibleChild( [in] long  nChildIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException );

Description
除去するs the 明示するd child from the 始める,決める of this 反対する's selected children. 公式文書,認める that not all 使用/適用s support deselection: calls to this method may be silently ignored.
Parameter nChildIndex
This 索引 言及するs to all children not just the selected ones. If the 明示するd child is not selected or it can not be deselected for any 推論する/理由 then the method call is silently ignored.
Throws
::com::sun::星/主役にする::lang::IndexOutOfBoundsException if the given 索引 does not 嘘(をつく) in the valid 範囲 of 0 up to, but not 含むing, the result of getAccessibleChildCount().
最高の,を越す of Page

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.