Package org.biojava.bio.gui.sequence
Class ImageMap.ClientSide
- java.lang.Object
-
- org.biojava.bio.gui.sequence.ImageMap.ClientSide
-
- All Implemented Interfaces:
Serializable
,ImageMap
- Enclosing interface:
- ImageMap
public static class ImageMap.ClientSide extends Object implements ImageMap, Serializable
ClientSide
represents a client-side style image map.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.biojava.bio.gui.sequence.ImageMap
ImageMap.ClientSide, ImageMap.HotSpot, ImageMap.ServerSide
-
-
Constructor Summary
Constructors Constructor Description ClientSide(String name)
Creates a newClientSide
image map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHotSpot(ImageMap.HotSpot hotSpot)
addHotSpot
adds a hotspot to the map.Iterator
hotSpots()
hotSpots
iterates over the hotspots in the mapString
toString()
-
-
-
Constructor Detail
-
ClientSide
public ClientSide(String name)
Creates a newClientSide
image map.- Parameters:
name
- aString
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 interfaceImageMap
- Parameters:
hotSpot
- aHotSpot
.
-
hotSpots
public Iterator hotSpots()
Description copied from interface:ImageMap
hotSpots
iterates over the hotspots in the map
-
-