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 ExtendedPropertyEditor
public void setFormat(@Nullable java.lang.String format)
setFormat
in interface ExtendedPropertyEditor
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String str) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public void setValue(java.lang.Object value)
setValue
in interface java.beans.PropertyEditor
setValue
in class java.beans.PropertyEditorSupport
protected void setValueInternal(java.lang.Object value)
protected java.lang.Object getValueInternal()
protected void setAsTextInternal(java.lang.String str) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected java.lang.String getAsTextInternal()
public java.lang.String getFormattedValue()
getFormattedValue
in interface ExtendedPropertyEditor
public void setFormattedValue(java.lang.String value)
setFormattedValue
in interface ExtendedPropertyEditor
protected 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)