public class PropertyEditorChain extends PropertyEditorSupport
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() |
Object |
getValue() |
protected ValueConversionException |
illegalValue(Object value,
Class<?> klass) |
protected ValueConversionException |
illegalValue(Object value,
Class<?> klass,
Exception e) |
void |
setAsText(String text) |
String |
toString() |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public PropertyEditorChain(@Nonnull Class<?> targetClass, @Nonnull Class<? extends PropertyEditor>[] propertyEditorClasses)
public PropertyEditorChain copyOf()
public PropertyEditorChain copyOf(Class<? extends PropertyEditor> propertyEditorClass)
public Object getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
protected ValueConversionException illegalValue(Object value, Class<?> klass)
protected ValueConversionException illegalValue(Object value, Class<?> klass, Exception e)