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