Interface ComponentSelector


  • public interface ComponentSelector
    Allows to retrieve components like CheckingSelection, but in addition allows to select components for checking. Selecting components for checking is possible only during the pre check phase. An IllegalStateException is thrown if an attempt is made to select a component after the pre check phase.
    Since:
    9.10.2
    • Method Detail

      • select

        Set<Component> select​(ComponentFilter filter)
        Select for checking the components that satisfy the specified filter. Components that are selected for checking must be all marked at least once as checked through the CheckingSelection.pass(Component) method. If the selected components are not all marked as checked by the end of the checking, an IllegalStateException will be thrown.
        Parameters:
        filter - the filter used to find the components to be selected
        Returns:
        the selected components
        Since:
        9.10.2
      • hasSelectedComponents

        boolean hasSelectedComponents()
        Returns true if there is at least one component selected for checking by this selector.
        Returns:
        true if at least one component was selected for checking
        Since:
        9.10.2