// get the minimum degree rank
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()
{
// get the minimum degree rank
min_degree_rank = (float)(degreeRangeSlider.getLowValue() - degreeRangeSlider.getMinimum()) /
(float)(degreeRangeSlider.getMaximum() - degreeRangeSlider.getMinimum());
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();
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);
}