RectangularBeadRenderer (biojava-legacy 1.9.5 API)
-
-
Field Summary
Fields Modifier and Type Field Description static ChangeTypeHEIGHTSCALINGConstant
HEIGHTSCALINGindicating a change to the feature height scaling policy.protected Rectangle2Drectprotected booleanscaleHeight-
Fields inherited from class org.biojava.bio.gui.sequence.AbstractBeadRenderer
beadDepth, beadDisplacement, beadFill, beadOutline, beadStroke, delegates, delegationCache, DEPTH, DISPLACEMENT, FILL, OUTLINE, STROKE
-
-
Constructor Summary
Constructors Constructor Description RectangularBeadRenderer()Creates a new
RectangularBeadRendererwith the default settings.RectangularBeadRenderer(double beadDepth, double beadDisplacement, Paint beadOutline, Paint beadFill, Stroke beadStroke)Creates a new
RectangularBeadRenderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetDepth(SequenceRenderContext context)getDepthcalculates the depth required by this renderer to display its beads.booleangetHeightScaling()getHeightScalingreturns the state of the height scaling policy.voidrenderBead(Graphics2D g2, Feature f, SequenceRenderContext context)renderBeadrenders features as simple rectangle.voidsetHeightScaling(boolean isEnabled)setHeightScalingsets the height scaling policy.-
Methods inherited from class org.biojava.bio.gui.sequence.AbstractBeadRenderer
getBeadDepth, getBeadDisplacement, getBeadFill, getBeadOutline, getBeadStroke, processMouseEvent, removeDelegateRenderer, renderFeature, setBeadDepth, setBeadDisplacement, setBeadFill, setBeadOutline, setBeadStroke, setDelegateRenderer
-
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
-
-