Class LocaleEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.meteoinfo.ui.calendar.components.LocaleEditor
-
public class LocaleEditor extends java.beans.PropertyEditorSupportProperty editor for locales.
-
-
Constructor Summary
Constructors Constructor Description LocaleEditor()Default LocaleEditor constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAsText()Returns the locale string as text.java.lang.String[]getTags()Returns the locale strings.voidsetAsText(java.lang.String text)Sets the locale strings as text and invokes setValue( locale ).
-
-
-
Method Detail
-
getTags
public java.lang.String[] getTags()
Returns the locale strings.- Overrides:
getTagsin classjava.beans.PropertyEditorSupport- Returns:
- the locale strings
-
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentExceptionSets the locale strings as text and invokes setValue( locale ).- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport- Parameters:
text- the locale string text- Throws:
java.lang.IllegalArgumentException- not used
-
getAsText
public java.lang.String getAsText()
Returns the locale string as text.- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport- Returns:
- the locale string
-
-