|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.operators.ButtonOperator.ButtonByLabelFinder
public static class ButtonOperator.ButtonByLabelFinder
Allows to find component by label.
Constructor Summary | |
---|---|
ButtonOperator.ButtonByLabelFinder(java.lang.String lb)
Constructs ButtonByLabelFinder. |
|
ButtonOperator.ButtonByLabelFinder(java.lang.String lb,
Operator.StringComparator comparator)
Constructs ButtonByLabelFinder. |
Method Summary | |
---|---|
boolean |
checkComponent(java.awt.Component comp)
Check if the component argument meets the search criteria. |
java.lang.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 ButtonOperator.ButtonByLabelFinder(java.lang.String lb, Operator.StringComparator comparator)
lb
- a text patterncomparator
- specifies string comparision algorithm.public ButtonOperator.ButtonByLabelFinder(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 |