public class BranchData extends java.lang.Object implements PhylogenyData
| Constructor and Description |
|---|
BranchData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfidence(Confidence confidence) |
java.lang.StringBuffer |
asSimpleText() |
java.lang.StringBuffer |
asText() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
BranchColor |
getBranchColor() |
BranchWidth |
getBranchWidth() |
Confidence |
getConfidence(int index) |
java.util.List<Confidence> |
getConfidences() |
int |
getNumberOfConfidences() |
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
boolean |
isHasBranchColor() |
boolean |
isHasBranchWidth() |
boolean |
isHasConfidences() |
void |
setBranchColor(BranchColor branch_color) |
void |
setBranchWidth(BranchWidth branch_width) |
java.lang.StringBuffer |
toNHX() |
void |
toPhyloXML(java.io.Writer writer,
int level,
java.lang.String indentation)
Writes a phyloXML representation of this phylogeny data.
|
public void addConfidence(Confidence confidence)
public java.lang.StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic java.lang.StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic BranchColor getBranchColor()
public BranchWidth getBranchWidth()
public Confidence getConfidence(int index)
public java.util.List<Confidence> getConfidences()
public int getNumberOfConfidences()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic boolean isHasBranchColor()
public boolean isHasBranchWidth()
public boolean isHasConfidences()
public void setBranchColor(BranchColor branch_color)
public void setBranchWidth(BranchWidth branch_width)
public java.lang.StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(java.io.Writer writer,
int level,
java.lang.String indentation)
throws java.io.IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDatajava.io.IOException