Class NumberInputMaskImpl

  • All Implemented Interfaces:
    io.keikai.model.sys.input.NumberInputMask

    public class NumberInputMaskImpl
    extends java.lang.Object
    implements io.keikai.model.sys.input.NumberInputMask
    Responsible for number input mask.
    Since:
    3.5.0
    Author:
    henrichen
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] parseNumberInput​(java.lang.String txt, java.util.Locale locale)
      Returns 1: type, 2: value, 3: format; return {txt, null} if cannot parse it as a valid number.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumberInputMaskImpl

        public NumberInputMaskImpl()
    • Method Detail

      • parseNumberInput

        public java.lang.Object[] parseNumberInput​(java.lang.String txt,
                                                   java.util.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 io.keikai.model.sys.input.NumberInputMask
        Parameters:
        txt - the input text
        locale - associated locale