public static class ImageMap.ClientSide extends java.lang.Object implements ImageMap, java.io.Serializable
ClientSide
represents a client-side style image
map.ImageMap.ClientSide, ImageMap.HotSpot, ImageMap.ServerSide
Constructor and Description |
---|
ClientSide(java.lang.String name)
Creates a new
ClientSide image map. |
Modifier and Type | Method and Description |
---|---|
void |
addHotSpot(ImageMap.HotSpot hotSpot)
addHotSpot adds a hotspot to the map. |
java.util.Iterator |
hotSpots()
hotSpots iterates over the hotspots in the map |
java.lang.String |
toString() |
public ClientSide(java.lang.String name)
ClientSide
image map.name
- a String
name by which the map
will be known.public void addHotSpot(ImageMap.HotSpot hotSpot)
ImageMap
addHotSpot
adds a hotspot to the map.addHotSpot
in interface ImageMap
hotSpot
- a HotSpot
.public java.util.Iterator hotSpots()
ImageMap
hotSpots
iterates over the hotspots in the mappublic java.lang.String toString()
toString
in class java.lang.Object