org.utgenome.graphics
Class ChromosomeWindow

java.lang.Object
  extended by org.utgenome.graphics.ChromosomeWindow

public class ChromosomeWindow
extends Object


Constructor Summary
ChromosomeWindow(long startIndexOnChromosome, long endIndexOnChromosome)
           
ChromosomeWindow(long startIndexOnChromosome, long endIndexOnChromosome, int rank)
           
 
Method Summary
 long getChromosomeEnd()
           
 long getChromosomeRange()
           
 long getChromosomeStart()
           
 int getLeftMargin()
           
 long getRange()
           
 int getRank()
           
 int getXPosOnWindow(long indexOnChromosome, int canvasWidth)
           
 void setChromosomeEnd(long endIndexOnChromosome)
           
 void setChromosomeStart(long startIndexOnChromosome)
           
 void setLeftMargin(int leftMargin)
           
 void setRank(int rank)
           
static long width(long x1, long x2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChromosomeWindow

public ChromosomeWindow(long startIndexOnChromosome,
                        long endIndexOnChromosome,
                        int rank)

ChromosomeWindow

public ChromosomeWindow(long startIndexOnChromosome,
                        long endIndexOnChromosome)
Method Detail

width

public static long width(long x1,
                         long x2)

getXPosOnWindow

public int getXPosOnWindow(long indexOnChromosome,
                           int canvasWidth)

getChromosomeStart

public long getChromosomeStart()

setChromosomeStart

public void setChromosomeStart(long startIndexOnChromosome)

getChromosomeEnd

public long getChromosomeEnd()

setChromosomeEnd

public void setChromosomeEnd(long endIndexOnChromosome)

getChromosomeRange

public long getChromosomeRange()

getRank

public int getRank()

setRank

public void setRank(int rank)

getLeftMargin

public int getLeftMargin()

setLeftMargin

public void setLeftMargin(int leftMargin)

getRange

public long getRange()


Copyright © 2007-2012 utgenome.org. All Rights Reserved.