org.biojava.bio.gui.sequence
Interface ImageMap
- All Known Implementing Classes:
- ImageMap.ClientSide, ImageMap.ServerSide
- public interface ImageMap
ImageMap
represents a collection of image map
hotspots. It does not represent the raster image itself.
- Since:
- 1.3
- Author:
- Keith James, Greg Cox
Field Summary |
static java.lang.String |
CIRCLE
CIRCLE indicates a circular image map hotspot. |
static java.lang.String |
POLY
POLY indicates a polygonal image map hotspot. |
static java.lang.String |
RECT
RECT indicates a rectangular image map hotspot. |
Method Summary |
void |
addHotSpot(ImageMap.HotSpot hotSpot)
addHotSpot adds a hotspot to the map. |
java.util.Iterator |
hotSpots()
hotSpots iterates over the hotspots in the map |
RECT
public static final java.lang.String RECT
RECT
indicates a rectangular image map hotspot.
- See Also:
- Constant Field Values
CIRCLE
public static final java.lang.String CIRCLE
CIRCLE
indicates a circular image map hotspot.
- See Also:
- Constant Field Values
POLY
public static final java.lang.String POLY
POLY
indicates a polygonal image map hotspot.
- See Also:
- Constant Field Values
addHotSpot
public void addHotSpot(ImageMap.HotSpot hotSpot)
addHotSpot
adds a hotspot to the map.
- Parameters:
hotSpot
- a HotSpot
.
hotSpots
public java.util.Iterator hotSpots()
hotSpots
iterates over the hotspots in the map
- Returns:
- an
Iterator
.