Interface Slider
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,NonLinkableWidget
,org.eclipse.emf.common.notify.Notifier
,Widget
- All Known Implementing Classes:
SliderImpl
A representation of the model object 'Slider'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Max Value' attribute.Returns the value of the 'Min Value' attribute.getStep()
Returns the value of the 'Step' attribute.boolean
Returns the value of the 'Release Only' attribute.boolean
Returns the value of the 'Switch Enabled' attribute.void
setMaxValue
(BigDecimal value) Sets the value of the 'Max Value
' attribute.void
setMinValue
(BigDecimal value) Sets the value of the 'Min Value
' attribute.void
setReleaseOnly
(boolean value) Sets the value of the 'Release Only
' attribute.void
setStep
(BigDecimal value) Sets the value of the 'Step
' attribute.void
setSwitchEnabled
(boolean value) Sets the value of the 'Switch Enabled
' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.openhab.core.model.sitemap.sitemap.Widget
getIcon, getIconColor, getIconRules, getItem, getLabel, getLabelColor, getStaticIcon, getValueColor, getVisibility, setIcon, setItem, setLabel, setStaticIcon
-
Method Details
-
isSwitchEnabled
boolean isSwitchEnabled()Returns the value of the 'Switch Enabled' attribute.- Returns:
- the value of the 'Switch Enabled' attribute.
- See Also:
-
setSwitchEnabled
void setSwitchEnabled(boolean value) Sets the value of the 'Switch Enabled
' attribute.- Parameters:
value
- the new value of the 'Switch Enabled' attribute.- See Also:
-
isReleaseOnly
boolean isReleaseOnly()Returns the value of the 'Release Only' attribute.- Returns:
- the value of the 'Release Only' attribute.
- See Also:
-
setReleaseOnly
void setReleaseOnly(boolean value) Sets the value of the 'Release Only
' attribute.- Parameters:
value
- the new value of the 'Release Only' attribute.- See Also:
-
getMinValue
BigDecimal getMinValue()Returns the value of the 'Min Value' attribute.- Returns:
- the value of the 'Min Value' attribute.
- See Also:
-
setMinValue
Sets the value of the 'Min Value
' attribute.- Parameters:
value
- the new value of the 'Min Value' attribute.- See Also:
-
getMaxValue
BigDecimal getMaxValue()Returns the value of the 'Max Value' attribute.- Returns:
- the value of the 'Max Value' attribute.
- See Also:
-
setMaxValue
Sets the value of the 'Max Value
' attribute.- Parameters:
value
- the new value of the 'Max Value' attribute.- See Also:
-
getStep
BigDecimal getStep()Returns the value of the 'Step' attribute.- Returns:
- the value of the 'Step' attribute.
- See Also:
-
setStep
Sets the value of the 'Step
' attribute.- Parameters:
value
- the new value of the 'Step' attribute.- See Also:
-