Class MapElement

    • Constructor Detail

      • MapElement

        protected MapElement()
    • Method Detail

      • 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 java.lang.String getName()
        Names the map (for use with usemap).
        See Also:
        W3C HTML Specification
      • setName

        public final void setName​(java.lang.String name)
        Names the map (for use with usemap).
        See Also:
        W3C HTML Specification