@Override
	public void handleClick(int x, int y)
	{
		if((x >= (2 * Sidebar.HORIZONTAL_SPACING)) && (x <= (getWidth())))
		{
			double topY = getHeight()  - Sidebar.VERTICAL_SPACING;
			double height = (getHeight() - (3 * Sidebar.VERTICAL_SPACING)) / 2;
			if((y < (topY)) && (y > (topY - height)))
			{
				double pos = 1 - ((x - (2 * Sidebar.HORIZONTAL_SPACING)) / (getWidth() - (2 * Sidebar.HORIZONTAL_SPACING)));
				amplitude = MIN_AMPLITUDE + (AMP_RANGE * pos);
			}
			if((y < (topY - (height + Sidebar.VERTICAL_SPACING))) && (y > (topY - ((2 * height) + Sidebar.VERTICAL_SPACING))))
			{
				double pos = 1 - ((x - (2 * Sidebar.HORIZONTAL_SPACING)) / (getWidth() - (2 * Sidebar.HORIZONTAL_SPACING)));
				period = MIN_PERIOD + (PER_RANGE * pos);
			}
		}
	}