com.togethersoft.sca.core
Interface IParameterReal
- All Superinterfaces:
- IParameter
- public interface IParameterReal
- extends IParameter
Represents a floating-point parameter.
|
Method Summary |
double |
getDefaultValue()
Returns the default value of this parameter. |
double |
getMaxValue()
Returns the largest allowed value of this parameter. |
double |
getMinValue()
Returns the smallest allowed value of this parameter. |
double |
getValue()
Returns the floating-point value of this parameter. |
void |
setValue(double newValue)
Sets the value of this parameter. |
getDefaultValue
public double getDefaultValue()
- Returns the default value of this parameter.
- Returns:
- the default value of this parameter.
getMaxValue
public double getMaxValue()
- Returns the largest allowed value of this parameter. This will
return
Double.POSITIVE_INFINITY if the largest value
of this parameter is not defined.
- Returns:
- the largest allowed value of this parameter.
getMinValue
public double getMinValue()
- Returns the smallest allowed value of this parameter. This will
return
Double.NEGATIVE_INFINITY if the smallest value
of this parameter is not defined.
- Returns:
- the smallest allowed value of this parameter.
getValue
public double getValue()
- Returns the floating-point value of this parameter.
- Returns:
- the floating-point value of this parameter.
setValue
public void setValue(double newValue)
- Sets the value of this parameter.
- Parameters:
value - specifies the new value.