public class Track2D extends Rectangle implements Comparable<Track2D>
Rectangle2D.Double, Rectangle2D.Float
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
finalize, getClass, notify, notifyAll, wait, wait, wait
contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
public int compareTo(Track2D inTrack2)
compareTo
in interface Comparable<Track2D>
public boolean hasGenesOnStrand(Strand inStrand)
public void addHighlightRegion(int start, int end)
public void setGenes(Collection<Gene2D> inValues)
public Collection<Gene2D> getGenes()
public void setDescription(String inValue)
public String getDescription()
public void setBackgroundColor(Color inValue)
public Color getBackgroundColor()
public void setPctIdColorScale(ColorScale inValue)
public void setLabelColor(Color inValue)
public Color getLabelColor()
public void setAxisColor(Color inValue)
public Color getAxisColor()
public void setHighlightColor(Color inValue)
public Color getHighlightColor()
public void setLabelFont(Font inValue)
public void setXAxisStartValue(int inValue)
public void setXAxisEndValue(int inValue)
public int getForwardStrandImageHeight()
public int getReverseStrandImageHeight()
public void setImageWidth(int inValue)
public int getImageWidth()
public Script getJavascript()
public ImageMap getImageMap(Strand inStrand)
public void setShowId(boolean inValue)
public SVG getXAxisAsSVG()
public void draw(Graphics2D g2, Strand inStrand)
public BufferedImage getBufferedImage(Strand inStrand)
public BufferedImage getXAxisBufferedImage()
public void writeImageAsJpeg(OutputStream inStream, Strand inStrand) throws IOException
IOException
public void writeXAxisImageAsJpeg(OutputStream inStream) throws IOException
IOException
public void writeImageAsPng(OutputStream inStream, Strand inStrand) throws IOException
IOException
public void drawXAxis(Graphics2D g2)
public int getLabelWidthInPixels(String inLabel)