public abstract class AbstractMapConverter extends AbstractConverter
Modifier | Constructor and Description |
---|---|
|
AbstractMapConverter(java.lang.Class type) |
protected |
AbstractMapConverter(java.lang.Class type,
java.beans.PropertyEditor keyEditor,
java.beans.PropertyEditor valueEditor) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.Map |
createMap(java.util.Map map) |
protected java.lang.Object |
toObjectImpl(java.lang.String text)
Treats the text value of this property as an input stream that
is converted into a Property bundle.
|
protected java.lang.String |
toStringImpl(java.lang.Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public AbstractMapConverter(java.lang.Class type)
protected AbstractMapConverter(java.lang.Class type, java.beans.PropertyEditor keyEditor, java.beans.PropertyEditor valueEditor)
protected final java.lang.Object toObjectImpl(java.lang.String text)
toObjectImpl
in class AbstractConverter
text
- the text to convertPropertyEditorException
- An error occurred creating the Properties object.protected abstract java.util.Map createMap(java.util.Map map)
protected final java.lang.String toStringImpl(java.lang.Object value)
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor type