Interface FileAssociationsHandle
- All Superinterfaces:
FormComponentHandle
Handle for the "File associations selector" form component. The widget is a checklist whose
entries correspond to the
CreateFileAssociationActions reachable from this screen.
The extensions in this catalog are platform-filtered, Unix actions on Linux and macOS, Windows
actions on Windows, and require an InstallFilesAction downstream of the screen.
Without those preconditions the form component renders zero checkboxes and getExtensions()
returns the empty list.
Reach this handle via ScreenHandle.fileAssociations().
-
Method Summary
Modifier and TypeMethodDescriptionThe primary extension of every association on this form, in document order.The primary extensions of all associations currently checked.booleanisSelected(String extension) Whether the association whose primary extension equals the given value is currently checked.Check every association on this form.Uncheck every association on this form.setSelected(String extension, boolean selected) Check or uncheck the association whose primary extension equals the given value.Methods inherited from interface FormComponentHandle
getId, isEnabled, isVisible
-
Method Details
-
getExtensions
-
isSelected
Whether the association whose primary extension equals the given value is currently checked. ThrowsComponentNotFoundExceptionif the form has no such association. -
getSelectedExtensions
-
setSelected
Check or uncheck the association whose primary extension equals the given value. ThrowsComponentNotFoundExceptionif the form has no such association. -
selectAll
Check every association on this form. -
selectNone
Uncheck every association on this form. -
assertEnabled
- Specified by:
assertEnabledin interfaceFormComponentHandle
-
assertDisabled
- Specified by:
assertDisabledin interfaceFormComponentHandle
-
assertVisible
- Specified by:
assertVisiblein interfaceFormComponentHandle
-
assertInvisible
- Specified by:
assertInvisiblein interfaceFormComponentHandle
-