public static interface ParameterSliderControl.Builder extends SdkPojo, CopyableBuilder<ParameterSliderControl.Builder,ParameterSliderControl>
Modifier and Type | Method and Description |
---|---|
default ParameterSliderControl.Builder |
displayOptions(Consumer<SliderControlDisplayOptions.Builder> displayOptions)
The display options of a control.
|
ParameterSliderControl.Builder |
displayOptions(SliderControlDisplayOptions displayOptions)
The display options of a control.
|
ParameterSliderControl.Builder |
maximumValue(Double maximumValue)
The smaller value that is displayed at the left of the slider.
|
ParameterSliderControl.Builder |
minimumValue(Double minimumValue)
The larger value that is displayed at the right of the slider.
|
ParameterSliderControl.Builder |
parameterControlId(String parameterControlId)
The ID of the
ParameterSliderControl . |
ParameterSliderControl.Builder |
sourceParameterName(String sourceParameterName)
The source parameter name of the
ParameterSliderControl . |
ParameterSliderControl.Builder |
stepSize(Double stepSize)
The number of increments that the slider bar is divided into.
|
ParameterSliderControl.Builder |
title(String title)
The title of the
ParameterSliderControl . |
equalsBySdkFields, sdkFields
copy
applyMutation, build
ParameterSliderControl.Builder parameterControlId(String parameterControlId)
The ID of the ParameterSliderControl
.
parameterControlId
- The ID of the ParameterSliderControl
.ParameterSliderControl.Builder title(String title)
The title of the ParameterSliderControl
.
title
- The title of the ParameterSliderControl
.ParameterSliderControl.Builder sourceParameterName(String sourceParameterName)
The source parameter name of the ParameterSliderControl
.
sourceParameterName
- The source parameter name of the ParameterSliderControl
.ParameterSliderControl.Builder displayOptions(SliderControlDisplayOptions displayOptions)
The display options of a control.
displayOptions
- The display options of a control.default ParameterSliderControl.Builder displayOptions(Consumer<SliderControlDisplayOptions.Builder> displayOptions)
The display options of a control.
This is a convenience method that creates an instance of theSliderControlDisplayOptions.Builder
avoiding the need to create one manually via SliderControlDisplayOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to displayOptions(SliderControlDisplayOptions)
.
displayOptions
- a consumer that will call methods on SliderControlDisplayOptions.Builder
displayOptions(SliderControlDisplayOptions)
ParameterSliderControl.Builder maximumValue(Double maximumValue)
The smaller value that is displayed at the left of the slider.
maximumValue
- The smaller value that is displayed at the left of the slider.ParameterSliderControl.Builder minimumValue(Double minimumValue)
The larger value that is displayed at the right of the slider.
minimumValue
- The larger value that is displayed at the right of the slider.ParameterSliderControl.Builder stepSize(Double stepSize)
The number of increments that the slider bar is divided into.
stepSize
- The number of increments that the slider bar is divided into.Copyright © 2023. All rights reserved.