Class CharacterEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor, PropertyEditor<java.lang.Character>

    public class CharacterEditor
    extends PropertyEditorSupport<java.lang.Character>
    A property editor for Character.
    • Constructor Detail

      • CharacterEditor

        public CharacterEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
        Description copied from interface: PropertyEditor
        Set the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Specified by:
        setAsText in interface PropertyEditor<java.lang.Character>
        Specified by:
        setAsText in class PropertyEditorSupport<java.lang.Character>
        Parameters:
        text - The string to be parsed.