org.biojava.bio.gui.sequence
Class CircularFeaturesRenderer
java.lang.Object
org.biojava.bio.gui.sequence.CircularFeaturesRenderer
- All Implemented Interfaces:
- CircularRenderer
public class CircularFeaturesRenderer
- extends java.lang.Object
- implements CircularRenderer
- Author:
- Matthew Pocock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CircularFeaturesRenderer
public CircularFeaturesRenderer()
CircularFeaturesRenderer
public CircularFeaturesRenderer(CircularFeatureRenderer renderer)
getRenderer
public CircularFeatureRenderer getRenderer()
setRenderer
public void setRenderer(CircularFeatureRenderer renderer)
getDepth
public double getDepth(CircularRendererContext crc)
- Description copied from interface:
CircularRenderer
- Get the depth needed for this renderer.
- Specified by:
getDepth
in interface CircularRenderer
- Parameters:
crc
- the CircularRendererContext to render information from
- Returns:
- the depth required to render the context
paint
public void paint(java.awt.Graphics2D g2,
CircularRendererContext crc)
- Description copied from interface:
CircularRenderer
- Paint this renderer.
- Specified by:
paint
in interface CircularRenderer
- Parameters:
g2
- the graphics to paint tocrc
- the context giving the data to paint