Class NumberFieldTester<T extends AbstractNumberField<T,V>,V extends Number>
java.lang.Object
com.vaadin.browserless.ComponentTester<T>
com.vaadin.flow.component.textfield.NumberFieldTester<T,V>
- Type Parameters:
T- component typeV- value type
- All Implemented Interfaces:
Clickable<T>
public class NumberFieldTester<T extends AbstractNumberField<T,V>,V extends Number>
extends ComponentTester<T>
Tester for NumberField components.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.browserless.ComponentTester
ensureComponentIsUsable, ensureComponentIsUsable, ensureVisible, ensureVisible, find, findAllByQuery, findByQuery, fireDomEvent, fireDomEvent, fireDomEvent, getComponent, getField, getField, getMethod, getMethod, isComponentReadOnly, isUsable, isUsable, notUsableReasons, notUsableReasons, roundTrip, setModal, setValueAsUserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.browserless.Clickable
click, click, click, middleClick, middleClick, rightClick, rightClick
-
Constructor Details
-
NumberFieldTester
Wrap given component for testing.- Parameters:
component- target component
-
-
Method Details
-
setValue
Set the given value for the component. Throws if component is not usable or the value is invalid.- Parameters:
value- value to set- Throws:
IllegalArgumentException- if given value is not valid
-