org.forester.phylogeny.data
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 PhylogenyData
public java.lang.StringBuffer asText()
asText
in interface PhylogenyData
public PhylogenyData copy()
PhylogenyData
copy
in interface PhylogenyData
public BranchColor getBranchColor()
public BranchWidth getBranchWidth()
public Confidence getConfidence(int index)
public java.util.List<Confidence> getConfidences()
public int getNumberOfConfidences()
public boolean isEqual(PhylogenyData data)
PhylogenyData
isEqual
in interface PhylogenyData
public 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 PhylogenyData
public void toPhyloXML(java.io.Writer writer, int level, java.lang.String indentation) throws java.io.IOException
PhylogenyData
toPhyloXML
in interface PhylogenyData
java.io.IOException