public class SixFrameZiggyRenderer extends AbstractChangeable implements FeatureRenderer, Serializable
The actual drawing is done by a child renderer. In this case, SixFrameRenderer is used, which can use data from this renderer to display transcripts in the correct translation frames.
| Constructor and Description |
|---|
SixFrameZiggyRenderer(SixFrameRenderer pane) |
| Modifier and Type | Method and Description |
|---|---|
double |
getBlockDepth() |
double |
getDepth(SequenceRenderContext src) |
Paint |
getFill() |
Paint |
getOutline() |
FeatureHolder |
processMouseEvent(FeatureHolder hits,
SequenceRenderContext src,
MouseEvent me) |
void |
renderFeature(Graphics2D g,
Feature f,
SequenceRenderContext context) |
void |
setBlockDepth(double depth) |
void |
setFill(Paint p) |
void |
setOutline(Paint p) |
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerpublic SixFrameZiggyRenderer(SixFrameRenderer pane)
public void setFill(Paint p) throws ChangeVetoException
ChangeVetoExceptionpublic void setOutline(Paint p) throws ChangeVetoException
ChangeVetoExceptionpublic Paint getOutline()
public void setBlockDepth(double depth) throws ChangeVetoException
ChangeVetoExceptionpublic double getBlockDepth()
public double getDepth(SequenceRenderContext src)
getDepth in interface FeatureRendererpublic void renderFeature(Graphics2D g, Feature f, SequenceRenderContext context)
renderFeature in interface FeatureRendererpublic FeatureHolder processMouseEvent(FeatureHolder hits, SequenceRenderContext src, MouseEvent me)
processMouseEvent in interface FeatureRendererCopyright © 2014 BioJava. All rights reserved.