Dead
[official-gcc.git] / gomp-20050608-branch / libjava / classpath / external / w3c_dom / org / w3c / dom / html2 / HTMLButtonElement.java
blob7efe1834c26e6b6a627c7b20b5605001e0ce9278
1 /*
2 * Copyright (c) 2003 World Wide Web Consortium,
3 * (Massachusetts Institute of Technology, Institut National de
4 * Recherche en Informatique et en Automatique, Keio University). All
5 * Rights Reserved. This program is distributed under the W3C's Software
6 * Intellectual Property License. This program is distributed in the
7 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 * PURPOSE.
10 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
13 package org.w3c.dom.html2;
15 /**
16 * Push button. See the BUTTON element definition in HTML 4.01.
17 * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
19 public interface HTMLButtonElement extends HTMLElement {
20 /**
21 * Returns the <code>FORM</code> element containing this control. Returns
22 * <code>null</code> if this control is not within the context of a
23 * form.
25 public HTMLFormElement getForm();
27 /**
28 * A single character access key to give access to the form control. See
29 * the accesskey attribute definition in HTML 4.01.
31 public String getAccessKey();
32 /**
33 * A single character access key to give access to the form control. See
34 * the accesskey attribute definition in HTML 4.01.
36 public void setAccessKey(String accessKey);
38 /**
39 * The control is unavailable in this context. See the disabled attribute
40 * definition in HTML 4.01.
42 public boolean getDisabled();
43 /**
44 * The control is unavailable in this context. See the disabled attribute
45 * definition in HTML 4.01.
47 public void setDisabled(boolean disabled);
49 /**
50 * Form control or object name when submitted with a form. See the name
51 * attribute definition in HTML 4.01.
53 public String getName();
54 /**
55 * Form control or object name when submitted with a form. See the name
56 * attribute definition in HTML 4.01.
58 public void setName(String name);
60 /**
61 * Index that represents the element's position in the tabbing order. See
62 * the tabindex attribute definition in HTML 4.01.
64 public int getTabIndex();
65 /**
66 * Index that represents the element's position in the tabbing order. See
67 * the tabindex attribute definition in HTML 4.01.
69 public void setTabIndex(int tabIndex);
71 /**
72 * The type of button (all lower case). See the type attribute definition
73 * in HTML 4.01.
75 public String getType();
77 /**
78 * The current form control value. See the value attribute definition in
79 * HTML 4.01.
81 public String getValue();
82 /**
83 * The current form control value. See the value attribute definition in
84 * HTML 4.01.
86 public void setValue(String value);