public class Gene2D extends Rectangle implements Comparable<Gene2D>
Rectangle2D.Double, Rectangle2D.Float
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
Constructor and Description |
---|
Gene2D() |
Modifier and Type | Method and Description |
---|---|
void |
addExon(Exon inValue) |
void |
addURL(Link inValue)
Add a URL to the gene.
|
int |
compareTo(Gene2D gene2) |
void |
draw(Graphics2D g2) |
boolean |
equals(Object o2) |
Color |
getColor() |
String |
getDescription() |
int |
getEndLocation() |
List<Exon> |
getExons() |
int |
getHeightInPixels() |
String |
getId() |
int |
getLabelWidthInPixels() |
int |
getLeft()
The leftmost basepair of the gene (the start location if the gene is on the
forward strand or the end location if the gene is on the reverse strand).
|
int |
getRight()
The rightmost basepair of the gene (the end location if the gene is on the
forward strand or the start location if the gene is on the reverse strand).
|
int |
getScaledWidthInPixels() |
SeqMappingCoverage |
getSeqMappingCoverage() |
boolean |
getShowId() |
NCBITaxon |
getSpecies() |
int |
getStartLocation()
Basepair location of the start of the gene.
|
Strand |
getStrand() |
String |
getTooltipContent() |
List<Link> |
getURLs() |
boolean |
inDisplayRegion() |
void |
setColor(Color inValue) |
void |
setDescription(String inValue) |
void |
setDisplayRegion(int inDisplayStart,
int inDisplayEnd) |
void |
setEndLocation(int inValue) |
void |
setHeightInPixels(int inValue) |
void |
setId(String inValue) |
void |
setLabelFont(Font inValue) |
void |
setSeqMappingCoverage(SeqMappingCoverage inValue) |
void |
setShowId(boolean inValue) |
void |
setSpecies(NCBITaxon inValue) |
void |
setStartLocation(int inValue) |
void |
setStrand(Strand inValue) |
void |
setXScalingFactor(double inValue) |
SvgNode |
toSVG() |
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 Gene2D()
public void setDescription(String inValue)
public String getDescription()
public void setSeqMappingCoverage(SeqMappingCoverage inValue)
public SeqMappingCoverage getSeqMappingCoverage()
public void setSpecies(NCBITaxon inValue)
public NCBITaxon getSpecies()
public void addURL(Link inValue)
inValue
- the link to associate with the genepublic int getStartLocation()
public void setStartLocation(int inValue)
public int getEndLocation()
public void setEndLocation(int inValue)
public int getLeft()
public int getRight()
public void setLabelFont(Font inValue)
public void setXScalingFactor(double inValue)
public void setShowId(boolean inValue)
public boolean getShowId()
public void setDisplayRegion(int inDisplayStart, int inDisplayEnd)
public boolean inDisplayRegion()
public void draw(Graphics2D g2)
public int getScaledWidthInPixels()
public void setHeightInPixels(int inValue)
public int getHeightInPixels()
public int getLabelWidthInPixels()
public String getTooltipContent()
public int compareTo(Gene2D gene2)
compareTo
in interface Comparable<Gene2D>