public interface

HTMLImageElement

implements HTMLElement
org.w3c.dom.html.HTMLImageElement

Class Overview

Embedded image. See the IMG element definition in HTML 4.0.

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

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Methods
abstract String getAlign()
Aligns this object (vertically or horizontally) with respect to its surrounding text.
abstract String getAlt()
Alternate text for user agents not rendering the normal content of this element.
abstract String getBorder()
Width of border around image.
abstract String getHeight()
Override height.
abstract String getHspace()
Horizontal space to the left and right of this image.
abstract boolean getIsMap()
Use server-side image map.
abstract String getLongDesc()
URI designating a long description of this image or frame.
abstract String getLowSrc()
URI designating the source of this image, for low-resolution output.
abstract String getName()
The name of the element (for backwards compatibility).
abstract String getSrc()
URI designating the source of this image.
abstract String getUseMap()
Use client-side image map.
abstract String getVspace()
Vertical space above and below this image.
abstract String getWidth()
Override width.
abstract void setAlign(String align)
abstract void setAlt(String alt)
abstract void setBorder(String border)
abstract void setHeight(String height)
abstract void setHspace(String hspace)
abstract void setIsMap(boolean isMap)
abstract void setLongDesc(String longDesc)
abstract void setLowSrc(String lowSrc)
abstract void setName(String name)
abstract void setSrc(String src)
abstract void setUseMap(String useMap)
abstract void setVspace(String vspace)
abstract void setWidth(String width)
[Expand]
Inherited Methods
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.html.HTMLElement

Public Methods

public abstract String getAlign ()

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 abstract String getAlt ()

Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.0.

public abstract String getBorder ()

Width of border around image. See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

public abstract String getHeight ()

Override height. See the height attribute definition in HTML 4.0.

public abstract String getHspace ()

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 abstract boolean getIsMap ()

Use server-side image map. See the ismap attribute definition in HTML 4.0.

public abstract String getLongDesc ()

URI designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.0.

public abstract String getLowSrc ()

URI designating the source of this image, for low-resolution output.

public abstract String getName ()

The name of the element (for backwards compatibility).

public abstract String getSrc ()

URI designating the source of this image. See the src attribute definition in HTML 4.0.

public abstract String getUseMap ()

Use client-side image map. See the usemap attribute definition in HTML 4.0.

public abstract String getVspace ()

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 abstract String getWidth ()

Override width. See the width attribute definition in HTML 4.0.

public abstract void setAlign (String align)

public abstract void setAlt (String alt)

public abstract void setBorder (String border)

public abstract void setHeight (String height)

public abstract void setHspace (String hspace)

public abstract void setIsMap (boolean isMap)

public abstract void setLongDesc (String longDesc)

public abstract void setLowSrc (String lowSrc)

public abstract void setName (String name)

public abstract void setSrc (String src)

public abstract void setUseMap (String useMap)

public abstract void setVspace (String vspace)

public abstract void setWidth (String width)