Class NumberTextField<N extends Number & Comparable<N>>

    • Field Detail

      • ANY

        public static final Double ANY
        Use this as a marker of step attribute value "any" Because the w3c spec requires step to be a non-negative digit greater than zero we use zero as delegate for "any" keyword.
    • Constructor Detail

      • NumberTextField

        public NumberTextField​(String id,
                               Class<N> type)
        Construct.
        Parameters:
        id - The component id
        type - The type to use when updating the model for this text field
      • NumberTextField

        public NumberTextField​(String id,
                               IModel<N> model)
        Construct.
        Parameters:
        id - The component id
        model - The input value
      • NumberTextField

        public NumberTextField​(String id,
                               IModel<N> model,
                               Class<N> type)
        Construct.
        Parameters:
        id - The component id
        model - The input value
        type - The type to use when updating the model for this text field