|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractBean
com.jgoodies.binding.beans.Model
com.jgoodies.binding.value.AbstractValueModel
com.jgoodies.binding.value.AbstractConverter
com.jgoodies.binding.value.ConverterFactory.DoubleConverter
public static final class ConverterFactory.DoubleConverter
Converts Doubles using a given multiplier.
Field Summary |
---|
Fields inherited from class com.jgoodies.binding.value.AbstractConverter |
---|
subject |
Fields inherited from class com.jgoodies.binding.value.AbstractValueModel |
---|
PROPERTYNAME_VALUE |
Method Summary | |
---|---|
java.lang.Object |
convertFromSubject(java.lang.Object subjectValue)
Converts the subject's value and returns a corresponding Double using the multiplier. |
void |
setValue(java.lang.Object newValue)
Converts a Double using the multiplier
and sets it as new value. |
Methods inherited from class com.jgoodies.binding.value.AbstractConverter |
---|
getValue, release |
Methods inherited from class com.jgoodies.binding.value.AbstractValueModel |
---|
addValueChangeListener, booleanValue, doubleValue, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, fireValueChange, floatValue, getString, intValue, longValue, paramString, removeValueChangeListener, setValue, setValue, setValue, setValue, setValue, toString, valueString |
Methods inherited from class com.jgoodies.binding.beans.Model |
---|
createPropertyChangeSupport, firePropertyChange |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.jgoodies.binding.beans.Observable |
---|
addPropertyChangeListener, removePropertyChangeListener |
Method Detail |
---|
public java.lang.Object convertFromSubject(java.lang.Object subjectValue)
Double
using the multiplier.
convertFromSubject
in class AbstractConverter
subjectValue
- the subject's value
java.lang.ClassCastException
- if the subject value is not of type
Double
public void setValue(java.lang.Object newValue)
Double
using the multiplier
and sets it as new value.
newValue
- the Double
object that shall be converted
java.lang.ClassCastException
- if the new value is not of type
Double
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |