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. * Embedded image. See the IMG element definition in HTML 4.0.
  15. * <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>.
  16. */
  17. public interface HTMLImageElement extends HTMLElement {
  18. /**
  19. * URI designating the source of this image, for low-resolution output.
  20. */
  21. public String getLowSrc();
  22. public void setLowSrc(String lowSrc);
  23. /**
  24. * The name of the element (for backwards compatibility).
  25. */
  26. public String getName();
  27. public void setName(String name);
  28. /**
  29. * Aligns this object (vertically or horizontally) with respect to its
  30. * surrounding text. See the align attribute definition in HTML 4.0.
  31. * This attribute is deprecated in HTML 4.0.
  32. */
  33. public String getAlign();
  34. public void setAlign(String align);
  35. /**
  36. * Alternate text for user agents not rendering the normal content of
  37. * this element. See the alt attribute definition in HTML 4.0.
  38. */
  39. public String getAlt();
  40. public void setAlt(String alt);
  41. /**
  42. * Width of border around image. See the border attribute definition in
  43. * HTML 4.0. This attribute is deprecated in HTML 4.0.
  44. */
  45. public String getBorder();
  46. public void setBorder(String border);
  47. /**
  48. * Override height. See the height attribute definition in HTML 4.0.
  49. */
  50. public String getHeight();
  51. public void setHeight(String height);
  52. /**
  53. * Horizontal space to the left and right of this image. See the hspace
  54. * attribute definition in HTML 4.0. This attribute is deprecated in HTML
  55. * 4.0.
  56. */
  57. public String getHspace();
  58. public void setHspace(String hspace);
  59. /**
  60. * Use server-side image map. See the ismap attribute definition in HTML
  61. * 4.0.
  62. */
  63. public boolean getIsMap();
  64. public void setIsMap(boolean isMap);
  65. /**
  66. * URI designating a long description of this image or frame. See the
  67. * longdesc attribute definition in HTML 4.0.
  68. */
  69. public String getLongDesc();
  70. public void setLongDesc(String longDesc);
  71. /**
  72. * URI designating the source of this image. See the src attribute
  73. * definition in HTML 4.0.
  74. */
  75. public String getSrc();
  76. public void setSrc(String src);
  77. /**
  78. * Use client-side image map. See the usemap attribute definition in
  79. * HTML 4.0.
  80. */
  81. public String getUseMap();
  82. public void setUseMap(String useMap);
  83. /**
  84. * Vertical space above and below this image. See the vspace attribute
  85. * definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
  86. */
  87. public String getVspace();
  88. public void setVspace(String vspace);
  89. /**
  90. * Override width. See the width attribute definition in HTML 4.0.
  91. */
  92. public String getWidth();
  93. public void setWidth(String width);
  94. }