Class ComboBoxNavAdapter
source code
??-195 --+
|
ComboBoxNavAdapter
Overrides DefaultNavAdapter to provide navigation over text lines
as items and to avoid traversing text children as separate accessible
children in the IAccessibleNav interface.
Adapts accessibles that have a role of terminal or have a state of
multiline, single line, or editable and provide the Text interface. Does
not adapt POR accessibles
with role of page tab.
|
boolean
|
when(subject)
Tests if the given subject can be adapted by this class. |
source code
|
|
|
|
provides = [IItemNav, IAccessibleNav]
|
|
Tests if the given subject can be adapted by this class.
- Parameters:
subject (pyLinAcc.Accessible) - Accessible to test
- Returns: boolean
- True when the subject meets the condition named in the docstring
for this class, False otherwise
|
|
Gets the next accessible relative to the one providing this
interface.
- Returns: POR
- Point of regard to the next accessible
- Raises:
IndexError - When there is no next accessible
LookupError - When lookup for the next accessible fails even though it may exist
|
|
Gets the previous accessible relative to the one providing this
interface.
- Returns: POR
- Point of regard to the previous accessible
- Raises:
IndexError - When there is no previous accessible
LookupError - When lookup for the previous accessible fails even though it may
exist
|
|
Gets the parent accessible relative to the one providing this
interface.
- Returns: POR
- Point of regard to the parent accessible
- Raises:
LookupError - When lookup for the parent accessible fails because it does not
exist
|
|
Gets the first accessible child in the combobox list.
- Returns: POR
- Point of regard to the first list item
- Raises:
LookupError - When lookup for child fails because it does not exist
|
|
Gets the last accessible child in combobox list.
- Returns: POR
- Point of regard to the last child accessible
- Raises:
LookupError - When lookup for child fails because it does not exist
|
|
Performs a depth only search to find the first list item in a combobox
list. Could be of type menu item or list item.
- Returns: POR
- Point of regard to the first child accessible
- Raises:
LookupError - When lookup for child fails because it does not exist
|