|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.operators.TextFieldOperator.TextFieldByTextFinder
public static class TextFieldOperator.TextFieldByTextFinder
Allows to find component by text.
Constructor Summary | |
---|---|
TextFieldOperator.TextFieldByTextFinder(java.lang.String lb)
Constructs TextFieldByTextFinder. |
|
TextFieldOperator.TextFieldByTextFinder(java.lang.String lb,
Operator.StringComparator comparator)
Constructs TextFieldByTextFinder. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns searched component description. |
boolean |
checkComponent(java.awt.Component comp)
Check if the component argument meets the search criteria. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextFieldOperator.TextFieldByTextFinder(java.lang.String lb, Operator.StringComparator comparator)
lb
- a text patterncomparator
- specifies string comparision algorithm.public TextFieldOperator.TextFieldByTextFinder(java.lang.String lb)
lb
- a text patternMethod Detail |
---|
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |