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