Class BigDecimalEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor, PropertyEditor<java.math.BigDecimal>

    public class BigDecimalEditor
    extends PropertyEditorSupport<java.math.BigDecimal>
    A property editor for BigDecimal.
    • Constructor Detail

      • BigDecimalEditor

        public BigDecimalEditor()
    • 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.math.BigDecimal>
        Specified by:
        setAsText in class PropertyEditorSupport<java.math.BigDecimal>
        Parameters:
        text - The string to be parsed.