|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojavax.bio.phylo.io.nexus.TreesBlock.NewickTreeString
public static class TreesBlock.NewickTreeString
A simple representation of a Newick tree as a single string.
Constructor Summary | |
---|---|
TreesBlock.NewickTreeString()
|
Method Summary | |
---|---|
java.lang.String |
getRootType()
See if the tree is rooted. |
java.lang.String |
getTreeString()
Get the Newick string describing the tree. |
boolean |
isStarred()
Tests whether this tree has a star before it's name. |
void |
setRootType(java.lang.String rootType)
Make the tree (un)rooted. |
void |
setStarred(boolean starred)
Sets whether this tree has a star before it's name. |
void |
setTreeString(java.lang.String treeString)
Set the Newick string describing the tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreesBlock.NewickTreeString()
Method Detail |
---|
public void setRootType(java.lang.String rootType)
rootType
- 'U' for unrooted, 'R' for rooted, null for
unsure.public void setTreeString(java.lang.String treeString)
public void setStarred(boolean starred)
starred
- true if it has one.public boolean isStarred()
public java.lang.String getRootType()
public java.lang.String getTreeString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |