Class AbstractLayout3DPC.AbstractNode<N extends AbstractLayout3DPC.AbstractNode<N>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<N> children
      Children
      int dim
      Dimension represented by this node.
      double x
      Coordinates
      double y
      Coordinates
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractNode​(int dim, java.util.List<N> children)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      N getChild​(int off)
      Get a child node.
      int getDim()
      Get the dimension represented by this node.
      double getX()
      Get layout X position.
      double getY()
      Get layout Y position.
      int numChildren()
      Get the number of children.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dim

        public int dim
        Dimension represented by this node.
      • x

        public double x
        Coordinates
      • y

        public double y
        Coordinates
    • Constructor Detail

      • AbstractNode

        public AbstractNode​(int dim,
                            java.util.List<N> children)
        Constructor.
        Parameters:
        dim - Dimension number
        children - Children
    • Method Detail

      • getDim

        public int getDim()
        Description copied from interface: Layout.Node
        Get the dimension represented by this node.
        Specified by:
        getDim in interface Layout.Node
        Returns:
        Dimension
      • getX

        public double getX()
        Description copied from interface: Layout.Node
        Get layout X position.
        Specified by:
        getX in interface Layout.Node
        Returns:
        X position
      • getY

        public double getY()
        Description copied from interface: Layout.Node
        Get layout Y position.
        Specified by:
        getY in interface Layout.Node
        Returns:
        Y position
      • getChild

        public N getChild​(int off)
        Description copied from interface: Layout.Node
        Get a child node.
        Specified by:
        getChild in interface Layout.Node
        Parameters:
        off - offset
        Returns:
        Child node.
      • numChildren

        public int numChildren()
        Description copied from interface: Layout.Node
        Get the number of children.
        Specified by:
        numChildren in interface Layout.Node
        Returns:
        Number of children