public static final class ConverterFactory.DoubleToIntegerConverter extends Object implements BindingConverter<Double,Integer>
Modifier and Type | Method and Description |
---|---|
Double |
sourceValue(Integer targetValue)
Converts a
Double using the multiplier
and sets it as new value. |
Integer |
targetValue(Double sourceValue)
Converts the source value and returns a
corresponding
Integer value using the multiplier. |
public Integer targetValue(Double sourceValue)
Integer
value using the multiplier.targetValue
in interface BindingConverter<Double,Integer>
sourceValue
- the subject's valuepublic Double sourceValue(Integer targetValue)
Double
using the multiplier
and sets it as new value.sourceValue
in interface BindingConverter<Double,Integer>
targetValue
- the Integer
object that shall
be convertedCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.