ice.pilots.html4
Class DIFrameElement

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

public class DIFrameElement
extends DElement
implements HTMLIFrameElement


Nested Class Summary
static class DIFrameElement.dochack
           
 
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 DIFrameElement(DDocument doc, int id)
           
 
Method Summary
 String getAlign()
          Aligns this object (vertically or horizontally) with respect to its surrounding text.
 String getBorder()
           
 Document getContentDocument()
          The document this frame contains, if there is any and it is available, or null otherwise.
 Object getDynamicValue(String name, DynEnv env)
          Returns the `key' field or Defs.NOT_FOUND if `name' does not exist.
 String getFrameBorder()
          Request frame borders.
 String getHeight()
          Frame height.
 String getLongDesc()
          URI designating a long description of this image or frame.
 String getMarginHeight()
          Frame margin height, in pixels.
 String getMarginWidth()
          Frame margin width, in pixels.
 String getScrolling()
          Specify whether or not the frame should have scrollbars.
 String getSrc()
          A URI designating the initial frame contents.
 String getWidth()
          Frame width.
 void setAlign(String align)
           
 void setBorder(String border)
           
 int setDynamicValue(String name, Object value, DynEnv env)
          Set field `name' to `value'.
 void setFrameBorder(String frameBorder)
           
 void setHeight(String height)
           
 void setLongDesc(String longDesc)
           
 void setMarginHeight(String marginHeight)
           
 void setMarginWidth(String marginWidth)
           
 void setScrolling(String scrolling)
           
 void setSrc(String src)
           
 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.HTMLIFrameElement
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

DIFrameElement

protected DIFrameElement(DDocument doc,
                         int id)
Method Detail

getFrameBorder

public String getFrameBorder()
Description copied from interface: HTMLIFrameElement
Request frame borders. See the frameborder attribute definition in HTML 4.0.

Specified by:
getFrameBorder in interface HTMLIFrameElement

setFrameBorder

public void setFrameBorder(String frameBorder)
Specified by:
setFrameBorder in interface HTMLIFrameElement

getHeight

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

Specified by:
getHeight in interface HTMLIFrameElement

setHeight

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

getLongDesc

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

Specified by:
getLongDesc in interface HTMLIFrameElement

setLongDesc

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

getSrc

public String getSrc()
Description copied from interface: HTMLIFrameElement
A URI designating the initial frame contents. See the src attribute definition in HTML 4.0.

Specified by:
getSrc in interface HTMLIFrameElement

setSrc

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

getScrolling

public String getScrolling()
Description copied from interface: HTMLIFrameElement
Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.0.

Specified by:
getScrolling in interface HTMLIFrameElement

setScrolling

public void setScrolling(String scrolling)
Specified by:
setScrolling in interface HTMLIFrameElement

getWidth

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

Specified by:
getWidth in interface HTMLIFrameElement

setWidth

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

getBorder

public String getBorder()

setBorder

public void setBorder(String border)

getMarginHeight

public String getMarginHeight()
Description copied from interface: HTMLIFrameElement
Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.0.

Specified by:
getMarginHeight in interface HTMLIFrameElement

setMarginHeight

public void setMarginHeight(String marginHeight)
Specified by:
setMarginHeight in interface HTMLIFrameElement

getMarginWidth

public String getMarginWidth()
Description copied from interface: HTMLIFrameElement
Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.0.

Specified by:
getMarginWidth in interface HTMLIFrameElement

setMarginWidth

public void setMarginWidth(String marginWidth)
Specified by:
setMarginWidth in interface HTMLIFrameElement

getContentDocument

public Document getContentDocument()
Description copied from interface: HTMLIFrameElement
The document this frame contains, if there is any and it is available, or null otherwise.

Specified by:
getContentDocument in interface HTMLIFrameElement

getAlign

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

setAlign

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

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