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, removeChangeListener
public SixFrameZiggyRenderer(SixFrameRenderer pane)
public void setFill(Paint p) throws ChangeVetoException
ChangeVetoException
public void setOutline(Paint p) throws ChangeVetoException
ChangeVetoException
public Paint getOutline()
public void setBlockDepth(double depth) throws ChangeVetoException
ChangeVetoException
public double getBlockDepth()
public double getDepth(SequenceRenderContext src)
getDepth
in interface FeatureRenderer
public void renderFeature(Graphics2D g, Feature f, SequenceRenderContext context)
renderFeature
in interface FeatureRenderer
public FeatureHolder processMouseEvent(FeatureHolder hits, SequenceRenderContext src, MouseEvent me)
processMouseEvent
in interface FeatureRenderer
Copyright © 2014 BioJava. All rights reserved.