Class HTMLAreaElement

All Implemented Interfaces:
Serializable, 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:
  • Constructor Details

    • HTMLAreaElement

      public HTMLAreaElement()
      The constructor.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class HTMLElement
    • getDefaultValue

      public Object getDefaultValue(Class<?> hint)
      Calls for instance for implicit conversion to string.
      Specified by:
      getDefaultValue in interface org.htmlunit.corejs.javascript.Scriptable
      Overrides:
      getDefaultValue in class HtmlUnitScriptable
      Parameters:
      hint - the type hint
      Returns:
      the default value
      See Also:
    • getAlt

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

      public void setAlt(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:
    • getRel

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

      public void setRel(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 String getCoords()
      Returns the coords attribute.
      Returns:
      the coords attribute
    • setCoords

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