Package org.biojava.bio.gui.sequence
Class TickFeatureRenderer
java.lang.Object
org.biojava.utils.AbstractChangeable
org.biojava.bio.gui.sequence.TickFeatureRenderer
- All Implemented Interfaces:
FeatureRenderer,Changeable
- Author:
- Thomas Down, Matthew Pocock, David Huen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChangeTypestatic final ChangeTypestatic final ChangeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDepth()doublegetFill()processMouseEvent(FeatureHolder hits, SequenceRenderContext src, MouseEvent me) voidrenderFeature(Graphics2D g, Feature f, SequenceRenderContext src) voidsetDepth(double arrowSize) voidvoidsetOutline(Paint p) Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
-
Field Details
-
FILL
-
OUTLINE
-
DEPTH
-
-
Constructor Details
-
TickFeatureRenderer
public TickFeatureRenderer()
-
-
Method Details
-
setFill
- Throws:
ChangeVetoException
-
getFill
-
setOutline
- Throws:
ChangeVetoException
-
getOutline
-
setDepth
- Throws:
ChangeVetoException
-
getDepth
-
renderFeature
- Specified by:
renderFeaturein interfaceFeatureRenderer
-
getDepth
- Specified by:
getDepthin interfaceFeatureRenderer
-
processMouseEvent
public FeatureHolder processMouseEvent(FeatureHolder hits, SequenceRenderContext src, MouseEvent me) - Specified by:
processMouseEventin interfaceFeatureRenderer
-