public static class FrameOperator.FrameByTitleFinder extends java.lang.Object implements ComponentChooser
Constructor and Description |
---|
FrameByTitleFinder(java.lang.String t)
Constructs FrameByTitleFinder.
|
FrameByTitleFinder(java.lang.String t,
Operator.StringComparator comparator)
Constructs FrameByTitleFinder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkComponent(java.awt.Component comp)
Check if the component argument meets the search criteria.
|
java.lang.String |
getDescription()
Returns searched component description.
|
public FrameByTitleFinder(java.lang.String t, Operator.StringComparator comparator)
t
- a text patterncomparator
- specifies string comparision algorithm.public FrameByTitleFinder(java.lang.String t)
t
- a text patternpublic boolean checkComponent(java.awt.Component comp)
ComponentChooser
checkComponent
in interface ComponentChooser
comp
- Component to check.true
when the component conforms to
the search criteria; false
otherwise.public java.lang.String getDescription()
ComponentChooser
getDescription
in interface ComponentChooser