|
||||||||||
| 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 | |
|---|---|
String |
getRootType()
See if the tree is rooted. |
String |
getTreeString()
Get the Newick string describing the tree. |
boolean |
isStarred()
Tests whether this tree has a star before it's name. |
void |
setRootType(String rootType)
Make the tree (un)rooted. |
void |
setStarred(boolean starred)
Sets whether this tree has a star before it's name. |
void |
setTreeString(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(String rootType)
rootType - 'U' for unrooted, 'R' for rooted, null for
unsure.public void setTreeString(String treeString)
public void setStarred(boolean starred)
starred - true if it has one.public boolean isStarred()
public String getRootType()
public String getTreeString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||