ice.pilots.html4
Class DImageElement

java.lang.Object
  extended byice.storm.DynamicObject
      extended byice.pilots.html4.DNode
          extended byice.pilots.html4.DElement
              extended byice.pilots.html4.DImageElement
All Implemented Interfaces:
Cloneable, Element, ElementCSSInlineStyle, EventTarget, HTMLElement, HTMLImageElement, Node

public class DImageElement
extends DElement
implements HTMLImageElement


Field Summary
 
Fields inherited from class ice.pilots.html4.DNode
doc, first, last, next, parent, prev
 
Fields inherited from class ice.storm.DynamicObject
NOT_FOUND, SETD_IGNORE, SETD_NOT_FOUND, SETD_OK
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
protected DImageElement(DDocument doc, int id)
           
 
Method Summary
 String getAlign()
          Aligns this object (vertically or horizontally) with respect to its surrounding text.
 String getAlt()
          Alternate text for user agents not rendering the normal content of this element.
 String getBorder()
          Width of border around image.
 Object getDynamicValue(String name, DynEnv env)
          Returns the `key' field or Defs.NOT_FOUND if `name' does not exist.
 String getHeight()
          Override height.
 String getHspace()
          Horizontal space to the left and right of this image.
 boolean getIsMap()
          Use server-side image map.
 String getLongDesc()
          URI designating a long description of this image or frame.
 String getLowSrc()
          URI designating the source of this image, for low-resolution output.
 String getSrc()
          URI designating the source of this image.
 String getUseMap()
          Use client-side image map.
 String getVspace()
          Vertical space above and below this image.
 String getWidth()
          Override width.
 void setAlign(String align)
           
 void setAlt(String alt)
           
 void setBorder(String border)
           
 int setDynamicValue(String name, Object value, DynEnv env)
          Set field `name' to `value'.
 void setHeight(String height)
           
 void setHspace(String hspace)
           
 void setIsMap(boolean isMap)
           
 void setLongDesc(String longDesc)
           
 void setLowSrc(String lowSrc)
           
 void setSrc(String src)
           
 void setUseMap(String useMap)
           
 void setVspace(String vspace)
           
 void setWidth(String width)
           
 
Methods inherited from class ice.pilots.html4.DElement
afterClone, attrNameToId, execDynamicMethod, getAttribute, getAttribute, getAttributeAsInt, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBgColor, getChildViewport, getClassName, getClientLeft, getClientTop, getClientWidth, getColor, getDir, getElementsByTagName, getElementsByTagNameNS, getEmbeddedDocument, getEmbeddedViewHolder, getId, getInnerHTML, getLang, getLocalName, getName, getNamespaceURI, getNodeName, getNodeType, getOuterHTML, getPrefix, getStyle, getSynthetic, getTagName, getTitle, hasAttribute, hasAttributeNS, insertAdjacentHTML, onDAttrValueChange, removeAttribute, removeAttributeNode, removeAttributeNS, removeNode, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setBgColor, setClassName, setColor, setCols, setDir, setId, setInnerHTML, setLang, setName, setOuterHTML, setRows, setTitle, swapDNode, swapNode, toString
 
Methods inherited from class ice.pilots.html4.DNode
addEventListener, appendChild, appendDChild, clone, clone, cloneNode, contains, deleteSlot, dispatchEvent, getAll, getChildNodes, getDAttr, getDAttrCount, getDAttrFromIndex, getDAttrListHead, getDAttrValueOrNull, getDParent, getDynamicScopeParent, getFirstChild, getFirstDChild, getInnerText, getLastChild, getLastDChild, getNameId, getNextDSibling, getNextSibling, getNodeValue, getOuterText, getOwnerDDocument, getOwnerDocument, getParentDNode, getParentNode, getPilot, getPreviousDSibling, getPreviousSibling, getRootDNode, getRootNode, getSlot, hasAttributes, hasChildNodes, hasSlot, insertBefore, insertDChildBefore, isSupported, normalize, removeAllDAttrs, removeChild, removeDAttr, removeDAttr, removeDChild, removeEventListener, replaceChild, replaceDChild, setDAttr, setDAttr, setInnerText, setNodeValue, setOuterText, setParent, setPrefix, setSlot, unlinkAllSlots
 
