|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.gui.sequence.LabelRenderer.RenderNothing
Nested Class Summary |
Nested classes inherited from class org.biojava.bio.gui.sequence.LabelRenderer |
LabelRenderer.RenderNothing |
Field Summary |
Fields inherited from interface org.biojava.bio.gui.sequence.LabelRenderer |
RENDER_NOTHING |
Constructor Summary | |
LabelRenderer.RenderNothing()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LabelRenderer.RenderNothing()
Method Detail |
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |