|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objex.progeny.anywhere.data.MarkerLegendItem
public class MarkerLegendItem
A MarkerLegendItem is the equivalent of a chromosome marker in the marker legend. It has the same ID and name as a ChromosomeMarker but also has an alias and legend display text, both of which can be used
when rendering marker legend below the person's icon.
MarkerLegend,
ChromosomeLegendItem,
Serialized Form| Constructor Summary | |
|---|---|
MarkerLegendItem()
Creates a new MarkerLegendItem instance |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlias()
|
double |
getBasePairs()
|
double |
getCM()
|
int |
getFieldid()
|
java.lang.String |
getLegendDisplayText()
|
java.lang.String |
getName()
Getter for property name. |
int |
getSequence()
Getter for property sequence. |
int |
getType()
|
void |
setAlias(java.lang.String alias)
Sets a new alias for the marker legend item. |
void |
setBasePairs(double basePairs)
Set the genetic distance for this marker base pairs |
void |
setCM(double cM)
Set the genetic distance for of the marker to which this legend item is linked. |
void |
setFieldid(int ai_fieldid)
Set the ID of the marker to which this legend item is linked. |
void |
setLegendDisplayText(java.lang.String as_legendDisplayText)
Set the text that will be displayed on the legend. |
void |
setName(java.lang.String rhs)
Setter for property name. |
void |
setSequence(int rhs)
Setter for property sequence. |
void |
setType(int ai_type)
Set the new marker type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MarkerLegendItem()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String rhs)
rhs - New value of property name.public java.lang.String getAlias()
public void setAlias(java.lang.String alias)
alias - The new alias of the marker legend item.public double getCM()
public void setCM(double cM)
cM - The genetic distance in cM of the marker to which this legend item is linked.public double getBasePairs()
public void setBasePairs(double basePairs)
basePairs - The genetic distance in bPpublic int getFieldid()
public void setFieldid(int ai_fieldid)
ai_fieldid - The new fieldid of the marker to which this legend item is linked.public java.lang.String getLegendDisplayText()
public void setLegendDisplayText(java.lang.String as_legendDisplayText)
as_legendDisplayText - THe new text that will be displayed on the legend. If not set then the name or alias of the marker will be used instead.public int getType()
public void setType(int ai_type)
type - The new marker type. Can be 0 for microsattelites and 1 for SNP'spublic int getSequence()
public void setSequence(int rhs)
rhs - New value of property sequence.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||