Package com.vaadin.flow.component.slider
Class DecimalRangeSliderTester
-
- All Implemented Interfaces:
-
com.vaadin.browserless.Clickable
public class DecimalRangeSliderTester<T extends DecimalRangeSlider> extends NumberRangeSliderTester<T, DecimalRangeSliderValue, Double>
Tester for DecimalRangeSlider components.
Simulates the user dragging the start and end thumbs in the browser: setting the whole range or either endpoint, or incrementing/decrementing an endpoint by steps, with validation that the component is usable, the values stay within the min/max bounds and the start never exceeds the end.
Before Vaadin 25.2 this class was named
RangeSliderTester. It was renamed without a deprecation cycle because the Slider component is experimental and behind a feature flag.- Since:
1.1
-
-
Constructor Summary
Constructors Constructor Description DecimalRangeSliderTester(T component)Wrap given component for testing.
-
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.NumberRangeSliderTester
decrementEnd, decrementEndBy, decrementStart, decrementStartBy, incrementEnd, incrementEndBy, incrementStart, incrementStartBy, isUsable, setEnd, setStart, 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
-
DecimalRangeSliderTester
DecimalRangeSliderTester(T component)
Wrap given component for testing.
- Parameters:
component- target component
-
-
-
-