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>
The
FinderColumnSearch class is a subcomponent designed to handle search functionality within a finder column. It
extends the FinderSubComponent class to provide a specialized interface for managing search inputs. The class allows
adding SearchInput instances with or without filtering predicates and defines the behavior for filtering
FinderItems based on user-provided search values.
The filtering predicate determines how FinderItems are flagged as filtered depending on their text content and the
specified search value. When no predicate is provided, the FinderItems are not programmatically filtered on input.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionadd(SearchInput input) Adds aSearchInputinstance to the FinderColumnSearch with no specific filtering predicate.add(SearchInput input, BiPredicate<FinderItem, String> predicate) Adds aSearchInputinstance to the FinderColumnSearch with a specific filtering predicate.addSearchInput(SearchInput input) Adds aSearchInputinstance to the FinderColumnSearch with no specific filtering predicate.addSearchInput(SearchInput input, BiPredicate<FinderItem, String> predicate) Adds aSearchInputinstance to the FinderColumnSearch with a specific filtering predicate.static FinderColumnSearchthat()Methods inherited from class SubComponent
element, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hidden
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
finderColumnSearch
-
addSearchInput
Adds aSearchInputinstance to the FinderColumnSearch with no specific filtering predicate.- Parameters:
input- theSearchInputinstance to be added- Returns:
- the updated
FinderColumnSearchinstance
-
add
Adds aSearchInputinstance to the FinderColumnSearch with no specific filtering predicate.- Parameters:
input- theSearchInputinstance to be added- Returns:
- the updated
FinderColumnSearchinstance
-
addSearchInput
public FinderColumnSearch addSearchInput(SearchInput input, BiPredicate<FinderItem, String> predicate) Adds aSearchInputinstance to the FinderColumnSearch with a specific filtering predicate. The filtering predicate is used to determine howFinderItems should be filtered based on their text content and the specified search value. If the filter predicate returnstrue, theFinderItemwill be marked as filtered.- Parameters:
input- theSearchInputinstance to be addedpredicate- aBiPredicatethat defines the filtering logic based on aFinderItemand the given search value- Returns:
- the updated
FinderColumnSearchinstance
-
add
Adds aSearchInputinstance to the FinderColumnSearch with a specific filtering predicate. The filtering predicate is used to determine howFinderItems should be filtered based on their text content and the specified search value. If the filter predicate returnstrue, theFinderItemwill be marked as filtered.- Parameters:
input- theSearchInputinstance to be addedpredicate- aBiPredicatethat defines the filtering logic based on aFinderItemand the given search value- Returns:
- the updated
FinderColumnSearchinstance
-
that
-