ComponentChooser
public static class JTableOperator.JTableByCellFinder extends java.lang.Object implements ComponentChooser
Constructor | Description |
---|---|
JTableByCellFinder(java.lang.String lb,
int r,
int c) |
Constructs JTableByCellFinder.
|
JTableByCellFinder(java.lang.String lb,
int r,
int c,
Operator.StringComparator comparator) |
Constructs JTableByCellFinder.
|
Modifier and Type | Method | 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 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 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