public Button(int r,int x,int y,Color off, Color on, Color t, String l){
    	this.type = 1;
    	this.x = x;
    	this.y = y;
    	this.background = off;
    	this.toggleColour = on;
    	this.textColour = t;
    	this.label = l;
    	this.type = 0;
    	this.width = r;
    }