public class TickFeatureRenderer extends AbstractChangeable implements FeatureRenderer
Modifier and Type | Field and Description |
---|---|
static ChangeType |
DEPTH |
static ChangeType |
FILL |
static ChangeType |
OUTLINE |
Constructor and Description |
---|
TickFeatureRenderer() |
Modifier and Type | Method and Description |
---|---|
double |
getDepth() |
double |
getDepth(SequenceRenderContext src) |
Paint |
getFill() |
Paint |
getOutline() |
FeatureHolder |
processMouseEvent(FeatureHolder hits,
SequenceRenderContext src,
MouseEvent me) |
void |
renderFeature(Graphics2D g,
Feature f,
SequenceRenderContext src) |
void |
setDepth(double arrowSize) |
void |
setFill(Paint p) |
void |
setOutline(Paint p) |
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
public static final ChangeType FILL
public static final ChangeType OUTLINE
public static final ChangeType DEPTH
public TickFeatureRenderer()
public void setFill(Paint p) throws ChangeVetoException
ChangeVetoException
public void setOutline(Paint p) throws ChangeVetoException
ChangeVetoException
public Paint getOutline()
public void setDepth(double arrowSize) throws ChangeVetoException
ChangeVetoException
public double getDepth()
public void renderFeature(Graphics2D g, Feature f, SequenceRenderContext src)
renderFeature
in interface FeatureRenderer
public double getDepth(SequenceRenderContext src)
getDepth
in interface FeatureRenderer
public FeatureHolder processMouseEvent(FeatureHolder hits, SequenceRenderContext src, MouseEvent me)
processMouseEvent
in interface FeatureRenderer
Copyright © 2014 BioJava. All rights reserved.