KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2     GNU LESSER GENERAL PUBLIC LICENSE
3     Copyright (C) 2006 The Lobo Project
4
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13     Lesser General Public License for more details.
14
15     You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19     Contact info: xamjadmin@users.sourceforge.net
20 */

21 /*
22  * Copyright (c) 2003 World Wide Web Consortium,
23  * (Massachusetts Institute of Technology, Institut National de
24  * Recherche en Informatique et en Automatique, Keio University). All
25  * Rights Reserved. This program is distributed under the W3C's Software
26  * Intellectual Property License. This program is distributed in the
27  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
28  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
29  * PURPOSE.
30  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
31  */

32
33 package org.w3c.dom.html2;
34
35 /**
36  * The HTML document body. This element is always present in the DOM API, even
37  * if the tags are not present in the source document. See the BODY element
38  * definition in HTML 4.01.
39  * <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>.
40  */

41 public interface HTMLBodyElement extends HTMLElement {
42     /**
43      * Color of active links (after mouse-button down, but before mouse-button
44      * up). See the alink attribute definition in HTML 4.01. This attribute
45      * is deprecated in HTML 4.01.
46      */

47     public String JavaDoc getALink();
48     /**
49      * Color of active links (after mouse-button down, but before mouse-button
50      * up). See the alink attribute definition in HTML 4.01. This attribute
51      * is deprecated in HTML 4.01.
52      */

53     public void setALink(String JavaDoc aLink);
54
55     /**
56      * URI [<a HREF='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the background texture tile image. See the background attribute
57      * definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
58      */

59     public String JavaDoc getBackground();
60     /**
61      * URI [<a HREF='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the background texture tile image. See the background attribute
62      * definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
63      */

64     public void setBackground(String JavaDoc background);
65
66     /**
67      * Document background color. See the bgcolor attribute definition in HTML
68      * 4.01. This attribute is deprecated in HTML 4.01.
69      */

70     public String JavaDoc getBgColor();
71     /**
72      * Document background color. See the bgcolor attribute definition in HTML
73      * 4.01. This attribute is deprecated in HTML 4.01.
74      */

75     public void setBgColor(String JavaDoc bgColor);
76
77     /**
78      * Color of links that are not active and unvisited. See the link
79      * attribute definition in HTML 4.01. This attribute is deprecated in
80      * HTML 4.01.
81      */

82     public String JavaDoc getLink();
83     /**
84      * Color of links that are not active and unvisited. See the link
85      * attribute definition in HTML 4.01. This attribute is deprecated in
86      * HTML 4.01.
87      */

88     public void setLink(String JavaDoc link);
89
90     /**
91      * Document text color. See the text attribute definition in HTML 4.01.
92      * This attribute is deprecated in HTML 4.01.
93      */

94     public String JavaDoc getText();
95     /**
96      * Document text color. See the text attribute definition in HTML 4.01.
97      * This attribute is deprecated in HTML 4.01.
98      */

99     public void setText(String JavaDoc text);
100
101     /**
102      * Color of links that have been visited by the user. See the vlink
103      * attribute definition in HTML 4.01. This attribute is deprecated in
104      * HTML 4.01.
105      */

106     public String JavaDoc getVLink();
107     /**
108      * Color of links that have been visited by the user. See the vlink
109      * attribute definition in HTML 4.01. This attribute is deprecated in
110      * HTML 4.01.
111      */

112     public void setVLink(String JavaDoc vLink);
113
114 }
115
Popular Tags