Package net.solarnetwork.settings
Interface SliderSettingSpecifier
- All Superinterfaces:
KeyedSettingSpecifier<Double>,MappableSpecifier,SettingSpecifier
- All Known Implementing Classes:
BasicSliderSettingSpecifier
A floating point range setting between a minimum and maximum value.
- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.solarnetwork.settings.MappableSpecifier
MappableSpecifier.Mapper -
Method Summary
Modifier and TypeMethodDescriptionThe maximum value allowed.The minimum value allowed.getStep()Get a step value for acceptable values between the minimum and maximum.Methods inherited from interface net.solarnetwork.settings.KeyedSettingSpecifier
getDefaultValue, getDescriptionArguments, getKey, isTransientMethods inherited from interface net.solarnetwork.settings.MappableSpecifier
mappedTo, mappedWithMapper, mappedWithPlaceholerMethods inherited from interface net.solarnetwork.settings.SettingSpecifier
getTitle, getType
-
Method Details
-
getMinimumValue
Double getMinimumValue()The minimum value allowed.If null then 0 is assumed.
- Returns:
- the minimum value
-
getMaximumValue
Double getMaximumValue()The maximum value allowed.If null then 1 is assumed.
- Returns:
- the maximum value
-
getStep
Double getStep()Get a step value for acceptable values between the minimum and maximum.If null then 1 is assumed.
- Returns:
- the step value
-