|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.Symbol pedviz.view.symbols.Symbol2D pedviz.view.symbols.SymbolHaplotypes
public class SymbolHaplotypes
Draws the symbol for haplotypes.
Constructor Summary | |
---|---|
SymbolHaplotypes(Haplotypes haplotypes)
Creates a haplotype symbol with the given haplotypes. |
|
SymbolHaplotypes(Haplotypes haplotypes,
boolean showId)
Creates a haplotype symbol with the given haplotypes. |
Method Summary | |
---|---|
void |
drawSymbol(java.awt.Graphics2D g,
java.awt.geom.Point2D.Float position,
float size,
java.awt.Color border,
java.awt.Color fill,
NodeView nodeview)
Draws the symbol. |
java.lang.Float |
getHeight()
|
int |
getPriority()
Returns the priority of the symbol. |
boolean |
isShowMarkers()
|
void |
setShowMarkers(boolean showMarkers)
|
Methods inherited from class pedviz.view.Symbol |
---|
compareTo, setColors |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SymbolHaplotypes(Haplotypes haplotypes)
haplotypes
- Haplotype object.public SymbolHaplotypes(Haplotypes haplotypes, boolean showId)
haplotypes
- Haplotype object.showId
- Shows the id of the person.Method Detail |
---|
public void drawSymbol(java.awt.Graphics2D g, java.awt.geom.Point2D.Float position, float size, java.awt.Color border, java.awt.Color fill, NodeView nodeview)
Symbol2D
drawSymbol
in class Symbol2D
g
- Graphic objectposition
- position of the nodesize
- size of the nodeborder
- border colorfill
- fill colorpublic int getPriority()
Symbol
getPriority
in class Symbol
public java.lang.Float getHeight()
getHeight
in class Symbol
public boolean isShowMarkers()
public void setShowMarkers(boolean showMarkers)
showMarkers
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |