org.netbeans.jemmy.operators
Class JPopupMenuOperator.JPopupMenuFinder

java.lang.Object
  extended by org.netbeans.jemmy.operators.Operator.Finder
      extended by org.netbeans.jemmy.operators.JPopupMenuOperator.JPopupMenuFinder
All Implemented Interfaces:
ComponentChooser
Enclosing class:
JPopupMenuOperator

public static class JPopupMenuOperator.JPopupMenuFinder
extends Operator.Finder

Checks component type.


Constructor Summary
JPopupMenuOperator.JPopupMenuFinder()
          Constructs JPopupMenuFinder.
JPopupMenuOperator.JPopupMenuFinder(ComponentChooser sf)
          Constructs JPopupMenuFinder.
 
Method Summary
 boolean checkComponent(java.awt.Component comp)
          Check if the component argument meets the search criteria.
 
Methods inherited from class org.netbeans.jemmy.operators.Operator.Finder
getDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPopupMenuOperator.JPopupMenuFinder

public JPopupMenuOperator.JPopupMenuFinder(ComponentChooser sf)
Constructs JPopupMenuFinder.

Parameters:
sf - other searching criteria.

JPopupMenuOperator.JPopupMenuFinder

public JPopupMenuOperator.JPopupMenuFinder()
Constructs JPopupMenuFinder.

Method Detail

checkComponent

public boolean checkComponent(java.awt.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.