Package com.vaadin.flow.component.slider
Class IntegerSliderTester
-
- All Implemented Interfaces:
-
com.vaadin.browserless.Clickable
public class IntegerSliderTester<T extends IntegerSlider> extends NumberSliderTester<T, Integer>
Tester for IntegerSlider 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.
- Since:
1.1
-
-
Constructor Summary
Constructors Constructor Description IntegerSliderTester(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.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
-
IntegerSliderTester
IntegerSliderTester(T component)
Wrap given component for testing.
- Parameters:
component- target component
-
-
-
-