public class LocaleEditor
extends java.beans.PropertyEditorSupport
Constructor and Description |
---|
LocaleEditor()
Default LocaleEditor constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
Returns the locale string as text.
|
java.lang.String[] |
getTags()
Returns the locale strings.
|
void |
setAsText(java.lang.String text)
Sets the locale strings as text and invokes setValue( locale ).
|
public java.lang.String[] getTags()
getTags
in interface java.beans.PropertyEditor
getTags
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
text
- the locale string textjava.lang.IllegalArgumentException
- not usedpublic java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
Copyright © 1999 - 2009 Kai Toedter.