All Packages Class Hierarchy This Package Previous Next Index
Interface org.w3c.dom.html.HTMLButtonElement
- public interface HTMLButtonElement
- extends HTMLElement
Push button. See the BUTTON element definition in HTML 4.0.
-
getAccessKey()
- A single character access key to give access to the form control.
-
getDisabled()
- The control is unavailable in this context.
-
getForm()
- Returns the FORM element containing this control.
-
getName()
- Form control or object name when submitted with a form.
-
getTabIndex()
- Index that represents the element's position in the tabbing order.
-
getType()
- The type of button.
-
getValue()
- The current form control value.
-
setAccessKey(String)
-
-
setDisabled(boolean)
-
-
setName(String)
-
-
setTabIndex(int)
-
-
setValue(String)
-
getForm
public abstract HTMLFormElement getForm()
- Returns the FORM element containing this control.
Returns null if this control is not within the context of a form.
getAccessKey
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.
setAccessKey
public abstract void setAccessKey(String accessKey)
getDisabled
public abstract boolean getDisabled()
- The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.
setDisabled
public abstract void setDisabled(boolean disabled)
getName
public abstract String getName()
- Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.
setName
public abstract void setName(String name)
getTabIndex
public abstract int getTabIndex()
- Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.
setTabIndex
public abstract void setTabIndex(int tabIndex)
getType
public abstract String getType()
- The type of button.
See the type attribute definition in HTML 4.0.
getValue
public abstract String getValue()
- The current form control value. See the value attribute definition in HTML 4.0.
setValue
public abstract void setValue(String value)
All Packages Class Hierarchy This Package Previous Next Index