1 /* 2 * Copyright (c) 1998 World Wide Web Consortium, (Massachusetts Institute of 3 * Technology, Institut National de Recherche en Informatique et en 4 * Automatique, Keio University). 5 * All Rights Reserved. http://www.w3.org/Consortium/Legal/ 6 */ 7 8 package org.w3c.dom.html; 9 10 import org.w3c.dom; 11 12 /** 13 * Embedded image. See the IMG element definition in HTML 4.0. 14 */ 15 public interface HTMLImageElement extends HTMLElement { 16 /** 17 * URI designating the source of this image, for low-resolution output. 18 */ 19 public String getLowSrc(); 20 public void setLowSrc(String lowSrc); 21 /** 22 * The name of the element (for backwards compatibility). 23 */ 24 public String getName(); 25 public void setName(String name); 26 /** 27 * Aligns this object (vertically or horizontally) with respect to its 28 * surrounding text. See the align attribute definition in HTML 4.0. This 29 * attribute is deprecated in HTML 4.0. 30 */ 31 public String getAlign(); 32 public void setAlign(String align); 33 /** 34 * Alternate text for user agents not rendering the normal contentof this 35 * element. See the alt attribute definition in HTML 4.0. 36 */ 37 public String getAlt(); 38 public void setAlt(String alt); 39 /** 40 * Width of border around image. See the border attribute definition in HTML 41 * 4.0. This attribute is deprecated in HTML 4.0. 42 */ 43 public String getBorder(); 44 public void setBorder(String border); 45 /** 46 * Override height. See the height attribute definition in HTML 4.0. 47 */ 48 public String getHeight(); 49 public void setHeight(String height); 50 /** 51 * Horizontal space to the left and right of this image. See the hspace 52 * attribute definition in HTML 4.0. This attribute is deprecated in HTML 53 * 4.0. 54 */ 55 public String getHspace(); 56 public void setHspace(String hspace); 57 /** 58 * Use server-side image map. See the ismap attribute definition in HTML 4.0. 59 */ 60 public boolean getIsMap(); 61 public void setIsMap(boolean isMap); 62 /** 63 * URI designating a long description of this image or frame. See the 64 * longdesc attribute definition in HTML 4.0. 65 */ 66 public String getLongDesc(); 67 public void setLongDesc(String longDesc); 68 /** 69 * URI designating the source of this image. See the src attribute definition 70 * in HTML 4.0. 71 */ 72 public String getSrc(); 73 public void setSrc(String src); 74 /** 75 * Use client-side image map. See the usemap attribute definition in HTML 76 * 4.0. 77 */ 78 public String getUseMap(); 79 public void setUseMap(String useMap); 80 /** 81 * Vertical space above and below this image. See the vspace attribute 82 * definition in HTML 4.0. This attribute is deprecated in HTML 4.0. 83 */ 84 public String getVspace(); 85 public void setVspace(String vspace); 86 /** 87 * Override width. See the width attribute definition in HTML 4.0. 88 */ 89 public String getWidth(); 90 public void setWidth(String width); 91 } 92