|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.value.ConverterFactory.StringConverter
public static final class ConverterFactory.StringConverter
Converts Values to Strings and vice-versa using a given Format.
Method Summary | |
---|---|
Object |
sourceValue(Object targetValue)
Parses the given String encoding and sets it as the subject's new value. |
Object |
targetValue(Object sourceValue)
Formats the source value and returns a String representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Object targetValue(Object sourceValue)
targetValue
in interface BindingConverter
sourceValue
- the source value
public Object sourceValue(Object targetValue)
ParseException
.
sourceValue
in interface BindingConverter
targetValue
- the value to be converted and set as new subject value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |