public interface ILinearSliderConverterBuilder<VALUE_TYPE extends java.lang.Number>
Modifier and Type | Method and Description |
---|---|
ISliderViewerConverter<VALUE_TYPE> |
build() |
ILinearSliderConverterBuilder<VALUE_TYPE> |
setMaxValue(VALUE_TYPE maxValue)
Sets the maximal model value
|
ILinearSliderConverterBuilder<VALUE_TYPE> |
setMinValue(VALUE_TYPE minValue)
Sets the minimal model value
|
ILinearSliderConverterBuilder<VALUE_TYPE> |
setPivotValue(double ratio,
VALUE_TYPE value)
Sets a pivot value.
|
ILinearSliderConverterBuilder<VALUE_TYPE> |
setPivotValue(VALUE_TYPE value)
Sets a pivot value with ratio 0.5d
|
ILinearSliderConverterBuilder<VALUE_TYPE> setMinValue(VALUE_TYPE minValue)
minValue
- The minimal model valueILinearSliderConverterBuilder<VALUE_TYPE> setMaxValue(VALUE_TYPE maxValue)
maxValue
- The maximal model valueILinearSliderConverterBuilder<VALUE_TYPE> setPivotValue(double ratio, VALUE_TYPE value)
ratio
- The ration of the pivot where 0.0d is at the sliders min position, 0.5d is in the middle and 1.0d is at the
max positionvalue
- The value at the ratio position. This value must be between min and maxILinearSliderConverterBuilder<VALUE_TYPE> setPivotValue(VALUE_TYPE value)
value
- The value at the ratio position. This value must be between min and maxISliderViewerConverter<VALUE_TYPE> build()
Siehe auch Jowidgets Nutzerhandbuch