public interface AccessibleSelection
Accessible
) and then calling the
AccessibleContext.getAccessibleSelection()
method.
If the return value is not null, the object supports this interface.Modifier and Type | Method and Description |
---|---|
void |
addAccessibleSelection(int i)
Adds the specified Accessible child of the object to the object's
selection.
|
void |
clearAccessibleSelection()
Clears the selection in the object, so that no children in the
object are selected.
|
Accessible |
getAccessibleSelection(int i)
Returns an Accessible representing the specified selected child
of the object.
|
int |
getAccessibleSelectionCount()
Returns the number of Accessible children currently selected.
|
boolean |
isAccessibleChildSelected(int i)
Determines if the current child of this object is selected.
|
void |
removeAccessibleSelection(int i)
Removes the specified child of the object from the object's
selection.
|
void |
selectAllAccessibleSelection()
Causes every child of the object to be selected
if the object supports multiple selections.
|
int getAccessibleSelectionCount()
Accessible getAccessibleSelection(int i)
Note that the index represents the i-th selected child, which is different from the i-th child.
i
- the zero-based index of selected childrengetAccessibleSelectionCount()
boolean isAccessibleChildSelected(int i)
i
- the zero-based index of the child in this Accessible object.AccessibleContext.getAccessibleChild(int)
void addAccessibleSelection(int i)
i
- the zero-based index of the childAccessibleContext.getAccessibleChild(int)
void removeAccessibleSelection(int i)
i
- the zero-based index of the childAccessibleContext.getAccessibleChild(int)
void clearAccessibleSelection()
void selectAllAccessibleSelection()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.