|
||||||||||
| 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.IntegerConverter
public static final class ConverterFactory.IntegerConverter
Converts Integers 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 Integer using the multiplier. |
void |
setValue(java.lang.Object newValue)
Converts a Integer 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object convertFromSubject(java.lang.Object subjectValue)
Integer using the multiplier.
convertFromSubject in class AbstractConvertersubjectValue - the subject's value
java.lang.ClassCastException - if the subject value is not of type
Integerpublic void setValue(java.lang.Object newValue)
Integer using the multiplier
and sets it as new value.
newValue - the Integer object that shall be converted
java.lang.ClassCastException - if the new value is not of type
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||