public class ArrayEditor extends AbstractPropertyEditor
PropertyEditor
which converts a String
into
a one-dimensional array and vice versa.Constructor and Description |
---|
ArrayEditor(Class<?> componentType) |
Modifier and Type | Method and Description |
---|---|
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 ArrayEditor(Class<?> componentType)
protected String toText(Object value)
toText
in class AbstractPropertyEditor
protected Object toValue(String text) throws IllegalArgumentException
toValue
in class AbstractPropertyEditor
IllegalArgumentException
Copyright © 2004–2016 Apache MINA Project. All rights reserved.