Package org.biojava.bio.gui.sequence
Class LineInfo
- java.lang.Object
-
- org.biojava.bio.gui.sequence.LineInfo
-
public class LineInfo extends Object
Encapsulates the rendering info for a single line of the display.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.
- Author:
- Matthew Pocock
-
-
Constructor Summary
Constructors Constructor Description LineInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDepth(SequenceRenderer r)
double
getTotalDepth()
void
setDepth(SequenceRenderer r, double depth)
-
-
-
Constructor Detail
-
LineInfo
public LineInfo()
-
-
Method Detail
-
getDepth
public double getDepth(SequenceRenderer r)
-
setDepth
public void setDepth(SequenceRenderer r, double depth)
-
getTotalDepth
public double getTotalDepth()
-
-