FileDocCategorySizeDatePackage
HTMLButtonElement.javaAPI DocJava SE 5 API2247Fri Aug 26 14:58:40 BST 2005org.w3c.dom.html

HTMLButtonElement

public interface HTMLButtonElement implements HTMLElement
Push button. See the BUTTON element definition in HTML 4.0.

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

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAccessKey()
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

public booleangetDisabled()
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.

public org.w3c.dom.html.HTMLFormElementgetForm()
Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

public java.lang.StringgetName()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

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

public java.lang.StringgetType()
The type of button. See the type attribute definition in HTML 4.0.

public java.lang.StringgetValue()
The current form control value. See the value attribute definition in HTML 4.0.

public voidsetAccessKey(java.lang.String accessKey)

public voidsetDisabled(boolean disabled)

public voidsetName(java.lang.String name)

public voidsetTabIndex(int tabIndex)

public voidsetValue(java.lang.String value)