Interface CheckBoxHandle
- All Superinterfaces:
FormComponentHandle
Handle for the "Check box" form component. The Swing widget is a
JCheckBox.
Reach this handle via ScreenHandle.checkBox().
-
Method Summary
Modifier and TypeMethodDescriptionAssert that the checkbox is not currently selected.Assert that the checkbox is currently selected.booleanWhether the checkbox is currently selected.setSelected(boolean selected) Set the checkbox's selected state.toggle()Flip the checkbox's selected state.Methods inherited from interface FormComponentHandle
getId, isEnabled, isVisible
-
Method Details
-
isSelected
boolean isSelected()Whether the checkbox is currently selected. -
setSelected
Set the checkbox's selected state. -
toggle
Flip the checkbox's selected state. -
assertSelected
Assert that the checkbox is currently selected. -
assertNotSelected
Assert that the checkbox is not currently selected. -
assertEnabled
- Specified by:
assertEnabledin interfaceFormComponentHandle
-
assertDisabled
- Specified by:
assertDisabledin interfaceFormComponentHandle
-
assertVisible
- Specified by:
assertVisiblein interfaceFormComponentHandle
-
assertInvisible
- Specified by:
assertInvisiblein interfaceFormComponentHandle
-