Class FinderColumnSearch

java.lang.Object
org.patternfly.component.SubComponent<HTMLElement, FinderColumnSearch>
org.patternfly.extension.finder.FinderColumnSearch
All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, FinderColumnSearch>, ElementClassListMethods<HTMLElement, FinderColumnSearch>, ElementConsumerMethods<HTMLElement, FinderColumnSearch>, ElementContainerMethods<HTMLElement, FinderColumnSearch>, ElementEventMethods<HTMLElement, FinderColumnSearch>, ElementIdMethods<HTMLElement, FinderColumnSearch>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, FinderColumnSearch>, HTMLElementDataMethods<HTMLElement, FinderColumnSearch>, HTMLElementStyleMethods<HTMLElement, FinderColumnSearch>, HTMLElementVisibilityMethods<HTMLElement, FinderColumnSearch>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, FinderColumnSearch>

public class FinderColumnSearch extends SubComponent<HTMLElement, FinderColumnSearch>
  • Field Details

    • SUB_COMPONENT_NAME

      public static final String SUB_COMPONENT_NAME
      See Also:
    • ITEM_TEXT_CONTAINS_FILTER

      public static final BiPredicate<FinderItem, String> ITEM_TEXT_CONTAINS_FILTER
      A BiPredicate implementation used to filter FinderItem instances based on their text content. This filter checks if the given FinderItem's text does not contain the specified search value (case-insensitive).

      The predicate evaluates to true if: - The search value is non-empty. - The lower-cased text of the FinderItem does not contain the lower-cased search value.

      This can be used to exclude items whose text does not match the specified search criteria.

  • Method Details

    • finderColumnSearch

      public static FinderColumnSearch finderColumnSearch()
    • addSearchInput

      public FinderColumnSearch addSearchInput(SearchInput input)
      Adds a SearchInput instance to the FinderColumnSearch with no specific filtering predicate.
      Parameters:
      input - the SearchInput instance to be added
      Returns:
      the updated FinderColumnSearch instance
    • add

      public FinderColumnSearch add(SearchInput input)
      Adds a SearchInput instance to the FinderColumnSearch with no specific filtering predicate.
      Parameters:
      input - the SearchInput instance to be added
      Returns:
      the updated FinderColumnSearch instance
    • addSearchInput

      public FinderColumnSearch addSearchInput(SearchInput input, BiPredicate<FinderItem, String> predicate)
      Adds a SearchInput instance to the FinderColumnSearch with a specific filtering predicate. The filtering predicate is used to determine how FinderItems should be filtered based on their text content and the specified search value. If the filter predicate returns true, the FinderItem will be marked as filtered.
      Parameters:
      input - the SearchInput instance to be added
      predicate - a BiPredicate that defines the filtering logic based on a FinderItem and the given search value
      Returns:
      the updated FinderColumnSearch instance
    • add

      public FinderColumnSearch add(SearchInput input, BiPredicate<FinderItem, String> predicate)
      Adds a SearchInput instance to the FinderColumnSearch with a specific filtering predicate. The filtering predicate is used to determine how FinderItems should be filtered based on their text content and the specified search value. If the filter predicate returns true, the FinderItem will be marked as filtered.
      Parameters:
      input - the SearchInput instance to be added
      predicate - a BiPredicate that defines the filtering logic based on a FinderItem and the given search value
      Returns:
      the updated FinderColumnSearch instance
    • that

      public FinderColumnSearch that()