Interface ComponentSelectorHandle
- All Superinterfaces:
FormComponentHandle
Handle for the "Installation components selector" form component. The Swing widget is a
JTree.
Reach this handle via ScreenHandle.componentSelector().
-
Method Summary
Modifier and TypeMethodDescriptionThe ids of the components currently marked for installation.booleanisChangeable(String componentId) Whether the user can toggle the component's selection state.booleanisComponentVisible(String componentId) Whether the component with the given id is visible in the tree, that is, not hidden viaInstallationComponentSetup.isHidden().booleanisSelected(String componentId) Whether the component with the given id is currently selected for installation.selectOnly(String... componentIds) Set only the listed components selected.setSelected(String componentId, boolean selected) Toggle a component's selection state.Methods inherited from interface FormComponentHandle
getId, isEnabled, isVisible
-
Method Details
-
getSelectedComponentIds
-
isSelected
Whether the component with the given id is currently selected for installation. -
isComponentVisible
Whether the component with the given id is visible in the tree, that is, not hidden viaInstallationComponentSetup.isHidden(). -
isChangeable
Whether the user can toggle the component's selection state. Components configured as mandatory are not user-toggleable. -
setSelected
Toggle a component's selection state. -
selectOnly
Set only the listed components selected. Every other changeable component is deselected. Mandatory components are left at their configured value. -
assertEnabled
- Specified by:
assertEnabledin interfaceFormComponentHandle
-
assertDisabled
- Specified by:
assertDisabledin interfaceFormComponentHandle
-
assertVisible
- Specified by:
assertVisiblein interfaceFormComponentHandle
-
assertInvisible
- Specified by:
assertInvisiblein interfaceFormComponentHandle
-