org.w3c.dom.html2
Interface HTMLButtonElement
public
interface
HTMLButtonElement
extends HTMLElement
Method Summary |
String | getAccessKey()
A single character access key to give access to the form control. |
boolean | getDisabled()
The control is unavailable in this context. |
HTMLFormElement | getForm()
Returns the FORM element containing this control. |
String | getName()
Form control or object name when submitted with a form. |
int | getTabIndex()
Index that represents the element's position in the tabbing order. |
String | getType()
The type of button (all lower case). |
String | getValue()
The current form control value. |
void | setAccessKey(String accessKey)
A single character access key to give access to the form control. |
void | setDisabled(boolean disabled)
The control is unavailable in this context. |
void | setName(String name)
Form control or object name when submitted with a form. |
void | setTabIndex(int tabIndex)
Index that represents the element's position in the tabbing order. |
void | setValue(String value)
The current form control value. |
A single character access key to give access to the form control. See
the accesskey attribute definition in HTML 4.01.
public boolean getDisabled()
The control is unavailable in this context. See the disabled attribute
definition in HTML 4.01.
Returns the FORM
element containing this control. Returns
null
if this control is not within the context of a
form.
Form control or object name when submitted with a form. See the name
attribute definition in HTML 4.01.
public int getTabIndex()
Index that represents the element's position in the tabbing order. See
the tabindex attribute definition in HTML 4.01.
The type of button (all lower case). See the type attribute definition
in HTML 4.01.
The current form control value. See the value attribute definition in
HTML 4.01.
public void setAccessKey(
String accessKey)
A single character access key to give access to the form control. See
the accesskey attribute definition in HTML 4.01.
public void setDisabled(boolean disabled)
The control is unavailable in this context. See the disabled attribute
definition in HTML 4.01.
public void setName(
String name)
Form control or object name when submitted with a form. See the name
attribute definition in HTML 4.01.
public void setTabIndex(int tabIndex)
Index that represents the element's position in the tabbing order. See
the tabindex attribute definition in HTML 4.01.
public void setValue(
String value)
The current form control value. See the value attribute definition in
HTML 4.01.