public abstract class AbstractCollectionConverter extends AbstractConverter
Constructor and Description |
---|
AbstractCollectionConverter(Class type) |
AbstractCollectionConverter(Class type,
PropertyEditor editor) |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
createCollection(List list) |
protected Object |
toObjectImpl(String text)
Converts the supplied text in to an instance of the editor type.
|
protected String |
toStringImpl(Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
public AbstractCollectionConverter(Class type)
public AbstractCollectionConverter(Class type, PropertyEditor editor)
protected final Object toObjectImpl(String text)
AbstractConverter
toObjectImpl
in class AbstractConverter
text
- the text to convertprotected final String toStringImpl(Object value)
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor typeCopyright © 2005–2023. All rights reserved.