public static class LabelRenderer.RenderNothing extends java.lang.Object implements LabelRenderer
LabelRenderer.RenderNothing
RENDER_NOTHING
Constructor and Description |
---|
RenderNothing() |
Modifier and Type | Method and Description |
---|---|
double |
getMinimumWidth(SequenceRenderContext src)
Retrieve the minimum space required to render the label.
|
void |
paint(java.awt.Graphics2D g,
SequenceRenderContext sp,
int min,
int max,
SequenceRenderContext.Border border)
Render a label for the information for sp to g.
|
public void paint(java.awt.Graphics2D g, SequenceRenderContext sp, int min, int max, SequenceRenderContext.Border border)
LabelRenderer
paint
in interface LabelRenderer
g
- the Graphics2D to render tosp
- the SequencePanel that encapsulates the information to rendermin
- the minimum symbol to render (inclusive)max
- the maximum symbol to render (inclusive)public double getMinimumWidth(SequenceRenderContext src)
LabelRenderer
getMinimumWidth
in interface LabelRenderer
src
- the SequencePanel to return info for