This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


org.w3c.dom.html
interface HTMLImageElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLImageElement
extends HTMLElement

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

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


Field Summary
 
Fields inherited from class org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 String

          Aligns this object (vertically or horizontally) with respect to its surrounding text.
 String

          Alternate text for user agents not rendering the normal content of this element.
 String

          Width of border around image.
 String

          Override height.
 String

          Horizontal space to the left and right of this image.
 boolean

          Use server-side image map.
 String

          URI designating a long description of this image or frame.
 String

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

          The name of the element (for backwards compatibility).
 String

          URI designating the source of this image.
 String

          Use client-side image map.
 String

          Vertical space above and below this image.
 String

          Override width.
 void

          
 void

          
 void
setBorder(String border)

          
 void
setHeight(String height)

          
 void
setHspace(String hspace)

          
 void
setIsMap(boolean isMap)

          
 void
setLongDesc(String longDesc)

          
 void
setLowSrc(String lowSrc)

          
 void

          
 void

          
 void
setUseMap(String useMap)

          
 void
setVspace(String vspace)

          
 void

          
 
Methods inherited from class org.w3c.dom.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from class org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from class org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Method Detail

getAlign

public 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.


getAlt

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


getBorder

public String getBorder()
Width of border around image. See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.


getHeight

public String getHeight()
Override height. See the height attribute definition in HTML 4.0.


getHspace

public 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.


getIsMap

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


getLongDesc

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


getLowSrc

public String getLowSrc()
URI designating the source of this image, for low-resolution output.


getName

public String getName()
The name of the element (for backwards compatibility).


getSrc

public String getSrc()
URI designating the source of this image. See the src attribute definition in HTML 4.0.


getUseMap

public String getUseMap()
Use client-side image map. See the usemap attribute definition in HTML 4.0.


getVspace

public 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.


getWidth

public String getWidth()
Override width. See the width attribute definition in HTML 4.0.


setAlign

public void setAlign(String align)
Parameters:
align

setAlt

public void setAlt(String alt)
Parameters:
alt

setBorder

public void setBorder(String border)
Parameters:
border

setHeight

public void setHeight(String height)
Parameters:
height

setHspace

public void setHspace(String hspace)
Parameters:
hspace

setIsMap

public void setIsMap(boolean isMap)
Parameters:
isMap

setLongDesc

public void setLongDesc(String longDesc)
Parameters:
longDesc

setLowSrc

public void setLowSrc(String lowSrc)
Parameters:
lowSrc

setName

public void setName(String name)
Parameters:
name

setSrc

public void setSrc(String src)
Parameters:
src

setUseMap

public void setUseMap(String useMap)
Parameters:
useMap

setVspace

public void setVspace(String vspace)
Parameters:
vspace

setWidth

public void setWidth(String width)
Parameters:
width


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.