Interface SpinnerSectionBuilder.RangeBuilder<V>

Type Parameters:
V - type of the value
All Known Implementing Classes:
SpinnerSectionBuilder.Builder
Enclosing class:
SpinnerSectionBuilder

public static interface SpinnerSectionBuilder.RangeBuilder<V>
Step that sets the bounds of the value.
  • Method Details

    • range

      SpinnerSectionBuilder.HandlerBuilder<V> range(V minimum, V maximum)
      Sets the smallest and the largest value. If minimum is greater than maximum, create() throws IllegalArgumentException.
      Parameters:
      minimum - the smallest value
      maximum - the largest value
      Returns:
      the next step of the builder