michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsIAccessibleEvent.idl" michael@0: michael@0: /** michael@0: * Fired when a state of an accessible changes. michael@0: */ michael@0: [scriptable, builtinclass, uuid(0d2d77c5-7b16-4a15-8b20-c484ceb5ac0d)] michael@0: interface nsIAccessibleStateChangeEvent : nsIAccessibleEvent michael@0: { michael@0: /** michael@0: * Returns the state of accessible (see constants declared michael@0: * in nsIAccessibleStates). michael@0: */ michael@0: readonly attribute unsigned long state; michael@0: michael@0: /** michael@0: * Returns true if the state is extra state. michael@0: */ michael@0: readonly attribute boolean isExtraState; michael@0: michael@0: /** michael@0: * Returns true if the state is turned on. michael@0: */ michael@0: readonly attribute boolean isEnabled; michael@0: };