Class LabelRenderer.RenderNothing

    • Constructor Detail

      • RenderNothing

        public RenderNothing()
    • Method Detail

      • paint

        public void paint​(java.awt.Graphics2D g,
                          SequenceRenderContext sp,
                          int min,
                          int max,
                          SequenceRenderContext.Border border)
        Description copied from interface: LabelRenderer
        Render a label for the information for sp to g.
        Specified by:
        paint in interface LabelRenderer
        Parameters:
        g - the Graphics2D to render to
        sp - the SequencePanel that encapsulates the information to render
        min - the minimum symbol to render (inclusive)
        max - the maximum symbol to render (inclusive)
      • getMinimumWidth

        public double getMinimumWidth​(SequenceRenderContext src)
        Description copied from interface: LabelRenderer
        Retrieve the minimum space required to render the label.
        Specified by:
        getMinimumWidth in interface LabelRenderer
        Parameters:
        src - the SequencePanel to return info for
        Returns:
        the leading distance of the renderer for that sequence panel