public class BasicFinder extends java.lang.Object implements ComponentFinder
| Constructor and Description |
|---|
BasicFinder() |
BasicFinder(Hierarchy h) |
| 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.
|
protected java.awt.Component |
find(Hierarchy h,
Matcher m) |
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.
|
protected void |
findMatches(Hierarchy h,
Matcher m,
java.awt.Component c,
java.util.Set found) |
static ComponentFinder |
getDefault() |
protected Hierarchy |
getHierarchy() |
public BasicFinder()
public BasicFinder(Hierarchy h)
public static ComponentFinder getDefault()
protected Hierarchy getHierarchy()
public java.awt.Component find(java.awt.Container root,
Matcher m)
throws ComponentNotFoundException,
MultipleComponentsFoundException
find in interface ComponentFinderComponentNotFoundExceptionMultipleComponentsFoundExceptionpublic java.awt.Component find(Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
find in interface ComponentFinderComponentNotFoundExceptionMultipleComponentsFoundExceptionprotected java.awt.Component find(Hierarchy h, Matcher m) throws ComponentNotFoundException, MultipleComponentsFoundException
Abbot is hosted on