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