private void updateRanges()
	{
		// get the minimum degree rank
		min_degree_rank = (float)(degreeRangeSlider.getLowValue() - degreeRangeSlider.getMinimum()) / 
				(float)(degreeRangeSlider.getMaximum() - degreeRangeSlider.getMinimum());
		max_degree_rank = (float)(degreeRangeSlider.getHighValue() - degreeRangeSlider.getMinimum()) / 
				(float)(degreeRangeSlider.getMaximum() - degreeRangeSlider.getMinimum());
		min_bandwidth_rank = (float)(bandwidthRangeSlider.getLowValue() - bandwidthRangeSlider.getMinimum()) / 
				(float)(bandwidthRangeSlider.getMaximum() - bandwidthRangeSlider.getMinimum());
		max_bandwidth_rank = (float)(bandwidthRangeSlider.getHighValue() - bandwidthRangeSlider.getMinimum()) / 
				(float)(bandwidthRangeSlider.getMaximum() - bandwidthRangeSlider.getMinimum());
		min_degree_enabled = degreeRangeSlider.getLowValue() != degreeRangeSlider.getMinimum();
		max_degree_enabled = degreeRangeSlider.getHighValue() != degreeRangeSlider.getMaximum();
		min_bandwidth_enabled = bandwidthRangeSlider.getLowValue() != bandwidthRangeSlider.getMinimum();
		max_bandwidth_enabled = bandwidthRangeSlider.getHighValue() != bandwidthRangeSlider.getMaximum();
		fireExpressionChangedEvent();
		//TODO: make data listen to this so that we don't need this call
		data.setFilterPredicate(this);
	}
private void updateRanges()
	{
	
		min_degree_rank = (float)(degreeRangeSlider.getLowValue() - degreeRangeSlider.getMinimum()) / 
				(float)(degreeRangeSlider.getMaximum() - degreeRangeSlider.getMinimum());
		max_degree_rank = (float)(degreeRangeSlider.getHighValue() - degreeRangeSlider.getMinimum()) / 
				(float)(degreeRangeSlider.getMaximum() - degreeRangeSlider.getMinimum());
		min_bandwidth_rank = (float)(bandwidthRangeSlider.getLowValue() - bandwidthRangeSlider.getMinimum()) / 
				(float)(bandwidthRangeSlider.getMaximum() - bandwidthRangeSlider.getMinimum());
		max_bandwidth_rank = (float)(bandwidthRangeSlider.getHighValue() - bandwidthRangeSlider.getMinimum()) / 
				(float)(bandwidthRangeSlider.getMaximum() - bandwidthRangeSlider.getMinimum());
		min_degree_enabled = degreeRangeSlider.getLowValue() != degreeRangeSlider.getMinimum();
		max_degree_enabled = degreeRangeSlider.getHighValue() != degreeRangeSlider.getMaximum();
		min_bandwidth_enabled = bandwidthRangeSlider.getLowValue() != bandwidthRangeSlider.getMinimum();
		max_bandwidth_enabled = bandwidthRangeSlider.getHighValue() != bandwidthRangeSlider.getMaximum();
		fireExpressionChangedEvent();
	
		data.setFilterPredicate(this);
	}
private void updateranges() { min_degree_rank = (float)(degreerangeslider.getlowvalue() - degreerangeslider.getminimum()) / (float)(degreerangeslider.getmaximum() - degreerangeslider.getminimum()); max_degree_rank = (float)(degreerangeslider.gethighvalue() - degreerangeslider.getminimum()) / (float)(degreerangeslider.getmaximum() - degreerangeslider.getminimum()); min_bandwidth_rank = (float)(bandwidthrangeslider.getlowvalue() - bandwidthrangeslider.getminimum()) / (float)(bandwidthrangeslider.getmaximum() - bandwidthrangeslider.getminimum()); max_bandwidth_rank = (float)(bandwidthrangeslider.gethighvalue() - bandwidthrangeslider.getminimum()) / (float)(bandwidthrangeslider.getmaximum() - bandwidthrangeslider.getminimum()); min_degree_enabled = degreerangeslider.getlowvalue() != degreerangeslider.getminimum(); max_degree_enabled = degreerangeslider.gethighvalue() != degreerangeslider.getmaximum(); min_bandwidth_enabled = bandwidthrangeslider.getlowvalue() != bandwidthrangeslider.getminimum(); max_bandwidth_enabled = bandwidthrangeslider.gethighvalue() != bandwidthrangeslider.getmaximum(); fireexpressionchangedevent(); data.setfilterpredicate(this); }