|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.value.ConverterFactory.FloatToIntegerConverter
public static final class ConverterFactory.FloatToIntegerConverter
Converts Floats to Integers and vice-versa.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 convert
public Float sourceValue(Integer sourceValue)
Float
using the multiplier.
sourceValue
in interface BindingConverter<Float,Integer>
sourceValue
- the value to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |