public static class TreesBlock.NewickTreeString extends Object
Constructor and Description |
---|
TreesBlock.NewickTreeString() |
Modifier and Type | Method and Description |
---|---|
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.
|
public TreesBlock.NewickTreeString()
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()
Copyright © 2014 BioJava. All rights reserved.