Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

GetState

« nsIAccessible Page

Summary

This method retrieves states of the accessible.

 void getState(
   out unsigned long aState, 
   out unsigned long aExtraState
 );

Parameters

aState
[out] The first bit field (See STATE_* constants in states documentation).
aExtraState
[out] The second bit field (See EXT_STATE_* constants in states documentation).

Exceptions thrown
Edit section

NS_ERROR_FAILURE
Indicates that the accessible is unattached from the accessible tree.

Remarks

Accessible states are stored as bit fields which describe boolean properties of node. Many states are only valid given a certain role attribute that supports them. Refer to states documentation for more information.

Document Tags and Contributors

 Contributors to this page: teoli, Surkov.alexander
 Last updated by: teoli,