public interface ComponentFinder
Matcher
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
find(java.awt.Container root,
Matcher m)
Find a Component, using the given Matcher to determine whether a given
component in the hierarchy under the given root is the desired
one.
|
java.awt.Component |
find(Matcher m)
Find a Component, using the given Matcher to determine whether a given
component in the hierarchy used by this ComponentFinder is the desired
one.
|
java.awt.Component find(Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
Note that MultipleComponentsFoundException
can only be
thrown if the Matcher
argument is an instance of
MultiMatcher
.
java.awt.Component find(java.awt.Container root, Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
Note that MultipleComponentsFoundException
can only be
thrown if the Matcher
argument is an instance of
MultiMatcher
.
Abbot is hosted on