Package 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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classClientSiderepresents a client-side style image map.static final classHotSpots represent an image map hotspot.static classServerSiderepresents a server-side style image map. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHotSpot(ImageMap.HotSpot hotSpot) addHotSpotadds a hotspot to the map.hotSpots()hotSpotsiterates over the hotspots in the map
-
Field Details
-
RECT
RECTindicates a rectangular image map hotspot.- See Also:
-
CIRCLE
CIRCLEindicates a circular image map hotspot.- See Also:
-
POLY
POLYindicates a polygonal image map hotspot.- See Also:
-
-
Method Details
-
addHotSpot
addHotSpotadds a hotspot to the map.- Parameters:
hotSpot- aHotSpot.
-
hotSpots
hotSpotsiterates over the hotspots in the map- Returns:
- an
Iterator.
-