public class PropertyEditorChain extends java.beans.PropertyEditorSupport implements ExtendedPropertyEditor
Constructor and Description |
---|
PropertyEditorChain(java.lang.Class<?> targetClass,
java.lang.Class<? extends java.beans.PropertyEditor>[] propertyEditorClasses) |
Modifier and Type | Method and Description |
---|---|
PropertyEditorChain |
copyOf() |
PropertyEditorChain |
copyOf(java.lang.Class<? extends java.beans.PropertyEditor> propertyEditorClass) |
java.lang.String |
getAsText() |
protected java.lang.String |
getAsTextInternal() |
java.lang.String |
getFormat() |
java.lang.String |
getFormattedValue() |
int |
getSize() |
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) |
void |
setAsText(java.lang.String str) |
protected void |
setAsTextInternal(java.lang.String text) |
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) |
java.lang.String |
toString() |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public PropertyEditorChain(@Nonnull java.lang.Class<?> targetClass, @Nonnull java.lang.Class<? extends java.beans.PropertyEditor>[] propertyEditorClasses)
@Nullable public java.lang.String getFormat()
getFormat
in interface ExtendedPropertyEditor
public void setFormat(@Nullable java.lang.String format)
setFormat
in interface ExtendedPropertyEditor
public int getSize()
public PropertyEditorChain copyOf()
public PropertyEditorChain copyOf(java.lang.Class<? extends java.beans.PropertyEditor> propertyEditorClass)
public java.lang.String toString()
toString
in class java.lang.Object
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
public java.lang.String getFormattedValue()
getFormattedValue
in interface ExtendedPropertyEditor
public void setFormattedValue(java.lang.String value)
setFormattedValue
in interface ExtendedPropertyEditor
protected void setValueInternal(java.lang.Object value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected java.lang.Object getValueInternal()
protected java.lang.String getAsTextInternal()
protected void setAsTextInternal(java.lang.String text) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
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)