Class ImageMap.ClientSide

  • All Implemented Interfaces:
    java.io.Serializable, ImageMap
    Enclosing interface:
    ImageMap

    public static class ImageMap.ClientSide
    extends java.lang.Object
    implements ImageMap, java.io.Serializable
    ClientSide represents a client-side style image map.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClientSide

        public ClientSide​(java.lang.String name)
        Creates a new ClientSide image map.
        Parameters:
        name - a String name by which the map will be known.
    • Method Detail

      • addHotSpot

        public void addHotSpot​(ImageMap.HotSpot hotSpot)
        Description copied from interface: ImageMap
        addHotSpot adds a hotspot to the map.
        Specified by:
        addHotSpot in interface ImageMap
        Parameters:
        hotSpot - a HotSpot.
      • hotSpots

        public java.util.Iterator hotSpots()
        Description copied from interface: ImageMap
        hotSpots iterates over the hotspots in the map
        Specified by:
        hotSpots in interface ImageMap
        Returns:
        an Iterator.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object