Package com._1c.g5.aef2.scenes
Interface IComponentSearchProvider.IComponentQueryMatcher
-
- Enclosing interface:
- IComponentSearchProvider
public static interface IComponentSearchProvider.IComponentQueryMatcherA contract for objects that can match a component against a specific query and generate queries for components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetQuery(IComponent<?> rootComponent, IComponent<?> component)Returns a query for a given component relative to a given parent component that will be recognized by this matcher.booleanmatches(IComponent<?> component, Object query)Returnstrueif a given component matches a given query,falseotherwise.
-
-
-
Method Detail
-
matches
boolean matches(IComponent<?> component, Object query)
Returnstrueif a given component matches a given query,falseotherwise.- Parameters:
component- The tested componentquery- The tested query- Returns:
trueif a given component matches a given query,falseotherwise
-
getQuery
Object getQuery(IComponent<?> rootComponent, IComponent<?> component)
Returns a query for a given component relative to a given parent component that will be recognized by this matcher.- Parameters:
rootComponent- The root component relative to which the query should be obtainedcomponent- The component for which the query will be obtained- Returns:
- The query
-
-