Package org.openhab.core.sitemap
Interface Setpoint
- All Superinterfaces:
NonLinkableWidget,Widget
A representation of a sitemap Setpoint widget.
- Author:
- Mark Herwege - Initial contribution
-
Method Summary
Modifier and TypeMethodDescription@Nullable BigDecimalGet maximum setpoint value.@Nullable BigDecimalGet minimum setpoint value.@Nullable BigDecimalgetStep()Get setpoint step.voidsetMaxValue(@Nullable BigDecimal maxValue) Set maximum setpoint value.voidsetMinValue(@Nullable BigDecimal minValue) Set minimum setpoint value.voidsetStep(@Nullable BigDecimal step) Set setpoint step.Methods inherited from interface org.openhab.core.sitemap.Widget
getIcon, getIconColor, getIconRules, getItem, getLabel, getLabelColor, getParent, getValueColor, getVisibility, getWidgetType, isStaticIcon, setIcon, setIconColor, setIconRules, setItem, setLabel, setLabelColor, setParent, setStaticIcon, setValueColor, setVisibility
-
Method Details
-
getMinValue
@Nullable BigDecimal getMinValue()Get minimum setpoint value.- Returns:
- minValue
-
setMinValue
Set minimum setpoint value.- Parameters:
minValue-
-
getMaxValue
@Nullable BigDecimal getMaxValue()Get maximum setpoint value.- Returns:
- maxValue
-
setMaxValue
Set maximum setpoint value.- Parameters:
maxValue-
-
getStep
@Nullable BigDecimal getStep()Get setpoint step.- Returns:
- step
-
setStep
Set setpoint step.- Parameters:
step-
-