Class TreeAccInfoAdapter
source code
??-201 --+
|
TreeAccInfoAdapter
Overrides TableAccInfoAdapter to generate selector events on focus
and on selection. Expects the subject to be a pyLinAcc.Accessible.
Adapts subject accessibles that provide the pyLinAcc.Interfaces.ITable
interface and have ROLE_TREE_TABLE.
|
boolean
|
when(por)
Tests if the given subject can be adapted by this class. |
source code
|
|
|
|
provides = [IAccessibleInfo]
|
|
Tests if the given subject can be adapted by this class.
- Parameters:
por (POR) - Point of regard to test
- Returns: boolean
- True when the subject meets the condition named in the docstring
for this class, False otherwise
|
|
Gets the level of a node in a tree where zero is the root.
- Returns: integer
- Level of the node
- Decorators:
@pyLinAcc.errorToLookupError
- Raises:
NotImplementedError - When a tree doesn't support the NODE_OF accessible relation
|