public class PhyloNode extends Object
Constructor and Description |
---|
PhyloNode() |
public PhyloNode()
public PhyloNode setTooltip(String inValue)
public String getTooltip()
protected boolean removeEdge(Edge<PhyloNode> inEdge)
protected boolean removeEdgeFrom(PhyloNode inNode)
public boolean isLeaf()
public void makeRoot()
protected void setRootDirection(Edge<PhyloNode> inEdge)
public PhyloNode getParentNode()
public List<PhyloNode> getChildNodes()
public Edge<PhyloNode> getParentEdge()
public List<Edge<PhyloNode>> getLeafFacingEdges()
public void orderEdgesByLeafCount()
public Float getDistanceFromRoot()
public Float getMaxDistanceToLeaf()
public int getSubnodeCount()
public Float distanceTo(PhyloNode inNode2)
inNode2
- the node to calculate the distance topublic void setAttribute(String inName, Object inValue)
public boolean hasAttributes()
public boolean hasAttribute(String inName)
public Object getAttribute(String inName)
public Collection<String> getAttributeNames()
public void clearAttributes()
public Object removeAttribute(String inName)
protected void setLineIndex(int inValue)
protected Integer getLineIndex()
protected void setVerticalLineStartIndex(int inValue)
protected Integer getVericalLineStartIndex()
protected void setVerticalLineEndIndex(int inValue)
protected Integer getVericalLineEndIndex()
jataylor@hairyfatguy.com