public interface

HTMLBodyElement

implements HTMLElement
org.w3c.dom.html.HTMLBodyElement

Class Overview

The HTML document body. This element is always present in the DOM API, even if the tags are not present in the source document. See the BODY element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract String getALink()
Color of active links (after mouse-button down, but before mouse-button up).
abstract String getBackground()
URI of the background texture tile image.
abstract String getBgColor()
Document background color.
abstract String getLink()
Color of links that are not active and unvisited.
abstract String getText()
Document text color.
abstract String getVLink()
Color of links that have been visited by the user.
abstract void setALink(String aLink)
abstract void setBackground(String background)
abstract void setBgColor(String bgColor)
abstract void setLink(String link)
abstract void setText(String text)
abstract void setVLink(String vLink)
[Expand]
Inherited Methods
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.html.HTMLElement

Public Methods

public abstract String getALink ()

Color of active links (after mouse-button down, but before mouse-button up). See the alink attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract String getBackground ()

URI of the background texture tile image. See the background attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract String getBgColor ()

Document background color. See the bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract String getLink ()

Color of links that are not active and unvisited. See the link attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract String getText ()

Document text color. See the text attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract String getVLink ()

Color of links that have been visited by the user. See the vlink attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract void setALink (String aLink)

public abstract void setBackground (String background)

public abstract void setBgColor (String bgColor)

public abstract void setLink (String link)

public abstract void setText (String text)

public abstract void setVLink (String vLink)