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. package org.w3c.dom.html;
  13. /**
  14. * The HTML document body. This element is always present in the DOM API,
  15. * even if the tags are not present in the source document. See the BODY
  16. * element definition in HTML 4.0.
  17. * <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>.
  18. */
  19. public interface HTMLBodyElement extends HTMLElement {
  20. /**
  21. * Color of active links (after mouse-button down, but before
  22. * mouse-button up). See the alink attribute definition in HTML 4.0.
  23. * This attribute is deprecated in HTML 4.0.
  24. */
  25. public String getALink();
  26. public void setALink(String aLink);
  27. /**
  28. * URI of the background texture tile image. See the background
  29. * attribute definition in HTML 4.0. This attribute is deprecated in HTML
  30. * 4.0.
  31. */
  32. public String getBackground();
  33. public void setBackground(String background);
  34. /**
  35. * Document background color. See the bgcolor attribute definition in
  36. * HTML 4.0. This attribute is deprecated in HTML 4.0.
  37. */
  38. public String getBgColor();
  39. public void setBgColor(String bgColor);
  40. /**
  41. * Color of links that are not active and unvisited. See the link
  42. * attribute definition in HTML 4.0. This attribute is deprecated in HTML
  43. * 4.0.
  44. */
  45. public String getLink();
  46. public void setLink(String link);
  47. /**
  48. * Document text color. See the text attribute definition in HTML 4.0.
  49. * This attribute is deprecated in HTML 4.0.
  50. */
  51. public String getText();
  52. public void setText(String text);
  53. /**
  54. * Color of links that have been visited by the user. See the vlink
  55. * attribute definition in HTML 4.0. This attribute is deprecated in HTML
  56. * 4.0.
  57. */
  58. public String getVLink();
  59. public void setVLink(String vLink);
  60. }