Home Original page

ImageMapRenderer (biojava-legacy 1.9.5 API)

  • All Superinterfaces:
    FeatureRenderer
    All Known Implementing Classes:
    BasicImapRenderer, RectangularImapRenderer, ZiggyImapRenderer

    public interface ImageMapRenderer
    extends FeatureRenderer

    ImageMapRenderers create strings representing Features suitable for use in HTML image maps. Typically an ImageMapRenderer will be used as a decorator on a FeatureRenderer which will draw the corresponding image area(s).

    Since:
    1.3
    Author:
    Keith James
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void renderImageMap​(Graphics2D g2, Feature f, SequenceRenderContext context)

      renderImageMap renders the Feature as set of image map hotspots.

      • Methods inherited from interface org.biojava.bio.gui.sequence.FeatureRenderer

        getDepth, processMouseEvent, renderFeature
    • Method Detail

      • renderImageMap

        void renderImageMap​(Graphics2D g2,
                            Feature f,
                            SequenceRenderContext context)

        renderImageMap renders the Feature as set of image map hotspots.

        Parameters:
        g2 - a Graphics2D.
        f - a Feature.
        context - a SequenceRenderContext.