@Override
	protected void onClick(int x, int y, MouseButtons button, boolean grabbed, int grabx, int graby){
		if(this.isTrack(x, y) && grabbed)
		{
			this.trackGrabbed = true;
			this.setValue(this.getValueOfAbs(x));
		}
		else if(this.trackGrabbed && grabbed )
		{
			this.setValue(this.getValueOfAbs(x));
		}
		else if(this.isBar(x, y))
		{
			this.setValue(this.getValueOfAbs(x));
		}
		else
		{
			this.trackGrabbed = false;
		}
	}