Package org.testfx.matcher.control
Class TextInputControlMatchers
- java.lang.Object
-
- org.testfx.matcher.control.TextInputControlMatchers
-
public class TextInputControlMatchers extends java.lang.Object
TestFX matchers forTextInputControl
controls.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TextInputControlMatchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hamcrest.Matcher<javafx.scene.control.TextInputControl>
hasText(java.lang.String text)
Creates a matcher that matches allTextInputControl
s that have text equal to the giventext
.static org.hamcrest.Matcher<javafx.scene.control.TextInputControl>
hasText(org.hamcrest.Matcher<java.lang.String> matcher)
Creates a matcher that matches allTextInputControl
s that have text that matches the givenmatcher
.
-
-
-
Method Detail
-
hasText
public static org.hamcrest.Matcher<javafx.scene.control.TextInputControl> hasText(java.lang.String text)
Creates a matcher that matches allTextInputControl
s that have text equal to the giventext
.- Parameters:
text
- theString
the matched TextInputControls should have as their text
-
hasText
public static org.hamcrest.Matcher<javafx.scene.control.TextInputControl> hasText(org.hamcrest.Matcher<java.lang.String> matcher)
Creates a matcher that matches allTextInputControl
s that have text that matches the givenmatcher
.- Parameters:
matcher
- theMatcher<String>
the TextInputControls text should match
-
-