public void setSplit(double split) {
            if (split < 0)
                split = 0;
            else if (split > 1)
                split = 1;
            this.split = split;
            invalidate();
            validate();
        }