nsIDOMXULButtonElement.idl 899 B

1234567891011121314151617181920212223242526272829
  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 "nsIDOMXULLabeledControlEl.idl"
  6. [scriptable, uuid(d56f1f8f-fc4e-4650-9a85-25108bbd1980)]
  7. interface nsIDOMXULButtonElement : nsIDOMXULLabeledControlElement {
  8. const short CHECKSTATE_UNCHECKED = 0;
  9. const short CHECKSTATE_CHECKED = 1;
  10. const short CHECKSTATE_MIXED = 2;
  11. attribute DOMString type;
  12. attribute DOMString dlgType;
  13. // For buttons of type="menu" only.
  14. attribute boolean open;
  15. // For buttons of type="checkbox" only.
  16. attribute boolean checked;
  17. attribute long checkState;
  18. attribute boolean autoCheck;
  19. // For buttons of type="radio" only.
  20. attribute DOMString group;
  21. };