KickJava   Java API By Example, From Geeks To Geeks.

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


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  * The HTML document body. This element is always present in the DOM API,
17  * even if the tags are not present in the source document. See the BODY
18  * element definition in HTML 4.0.
19  * <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>.
20  */

21 public interface HTMLBodyElement extends HTMLElement {
22     /**
23      * Color of active links (after mouse-button down, but before
24      * mouse-button up). See the alink attribute definition in HTML 4.0.
25      * This attribute is deprecated in HTML 4.0.
26      */

27     public String JavaDoc getALink();
28     public void setALink(String JavaDoc aLink);
29
30     /**
31      * URI of the background texture tile image. See the background
32      * attribute definition in HTML 4.0. This attribute is deprecated in HTML
33      * 4.0.
34      */

35     public String JavaDoc getBackground();
36     public void setBackground(String JavaDoc background);
37
38     /**
39      * Document background color. See the bgcolor attribute definition in
40      * HTML 4.0. This attribute is deprecated in HTML 4.0.
41      */

42     public String JavaDoc getBgColor();
43     public void setBgColor(String JavaDoc bgColor);
44
45     /**
46      * Color of links that are not active and unvisited. See the link
47      * attribute definition in HTML 4.0. This attribute is deprecated in HTML
48      * 4.0.
49      */

50     public String JavaDoc getLink();
51     public void setLink(String JavaDoc link);
52
53     /**
54      * Document text color. See the text attribute definition in HTML 4.0.
55      * This attribute is deprecated in HTML 4.0.
56      */

57     public String JavaDoc getText();
58     public void setText(String JavaDoc text);
59
60     /**
61      * Color of links that have been visited by the user. See the vlink
62      * attribute definition in HTML 4.0. This attribute is deprecated in HTML
63      * 4.0.
64      */

65     public String JavaDoc getVLink();
66     public void setVLink(String JavaDoc vLink);
67
68 }
69
70
Popular Tags