Class SliderImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.openhab.core.model.sitemap.sitemap.impl.WidgetImpl
org.openhab.core.model.sitemap.sitemap.impl.NonLinkableWidgetImpl
org.openhab.core.model.sitemap.sitemap.impl.SliderImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,NonLinkableWidget
,Slider
,Widget
An implementation of the model object 'Slider'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final BigDecimal
The default value of the 'Max Value
' attribute.protected BigDecimal
The cached value of the 'Max Value
' attribute.protected static final BigDecimal
The default value of the 'Min Value
' attribute.protected BigDecimal
The cached value of the 'Min Value
' attribute.protected static final boolean
The default value of the 'Release Only
' attribute.protected boolean
The cached value of the 'Release Only
' attribute.protected BigDecimal
The cached value of the 'Step
' attribute.protected static final BigDecimal
The default value of the 'Step
' attribute.protected static final boolean
The default value of the 'Switch Enabled
' attribute.protected boolean
The cached value of the 'Switch Enabled
' attribute.Fields inherited from class org.openhab.core.model.sitemap.sitemap.impl.WidgetImpl
icon, ICON_EDEFAULT, iconColor, iconRules, item, ITEM_EDEFAULT, label, LABEL_EDEFAULT, labelColor, STATIC_ICON_EDEFAULT, staticIcon, valueColor, visibility
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) getStep()
boolean
boolean
void
setMaxValue
(BigDecimal newMaxValue) void
setMinValue
(BigDecimal newMinValue) void
setReleaseOnly
(boolean newReleaseOnly) void
setStep
(BigDecimal newStep) void
setSwitchEnabled
(boolean newSwitchEnabled) toString()
Methods inherited from class org.openhab.core.model.sitemap.sitemap.impl.WidgetImpl
eInverseRemove, getIcon, getIconColor, getIconRules, getItem, getLabel, getLabelColor, getStaticIcon, getValueColor, getVisibility, setIcon, setItem, setLabel, setStaticIcon
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.ecore.InternalEObject
eNotificationRequired
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
-
Field Details
-
SWITCH_ENABLED_EDEFAULT
protected static final boolean SWITCH_ENABLED_EDEFAULTThe default value of the 'Switch Enabled
' attribute.- See Also:
-
switchEnabled
protected boolean switchEnabledThe cached value of the 'Switch Enabled
' attribute.- See Also:
-
RELEASE_ONLY_EDEFAULT
protected static final boolean RELEASE_ONLY_EDEFAULTThe default value of the 'Release Only
' attribute.- See Also:
-
releaseOnly
protected boolean releaseOnlyThe cached value of the 'Release Only
' attribute.- See Also:
-
MIN_VALUE_EDEFAULT
The default value of the 'Min Value
' attribute.- See Also:
-
minValue
The cached value of the 'Min Value
' attribute.- See Also:
-
MAX_VALUE_EDEFAULT
The default value of the 'Max Value
' attribute.- See Also:
-
maxValue
The cached value of the 'Max Value
' attribute.- See Also:
-
STEP_EDEFAULT
The default value of the 'Step
' attribute.- See Also:
-
step
The cached value of the 'Step
' attribute.- See Also:
-
-
Constructor Details
-
SliderImpl
protected SliderImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classNonLinkableWidgetImpl
-
isSwitchEnabled
public boolean isSwitchEnabled()- Specified by:
isSwitchEnabled
in interfaceSlider
- Returns:
- the value of the 'Switch Enabled' attribute.
- See Also:
-
setSwitchEnabled
public void setSwitchEnabled(boolean newSwitchEnabled) - Specified by:
setSwitchEnabled
in interfaceSlider
- Parameters:
newSwitchEnabled
- the new value of the 'Switch Enabled' attribute.- See Also:
-
isReleaseOnly
public boolean isReleaseOnly()- Specified by:
isReleaseOnly
in interfaceSlider
- Returns:
- the value of the 'Release Only' attribute.
- See Also:
-
setReleaseOnly
public void setReleaseOnly(boolean newReleaseOnly) - Specified by:
setReleaseOnly
in interfaceSlider
- Parameters:
newReleaseOnly
- the new value of the 'Release Only' attribute.- See Also:
-
getMinValue
- Specified by:
getMinValue
in interfaceSlider
- Returns:
- the value of the 'Min Value' attribute.
- See Also:
-
setMinValue
- Specified by:
setMinValue
in interfaceSlider
- Parameters:
newMinValue
- the new value of the 'Min Value' attribute.- See Also:
-
getMaxValue
- Specified by:
getMaxValue
in interfaceSlider
- Returns:
- the value of the 'Max Value' attribute.
- See Also:
-
setMaxValue
- Specified by:
setMaxValue
in interfaceSlider
- Parameters:
newMaxValue
- the new value of the 'Max Value' attribute.- See Also:
-
getStep
-
setStep
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classWidgetImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classWidgetImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classWidgetImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classWidgetImpl
-
toString
- Overrides:
toString
in classWidgetImpl
-