001: /*
002: * Copyright (c) 2000 World Wide Web Consortium,
003: * (Massachusetts Institute of Technology, Institut National de
004: * Recherche en Informatique et en Automatique, Keio University). All
005: * Rights Reserved. This program is distributed under the W3C's Software
006: * Intellectual Property License. This program is distributed in the
007: * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008: * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009: * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
010: * details.
011: */
012:
013: package org.w3c.dom.html;
014:
015: /**
016: * Embedded image. See the IMG element definition in HTML 4.0.
017: * <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>.
018: */
019: public interface HTMLImageElement extends HTMLElement {
020: /**
021: * URI designating the source of this image, for low-resolution output.
022: */
023: public String getLowSrc();
024:
025: public void setLowSrc(String lowSrc);
026:
027: /**
028: * The name of the element (for backwards compatibility).
029: */
030: public String getName();
031:
032: public void setName(String name);
033:
034: /**
035: * Aligns this object (vertically or horizontally) with respect to its
036: * surrounding text. See the align attribute definition in HTML 4.0.
037: * This attribute is deprecated in HTML 4.0.
038: */
039: public String getAlign();
040:
041: public void setAlign(String align);
042:
043: /**
044: * Alternate text for user agents not rendering the normal content of
045: * this element. See the alt attribute definition in HTML 4.0.
046: */
047: public String getAlt();
048:
049: public void setAlt(String alt);
050:
051: /**
052: * Width of border around image. See the border attribute definition in
053: * HTML 4.0. This attribute is deprecated in HTML 4.0.
054: */
055: public String getBorder();
056:
057: public void setBorder(String border);
058:
059: /**
060: * Override height. See the height attribute definition in HTML 4.0.
061: */
062: public String getHeight();
063:
064: public void setHeight(String height);
065:
066: /**
067: * Horizontal space to the left and right of this image. See the hspace
068: * attribute definition in HTML 4.0. This attribute is deprecated in HTML
069: * 4.0.
070: */
071: public String getHspace();
072:
073: public void setHspace(String hspace);
074:
075: /**
076: * Use server-side image map. See the ismap attribute definition in HTML
077: * 4.0.
078: */
079: public boolean getIsMap();
080:
081: public void setIsMap(boolean isMap);
082:
083: /**
084: * URI designating a long description of this image or frame. See the
085: * longdesc attribute definition in HTML 4.0.
086: */
087: public String getLongDesc();
088:
089: public void setLongDesc(String longDesc);
090:
091: /**
092: * URI designating the source of this image. See the src attribute
093: * definition in HTML 4.0.
094: */
095: public String getSrc();
096:
097: public void setSrc(String src);
098:
099: /**
100: * Use client-side image map. See the usemap attribute definition in
101: * HTML 4.0.
102: */
103: public String getUseMap();
104:
105: public void setUseMap(String useMap);
106:
107: /**
108: * Vertical space above and below this image. See the vspace attribute
109: * definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
110: */
111: public String getVspace();
112:
113: public void setVspace(String vspace);
114:
115: /**
116: * Override width. See the width attribute definition in HTML 4.0.
117: */
118: public String getWidth();
119:
120: public void setWidth(String width);
121:
122: }
|