Interface LabelHandle
- All Superinterfaces:
FormComponentHandle
Handle for the "Label" form component. The Swing widget is a single-line
JLabel.
Reach this handle via ScreenHandle.label().
-
Method Summary
Modifier and TypeMethodDescriptionassertText(String expected) Assert that the label's text equals the expected value.getText()The current label text.Methods inherited from interface FormComponentHandle
getId, isEnabled, isVisible
-
Method Details
-
getText
The current label text. -
assertText
Assert that the label's text equals the expected value. -
assertEnabled
- Specified by:
assertEnabledin interfaceFormComponentHandle
-
assertDisabled
- Specified by:
assertDisabledin interfaceFormComponentHandle
-
assertVisible
- Specified by:
assertVisiblein interfaceFormComponentHandle
-
assertInvisible
- Specified by:
assertInvisiblein interfaceFormComponentHandle
-