Package com._1c.g5.aef2.scenes
Interface IComponentSearchProvider.IComponentQueryMatcher
-
- Enclosing interface:
- IComponentSearchProvider
public static interface IComponentSearchProvider.IComponentQueryMatcher
A 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 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.boolean
matches(IComponent<?> component, Object query)
Returnstrue
if a given component matches a given query,false
otherwise.
-
-
-
Method Detail
-
matches
boolean matches(IComponent<?> component, Object query)
Returnstrue
if a given component matches a given query,false
otherwise.- Parameters:
component
- The tested componentquery
- The tested query- Returns:
true
if a given component matches a given query,false
otherwise
-
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
-
-