01: /*
02: * Copyright (c) 2000 World Wide Web Consortium,
03: * (Massachusetts Institute of Technology, Institut National de
04: * Recherche en Informatique et en Automatique, Keio University). All
05: * Rights Reserved. This program is distributed under the W3C's Software
06: * Intellectual Property License. This program is distributed in the
07: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
08: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
09: * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10: * details.
11: */
12:
13: package org.w3c.dom.html;
14:
15: /**
16: * Provides a caption for a <code>FIELDSET</code> grouping. See the LEGEND
17: * element definition in HTML 4.0.
18: * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
19: */
20: public interface HTMLLegendElement extends HTMLElement {
21: /**
22: * Returns the <code>FORM</code> element containing this control. Returns
23: * <code>null</code> if this control is not within the context of a form.
24: */
25: public HTMLFormElement getForm();
26:
27: /**
28: * A single character access key to give access to the form control. See
29: * the accesskey attribute definition in HTML 4.0.
30: */
31: public String getAccessKey();
32:
33: public void setAccessKey(String accessKey);
34:
35: /**
36: * Text alignment relative to <code>FIELDSET</code> . See the align
37: * attribute definition in HTML 4.0. This attribute is deprecated in HTML
38: * 4.0.
39: */
40: public String getAlign();
41:
42: public void setAlign(String align);
43:
44: }
|