Class HTMLAreaElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class HTMLAreaElement
    extends HTMLElement
    The JavaScript object HTMLAreaElement.
    See Also:
    Serialized Form
    • Constructor Detail

      • HTMLAreaElement

        public HTMLAreaElement()
        The constructor.
    • Method Detail

      • getAlt

        public java.lang.String getAlt()
        Returns the value of the alt property.
        Returns:
        the value of the alt property
      • setAlt

        public void setAlt​(java.lang.String alt)
        Returns the value of the alt property.
        Parameters:
        alt - the value
      • isEndTagForbidden

        protected boolean isEndTagForbidden()
        Returns whether the end tag is forbidden or not.
        Overrides:
        isEndTagForbidden in class HTMLElement
        Returns:
        whether the end tag is forbidden or not
        See Also:
        HTML 4 specs
      • getRel

        public java.lang.String getRel()
        Returns the value of the rel property.
        Returns:
        the value of the rel property
      • setRel

        public void setRel​(java.lang.String rel)
        Returns the value of the rel property.
        Parameters:
        rel - the value
      • getRelList

        public DOMTokenList getRelList()
        Returns the relList attribute.
        Returns:
        the relList attribute
      • focus

        public void focus()
        Sets the focus to this element.
        Overrides:
        focus in class HTMLElement
      • getCoords

        public java.lang.String getCoords()
        Returns the coords attribute.
        Returns:
        the coords attribute
      • setCoords

        public void setCoords​(java.lang.String coords)
        Sets the coords attribute.
        Parameters:
        coords - coords attribute