com.toedter.components

Class LocaleEditor


public class LocaleEditor
extends java.beans.PropertyEditorSupport

Property editor for locales.
Version:
1.2
Author:
Kai Toedter

Constructor Summary

LocaleEditor()
Default LocaleEditor constructor.

Method Summary

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 ).

Constructor Details

LocaleEditor

public LocaleEditor()
Default LocaleEditor constructor.

Method Details

getAsText

public String getAsText()
Returns the locale string as text.
Returns:
the locale string

getTags

public String[] getTags()
Returns the locale strings.
Returns:
the locale strings

setAsText

public void setAsText(String text)
            throws IllegalArgumentException
Sets the locale strings as text and invokes setValue( locale ).
Parameters:
text - the locale string text

Copyright B) 1999 - 2004 Kai Toedter.