Interface IControlSelectionFilter
-
- All Known Implementing Classes:
DefaultControlSelectionFilter
public interface IControlSelectionFilter extends Function<IControl,org.apache.commons.lang3.tuple.Pair<Boolean,Boolean>>
-
-
Field Summary
Fields Modifier and Type Field Description static IControlSelectionFilter
ALL_MATCH
static org.apache.commons.lang3.tuple.Pair<Boolean,Boolean>
MATCH
static org.apache.commons.lang3.tuple.Pair<Boolean,Boolean>
NON_MATCH
static IControlSelectionFilter
NONE_MATCH
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.commons.lang3.tuple.Pair<Boolean,Boolean>
apply(IControl control)
Determines if the control is matched by this filter.static IControlSelectionFilter
matchIds(String... identifiers)
-
-
-
Field Detail
-
ALL_MATCH
@NonNull static final IControlSelectionFilter ALL_MATCH
-
NONE_MATCH
@NonNull static final IControlSelectionFilter NONE_MATCH
-
-
Method Detail
-
matchIds
@NonNull static IControlSelectionFilter matchIds(@NonNull String... identifiers)
-
apply
@NonNull org.apache.commons.lang3.tuple.Pair<Boolean,Boolean> apply(IControl control)
Determines if the control is matched by this filter. This method returns aPair
where the first member of the pair indicates if the control matches, and the second indicates if the match applies to child controls as well.
-
-