类 LocaleEditor

  • 所有已实现的接口:
    java.beans.PropertyEditor

    public class LocaleEditor
    extends java.beans.PropertyEditorSupport
    Property editor for locales.
    版本:
    $LastChangedRevision: 85 $, $LastChangedDate: 2006-04-28 13:50:52 +0200 (Fr, 28 Apr 2006) $
    作者:
    Kai Toedter
    • 构造器概要

      构造器 
      构造器 说明
      LocaleEditor()
      Default LocaleEditor constructor.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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 ).
      • 从类继承的方法 java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • LocaleEditor

        public LocaleEditor()
        Default LocaleEditor constructor.
    • 方法详细资料

      • getTags

        public java.lang.String[] getTags()
        Returns the locale strings.
        指定者:
        getTags 在接口中 java.beans.PropertyEditor
        覆盖:
        getTags 在类中 java.beans.PropertyEditorSupport
        返回:
        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 ).
        指定者:
        setAsText 在接口中 java.beans.PropertyEditor
        覆盖:
        setAsText 在类中 java.beans.PropertyEditorSupport
        参数:
        text - the locale string text
        抛出:
        java.lang.IllegalArgumentException - not used
      • getAsText

        public java.lang.String getAsText()
        Returns the locale string as text.
        指定者:
        getAsText 在接口中 java.beans.PropertyEditor
        覆盖:
        getAsText 在类中 java.beans.PropertyEditorSupport
        返回:
        the locale string