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 TypeMethodDescriptionint
Returns the value of the 'Frequency' attribute.Returns 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 'Switch Enabled' attribute.void
setFrequency
(int value) Sets the value of the 'Frequency
' 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
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
-
getFrequency
int getFrequency()Returns the value of the 'Frequency' attribute.- Returns:
- the value of the 'Frequency' attribute.
- See Also:
-
setFrequency
void setFrequency(int value) Sets the value of the 'Frequency
' attribute.- Parameters:
value
- the new value of the 'Frequency' attribute.- See Also:
-
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:
-
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:
-