nsIDOMXULCheckboxElement.idl 691 B

12345678910111213141516171819
  1. /* -*- Mode: IDL; 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 "nsIDOMElement.idl"
  6. #include "nsIDOMXULLabeledControlEl.idl"
  7. [scriptable, uuid(745518ad-3163-41f0-b358-c81fb5a587bc)]
  8. interface nsIDOMXULCheckboxElement : nsIDOMXULLabeledControlElement {
  9. const short CHECKSTATE_UNCHECKED = 0;
  10. const short CHECKSTATE_CHECKED = 1;
  11. const short CHECKSTATE_MIXED = 2;
  12. attribute boolean checked;
  13. attribute long checkState;
  14. attribute boolean autoCheck;
  15. };