All Packages Class Hierarchy This Package Previous Next Index
package jsz.Plotter; import java.awt.*; public class ControllerCaption implements ITickCaption { private double highPerformance; private double safety; private double baseline; public ControllerCaption(double highPerformance, double baseline, double safety) { this.highPerformance = highPerformance; this.safety = safety; this.baseline = baseline; } public String markTick(double value) { if(value == highPerformance) return "H"; else if(value == safety) return "S"; else if(value == baseline) return "B"; else // we dont mark any other tick return ""; } };
public abstract String markTick(double value)
All Packages Class Hierarchy This Package Previous Next Index