com.togethersoft.sca.core
Interface IParameterReal

All Superinterfaces:
IParameter

public interface IParameterReal
extends IParameter

Represents a floating-point parameter.


Fields inherited from interface com.togethersoft.sca.core.IParameter
BOOLEAN, INTEGER, LIST, REAL, STRING, STRING_ENUM
 
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.
 
Methods inherited from interface com.togethersoft.sca.core.IParameter
clone, getId, getName, getType, isRemovable
 

Method Detail

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.