nsIAccessibleStateChangeEvent.idl 857 B

123456789101112131415161718192021222324252627282930
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "nsIAccessibleEvent.idl"
  6. /**
  7. * Fired when a state of an accessible changes.
  8. */
  9. [scriptable, builtinclass, uuid(58b74954-1835-46ed-9ccd-c906490106f6)]
  10. interface nsIAccessibleStateChangeEvent : nsIAccessibleEvent
  11. {
  12. /**
  13. * Returns the state of accessible (see constants declared
  14. * in nsIAccessibleStates).
  15. */
  16. readonly attribute unsigned long state;
  17. /**
  18. * Returns true if the state is extra state.
  19. */
  20. readonly attribute boolean isExtraState;
  21. /**
  22. * Returns true if the state is turned on.
  23. */
  24. readonly attribute boolean isEnabled;
  25. };