public class PropertyEditorChain extends PropertyEditorSupport implements ExtendedPropertyEditor
| Constructor and Description |
|---|
PropertyEditorChain(Class<?> targetClass,
Class<? extends PropertyEditor>[] propertyEditorClasses) |
| Modifier and Type | Method and Description |
|---|---|
PropertyEditorChain |
copyOf() |
PropertyEditorChain |
copyOf(Class<? extends PropertyEditor> propertyEditorClass) |
String |
getAsText() |
protected String |
getAsTextInternal() |
String |
getFormat() |
String |
getFormattedValue() |
int |
getSize() |
protected Object |
getValueInternal() |
protected ValueConversionException |
illegalValue(Object value,
Class<?> klass) |
protected ValueConversionException |
illegalValue(Object value,
Class<?> klass,
Exception e) |
void |
setAsText(String str) |
protected void |
setAsTextInternal(String text) |
void |
setFormat(String format) |
void |
setFormattedValue(String value) |
void |
setValue(Object value) |
protected void |
setValueInternal(Object value) |
String |
toString() |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditorpublic PropertyEditorChain(@Nonnull Class<?> targetClass, @Nonnull Class<? extends PropertyEditor>[] propertyEditorClasses)
@Nullable public String getFormat()
getFormat in interface ExtendedPropertyEditorpublic void setFormat(@Nullable String format)
setFormat in interface ExtendedPropertyEditorpublic int getSize()
public PropertyEditorChain copyOf()
public PropertyEditorChain copyOf(Class<? extends PropertyEditor> propertyEditorClass)
public 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 PropertyEditorSupportpublic String getFormattedValue()
getFormattedValue in interface ExtendedPropertyEditorpublic void setFormattedValue(String value)
setFormattedValue in interface ExtendedPropertyEditorprotected void setValueInternal(Object value) throws IllegalArgumentException
IllegalArgumentExceptionprotected Object getValueInternal()
protected String getAsTextInternal()
protected void setAsTextInternal(String text) throws IllegalArgumentException
IllegalArgumentExceptionprotected ValueConversionException illegalValue(Object value, Class<?> klass)
protected ValueConversionException illegalValue(Object value, Class<?> klass, Exception e)