|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.tree.SimpleNode
pal.gui.PositionedNode
public class PositionedNode
A tree node that has a scalar position for the purposes of drawing the tree.
| Field Summary | |
|---|---|
protected double |
x
|
| Fields inherited from interface pal.tree.AttributeNode |
|---|
CLADE_PROBABILITY, MEAN_CLADE_HEIGHT, NODE_HEIGHT_SE, SUBTREE_PROBABILITY |
| Constructor Summary | |
|---|---|
PositionedNode(Node node)
|
|
PositionedNode(Node node,
Node highlightNode)
Builds a tree based on node, but highlights highlightNode |
|
| Method Summary | |
|---|---|
void |
calculatePositions()
|
Node |
getPeer()
|
double |
getX()
|
boolean |
isHighlighted()
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double x
| Constructor Detail |
|---|
public PositionedNode(Node node,
Node highlightNode)
public PositionedNode(Node node)
| Method Detail |
|---|
public void calculatePositions()
public Node getPeer()
public boolean isHighlighted()
public double getX()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||