1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLBodyElement; 61 62 63 69 public class HTMLBodyElementImpl 70 extends HTMLElementImpl 71 implements HTMLBodyElement 72 { 73 74 public String getALink() 75 { 76 return getAttribute( "alink" ); 77 } 78 79 80 public void setALink(String aLink) 81 { 82 setAttribute( "alink", aLink ); 83 } 84 85 86 public String getBackground() 87 { 88 return getAttribute( "background" ); 89 } 90 91 92 public void setBackground( String background ) 93 { 94 setAttribute( "background", background ); 95 } 96 97 98 public String getBgColor() 99 { 100 return getAttribute( "bgcolor" ); 101 } 102 103 104 public void setBgColor(String bgColor) 105 { 106 setAttribute( "bgcolor", bgColor ); 107 } 108 109 110 public String getLink() 111 { 112 return getAttribute( "link" ); 113 } 114 115 116 public void setLink(String link) 117 { 118 setAttribute( "link", link ); 119 } 120 121 122 public String getText() 123 { 124 return getAttribute( "text" ); 125 } 126 127 128 public void setText(String text) 129 { 130 setAttribute( "text", text ); 131 } 132 133 134 public String getVLink() 135 { 136 return getAttribute( "vlink" ); 137 } 138 139 140 public void setVLink(String vLink) 141 { 142 setAttribute( "vlink", vLink ); 143 } 144 145 146 151 public HTMLBodyElementImpl( HTMLDocumentImpl owner, String name ) 152 { 153 super( owner, name ); 154 } 155 156 157 } 158 159 | Popular Tags |