public class CollectionEditor extends AbstractPropertyEditor
Constructor and Description |
---|
CollectionEditor(Class<?> elementType) |
Modifier and Type | Method and Description |
---|---|
protected Object |
defaultElement() |
protected Collection<Object> |
newCollection() |
protected String |
toText(Object value) |
protected Object |
toValue(String text) |
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValue
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public CollectionEditor(Class<?> elementType)
protected final String toText(Object value)
toText
in class AbstractPropertyEditor
protected final Object toValue(String text) throws IllegalArgumentException
toValue
in class AbstractPropertyEditor
IllegalArgumentException
protected Collection<Object> newCollection()
protected Object defaultElement()
Copyright © 2004–2016 Apache MINA Project. All rights reserved.