Package pal.gui
Class PositionedNode
java.lang.Object
pal.tree.SimpleNode
pal.gui.PositionedNode
- All Implemented Interfaces:
Serializable
,AttributeNode
,Node
A tree node that has a scalar position for the purposes of drawing the tree.
- Version:
- $Id: PositionedNode.java,v 1.6 2002/01/14 04:18:13 matt Exp $
- Author:
- Alexei Drummond
- See Also:
-
Field Summary
FieldsFields inherited from interface pal.tree.AttributeNode
CLADE_PROBABILITY, MEAN_CLADE_HEIGHT, NODE_HEIGHT_SE, SUBTREE_PROBABILITY
-
Constructor Summary
ConstructorsConstructorDescriptionPositionedNode
(Node node) PositionedNode
(Node node, Node highlightNode) Builds a tree based on node, but highlights highlightNode -
Method Summary
Methods inherited from class pal.tree.SimpleNode
addChild, getAttribute, getAttributeNames, getBranchLength, getBranchLengthSE, getChild, getChildCount, getIdentifier, getNodeHeight, getNumber, getParent, getSequence, getSequenceString, hasChildren, init, init, init, insertChild, isLeaf, isRoot, lengths2HeightsContemp, removeChild, removeParent, reset, setAttribute, setBranchLength, setBranchLengthSE, setChild, setIdentifier, setNodeHeight, setNodeHeight, setNumber, setParent, setSequence, toString
-
Field Details
-
x
protected double x
-
-
Constructor Details
-
PositionedNode
Builds a tree based on node, but highlights highlightNode -
PositionedNode
-
-
Method Details
-
calculatePositions
public void calculatePositions() -
getPeer
-
isHighlighted
public boolean isHighlighted() -
getX
public double getX()
-