public static class JCheckBoxMenuItemOperator.JCheckBoxMenuItemByLabelFinder extends Object implements ComponentChooser
| Constructor and Description |
|---|
JCheckBoxMenuItemByLabelFinder(String lb)
Constructs JCheckBoxMenuItemByLabelFinder.
|
JCheckBoxMenuItemByLabelFinder(String lb,
Operator.StringComparator comparator)
Constructs JCheckBoxMenuItemByLabelFinder.
|
| 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 JCheckBoxMenuItemByLabelFinder(String lb, Operator.StringComparator comparator)
lb - a text patterncomparator - specifies string comparision algorithm.public JCheckBoxMenuItemByLabelFinder(String lb)
lb - a text patternpublic 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