Class LwtDoubleSpinnerView
- java.lang.Object
-
- com._1c.g5.aef2.views.View<LwtRenderingParameters,VM,LC>
-
- com._1c.g5.aef2.lwt.views.LwtView<VM,LC>
-
- com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView<VM,LC>
-
- com._1c.g5.aef2.standard.lwt.views.AbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
-
- com._1c.g5.aef2.standard.lwt.views.LwtDoubleSpinnerView
-
- All Implemented Interfaces:
IView<LwtRenderingParameters,DoubleSpinnerViewModel,DoubleLightSpinner>
public class LwtDoubleSpinnerView extends AbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
The LWT spinner view for doubles.
-
-
Constructor Summary
Constructors Constructor Description LwtDoubleSpinnerView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DoubleLightSpinner
createSpinner()
Creates the relevant spinner.protected org.eclipse.emf.ecore.EStructuralFeature
getMaximumFeature()
Gets the maximum feature.protected org.eclipse.core.databinding.observable.value.IObservableValue<?>
getMaximumObservable(DoubleLightSpinner lightControl)
Gets the maximum observable value.protected org.eclipse.emf.ecore.EStructuralFeature
getMinimumFeature()
Gets the minimum feature.protected org.eclipse.core.databinding.observable.value.IObservableValue<?>
getMinimumObservable(DoubleLightSpinner lightControl)
Gets the minimum observable value.protected org.eclipse.emf.ecore.EStructuralFeature
getValueFeature()
Gets the value feature.protected org.eclipse.core.databinding.observable.value.IObservableValue<?>
getValueObservable(DoubleLightSpinner lightControl)
Gets the value observable value.-
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtSpinnerView
bind, createControl
-
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView
createLightControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.lwt.views.LwtView
getContentControl, handleFocusEvent, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExec
-
Methods inherited from class com._1c.g5.aef2.views.View
bindListener, bindNativeControl, bindValue, bindValue, bindViewModel, getNativeControl, getParameters, getViewModel, handleEventChannelEvent, initialize, manageObservable, queueAndWaitEvent, queueEvent, registerEventChannelListener, unbind, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
-
-
-
Method Detail
-
getMinimumObservable
protected org.eclipse.core.databinding.observable.value.IObservableValue<?> getMinimumObservable(DoubleLightSpinner lightControl)
Description copied from class:AbstractLwtSpinnerView
Gets the minimum observable value.- Specified by:
getMinimumObservable
in classAbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
- Parameters:
lightControl
- The spinner to represent value.- Returns:
- The minimum observable value.
-
getMaximumObservable
protected org.eclipse.core.databinding.observable.value.IObservableValue<?> getMaximumObservable(DoubleLightSpinner lightControl)
Description copied from class:AbstractLwtSpinnerView
Gets the maximum observable value.- Specified by:
getMaximumObservable
in classAbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
- Parameters:
lightControl
- The spinner to represent value.- Returns:
- The maximum observable value.
-
getValueObservable
protected org.eclipse.core.databinding.observable.value.IObservableValue<?> getValueObservable(DoubleLightSpinner lightControl)
Description copied from class:AbstractLwtSpinnerView
Gets the value observable value.- Specified by:
getValueObservable
in classAbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
- Parameters:
lightControl
- The spinner to represent value.- Returns:
- The value observable value.
-
getMinimumFeature
protected org.eclipse.emf.ecore.EStructuralFeature getMinimumFeature()
Description copied from class:AbstractLwtSpinnerView
Gets the minimum feature.- Specified by:
getMinimumFeature
in classAbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
- Returns:
- The minimum feature.
-
getMaximumFeature
protected org.eclipse.emf.ecore.EStructuralFeature getMaximumFeature()
Description copied from class:AbstractLwtSpinnerView
Gets the maximum feature.- Specified by:
getMaximumFeature
in classAbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
- Returns:
- The maximum feature.
-
getValueFeature
protected org.eclipse.emf.ecore.EStructuralFeature getValueFeature()
Description copied from class:AbstractLwtSpinnerView
Gets the value feature.- Specified by:
getValueFeature
in classAbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
- Returns:
- The value feature.
-
createSpinner
protected DoubleLightSpinner createSpinner()
Description copied from class:AbstractLwtSpinnerView
Creates the relevant spinner.- Specified by:
createSpinner
in classAbstractLwtSpinnerView<DoubleSpinnerViewModel,DoubleLightSpinner>
- Returns:
- The spinner.
-
-