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