|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.operators.JLabelOperator.JLabelByLabelFinder
public static class JLabelOperator.JLabelByLabelFinder
Allows to find component by text.
Constructor Summary | |
---|---|
JLabelOperator.JLabelByLabelFinder(String lb)
Constructs JLabelByLabelFinder. |
|
JLabelOperator.JLabelByLabelFinder(String lb,
Operator.StringComparator comparator)
Constructs JLabelByLabelFinder. |
Method Summary | |
---|---|
boolean |
checkComponent(Component comp)
Check if the component argument meets the search criteria. |
String |
getDescription()
Returns searched component description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JLabelOperator.JLabelByLabelFinder(String lb, Operator.StringComparator comparator)
lb
- a text patterncomparator
- specifies string comparision algorithm.public JLabelOperator.JLabelByLabelFinder(String lb)
lb
- a text patternMethod Detail |
---|
public boolean checkComponent(Component comp)
ComponentChooser
checkComponent
in interface ComponentChooser
comp
- Component to check.
true
when the component conforms to
the search criteria; false
otherwise.public String getDescription()
ComponentChooser
getDescription
in interface ComponentChooser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |