public class MapEditor extends AbstractPropertyEditor
| Constructor and Description |
|---|
MapEditor(Class<?> keyType,
Class<?> valueType)
Creates a new DateEditor instance
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<Object,Object> |
newMap() |
protected String |
toText(Object value)
Returns a String representation of the given value
|
protected Object |
toValue(String text)
Returns an instance from a String representation of an object
|
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValueaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorprotected final String toText(Object value)
AbstractPropertyEditortoText in class AbstractPropertyEditorvalue - The valueprotected final Object toValue(String text)
AbstractPropertyEditortoValue in class AbstractPropertyEditortext - The String representation to convertCopyright © 2004–2023 Apache MINA Project. All rights reserved.