Class NumberInputMaskImpl

  • All Implemented Interfaces:
    NumberInputMask

    public class NumberInputMaskImpl
    extends Object
    implements NumberInputMask
    Responsible for number input mask.
    Since:
    3.5.0
    Author:
    henrichen
    • Constructor Detail

      • NumberInputMaskImpl

        public NumberInputMaskImpl()
    • Method Detail

      • parseNumberInput

        public Object[] parseNumberInput​(String txt,
                                         Locale locale)
        Returns 1: type, 2: value, 3: format; return {txt, null} if cannot parse it as a valid number.
        Specified by:
        parseNumberInput in interface NumberInputMask
        Parameters:
        txt - the input text
        locale - associated locale