|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.utgenome.gwt.utgb.client.canvas.IntervalLayout
public class IntervalLayout
On-genome data layout
Nested Class Summary | |
---|---|
static class |
IntervalLayout.IntervalRetriever
Retrieves the interval (x1, x2) and the height of OnGenome objects |
static class |
IntervalLayout.LocusLayout
|
Constructor Summary | |
---|---|
IntervalLayout()
|
Method Summary | ||
---|---|---|
List<GenomeRange> |
activeReads()
|
|
void |
clear()
|
|
|
createLocalLayout(int geneHeight)
Creates an X-Y layout of the given intervals, then return the max depth of the intervals |
|
void |
depthFirstSearch(PrioritySearchTree.Visitor<IntervalLayout.LocusLayout> visitor)
|
|
static int |
estimiateLabelWidth(GenomeRange l,
int geneHeight)
|
|
boolean |
hasEnoughHeightForLabels()
|
|
boolean |
keepSpaceForLabels()
|
|
int |
maxDepth(TrackWindow view)
|
|
GenomeRange |
overlappedInterval(int x,
int y,
int xBorder,
int geneHeight)
compute the overlapped intervals for the mouse over event |
|
int |
pixelPositionOnWindow(int indexOnGenome)
|
|
|
reset(List<T> intervalList,
int geneHeight)
Creates an X-Y layout of the given intervals |
|
void |
setAllowOverlapPairedReads(boolean allow)
|
|
void |
setKeepSpaceForLabels(boolean keep)
|
|
void |
setTrackWindow(TrackWindow window)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntervalLayout()
Method Detail |
---|
public void setTrackWindow(TrackWindow window)
public static int estimiateLabelWidth(GenomeRange l, int geneHeight)
public List<GenomeRange> activeReads()
public int maxDepth(TrackWindow view)
public <T extends GenomeRange> int reset(List<T> intervalList, int geneHeight)
T
- intervalList
- geneHeight
- * @returnpublic <T extends GenomeRange> int createLocalLayout(int geneHeight)
T
- intervalList
- geneHeight
- * @returnpublic void setKeepSpaceForLabels(boolean keep)
public boolean keepSpaceForLabels()
public boolean hasEnoughHeightForLabels()
public void depthFirstSearch(PrioritySearchTree.Visitor<IntervalLayout.LocusLayout> visitor)
public GenomeRange overlappedInterval(int x, int y, int xBorder, int geneHeight)
event
- xBorder
-
public int pixelPositionOnWindow(int indexOnGenome)
public void clear()
public void setAllowOverlapPairedReads(boolean allow)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |