public class LocaleEditor extends PropertyEditorSupport
Constructor and Description |
---|
LocaleEditor()
Default LocaleEditor constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAsText()
Returns the locale string as text.
|
String[] |
getTags()
Returns the locale strings.
|
void |
setAsText(String text)
Sets the locale strings as text and invokes setValue( locale ).
|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public String[] getTags()
getTags
in interface PropertyEditor
getTags
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
text
- the locale string textIllegalArgumentException
- not usedpublic String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
Copyright © 2018. All rights reserved.