1 package jalview.ws.params.simple;
3 import jalview.ws.params.ParameterI;
4 import jalview.ws.params.ValueConstrainI;
11 public class LogarithmicParameter extends Option implements ParameterI
20 public ValueConstrainI getValidValue()
22 return new ValueConstrainI()
26 public ValueType getType()
28 return ValueType.Double;
32 public Number getMin()
45 public Number getMax()
59 public LogarithmicParameter(LogarithmicParameter parm)
67 public LogarithmicParameter(String name, String description,
68 boolean required, Double defValue, Double min, Double max,
71 super(name, description, required, String.valueOf(defValue), null, null,
74 this.min = min * 1000000;
75 this.max = max * 1000000;
79 public LogarithmicParameter(String name, String description,
80 boolean required, Double defValue, Double value, Double min,
81 Double max, Double base)
83 super(name, description, required, String.valueOf(defValue),
84 String.valueOf(value), null, null);
86 this.min = min * 1000000;
87 this.max = max * 1000000;
92 public LogarithmicParameter copy()
94 return new LogarithmicParameter(this);
97 public Double getBase()