public class GuiFinder
extends abbot.finder.BasicFinder
| Modifier and Type | Field and Description |
|---|---|
private AppLog |
_log |
GuiAppManager |
_owner |
| Constructor and Description |
|---|
GuiFinder(GuiAppManager owner) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Component |
find(java.awt.Container root,
abbot.finder.Matcher matcher) |
java.awt.Component |
find(GuiItemRef ref,
boolean required) |
java.awt.Component |
find(abbot.finder.Matcher m)
Find a component.
|
java.awt.Component |
find(abbot.finder.Matcher matcher,
GuiRelative relationship,
java.awt.Component relative)
Find a component with the built-in BasicFinder.
|
java.awt.Component |
find(java.lang.String descriptor,
GuiRelative relationship,
java.awt.Component relative)
Find a component using a
DescriptionMatcher. |
private AppLog _log
public GuiAppManager _owner
public GuiFinder(GuiAppManager owner)
public java.awt.Component find(java.awt.Container root,
abbot.finder.Matcher matcher)
find in interface abbot.finder.ComponentFinderfind in class abbot.finder.BasicFinderpublic java.awt.Component find(GuiItemRef ref, boolean required) throws GuiItemNotFoundException
GuiItemNotFoundExceptionpublic java.awt.Component find(abbot.finder.Matcher m)
find in interface abbot.finder.ComponentFinderfind in class abbot.finder.BasicFinderm - The matcher to use to find the component.public java.awt.Component find(abbot.finder.Matcher matcher,
GuiRelative relationship,
java.awt.Component relative)
relative - a reference component that has a specific relationship with the desired target component.matcher - The matcher to use to find the component.public java.awt.Component find(java.lang.String descriptor,
GuiRelative relationship,
java.awt.Component relative)
throws abbot.finder.ComponentSearchException
DescriptionMatcher. Returns null if no match is found instead of throwing a ComponentSearchException.descriptor - The text to search for. Many different textual fields of components are compared with this. Encapsulate regular expressions inside slashes (e.g. /[a-z]+/ )abbot.finder.ComponentSearchException