public static class JInternalFrameOperator.JInternalFrameByTitleFinder extends java.lang.Object implements ComponentChooser
Constructor and Description |
---|
JInternalFrameOperator.JInternalFrameByTitleFinder(java.lang.String lb)
Constructs JInternalFrameByTitleFinder.
|
JInternalFrameOperator.JInternalFrameByTitleFinder(java.lang.String lb,
Operator.StringComparator comparator)
Constructs JInternalFrameByTitleFinder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkComponent(java.awt.Component comp)
Check if the component argument meets the search criteria.
|
java.lang.String |
getDescription()
Returns searched component description.
|
public JInternalFrameOperator.JInternalFrameByTitleFinder(java.lang.String lb, Operator.StringComparator comparator)
lb
- a text patterncomparator
- specifies string comparision algorithm.public JInternalFrameOperator.JInternalFrameByTitleFinder(java.lang.String lb)
lb
- a text patternpublic 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