Class MapElement


@TagName("map") public class MapElement extends Element
Client-side image map.
See Also:
  • Field Details

  • Constructor Details

    • MapElement

      protected MapElement()
  • Method Details

    • as

      public static MapElement as(Element elem)
      Assert that the given Element is compatible with this class and automatically typecast it.
    • is

      public static boolean is(JavaScriptObject o)
      Determines whether the given JavaScriptObject can be cast to this class. A null object will cause this method to return false.
    • is

      public static boolean is(Node node)
      Determine whether the given Node can be cast to this class. A null node will cause this method to return false.
    • is

      public static boolean is(Element elem)
      Determine whether the given Element can be cast to this class. A null node will cause this method to return false.
    • getAreas

      public final NodeList<AreaElement> getAreas()
      The list of areas defined for the image map.
    • getName

      public final String getName()
      Names the map (for use with usemap).
      See Also:
    • setName

      public final void setName(String name)
      Names the map (for use with usemap).
      See Also: