public abstract class AbstractCollectionConverter extends AbstractConverter
| Modifier and Type | Field and Description |
|---|---|
private java.beans.PropertyEditor |
editor |
| Constructor and Description |
|---|
AbstractCollectionConverter(java.lang.Class type) |
AbstractCollectionConverter(java.lang.Class type,
java.beans.PropertyEditor editor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.Object |
createCollection(java.util.List list) |
protected java.lang.Object |
toObjectImpl(java.lang.String text)
Converts the supplied text in to an instance of the editor type.
|
protected java.lang.String |
toStringImpl(java.lang.Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toStringaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorpublic AbstractCollectionConverter(java.lang.Class type)
public AbstractCollectionConverter(java.lang.Class type,
java.beans.PropertyEditor editor)
protected final java.lang.Object toObjectImpl(java.lang.String text)
AbstractConvertertoObjectImpl in class AbstractConvertertext - the text to convertprotected abstract java.lang.Object createCollection(java.util.List list)
protected final java.lang.String toStringImpl(java.lang.Object value)
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor type