public abstract class AbstractPropertyEditor extends PropertyEditorSupport implements ExtendedPropertyEditor
| Constructor and Description |
|---|
AbstractPropertyEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
protected String |
getAsTextInternal() |
String |
getFormat() |
String |
getFormattedValue() |
protected Object |
getValueInternal() |
protected ValueConversionException |
illegalValue(Object value,
Class<?> klass) |
protected ValueConversionException |
illegalValue(Object value,
Class<?> klass,
Exception e) |
protected Formatter<?> |
resolveFormatter() |
void |
setAsText(String str) |
protected void |
setAsTextInternal(String str) |
void |
setFormat(String format) |
void |
setFormattedValue(String value) |
void |
setValue(Object value) |
protected void |
setValueInternal(Object value) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor@Nullable public String getFormat()
getFormat in interface ExtendedPropertyEditorpublic void setFormat(@Nullable String format)
setFormat in interface ExtendedPropertyEditorpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic void setAsText(String str) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic void setValue(Object value)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportprotected void setValueInternal(Object value)
protected Object getValueInternal()
protected void setAsTextInternal(String str) throws IllegalArgumentException
IllegalArgumentExceptionprotected String getAsTextInternal()
public String getFormattedValue()
getFormattedValue in interface ExtendedPropertyEditorpublic void setFormattedValue(String value)
setFormattedValue in interface ExtendedPropertyEditorprotected Formatter<?> resolveFormatter()
protected ValueConversionException illegalValue(Object value, Class<?> klass)
protected ValueConversionException illegalValue(Object value, Class<?> klass, Exception e)