package org.ucombinator.jaam.visualizer.gui;

public class GUINodeStatus
{
    public double left, right, top, bottom;
    public double x, y, width, height;

    // The width and height of the node's children within the same level of the hierarchy
    public double bboxWidth, bboxHeight;
    public double opacity;

    // Default constructor
    public GUINodeStatus()
    {
        this.setDefaultStatus();
    }

    // Copy constructor
    public GUINodeStatus(GUINodeStatus other)
    {
        this.left = other.left;
        this.right = other.right;
        this.top = other.top;
        this.bottom = other.bottom;

        this.x = other.x;
        this.y = other.y;
        this.width = other.width;
        this.height = other.height;

        this.opacity = other.opacity;
    }

    public void setDefaultStatus()
    {
        this.width = 1;
        this.height = 1;
        this.left = 0;
        this.right = 1;
        this.top = -1;
        this.bottom = 0;
        this.x = 0.5;
        this.y = -0.5;
        this.opacity = 1;
    }

    public String toString()
    {
        return "(x, y) = (" + x + ", " + y + "), left = " + left + ", right = " + right
                + ", width = " + width + ", top = " + top + ", bottom = " + bottom + ", height = " + height
                + ", opacity = " + opacity;
    }
}

@@ -319,507 +319,22 @@
     
-// Default constructor%0A    public GUINodeStatus()%0A    %7B%0A        this.setDefaultStatus();%0A    %7D%0A%0A    // Copy constructor%0A    public GUINodeStatus(GUINodeStatus other)%0A    %7B%0A        this.left = other.left;%0A        this.right = other.right;%0A        this.top = other.top;%0A        this.bottom = other.bottom;%0A%0A        this.x = other.x;%0A        this.y = other.y;%0A        this.width = other.width;%0A        this.height = other.height;%0A%0A        this.opacity = other.opacity;%0A    %7D%0A%0A    public void setDefault
+public GUINode
 Stat

Remove unused constructor and inline single-use method