public static final class ConverterFactory.FloatToIntegerConverter extends AbstractConverter
subject
PROPERTYNAME_VALUE
Modifier and Type | Method and Description |
---|---|
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
Float using the multiplier and
sets it as 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)
Integer
using the multiplier.convertFromSubject
in class AbstractConverter
subjectValue
- the subject's valuejava.lang.ClassCastException
- if the subject value is not of type
Float
public void setValue(java.lang.Object newValue)
Float
using the multiplier and
sets it as new value.newValue
- the Integer
object that shall be convertedjava.lang.ClassCastException
- if the new value is not of type
Integer
Copyright © 2002-2010 JGoodies Karsten Lentzsch. All Rights Reserved.