public static class JTableOperator.JTableByCellFinder extends java.lang.Object implements ComponentChooser
Constructor and Description |
---|
JTableOperator.JTableByCellFinder(java.lang.String lb,
int r,
int c)
Constructs JTableByCellFinder.
|
JTableOperator.JTableByCellFinder(java.lang.String lb,
int r,
int c,
Operator.StringComparator comparator)
Constructs JTableByCellFinder.
|
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 JTableOperator.JTableByCellFinder(java.lang.String lb, int r, int c, Operator.StringComparator comparator)
lb
- a text patternr
- a row index to look in. If equal to -1, selected row is checked.c
- a column index to look in. If equal to -1, selected column is checked.comparator
- specifies string comparision algorithm.public JTableOperator.JTableByCellFinder(java.lang.String lb, int r, int c)
lb
- a text patternr
- a row index to look in. If equal to -1, selected row is checked.c
- a column index to look in. If equal to -1, selected column is checked.public 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