1 57 package com.sun.org.apache.html.internal.dom; 58 59 60 import org.w3c.dom.html.HTMLImageElement; 61 62 63 69 public class HTMLImageElementImpl 70 extends HTMLElementImpl 71 implements HTMLImageElement 72 { 73 74 75 public String getLowSrc() 76 { 77 return getAttribute( "lowsrc" ); 78 } 79 80 81 public void setLowSrc( String lowSrc ) 82 { 83 setAttribute( "lowsrc", lowSrc ); 84 } 85 86 87 public String getSrc() 88 { 89 return getAttribute( "src" ); 90 } 91 92 93 public void setSrc( String src ) 94 { 95 setAttribute( "src", src ); 96 } 97 98 99 public String getName() 100 { 101 return getAttribute( "name" ); 102 } 103 104 105 public void setName( String name ) 106 { 107 setAttribute( "name", name ); 108 } 109 110 111 public String getAlign() 112 { 113 return capitalize( getAttribute( "align" ) ); 114 } 115 116 117 public void setAlign( String align ) 118 { 119 setAttribute( "align", align ); 120 } 121 122 123 public String getAlt() 124 { 125 return getAttribute( "alt" ); 126 } 127 128 129 public void setAlt( String alt ) 130 { 131 setAttribute( "alt", alt ); 132 } 133 134 135 public String getBorder() 136 { 137 return getAttribute( "border" ); 138 } 139 140 141 public void setBorder( String border ) 142 { 143 setAttribute( "border", border ); 144 } 145 146 147 public String getHeight() 148 { 149 return getAttribute( "height" ); 150 } 151 152 153 public void setHeight( String height ) 154 { 155 setAttribute( "height", height ); 156 } 157 158 159 public String getHspace() 160 { 161 return getAttribute( "hspace" ); 162 } 163 164 165 public void setHspace( String hspace ) 166 { 167 setAttribute( "hspace", hspace ); 168 } 169 170 171 public boolean getIsMap() 172 { 173 return getBinary( "ismap" ); 174 } 175 176 177 public void setIsMap( boolean isMap ) 178 { 179 setAttribute( "ismap", isMap ); 180 } 181 182 183 public String getLongDesc() 184 { 185 return getAttribute( "longdesc" ); 186 } 187 188 189 public void setLongDesc( String longDesc ) 190 { 191 setAttribute( "longdesc", longDesc ); 192 } 193 194 195 public String getUseMap() 196 { 197 return getAttribute( "useMap" ); 198 } 199 200 201 public void setUseMap( String useMap ) 202 { 203 setAttribute( "useMap", useMap ); 204 } 205 206 207 public String getVspace() 208 { 209 return getAttribute( "vspace" ); 210 } 211 212 213 public void setVspace( String vspace ) 214 { 215 setAttribute( "vspace", vspace ); 216 } 217 218 219 public String getWidth() 220 { 221 return getAttribute( "width" ); 222 } 223 224 225 public void setWidth( String width ) 226 { 227 setAttribute( "width", width ); 228 } 229 230 231 236 public HTMLImageElementImpl( HTMLDocumentImpl owner, String name ) 237 { 238 super( owner, name ); 239 } 240 241 242 } 243 244 | Popular Tags |