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     *  Style information. See the STYLE element definition in HTML 4.01, the CSS
017     * module [<a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>DOM Level 2 Style Sheets and CSS</a>] and the <code>LinkStyle</code> interface in the StyleSheets
018     * module [<a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>DOM Level 2 Style Sheets and CSS</a>].
019     * <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>.
020     */
021    public interface HTMLStyleElement extends HTMLElement {
022        /**
023         * Enables/disables the style sheet.
024         */
025        public boolean getDisabled();
026        /**
027         * Enables/disables the style sheet.
028         */
029        public void setDisabled(boolean disabled);
030    
031        /**
032         * Designed for use with one or more target media. See the media attribute
033         * definition in HTML 4.01.
034         */
035        public String getMedia();
036        /**
037         * Designed for use with one or more target media. See the media attribute
038         * definition in HTML 4.01.
039         */
040        public void setMedia(String media);
041    
042        /**
043         * The content type of the style sheet language. See the type attribute
044         * definition in HTML 4.01.
045         */
046        public String getType();
047        /**
048         * The content type of the style sheet language. See the type attribute
049         * definition in HTML 4.01.
050         */
051        public void setType(String type);
052    
053    }