org.netbeans.jemmy.operators
public static class JTreeOperator.JTreeByItemFinder extends Object implements ComponentChooser
Constructor and Description |
---|
JTreeOperator.JTreeByItemFinder(String lb,
int ii)
Constructs JTreeByItemFinder.
|
JTreeOperator.JTreeByItemFinder(String lb,
int ii,
Operator.StringComparator comparator)
Constructs JTreeByItemFinder.
|
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 JTreeOperator.JTreeByItemFinder(String lb, int ii, Operator.StringComparator comparator)
lb
- a text patternii
- row index to check. If equal to -1, selected row is checked.comparator
- specifies string comparision algorithm.public JTreeOperator.JTreeByItemFinder(String lb, int ii)
lb
- a text patternii
- row index to check. If equal to -1, selected row is checked.public boolean checkComponent(Component comp)
ComponentChooser
checkComponent
in interface ComponentChooser
comp
- Component to check.true
when the component conforms to
the search criteria; false
otherwise.public String getDescription()
ComponentChooser
getDescription
in interface ComponentChooser