public static class LabelRenderer.RenderNothing extends Object implements LabelRenderer
LabelRenderer.RenderNothing
RENDER_NOTHING
Constructor and Description |
---|
LabelRenderer.RenderNothing() |
Modifier and Type | Method and Description |
---|---|
double |
getMinimumWidth(SequenceRenderContext src)
Retrieve the minimum space required to render the label.
|
void |
paint(Graphics2D g,
SequenceRenderContext sp,
int min,
int max,
SequenceRenderContext.Border border)
Render a label for the information for sp to g.
|
public LabelRenderer.RenderNothing()
public void paint(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 forCopyright © 2014 BioJava. All rights reserved.