public static class LabelRenderer.RenderNothing extends Object implements LabelRenderer
LabelRenderer.RenderNothingRENDER_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(Graphics2D g,
SequenceRenderContext sp,
int min,
int max,
SequenceRenderContext.Border border)
Render a label for the information for sp to g.
|
public RenderNothing()
public void paint(Graphics2D g, SequenceRenderContext sp, int min, int max, SequenceRenderContext.Border border)
LabelRendererpaint in interface LabelRendererg - 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)
LabelRenderergetMinimumWidth in interface LabelRenderersrc - the SequencePanel to return info forCopyright © 2020 BioJava. All rights reserved.