Class DecimalSliderTester

  • All Implemented Interfaces:
    com.vaadin.browserless.Clickable

    
    public class DecimalSliderTester<T extends DecimalSlider>
    extends NumberSliderTester<T, Double>
                        

    Tester for DecimalSlider components.

    Simulates the user moving the slider handle in the browser: setting the value directly or incrementing/decrementing it by steps, with validation that the component is usable and the value stays within the min/max bounds and step alignment.

    Before Vaadin 25.2 this class was named SliderTester. It was renamed without a deprecation cycle because the Slider component is experimental and behind a feature flag.

    Since:

    1.1

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final T component
    • Constructor Summary

      Constructors 
      Constructor Description
      DecimalSliderTester(T component) Wrap given component for testing.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.vaadin.browserless.ComponentTester

        ensureComponentIsUsable, find, getComponent, setModal
      • Methods inherited from class com.vaadin.flow.component.slider.NumberSliderTester

        decrement, decrementBy, increment, incrementBy, isUsable, setValue
      • Methods inherited from class com.vaadin.browserless.Clickable

        click, click, click, middleClick, middleClick, rightClick, rightClick
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DecimalSliderTester

        DecimalSliderTester(T component)

        Wrap given component for testing.

        Parameters:
        component - target component
    • Method Detail