Package limn.testing.a11y
Interface TextSubject
public interface TextSubject
A widget of the
TEXT shape as the text contract sees it: an editable
text the contract can build fresh, holding a short string, and read back through the widget's
own API.-
Method Details
-
build
Widget<?> build()Builds a fresh widget holdinginitialText()and returns the root to bind. -
widget
Widget<?> widget()- Returns:
- the widget
build()made last: the text itself
-
initialText
String initialText()- Returns:
- the string the widget was built with: at least four characters, one line
-
text
String text()- Returns:
- the string the API holds now
-