PropertyEditor
ListEditor
, SetEditor
public class CollectionEditor extends AbstractPropertyEditor
Constructor | Description |
---|---|
CollectionEditor(Class<?> elementType) |
Modifier and Type | Method | 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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–2018 Apache MINA Project. All rights reserved.