Class HtmlMap

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

public class HtmlMap extends HtmlElement
Wrapper for the HTML element "map".
See Also:
  • Field Details

  • Method Details

    • getNameAttribute

      public final String getNameAttribute()
      Returns the value of the attribute name. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute name or an empty string if that attribute isn't defined.
    • getDefaultStyleDisplay

      public HtmlElement.DisplayStyle getDefaultStyleDisplay()
      INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
      Returns the default display style.
      Overrides:
      getDefaultStyleDisplay in class HtmlElement
      Returns:
      the default display style
    • isDisplayed

      public boolean isDisplayed()
      Description copied from class: HtmlElement

      Returns true if this node is displayed and can be visible to the user (ignoring screen size, scrolling limitations, color, font-size, or overlapping nodes).

      NOTE: If CSS is disabled, this method does not take this element's style into consideration!

      Overwritten to support the hidden attribute (html5).
      Overrides:
      isDisplayed in class HtmlElement
      Returns:
      true if the node is visible to the user, false otherwise
      See Also: