public static final class ConverterFactory.IntegerConverter extends Object implements BindingConverter<Integer,Integer>
Modifier and Type | Method and Description |
---|---|
Integer |
sourceValue(Integer targetValue)
Returns an Integer that is the target Integer
divided by this converters' multiplier.
|
Integer |
targetValue(Integer sourceValue)
Returns an Integer that is the source Integer
multiplied with this converters' multiplier.
|
public Integer targetValue(Integer sourceValue)
targetValue
in interface BindingConverter<Integer,Integer>
sourceValue
- the value to convertpublic Integer sourceValue(Integer targetValue)
sourceValue
in interface BindingConverter<Integer,Integer>
targetValue
- the value to convertCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.