Package com._1c.g5.aef2.scenes
Class ComponentSearch.ComponentPredicate
java.lang.Object
com._1c.g5.aef2.scenes.ComponentSearch.ComponentPredicate
- Enclosing class:
- ComponentSearch
A component predicate that can be used in
firstChildByPredicate search provider.-
Constructor Summary
ConstructorsConstructorDescriptionComponentPredicate(Predicate<IComponent<?>> predicate) Constructs a new component predicate. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplies(IComponent<?> component) Evaluates the predicate on a given component.
-
Constructor Details
-
ComponentPredicate
Constructs a new component predicate.- Parameters:
predicate- Predicate
-
-
Method Details
-
applies
Evaluates the predicate on a given component.- Parameters:
component- the component to be evaluated in this predicate- Returns:
trueif the component matches the predicate andfalseotherwise
-