PropertyEditor, ConverterArrayConverter, ArrayListEditor, GenericCollectionConverter, LinkedHashSetEditor, LinkedListEditor, ListEditor, SetEditor, SortedSetEditor, TreeSetEditor, VectorEditorpublic abstract class AbstractCollectionConverter extends AbstractConverter
| Constructor | Description |
|---|---|
AbstractCollectionConverter(Class type) |
|
AbstractCollectionConverter(Class type,
PropertyEditor editor) |
| Modifier and Type | Method | 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditoraddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorpublic AbstractCollectionConverter(Class type)
public AbstractCollectionConverter(Class type, PropertyEditor editor)
protected final Object toObjectImpl(String text)
AbstractConvertertoObjectImpl in class AbstractConvertertext - the text to convertprotected final String toStringImpl(Object value)
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typeCopyright © 2005–2018. All rights reserved.