nsIAccessibleRetrieval
An interface for in-process accessibility clients wishing to get an
nsIAccessible for a given DOM node. More documentation at:
http://www.mozilla.org/projects/ui/accessibility
Methods
getApplicationAccessible()
Return application accessible.
getAccessibleFor(aNode)
Return an nsIAccessible for a DOM node in pres shell 0.
Create a new accessible of the appropriate type if necessary,
or use one from the accessibility cache if it already exists.
Parameters
aNode |
The DOM node to get an accessible for.
|
Returns
The nsIAccessible for the given DOM node.
|
getStringRole(aRole)
Returns accessible role as a string.
Parameters
aRole |
- the accessible role constants.
|
Returns list which contains accessible states as a strings.
Parameters
aStates |
- accessible states.
|
aExtraStates |
- accessible extra states.
|
getStringEventType(aEventType)
Get the type of accessible event as a string.
Parameters
aEventType |
- the accessible event type constant
|
Returns
- accessible event type presented as human readable string
|
getStringRelationType(aRelationType)
Get the type of accessible relation as a string.
Parameters
aRelationType |
- the accessible relation type constant
|
Returns
- accessible relation type presented as human readable string
|
getAccessibleFromCache(aNode)
Return an accessible for the given DOM node from the cache.
@note the method is intended for testing purposes
Parameters
aNode |
[in] the DOM node to get an accessible for
|
Returns
cached accessible for the given DOM node if any
|
createAccessiblePivot(aRoot)
Create a new pivot for tracking a position and traversing a subtree.
Parameters
aRoot |
[in] the accessible root for the pivot
|
Returns
setLogging(aModules)
Enable logging for the given modules, all other modules aren’t logged.
Parameters
aModules |
[in] list of modules, format is comma separated list
like 'docload,doccreate'.
@note Works on debug build only.
@see Logging.cpp for list of possible values.
|
isLogged(aModule)
Return true if the given module is logged.