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

    • Constructor Detail

      • RangeTextField

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

      • getInputTypes

        protected String[] getInputTypes()
        Description copied from class: TextField
        Subclass should override this method if this textfield is mapped on a different input type as text. Like PasswordTextField or HiddenField.
        Overrides:
        getInputTypes in class NumberTextField<N extends Number & Comparable<N>>
        Returns:
        The input type of this textfield, default is null