KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > html > HTMLStyleElement


1 /*
2  * Copyright (c) 2000 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. See W3C License http://www.w3.org/Consortium/Legal/ for more
10  * details.
11  */

12
13 package org.w3c.dom.html;
14
15 /**
16  * Style information. See the STYLE element definition in HTML 4.0, the
17  * module and the <code>LinkStyle</code> interface in the module.
18  * <p>See also the <a HREF='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
19  */

20 public interface HTMLStyleElement extends HTMLElement {
21     /**
22      * Enables/disables the style sheet.
23      */

24     public boolean getDisabled();
25     public void setDisabled(boolean disabled);
26
27     /**
28      * Designed for use with one or more target media. See the media
29      * attribute definition in HTML 4.0.
30      */

31     public String JavaDoc getMedia();
32     public void setMedia(String JavaDoc media);
33
34     /**
35      * The content type pf the style sheet language. See the type attribute
36      * definition in HTML 4.0.
37      */

38     public String JavaDoc getType();
39     public void setType(String JavaDoc type);
40
41 }
42
43
Popular Tags