
jdplus.toolkit.desktop.plugin.ui.StabilityTickUnit Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package jdplus.toolkit.desktop.plugin.ui;
import java.util.List;
import org.jfree.chart.axis.NumberTickUnit;
/**
*
* @author Kristof Bayens
*/
public class StabilityTickUnit extends NumberTickUnit {
private final List names;
public StabilityTickUnit(List names) {
super(1);
this.names = names;
}
@Override
public String valueToString(double value) {
return names.get((int)value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy