Package com.toedter.components
Class LocaleEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.toedter.components.LocaleEditor
- All Implemented Interfaces:
PropertyEditor
Property editor for locales.
- Version:
- $LastChangedRevision: 85 $, $LastChangedDate: 2006-04-28 13:50:52 +0200 (Fr, 28 Apr 2006) $
- Author:
- Kai Toedter
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
LocaleEditor
public LocaleEditor()Default LocaleEditor constructor.
-
-
Method Details
-
getTags
Returns the locale strings.- Specified by:
getTagsin interfacePropertyEditor- Overrides:
getTagsin classPropertyEditorSupport- Returns:
- the locale strings
-
setAsText
Sets the locale strings as text and invokes setValue( locale ).- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Parameters:
text- the locale string text- Throws:
IllegalArgumentException- not used
-
getAsText
Returns the locale string as text.- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport- Returns:
- the locale string
-