public interface

HTMLButtonElement

implements HTMLElement
org.w3c.dom.html.HTMLButtonElement

Class Overview

Push button. See the BUTTON element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract String getAccessKey()
A single character access key to give access to the form control.
abstract boolean getDisabled()
The control is unavailable in this context.
abstract HTMLFormElement getForm()
Returns the FORM element containing this control.
abstract String getName()
Form control or object name when submitted with a form.
abstract int getTabIndex()
Index that represents the element's position in the tabbing order.
abstract String getType()
The type of button.
abstract String getValue()
The current form control value.
abstract void setAccessKey(String accessKey)
abstract void setDisabled(boolean disabled)
abstract void setName(String name)
abstract void setTabIndex(int tabIndex)
abstract void setValue(String value)
[Expand]
Inherited Methods
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.html.HTMLElement

Public Methods

public abstract String getAccessKey ()

A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

public abstract boolean getDisabled ()

The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.

public abstract HTMLFormElement getForm ()

Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

public abstract String getName ()

Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

public abstract int getTabIndex ()

Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

public abstract String getType ()

The type of button. See the type attribute definition in HTML 4.0.

public abstract String getValue ()

The current form control value. See the value attribute definition in HTML 4.0.

public abstract void setAccessKey (String accessKey)

public abstract void setDisabled (boolean disabled)

public abstract void setName (String name)

public abstract void setTabIndex (int tabIndex)

public abstract void setValue (String value)