Class IntegerEditor

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

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

      • IntegerEditor

        public IntegerEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
        Map the argument text into and Integer using Integer.decode.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Specified by:
        setAsText in interface PropertyEditor<java.lang.Integer>
        Specified by:
        setAsText in class PropertyEditorSupport<java.lang.Integer>
        Parameters:
        text - The string to be parsed.