Package dev.orne.i18n
Class I18nStringEditor
java.lang.Object
java.beans.PropertyEditorSupport
dev.orne.i18n.I18nStringEditor
- All Implemented Interfaces:
PropertyEditor
Java Beans Editor for
I18nString
that converts between
String
and I18nFixedString
.- Since:
- 0.1
- Version:
- 1.0, 2021-01
- Author:
- (w) Iker Hernaez
-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
I18nStringEditor
public I18nStringEditor()Creates a new instance.
-
-
Method Details
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-