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.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested 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.EPropertiesHolderImplNested 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.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final BigDecimalThe default value of the 'Max Value' attribute.protected BigDecimalThe cached value of the 'Max Value' attribute.protected static final BigDecimalThe default value of the 'Min Value' attribute.protected BigDecimalThe cached value of the 'Min Value' attribute.protected static final booleanThe default value of the 'Release Only' attribute.protected booleanThe cached value of the 'Release Only' attribute.protected BigDecimalThe cached value of the 'Step' attribute.protected static final BigDecimalThe default value of the 'Step' attribute.protected static final booleanThe default value of the 'Switch Enabled' attribute.protected booleanThe 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, visibilityFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneGet(int featureID, boolean resolve, boolean coreType) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) getStep()booleanbooleanvoidsetMaxValue(BigDecimal newMaxValue) voidsetMinValue(BigDecimal newMinValue) voidsetReleaseOnly(boolean newReleaseOnly) voidsetStep(BigDecimal newStep) voidsetSwitchEnabled(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, setStaticIconMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods 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, eSettingsMethods 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, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods 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:
eStaticClassin classNonLinkableWidgetImpl
-
isSwitchEnabled
public boolean isSwitchEnabled()- Specified by:
isSwitchEnabledin interfaceSlider- Returns:
- the value of the 'Switch Enabled' attribute.
- See Also:
-
setSwitchEnabled
public void setSwitchEnabled(boolean newSwitchEnabled) - Specified by:
setSwitchEnabledin interfaceSlider- Parameters:
newSwitchEnabled- the new value of the 'Switch Enabled' attribute.- See Also:
-
isReleaseOnly
public boolean isReleaseOnly()- Specified by:
isReleaseOnlyin interfaceSlider- Returns:
- the value of the 'Release Only' attribute.
- See Also:
-
setReleaseOnly
public void setReleaseOnly(boolean newReleaseOnly) - Specified by:
setReleaseOnlyin interfaceSlider- Parameters:
newReleaseOnly- the new value of the 'Release Only' attribute.- See Also:
-
getMinValue
- Specified by:
getMinValuein interfaceSlider- Returns:
- the value of the 'Min Value' attribute.
- See Also:
-
setMinValue
- Specified by:
setMinValuein interfaceSlider- Parameters:
newMinValue- the new value of the 'Min Value' attribute.- See Also:
-
getMaxValue
- Specified by:
getMaxValuein interfaceSlider- Returns:
- the value of the 'Max Value' attribute.
- See Also:
-
setMaxValue
- Specified by:
setMaxValuein interfaceSlider- Parameters:
newMaxValue- the new value of the 'Max Value' attribute.- See Also:
-
getStep
-
setStep
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classWidgetImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classWidgetImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classWidgetImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classWidgetImpl
-
toString
- Overrides:
toStringin classWidgetImpl
-