Package pal.gui

Class PositionedNode

java.lang.Object
pal.tree.SimpleNode
pal.gui.PositionedNode
All Implemented Interfaces:
Serializable, AttributeNode, Node

public class PositionedNode extends SimpleNode
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 Details

    • x

      protected double x
  • Constructor Details

    • PositionedNode

      public PositionedNode(Node node, Node highlightNode)
      Builds a tree based on node, but highlights highlightNode
    • PositionedNode

      public PositionedNode(Node node)
  • Method Details

    • calculatePositions

      public void calculatePositions()
    • getPeer

      public Node getPeer()
    • isHighlighted

      public boolean isHighlighted()
    • getX

      public double getX()