Source for org.w3c.dom.html2.HTMLOptGroupElement

   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:  * Group options together in logical subdivisions. See the OPTGROUP element 
  17:  * 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 HTMLOptGroupElement extends HTMLElement {
  21:     /**
  22:      * The control is unavailable in this context. See the disabled attribute 
  23:      * definition in HTML 4.01.
  24:      */
  25:     public boolean getDisabled();
  26:     /**
  27:      * The control is unavailable in this context. See the disabled attribute 
  28:      * definition in HTML 4.01.
  29:      */
  30:     public void setDisabled(boolean disabled);
  31: 
  32:     /**
  33:      * Assigns a label to this option group. See the label attribute definition
  34:      *  in HTML 4.01.
  35:      */
  36:     public String getLabel();
  37:     /**
  38:      * Assigns a label to this option group. See the label attribute definition
  39:      *  in HTML 4.01.
  40:      */
  41:     public void setLabel(String label);
  42: 
  43: }