2001-09-26 02:41:10 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-09-26 02:41:10 +04:00
|
|
|
|
|
|
|
#include "nsIDOMXULLabeledControlEl.idl"
|
|
|
|
|
2013-04-13 11:08:47 +04:00
|
|
|
[scriptable, uuid(d56f1f8f-fc4e-4650-9a85-25108bbd1980)]
|
2001-09-26 02:41:10 +04:00
|
|
|
interface nsIDOMXULButtonElement : nsIDOMXULLabeledControlElement {
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 05:05:26 +03:00
|
|
|
const short CHECKSTATE_UNCHECKED = 0;
|
|
|
|
const short CHECKSTATE_CHECKED = 1;
|
|
|
|
const short CHECKSTATE_MIXED = 2;
|
|
|
|
|
2001-09-26 02:41:10 +04:00
|
|
|
attribute DOMString type;
|
|
|
|
attribute DOMString dlgType;
|
|
|
|
|
|
|
|
// For buttons of type="menu" only.
|
|
|
|
attribute boolean open;
|
|
|
|
|
|
|
|
// For buttons of type="checkbox" only.
|
|
|
|
attribute boolean checked;
|
|
|
|
attribute long checkState;
|
|
|
|
attribute boolean autoCheck;
|
2001-10-02 07:06:51 +04:00
|
|
|
|
|
|
|
// For buttons of type="radio" only.
|
|
|
|
attribute DOMString group;
|
2001-09-26 02:41:10 +04:00
|
|
|
};
|
|
|
|
|