Interface NumberRangeDialogInput.Builder
- Enclosing interface:
NumberRangeDialogInput
A builder for creating instances of
NumberRangeDialogInput.
Created via DialogInput.numberRange(String, Component, float, float)
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the instance with the configured values.Sets the initial value for the input.labelFormat(String labelFormat) Sets the format for the label.Sets the step of the range.Sets the width of the input.
-
Method Details
-
width
-
labelFormat
@Contract(value="_ -> this", mutates="this") NumberRangeDialogInput.Builder labelFormat(String labelFormat) Sets the format for the label.Example:
"%s: %s"or"options.generic_value"- Parameters:
labelFormat- the label format- Returns:
- this builder
-
initial
-
step
-
build
Builds the instance with the configured values.- Returns:
- a new instance
-