ice.pilots.html4
Class DAnchorElement

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

public class DAnchorElement
extends DHrefElement
implements HTMLAnchorElement


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 DAnchorElement(DDocument doc, int id)
           
 
Method Summary
 void blur()
          Removes keyboard focus from this element.
 void click()
           
 Object execDynamicMethod(String name, Object[] args, DynEnv env)
          Perform function-like actions for `name' with the given args.
 void focus()
          Gives keyboard focus to this element.
 String getAccessKey()
          A single character access key to give access to the form control.
 String getCharset()
          The character encoding of the linked resource.
 String getCoords()
          Comma-separated list of lengths, defining an active region geometry.
 Object getDynamicValue(String name, DynEnv env)
          Returns the `key' field or Defs.NOT_FOUND if `name' does not exist.
 String getHreflang()
          Language code of the linked resource.
 String getRel()
          Forward link type.
 String getRev()
          Reverse link type.
 String getShape()
          The shape of the active area.
 int getTabIndex()
          Index that represents the element's position in the tabbing order.
 String getTarget()
          Frame to render the resource in.
 String getType()
          Advisory content type.
 boolean getVisited()
           
 void setAccessKey(String accessKey)
           
 void setCharset(String charset)
           
 void setCoords(String coords)
           
 int setDynamicValue(String name, Object value, DynEnv env)
          Set field `name' to `value'.
 void setHreflang(String hreflang)
           
 void setRel(String rel)
           
 void setRev(String rev)
           
 void setShape(String shape)
           
 void setTabIndex(int tabIndex)
           
 void setTarget(String target)
           
 void setType(String type)
           
 void setVisited(boolean flag)
           
 
Methods inherited from class ice.pilots.html4.DHrefElement
getHref, script_toString, setHref
 
Methods inherited from class ice.pilots.html4.DElement
afterClone, attrNameToId, 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, 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.HTMLAnchorElement
getHref, getName, setHref, 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

DAnchorElement

protected DAnchorElement(DDocument doc,
                         int id)
Method Detail

getVisited

public boolean getVisited()

setVisited

public void setVisited(boolean flag)

getAccessKey

public String getAccessKey()
Description copied from interface: HTMLAnchorElement
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

Specified by:
getAccessKey in interface HTMLAnchorElement

setAccessKey

public void setAccessKey(String accessKey)
Specified by:
setAccessKey in interface HTMLAnchorElement

getCharset

public String getCharset()
Description copied from interface: HTMLAnchorElement
The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.

Specified by:
getCharset in interface HTMLAnchorElement

setCharset

public void setCharset(String charset)
Specified by:
setCharset in interface HTMLAnchorElement

getCoords

public String getCoords()
Description copied from interface: HTMLAnchorElement
Comma-separated list of lengths, defining an active region geometry. See also shape for the shape of the region. See the coords attribute definition in HTML 4.0.

Specified by:
getCoords in interface HTMLAnchorElement

setCoords

public void setCoords(String coords)
Specified by:
setCoords in interface HTMLAnchorElement

getHreflang

public String getHreflang()
Description copied from interface: HTMLAnchorElement
Language code of the linked resource. See the hreflang attribute definition in HTML 4.0.

Specified by:
getHreflang in interface HTMLAnchorElement

setHreflang

public void setHreflang(String hreflang)
Specified by:
setHreflang in interface HTMLAnchorElement

getRel

public String getRel()
Description copied from interface: HTMLAnchorElement
Forward link type. See the rel attribute definition in HTML 4.0.

Specified by:
getRel in interface HTMLAnchorElement

setRel

public void setRel(String rel)
Specified by:
setRel in interface HTMLAnchorElement

getRev

public String getRev()
Description copied from interface: HTMLAnchorElement
Reverse link type. See the rev attribute definition in HTML 4.0.

Specified by:
getRev in interface HTMLAnchorElement

setRev

public void setRev(String rev)
Specified by:
setRev in interface HTMLAnchorElement

getShape

public String getShape()
Description copied from interface: HTMLAnchorElement
The shape of the active area. The coordinates are given by coords. See the shape attribute definition in HTML 4.0.

Specified by:
getShape in interface HTMLAnchorElement

setShape

public void setShape(String shape)
Specified by:
setShape in interface HTMLAnchorElement

getTabIndex

public int getTabIndex()
Description copied from interface: HTMLAnchorElement
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

Specified by:
getTabIndex in interface HTMLAnchorElement

setTabIndex

public void setTabIndex(int tabIndex)
Specified by:
setTabIndex in interface HTMLAnchorElement

getTarget

public String getTarget()
Description copied from interface: HTMLAnchorElement
Frame to render the resource in. See the target attribute definition in HTML 4.0.

Specified by:
getTarget in interface HTMLAnchorElement

setTarget

public void setTarget(String target)
Specified by:
setTarget in interface HTMLAnchorElement

getType

public String getType()
Description copied from interface: HTMLAnchorElement
Advisory content type. See the type attribute definition in HTML 4.0.

Specified by:
getType in interface HTMLAnchorElement

setType

public void setType(String type)
Specified by:
setType in interface HTMLAnchorElement

blur

public void blur()
Description copied from interface: HTMLAnchorElement
Removes keyboard focus from this element.

Specified by:
blur in interface HTMLAnchorElement

focus

public void focus()
Description copied from interface: HTMLAnchorElement
Gives keyboard focus to this element.

Specified by:
focus in interface HTMLAnchorElement

click

public void click()

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 DHrefElement

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 DHrefElement

execDynamicMethod

public Object execDynamicMethod(String name,
                                Object[] args,
                                DynEnv env)
Description copied from class: DynamicObject
Perform function-like actions for `name' with the given args. Returns the result or Defs.NOT_FOUND if name is not associated with function action. Should return result of env.wrapVoid() to indicate method without return value. Use `env' to unwrap `args' elements to a particular type.

Overrides:
execDynamicMethod in class DElement