|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.operators.Operator.Finder
public static class Operator.Finder
Allows to bind a compponent by a component type.
Constructor Summary | |
---|---|
Operator.Finder(java.lang.Class clz)
Constructs Finder. |
|
Operator.Finder(java.lang.Class clz,
ComponentChooser subchooser)
Constructs Finder. |
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 Operator.Finder(java.lang.Class clz, ComponentChooser subchooser)
clz
- a component class.subchooser
- other searching criteria.public Operator.Finder(java.lang.Class clz)
clz
- a component class.Method 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 |