Methods inherited from class ice.storm.DynamicObject
deleteSlot, getEnumeratableIds, getMethodPropertySource, getScriptDataLock, getScriptWrapper, getSlot, hasSlot, javaReflectionTarget, readOnlySlots, script_toSource, script_toString, setScriptWrapperIfAbsent, setSlot
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html.HTMLImageElement
getName, setName
 
Methods inherited from interface org.w3c.dom.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Constructor Detail

DImageElement

protected DImageElement(DDocument doc,
                        int id)
Method Detail

getLowSrc

public String getLowSrc()
Description copied from interface: HTMLImageElement
URI designating the source of this image, for low-resolution output.

Specified by:
getLowSrc in interface HTMLImageElement

setLowSrc

public void setLowSrc(String lowSrc)
Specified by:
setLowSrc in interface HTMLImageElement

getAlt

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

Specified by:
getAlt in interface HTMLImageElement

setAlt

public void setAlt(String alt)
Specified by:
setAlt in interface HTMLImageElement

getHeight

public String getHeight()
Description copied from interface: HTMLImageElement
Override height. See the height attribute definition in HTML 4.0.

Specified by:
getHeight in interface HTMLImageElement

setHeight

public void setHeight(String height)
Specified by:
setHeight in interface HTMLImageElement

getIsMap

public boolean getIsMap()
Description copied from interface: HTMLImageElement
Use server-side image map. See the ismap attribute definition in HTML 4.0.

Specified by:
getIsMap in interface HTMLImageElement

setIsMap

public void setIsMap(boolean isMap)
Specified by:
setIsMap in interface HTMLImageElement

getLongDesc

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

Specified by:
getLongDesc in interface HTMLImageElement

setLongDesc

public void setLongDesc(String longDesc)
Specified by:
setLongDesc in interface HTMLImageElement

getSrc

public String getSrc()
Description copied from interface: HTMLImageElement
URI designating the source of this image. See the src attribute definition in HTML 4.0.

Specified by:
getSrc in interface HTMLImageElement

setSrc

public void setSrc(String src)
Specified by:
setSrc in interface HTMLImageElement

getUseMap

public String getUseMap()
Description copied from interface: HTMLImageElement
Use client-side image map. See the usemap attribute definition in HTML 4.0.

Specified by:
getUseMap in interface HTMLImageElement

setUseMap

public void setUseMap(String useMap)
Specified by:
setUseMap in interface HTMLImageElement

getWidth

public String getWidth()
Description copied from interface: HTMLImageElement
Override width. See the width attribute definition in HTML 4.0.

Specified by:
getWidth in interface HTMLImageElement

setWidth

public void setWidth(String width)
Specified by:
setWidth in interface HTMLImageElement

getAlign

public String getAlign()
Description copied from interface: HTMLImageElement
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.

Specified by:
getAlign in interface HTMLImageElement

setAlign

public void setAlign(String align)
Specified by:
setAlign in interface HTMLImageElement

getBorder

public String getBorder()
Description copied from interface: HTMLImageElement
Width of border around image. See the border attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Specified by:
getBorder in interface HTMLImageElement

setBorder

public void setBorder(String border)
Specified by:
setBorder in interface HTMLImageElement

getHspace

public String getHspace()
Description copied from interface: HTMLImageElement
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.

Specified by:
getHspace in interface HTMLImageElement

setHspace

public void setHspace(String hspace)
Specified by:
setHspace in interface HTMLImageElement

getVspace

public String getVspace()
Description copied from interface: HTMLImageElement
Vertical space above and below this image. See the vspace attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

Specified by:
getVspace in interface HTMLImageElement

setVspace

public void setVspace(String vspace)
Specified by:
setVspace in interface HTMLImageElement

getDynamicValue

public Object getDynamicValue(String name,
                              DynEnv env)
Description copied from class: DynamicObject
Returns the `key' field or Defs.NOT_FOUND if `name' does not exist. Returns `FUNCTION_MARK' if `name' represent a function that can be invoke via execDynamicMethod. Note that returned `null' indicates that value is present but set to null.

Overrides:
getDynamicValue in class DElement

setDynamicValue

public int setDynamicValue(String name,
                           Object value,
                           DynEnv env)
Description copied from class: DynamicObject
Set field `name' to `value'. Use `env' to unwrap `value' to a particular type or store it as is

Overrides:
setDynamicValue in class DElement