- java.lang.Object
-
- org.eclipse.core.databinding.conversion.Converter
-
- com._1c.g5.aef2.standard.swt.views.AbstractSwtSpinnerView.NumberToNumberConverter<F,T>
-
- Type Parameters:
F
- the 'from' type.T
- the 'to' type.
- All Implemented Interfaces:
org.eclipse.core.databinding.conversion.IConverter
- Enclosing class:
- AbstractSwtSpinnerView<VM extends ControlViewModel>
protected abstract static class AbstractSwtSpinnerView.NumberToNumberConverter<F extends Number,T extends Number> extends org.eclipse.core.databinding.conversion.Converter
The abstractIConverter
for spinner view that converts number to number.
-
-
Constructor Summary
Constructors Constructor Description NumberToNumberConverter(Class<F> fromType, Class<T> toType)
Creates converter.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
convert(Object fromObject)
protected abstract T
doConvert(F from)
Converts thefrom
value.
-