Interface JTreeOperator.TreePathChooser
- Enclosing class:
JTreeOperator
public static interface JTreeOperator.TreePathChooser
Specifies criteria for path searching.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the path fits the criteria.Returns the description.booleanhasAsParent(TreePath path, int indexInParent) Checks if the path has another path as a parent.
-
Method Details
-
checkPath
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
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
-