001    /*
002     * Copyright (c) 2003 World Wide Web Consortium,
003     * (Massachusetts Institute of Technology, Institut National de
004     * Recherche en Informatique et en Automatique, Keio University). All
005     * Rights Reserved. This program is distributed under the W3C's Software
006     * Intellectual Property License. This program is distributed in the
007     * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008     * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009     * PURPOSE.
010     * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011     */
012    
013    package org.w3c.dom.html2;
014    
015    /**
016     * Group options together in logical subdivisions. See the OPTGROUP element
017     * definition in HTML 4.01.
018     * <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>.
019     */
020    public interface HTMLOptGroupElement extends HTMLElement {
021        /**
022         * The control is unavailable in this context. See the disabled attribute
023         * definition in HTML 4.01.
024         */
025        public boolean getDisabled();
026        /**
027         * The control is unavailable in this context. See the disabled attribute
028         * definition in HTML 4.01.
029         */
030        public void setDisabled(boolean disabled);
031    
032        /**
033         * Assigns a label to this option group. See the label attribute definition
034         *  in HTML 4.01.
035         */
036        public String getLabel();
037        /**
038         * Assigns a label to this option group. See the label attribute definition
039         *  in HTML 4.01.
040         */
041        public void setLabel(String label);
042    
043    }