public static class ImageMap.ClientSide extends Object implements ImageMap, Serializable
ClientSide
represents a client-side style image
map.ImageMap.ClientSide, ImageMap.HotSpot, ImageMap.ServerSide
Constructor and Description |
---|
ImageMap.ClientSide(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. |
Iterator |
hotSpots()
hotSpots iterates over the hotspots in the map |
String |
toString() |
public ImageMap.ClientSide(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 Iterator hotSpots()
ImageMap
hotSpots
iterates over the hotspots in the mapCopyright © 2014 BioJava. All rights reserved.