public class Track extends Rectangle implements Comparable<Track>
Rectangle2D.Double, Rectangle2D.FloatOUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOPadd, 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, unionadd, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, unionclone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalfinalize, getClass, notify, notifyAll, wait, wait, waitcontains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersectspublic int compareTo(Track inTrack2)
compareTo in interface Comparable<Track>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 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 void draw(Graphics2D g2, Strand inStrand)
public BufferedImage getBufferedImage(Strand inStrand)
public BufferedImage getXAxisBufferedImage()
public void writeImageAsJpeg(OutputStream inStream, Strand inStrand) throws IOException
IOExceptionpublic void writeXAxisImageAsJpeg(OutputStream inStream) throws IOException
IOExceptionpublic void writeImageAsPng(OutputStream inStream, Strand inStrand) throws IOException
IOExceptionpublic SVG writeImageAsSvg(Strand inStrand)
public void drawXAxis(Graphics2D g2)
public int getLabelWidthInPixels(String inLabel)
jataylor@hairyfatguy.com