Class AbstractFieldTester<T>
java.lang.Object
com.vaadin.testbench.uiunittest.testers.Tester<com.vaadin.ui.AbstractField<T>>
com.vaadin.testbench.uiunittest.testers.AbstractFieldTester<T>
- All Implemented Interfaces:
HasValue<T>
- Direct Known Subclasses:
AbstractDateFieldTester
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.ui.AbstractField<T> booleanChecks if the component is interactable by user, i.e.voidSet value as user.Methods inherited from class com.vaadin.testbench.uiunittest.testers.Tester
errorMessage, fireSimulatedEvent, focus, isFocused, isInvalid, shortcut, shortcut
-
Constructor Details
-
AbstractFieldTester
-
-
Method Details
-
setValue
Description copied from interface:HasValueSet value as user. This will mean that accompanying event will have isUserOriginated = true. The field will gain focus and fire focus event as a side effect. -
isInteractable
public boolean isInteractable()Checks if the component is interactable by user, i.e. it is enabled and it is visible and not in readonly state.- Overrides:
isInteractablein classTester<com.vaadin.ui.AbstractField<T>>- Returns:
- boolean value
-
getComponent
- Overrides:
getComponentin classTester<com.vaadin.ui.AbstractField<T>>
-