Class ImageMap.ImageArea

  • Enclosing class:
    ImageMap

    public class ImageMap.ImageArea
    extends java.lang.Object
    Inner class that represents an area of the map.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAltText()
      Gets the alternative text of the image area in unicode format.
      java.lang.String getCoordinates()
      Gets the coordinates (= coords attribute) of the image area.
      java.lang.String getHref()
      Gets the (optional) HREF of the image area.
      java.lang.String getTarget()
      Gets the target frame/window of the image area.
      java.lang.String getType()
      Gets the type (= shape attribute) of the image area.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getType

        public java.lang.String getType()
        Gets the type (= shape attribute) of the image area.
        Returns:
        type of the image area
      • getCoordinates

        public java.lang.String getCoordinates()
        Gets the coordinates (= coords attribute) of the image area.
        Returns:
        coordinates of the image area
      • getHref

        public java.lang.String getHref()
        Gets the (optional) HREF of the image area.
        Returns:
        HREF of the image area; null if undefined
      • getAltText

        public java.lang.String getAltText()
        Gets the alternative text of the image area in unicode format.
        Returns:
        alternative text of the image area; null if undefined
      • getTarget

        public java.lang.String getTarget()
        Gets the target frame/window of the image area.
        Returns:
        target frame/window of the image area; null if undefined