Package org.netbeans.jemmy.operators
Interface JTreeOperator.TreePathChooser
-
- Enclosing class:
- JTreeOperator
public static interface JTreeOperator.TreePathChooserSpecifies criteria for path searching.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckPath(TreePath path, int indexInParent)Checks if the path fits the criteria.StringgetDescription()Returns the description.booleanhasAsParent(TreePath path, int indexInParent)Checks if the path has another path as a parent.
-
-
-
Method Detail
-
checkPath
boolean checkPath(TreePath path, int indexInParent)
Checks if the path fits the criteria.- Parameters:
path- TreePath to check.indexInParent- Index of the "path" in path's parent.- Returns:
- true if the path fits the criteria
-
hasAsParent
boolean hasAsParent(TreePath path, int indexInParent)
Checks if the path has another path as a parent.- Parameters:
path- TreePath to check.indexInParent- Index of the "path" in path's parent.- Returns:
- true if path looked for is a child/grandchild of a path passed as a parameter.
-
getDescription
String getDescription()
Returns the description.- Returns:
- a description.
-
-