public class LineInfo extends Object
The single line of info may be divided into multiple regions, each rendered by their own SequenceRenderer. It is the job of this class to cache the information about how much space each one wants, and how much space they want in total. A SequenceRenderer or SequencePanel that delegates rendering to multiple child SequenceRenderer instances may want to use these objects for storing this information about each row they are responsible for.
Constructor and Description |
---|
LineInfo() |
Modifier and Type | Method and Description |
---|---|
double |
getDepth(SequenceRenderer r) |
double |
getTotalDepth() |
void |
setDepth(SequenceRenderer r,
double depth) |
public LineInfo()
public double getDepth(SequenceRenderer r)
public void setDepth(SequenceRenderer r, double depth)
public double getTotalDepth()
Copyright © 2014 BioJava. All rights reserved.