Source for org.w3c.dom.html2.HTMLStyleElement

   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:  *  Style information. See the STYLE element definition in HTML 4.01, the CSS
  17:  * 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
  18:  * module [<a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>DOM Level 2 Style Sheets and CSS</a>].
  19:  * <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>.
  20:  */
  21: public interface HTMLStyleElement extends HTMLElement {
  22:     /**
  23:      * Enables/disables the style sheet.
  24:      */
  25:     public boolean getDisabled();
  26:     /**
  27:      * Enables/disables the style sheet.
  28:      */
  29:     public void setDisabled(boolean disabled);
  30: 
  31:     /**
  32:      * Designed for use with one or more target media. See the media attribute
  33:      * definition in HTML 4.01.
  34:      */
  35:     public String getMedia();
  36:     /**
  37:      * Designed for use with one or more target media. See the media attribute
  38:      * definition in HTML 4.01.
  39:      */
  40:     public void setMedia(String media);
  41: 
  42:     /**
  43:      * The content type of the style sheet language. See the type attribute
  44:      * definition in HTML 4.01.
  45:      */
  46:     public String getType();
  47:     /**
  48:      * The content type of the style sheet language. See the type attribute
  49:      * definition in HTML 4.01.
  50:      */
  51:     public void setType(String type);
  52: 
  53: }