public interface

HTMLLegendElement

implements HTMLElement
org.w3c.dom.html.HTMLLegendElement

Class Overview

Provides a caption for a FIELDSET grouping. See the LEGEND 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 String getAlign()
Text alignment relative to FIELDSET .
abstract HTMLFormElement getForm()
Returns the FORM element containing this control.
abstract void setAccessKey(String accessKey)
abstract void setAlign(String align)
[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 String getAlign ()

Text alignment relative to FIELDSET . See the align attribute definition in HTML 4.0. This attribute is deprecated 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 void setAccessKey (String accessKey)

public abstract void setAlign (String align)