Class ImageMap.ImageArea

  • Enclosing class:
    ImageMap

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

      • getType

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

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

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

        public 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 String getTarget()
        Gets the target frame/window of the image area.
        Returns:
        target frame/window of the image area; null if undefined