Class HypertextAccInfoAdapter
source code
??-191 --+
|
HypertextAccInfoAdapter
Overrides DefaultNavAdapter to provide information about hypertext
objects. Expects the subject to be a POR.
Adapts subject accessibles that provide the
pyLinAcc.Interfaces.IHypertext and pyLinAcc.Interfaces.IText
interfaces.
|
boolean
|
|
|
string
|
getAccItemText(self)
Gets a chunk of accessible text past the embed character indicated by
the item offset to the next embed character or end of line. |
source code
|
|
|
boolean
|
when(subject)
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:
subject (POR) - POR containing an
accessible to test
- Returns: boolean
- True when the subject meets the condition named in the docstring
for this class, False otherwise
|
|
Always True. Hypertext allows embedding.
- Returns: boolean
- True
|
|
Gets a chunk of accessible text past the embed character indicated by
the item offset to the next embed character or end of line.
- Returns: string
- Accessible text of requested item
- Decorators:
@pyLinAcc.errorToLookupError
- Raises:
LookupError - When the accessible object is dead
|