Path: blob/aarch64-shenandoah-jdk8u272-b10/jaxp/src/org/w3c/dom/html/HTMLBodyElement.java
86410 views
/*1* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.2*3* This code is free software; you can redistribute it and/or modify it4* under the terms of the GNU General Public License version 2 only, as5* published by the Free Software Foundation. Oracle designates this6* particular file as subject to the "Classpath" exception as provided7* by Oracle in the LICENSE file that accompanied this code.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*/2324/*25* This file is available under and governed by the GNU General Public26* License version 2 only, as published by the Free Software Foundation.27* However, the following notice accompanied the original version of this28* file and, per its terms, should not be removed:29*30* Copyright (c) 2000 World Wide Web Consortium,31* (Massachusetts Institute of Technology, Institut National de32* Recherche en Informatique et en Automatique, Keio University). All33* Rights Reserved. This program is distributed under the W3C's Software34* Intellectual Property License. This program is distributed in the35* hope that it will be useful, but WITHOUT ANY WARRANTY; without even36* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR37* PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more38* details.39*/4041package org.w3c.dom.html;4243/**44* The HTML document body. This element is always present in the DOM API,45* even if the tags are not present in the source document. See the BODY46* element definition in HTML 4.0.47* <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>.48*/49public interface HTMLBodyElement extends HTMLElement {50/**51* Color of active links (after mouse-button down, but before52* mouse-button up). See the alink attribute definition in HTML 4.0.53* This attribute is deprecated in HTML 4.0.54*/55public String getALink();56public void setALink(String aLink);5758/**59* URI of the background texture tile image. See the background60* attribute definition in HTML 4.0. This attribute is deprecated in HTML61* 4.0.62*/63public String getBackground();64public void setBackground(String background);6566/**67* Document background color. See the bgcolor attribute definition in68* HTML 4.0. This attribute is deprecated in HTML 4.0.69*/70public String getBgColor();71public void setBgColor(String bgColor);7273/**74* Color of links that are not active and unvisited. See the link75* attribute definition in HTML 4.0. This attribute is deprecated in HTML76* 4.0.77*/78public String getLink();79public void setLink(String link);8081/**82* Document text color. See the text attribute definition in HTML 4.0.83* This attribute is deprecated in HTML 4.0.84*/85public String getText();86public void setText(String text);8788/**89* Color of links that have been visited by the user. See the vlink90* attribute definition in HTML 4.0. This attribute is deprecated in HTML91* 4.0.92*/93public String getVLink();94public void setVLink(String vLink);9596}979899