com.yobotics.simulationconstructionset.util.globalParameters
Class DoubleGlobalParameter
java.lang.Object
com.yobotics.simulationconstructionset.util.globalParameters.GlobalParameter
com.yobotics.simulationconstructionset.util.globalParameters.DoubleGlobalParameter
- Direct Known Subclasses:
- MultiplicativeDoubleGlobalParameter
public class DoubleGlobalParameter
- extends GlobalParameter
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleGlobalParameter
public DoubleGlobalParameter(java.lang.String name,
java.lang.String description,
double value,
GlobalParameterChangedListener listener)
getValue
public double getValue()
setOnlyIfChange
public void setOnlyIfChange(double value)
setOnlyIfChange
public void setOnlyIfChange(double value,
java.lang.String comment)
set
public void set(double value)
set
public void set(double value,
java.lang.String comment)
getValueInStringFormat
public java.lang.String getValueInStringFormat()
- Specified by:
getValueInStringFormat
in class GlobalParameter