public static class JPopupMenuOperator.JPopupWindowFinder extends Object implements ComponentChooser
| Constructor and Description |
|---|
JPopupWindowFinder()
Constructs JPopupWindowFinder.
|
JPopupWindowFinder(ComponentChooser sf)
Constructs JPopupWindowFinder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkComponent(Component comp)
Check if the component argument meets the search criteria.
|
String |
getDescription()
Returns searched component description.
|
public JPopupWindowFinder(ComponentChooser sf)
sf - searching criteria for a JPopupMenu inside the window..public JPopupWindowFinder()
public boolean checkComponent(Component comp)
ComponentChoosercheckComponent in interface ComponentChoosercomp - Component to check.true when the component conforms to
the search criteria; false otherwise.public String getDescription()
ComponentChoosergetDescription in interface ComponentChooser