public static final class ConverterFactory.FloatToIntegerConverter extends Object implements BindingConverter<Float,Integer>
Modifier and Type | Method and Description |
---|---|
Float |
sourceValue(Integer sourceValue)
Converts a
Float using the multiplier. |
Integer |
targetValue(Float sourceValue)
Returns the converted source value for use by the binding target.
|
public Integer targetValue(Float sourceValue)
BindingConverter
Format.format(Object)
if the target
accepts and provides Strings.targetValue
in interface BindingConverter<Float,Integer>
sourceValue
- the value to convertpublic Float sourceValue(Integer sourceValue)
Float
using the multiplier.sourceValue
in interface BindingConverter<Float,Integer>
sourceValue
- the value to convertCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.