org.netbeans.jemmy.operators
Class JPopupMenuOperator.JPopupMenuFinder
java.lang.Object
org.netbeans.jemmy.operators.Operator.Finder
org.netbeans.jemmy.operators.JPopupMenuOperator.JPopupMenuFinder
- All Implemented Interfaces:
- ComponentChooser
- Enclosing class:
- JPopupMenuOperator
public static class JPopupMenuOperator.JPopupMenuFinder
- extends Operator.Finder
Checks component type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPopupMenuOperator.JPopupMenuFinder
public JPopupMenuOperator.JPopupMenuFinder(ComponentChooser sf)
- Constructs JPopupMenuFinder.
- Parameters:
sf
- other searching criteria.
JPopupMenuOperator.JPopupMenuFinder
public JPopupMenuOperator.JPopupMenuFinder()
- Constructs JPopupMenuFinder.
checkComponent
public boolean checkComponent(Component comp)
- Description copied from interface:
ComponentChooser
- Check if the component argument meets the search criteria.
- Specified by:
checkComponent
in interface ComponentChooser
- Overrides:
checkComponent
in class Operator.Finder
- Parameters:
comp
- Component to check.
- Returns:
true
when the component conforms to
the search criteria; false
otherwise.