FileDocCategorySizeDatePackage
HTMLImageElement.javaAPI DocJava SE 5 API3510Fri Aug 26 14:58:40 BST 2005org.w3c.dom.html

HTMLImageElement

public interface HTMLImageElement implements HTMLElement
Embedded image. See the IMG element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public java.lang.StringgetAlt()
Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.0.

public java.lang.StringgetBorder()
Width of border around image. See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public java.lang.StringgetHeight()
Override height. See the height attribute definition in HTML 4.0.

public java.lang.StringgetHspace()
Horizontal space to the left and right of this image. See the hspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public booleangetIsMap()
Use server-side image map. See the ismap attribute definition in HTML 4.0.

public java.lang.StringgetLongDesc()
URI designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.0.

public java.lang.StringgetLowSrc()
URI designating the source of this image, for low-resolution output.

public java.lang.StringgetName()
The name of the element (for backwards compatibility).

public java.lang.StringgetSrc()
URI designating the source of this image. See the src attribute definition in HTML 4.0.

public java.lang.StringgetUseMap()
Use client-side image map. See the usemap attribute definition in HTML 4.0.

public java.lang.StringgetVspace()
Vertical space above and below this image. See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public java.lang.StringgetWidth()
Override width. See the width attribute definition in HTML 4.0.

public voidsetAlign(java.lang.String align)

public voidsetAlt(java.lang.String alt)

public voidsetBorder(java.lang.String border)

public voidsetHeight(java.lang.String height)

public voidsetHspace(java.lang.String hspace)

public voidsetIsMap(boolean isMap)

public voidsetLongDesc(java.lang.String longDesc)

public voidsetLowSrc(java.lang.String lowSrc)

public voidsetName(java.lang.String name)

public voidsetSrc(java.lang.String src)

public voidsetUseMap(java.lang.String useMap)

public voidsetVspace(java.lang.String vspace)

public voidsetWidth(java.lang.String width)