Class LocaleEditor



  • public class LocaleEditor
    extends java.beans.PropertyEditorSupport
    Property 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.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 ).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
    • Constructor Detail

      • LocaleEditor

        public LocaleEditor​()
        Default LocaleEditor constructor.
    • Method Detail

      • getTags

        public java.lang.String[] getTags​()
        Returns the locale strings.
        Overrides:
        getTags in class java.beans.PropertyEditorSupport
        Returns:
        the locale strings
      • setAsText

        public void setAsText​(java.lang.String text)
                       throws java.lang.IllegalArgumentException
        Sets the locale strings as text and invokes setValue( locale ).
        Overrides:
        setAsText in class java.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:
        getAsText in class java.beans.PropertyEditorSupport
        Returns:
        the locale string