Interface NumberStepPropertyBuilder

All Superinterfaces:
InputTextStepPropertyBuilder<NumberStepProperty,Number>, StepPropertyBuilder<InputTextStepPropertyBuilder<NumberStepProperty,Number>,NumberStepProperty,Number>

public interface NumberStepPropertyBuilder extends InputTextStepPropertyBuilder<NumberStepProperty,Number>
Builder for step property that takes a numerical value as an input.
Since:
2.0.0
  • Method Details

    • withMinValue

      NumberStepPropertyBuilder withMinValue(Number number)
      Configures the minimum value that is accepted as an input for the step property.
      Parameters:
      number - minimum value
      Returns:
      Number step property builder
    • withMaxValue

      NumberStepPropertyBuilder withMaxValue(Number number)
      Configures the maximum value that is accepted as an input for the step property.
      Parameters:
      number - maximum value
      Returns:
      Number step property builder
    • withAllowDecimal

      NumberStepPropertyBuilder withAllowDecimal(boolean allowDecimal)
      Configures the ability for a user to enter a decimal value as an input for the the step property.
      Parameters:
      allowDecimal - enables decimal values to be entered into text field
      Returns:
      Number step property builder