|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.value.ConverterFactory.FloatConverter
public static final class ConverterFactory.FloatConverter
Converts Floats using a given multiplier.
Method Summary | |
---|---|
Float |
sourceValue(Float targetValue)
Converts a Float using the multiplier
and sets it as new value. |
Float |
targetValue(Float sourceValue)
Converts the subject's value and returns a corresponding Float using the multiplier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Float targetValue(Float sourceValue)
Float
using the multiplier.
targetValue
in interface BindingConverter<Float,Float>
sourceValue
- the subject's value
public Float sourceValue(Float targetValue)
Float
using the multiplier
and sets it as new value.
sourceValue
in interface BindingConverter<Float,Float>
targetValue
- the Float
object that shall be converted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |