Class AreaElement


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

  • Constructor Details

    • AreaElement

      protected AreaElement()
  • Method Details

    • as

      public static AreaElement 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.
    • getAccessKey

      public final String getAccessKey()
      A single character access key to give access to the form control.
      See Also:
    • getAlt

      public final String getAlt()
      Alternate text for user agents not rendering the normal content of this element.
      See Also:
    • getCoords

      public final String getCoords()
      Comma-separated list of lengths, defining an active region geometry. See also shape for the shape of the region.
      See Also:
    • getHref

      public final String getHref()
      The URI of the linked resource.
      See Also:
    • getShape

      public final String getShape()
      The shape of the active area. The coordinates are given by coords.
      See Also:
    • getTarget

      public final String getTarget()
      Frame to render the resource in.
      See Also:
    • setAccessKey

      public final void setAccessKey(String accessKey)
      A single character access key to give access to the form control.
      See Also:
    • setAlt

      public final void setAlt(String alt)
      Alternate text for user agents not rendering the normal content of this element.
      See Also:
    • setCoords

      public final void setCoords(String coords)
      Comma-separated list of lengths, defining an active region geometry. See also shape for the shape of the region.
      See Also:
    • setHref

      public final void setHref(String href)
      The URI of the linked resource.
      See Also:
    • setShape

      public final void setShape(String shape)
      The shape of the active area. The coordinates are given by coords.
      See Also:
    • setTarget

      public final void setTarget(String target)
      Frame to render the resource in.
      See Also: