
ieg.prefuse.data.query.NestedNumberRangeModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ieg-prefuse Show documentation
Show all versions of ieg-prefuse Show documentation
Common Java classes to extend the InfoVis library prefuse
The newest version!
package ieg.prefuse.data.query;
import prefuse.data.query.NumberRangeModel;
/**
*
*
*
* Added: / TL
* Modifications:
*
*
* @author Tim Lammarsch
*
*/
public class NestedNumberRangeModel extends NumberRangeModel {
private static final long serialVersionUID = 1L;
protected Number[] min;
protected Number[] max;
/**
*
*/
public NestedNumberRangeModel(Number lo, Number hi,Number[] min, Number[] max) {
super(lo,hi,lo,hi);
this.min = min;
this.max = max;
recalculateMinMax();
}
/**
*
*/
private void recalculateMinMax() {
double lmin = 1;
double lmax = 1;
for(int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy