| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpedviz.view.Symbol
pedviz.view.symbols.Symbol2D
pedviz.view.symbols.SymbolGenotypes
public class SymbolGenotypes
Draws the symbol for genotpyes. In the data available genotypes are simply drawn, by adding a genotype symbol with a list of markers.
| Constructor Summary | |
|---|---|
SymbolGenotypes(boolean showId,
                java.lang.String... traits)
Creates a new GenotypeSymbol with the given collection of traits.  | 
|
SymbolGenotypes(java.lang.String... traits)
Creates a new GenotypeSymbol with the given collection of traits.  | 
|
| 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.  | 
 void | 
setTraits(java.lang.String[] traits)
Collection of traits with genotype informations.  | 
| 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 SymbolGenotypes(java.lang.String... traits)
traits - Collection of traits.
public SymbolGenotypes(boolean showId,
                       java.lang.String... traits)
showId - Shows the id of the person.traits - traits Collection of traits.| 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 Symbol2Dg - Graphic objectposition - position of the nodesize - size of the nodeborder - border colorfill - fill colorpublic int getPriority()
Symbol
getPriority in class Symbolpublic java.lang.Float getHeight()
getHeight in class Symbolpublic void setTraits(java.lang.String[] traits)
traits - collection of traits.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||