public static final class ConverterFactory.BooleanToStringConverter extends AbstractConverter
subject
PROPERTYNAME_VALUE
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertFromSubject(java.lang.Object subjectValue)
Converts the subject value to associated text representation.
|
void |
setValue(java.lang.Object newValue)
Converts the given String and sets the associated Boolean as
the subject's new value.
|
getValue, release
addValueChangeListener, booleanValue, doubleValue, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, floatValue, getString, intValue, longValue, paramString, removeValueChangeListener, setValue, setValue, setValue, setValue, setValue, toString, valueString
createPropertyChangeSupport, firePropertyChange
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
public java.lang.Object convertFromSubject(java.lang.Object subjectValue)
convertFromSubject
in class AbstractConverter
subjectValue
- the subject's new valuejava.lang.ClassCastException
- if the subject's value is not a Booleanpublic void setValue(java.lang.Object newValue)
newValue
- the value to be converted and set as new subject valuejava.lang.ClassCastException
- if the new value is not a Stringjava.lang.IllegalArgumentException
- if the new value does neither match
the trueText nor the falseText nor the nullTextCopyright © 2002-2010 JGoodies Karsten Lentzsch. All Rights Reserved.