Source for org.w3c.dom.html2.HTMLBodyElement

   1: /*
   2:  * Copyright (c) 2003 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.
  10:  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  11:  */
  12: 
  13: package org.w3c.dom.html2;
  14: 
  15: /**
  16:  * The HTML document body. This element is always present in the DOM API, even 
  17:  * if the tags are not present in the source document. See the BODY element 
  18:  * definition in HTML 4.01.
  19:  * <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>.
  20:  */
  21: public interface HTMLBodyElement extends HTMLElement {
  22:     /**
  23:      * Color of active links (after mouse-button down, but before mouse-button 
  24:      * up). See the alink attribute definition in HTML 4.01. This attribute 
  25:      * is deprecated in HTML 4.01.
  26:      */
  27:     public String getALink();
  28:     /**
  29:      * Color of active links (after mouse-button down, but before mouse-button 
  30:      * up). See the alink attribute definition in HTML 4.01. This attribute 
  31:      * is deprecated in HTML 4.01.
  32:      */
  33:     public void setALink(String aLink);
  34: 
  35:     /**
  36:      * URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the background texture tile image. See the background attribute 
  37:      * definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
  38:      */
  39:     public String getBackground();
  40:     /**
  41:      * URI [<a href='http://www.ietf.org/rfc/rfc2396.txt'>IETF RFC 2396</a>] of the background texture tile image. See the background attribute 
  42:      * definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
  43:      */
  44:     public void setBackground(String background);
  45: 
  46:     /**
  47:      * Document background color. See the bgcolor attribute definition in HTML 
  48:      * 4.01. This attribute is deprecated in HTML 4.01.
  49:      */
  50:     public String getBgColor();
  51:     /**
  52:      * Document background color. See the bgcolor attribute definition in HTML 
  53:      * 4.01. This attribute is deprecated in HTML 4.01.
  54:      */
  55:     public void setBgColor(String bgColor);
  56: 
  57:     /**
  58:      * Color of links that are not active and unvisited. See the link 
  59:      * attribute definition in HTML 4.01. This attribute is deprecated in 
  60:      * HTML 4.01.
  61:      */
  62:     public String getLink();
  63:     /**
  64:      * Color of links that are not active and unvisited. See the link 
  65:      * attribute definition in HTML 4.01. This attribute is deprecated in 
  66:      * HTML 4.01.
  67:      */
  68:     public void setLink(String link);
  69: 
  70:     /**
  71:      * Document text color. See the text attribute definition in HTML 4.01. 
  72:      * This attribute is deprecated in HTML 4.01.
  73:      */
  74:     public String getText();
  75:     /**
  76:      * Document text color. See the text attribute definition in HTML 4.01. 
  77:      * This attribute is deprecated in HTML 4.01.
  78:      */
  79:     public void setText(String text);
  80: 
  81:     /**
  82:      * Color of links that have been visited by the user. See the vlink 
  83:      * attribute definition in HTML 4.01. This attribute is deprecated in 
  84:      * HTML 4.01.
  85:      */
  86:     public String getVLink();
  87:     /**
  88:      * Color of links that have been visited by the user. See the vlink 
  89:      * attribute definition in HTML 4.01. This attribute is deprecated in 
  90:      * HTML 4.01.
  91:      */
  92:     public void setVLink(String vLink);
  93: 
  94: }