Source for org.w3c.dom.html2.HTMLLegendElement

   1: /*
   2:  * Copyright (c) 2003 World Wide Web Consortium,
   3:  * (Massachusetts Institute of Technology, Institut National de
   4:  * Recherche en Informatique et en Automatique, Keio University). All
   5:  * Rights Reserved. This program is distributed under the W3C's Software
   6:  * Intellectual Property License. This program is distributed in the
   7:  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
   8:  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
   9:  * PURPOSE.
  10:  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  11:  */
  12: 
  13: package org.w3c.dom.html2;
  14: 
  15: /**
  16:  * Provides a caption for a <code>FIELDSET</code> grouping. See the LEGEND 
  17:  * element definition in HTML 4.01.
  18:  * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML 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 
  24:      * form. 
  25:      */
  26:     public HTMLFormElement getForm();
  27: 
  28:     /**
  29:      * A single character access key to give access to the form control. See 
  30:      * the accesskey attribute definition in HTML 4.01.
  31:      */
  32:     public String getAccessKey();
  33:     /**
  34:      * A single character access key to give access to the form control. See 
  35:      * the accesskey attribute definition in HTML 4.01.
  36:      */
  37:     public void setAccessKey(String accessKey);
  38: 
  39:     /**
  40:      * Text alignment relative to <code>FIELDSET</code>. See the align 
  41:      * attribute definition in HTML 4.01. This attribute is deprecated in 
  42:      * HTML 4.01.
  43:      */
  44:     public String getAlign();
  45:     /**
  46:      * Text alignment relative to <code>FIELDSET</code>. See the align 
  47:      * attribute definition in HTML 4.01. This attribute is deprecated in 
  48:      * HTML 4.01.
  49:      */
  50:     public void setAlign(String align);
  51: 
  52: }