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

HTMLLegendElement

public interface HTMLLegendElement implements HTMLElement
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.

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

public voidsetAlign(java.lang.String align)