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 Summary
Modifier and TypeMethodDescriptionwithAllowDecimal
(boolean allowDecimal) Configures the ability for a user to enter a decimal value as an input for the the step property.withMaxValue
(Number number) Configures the maximum value that is accepted as an input for the step property.withMinValue
(Number number) Configures the minimum value that is accepted as an input for the step property.Methods inherited from interface com.experian.datastudio.sdk.api.step.configuration.stepproperties.InputTextStepPropertyBuilder
withDefaultValue, withDefaultValue, withIsRequired, withPlaceHolder
Methods inherited from interface com.experian.datastudio.sdk.api.step.configuration.stepproperties.StepPropertyBuilder
build, withIsDisabledSupplier, withLabelSupplier, withOnValueChanged, withOnValueChanged, withShouldRebuildIndex, withValueSupplier
-
Method Details
-
withMinValue
Configures the minimum value that is accepted as an input for the step property.- Parameters:
number
- minimum value- Returns:
- Number step property builder
-
withMaxValue
Configures the maximum value that is accepted as an input for the step property.- Parameters:
number
- maximum value- Returns:
- Number step property builder
-
withAllowDecimal
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
-