Class CircularRendererPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.biojava.bio.gui.sequence.CircularRendererPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class CircularRendererPanel extends JComponent
Renders a sequence as a circle using a CircularRenderer.

This component will first transform the graphic coordinates so that 0,0 is at the centre of the circle. The size of the circle is estimated from the radius property and the depth of the renderer.

All angles are measured in radians. Some java gui classes use radians and some use degrees. Be carefull to use the right one. Math has a couple of methods for conversions.

Since:
1.4
Author:
Matthew Pocock
See Also: