|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.binding.beans.Model
com.jgoodies.binding.value.AbstractValueModel
com.jgoodies.binding.value.AbstractConverter
com.jgoodies.binding.value.ConverterFactory.FloatConverter
public static final class ConverterFactory.FloatConverter
Converts Floats 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 Float using the multiplier. |
void |
setValue(java.lang.Object newValue)
Converts a Float 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, removeValueChangeListener, setValue, setValue, setValue, setValue, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object convertFromSubject(java.lang.Object subjectValue)
Float using the multiplier.
convertFromSubject in class AbstractConvertersubjectValue - the subject's value
java.lang.ClassCastException - if the subject value is not of type
Floatpublic void setValue(java.lang.Object newValue)
Float using the multiplier
and sets it as new value.
newValue - the Float object that shall be converted
java.lang.ClassCastException - if the new value is not of type
Float
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||