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 SummaryConstructorsConstructorDescriptionComponentPredicate(Predicate<IComponent<?>> predicate) Constructs a new component predicate.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanapplies(IComponent<?> component) Evaluates the predicate on a given component.
- 
Constructor Details- 
ComponentPredicateConstructs a new component predicate.- Parameters:
- predicate- Predicate
 
 
- 
- 
Method Details- 
appliesEvaluates the predicate on a given component.- Parameters:
- component- the component to be evaluated in this predicate
- Returns:
- trueif the component matches the predicate and- falseotherwise
 
 
-