public class FormatterPropertyEditorAdapter extends PropertyEditorSupport
Formatter and PropertyEditor.| Constructor and Description |
|---|
FormatterPropertyEditorAdapter(Formatter<?> formatter)
Create a new
FormatterPropertyEditorAdapter for the given Formatter. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
Class<?> |
getFieldType()
Determine the
Formatter-declared field type. |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic Class<?> getFieldType()
Formatter-declared field type.Formatter implementation
(never null)IllegalArgumentException - if the Formatter-declared field type
cannot be inferredpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport