Package org.biojava.bio.gui.sequence
Interface ImageMap
-
- All Known Implementing Classes:
ImageMap.ClientSide,ImageMap.ServerSide
public interface ImageMapImageMaprepresents a collection of image map hotspots. It does not represent the raster image itself.- Since:
- 1.3
- Author:
- Keith James, Greg Cox
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImageMap.ClientSideClientSiderepresents a client-side style image map.static classImageMap.HotSpotHotSpots represent an image map hotspot.static classImageMap.ServerSideServerSiderepresents a server-side style image map.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHotSpot(ImageMap.HotSpot hotSpot)addHotSpotadds a hotspot to the map.java.util.IteratorhotSpots()hotSpotsiterates over the hotspots in the map
-
-
-
Field Detail
-
RECT
static final java.lang.String RECT
RECTindicates a rectangular image map hotspot.- See Also:
- Constant Field Values
-
CIRCLE
static final java.lang.String CIRCLE
CIRCLEindicates a circular image map hotspot.- See Also:
- Constant Field Values
-
POLY
static final java.lang.String POLY
POLYindicates a polygonal image map hotspot.- See Also:
- Constant Field Values
-
-
Method Detail
-
addHotSpot
void addHotSpot(ImageMap.HotSpot hotSpot)
addHotSpotadds a hotspot to the map.- Parameters:
hotSpot- aHotSpot.
-
hotSpots
java.util.Iterator hotSpots()
hotSpotsiterates over the hotspots in the map- Returns:
- an
Iterator.
-
-