Package org.biojava.bio.gui.sequence
Class LabelRenderer.RenderNothing
- java.lang.Object
- 
- org.biojava.bio.gui.sequence.LabelRenderer.RenderNothing
 
- 
- All Implemented Interfaces:
- LabelRenderer
 - Enclosing interface:
- LabelRenderer
 
 public static class LabelRenderer.RenderNothing extends Object implements LabelRenderer 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.biojava.bio.gui.sequence.LabelRendererLabelRenderer.RenderNothing
 
- 
 - 
Field Summary- 
Fields inherited from interface org.biojava.bio.gui.sequence.LabelRendererRENDER_NOTHING
 
- 
 - 
Constructor SummaryConstructors Constructor Description RenderNothing()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetMinimumWidth(SequenceRenderContext src)Retrieve the minimum space required to render the label.voidpaint(Graphics2D g, SequenceRenderContext sp, int min, int max, SequenceRenderContext.Border border)Render a label for the information for sp to g.
 
- 
- 
- 
Constructor Detail- 
RenderNothingpublic RenderNothing() 
 
- 
 - 
Method Detail- 
paintpublic void paint(Graphics2D g, SequenceRenderContext sp, int min, int max, SequenceRenderContext.Border border) Description copied from interface:LabelRendererRender a label for the information for sp to g.- Specified by:
- paintin 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)
 
 - 
getMinimumWidthpublic double getMinimumWidth(SequenceRenderContext src) Description copied from interface:LabelRendererRetrieve the minimum space required to render the label.- Specified by:
- getMinimumWidthin interface- LabelRenderer
- Parameters:
- src- the SequencePanel to return info for
- Returns:
- the leading distance of the renderer for that sequence panel
 
 
- 
 
-