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