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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BiPredicate<FinderItem, String> ABiPredicateimplementation used to filterFinderIteminstances based on their text content.static final String -
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:
-
ITEM_TEXT_CONTAINS_FILTER
ABiPredicateimplementation used to filterFinderIteminstances based on their text content. This filter checks if the givenFinderItem's text does not contain the specified search value (case-insensitive).The predicate evaluates to
trueif: - The search value is non-empty. - The lower-cased text of theFinderItemdoes 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
-
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
-