public class StackedFeatureRenderer extends AbstractChangeable implements FeatureRenderer
Modifier and Type | Field and Description |
---|---|
static ChangeType |
RENDERERS |
Constructor and Description |
---|
StackedFeatureRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
addRenderer(FeatureRenderer renderer) |
double |
getDepth(SequenceRenderContext src) |
FeatureHolder |
processMouseEvent(FeatureHolder hits,
SequenceRenderContext src,
MouseEvent me) |
void |
removeRenderer(FeatureRenderer renderer) |
void |
renderFeature(Graphics2D g,
Feature f,
SequenceRenderContext src) |
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
public static final ChangeType RENDERERS
public StackedFeatureRenderer()
public void addRenderer(FeatureRenderer renderer)
public void removeRenderer(FeatureRenderer renderer)
public double getDepth(SequenceRenderContext src)
getDepth
in interface FeatureRenderer
public void renderFeature(Graphics2D g, Feature f, SequenceRenderContext src)
renderFeature
in interface FeatureRenderer
public FeatureHolder processMouseEvent(FeatureHolder hits, SequenceRenderContext src, MouseEvent me)
processMouseEvent
in interface FeatureRenderer
Copyright © 2014 BioJava. All rights reserved.