Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.jemmy.operators
Interface JTreeOperator.TreePathChooser

Enclosing class:
  JTreeOperator

public static interface JTreeOperator.TreePathChooser

Specifies criteria for path searching.

Method Summary
`boolean` | `checkPath(javax.swing.tree.TreePath path, int indexInParent)` Checks if the path fits the criteria.
`java.lang.String` | `getDescription()` Returns the description.
`boolean` | `hasAsParent(javax.swing.tree.TreePath path, int indexInParent)` Checks if the path has another path as a parent.

Method Detail

### checkPath

    public boolean checkPath(javax.swing.tree.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

    public boolean hasAsParent(javax.swing.tree.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

    public java.lang.String getDescription()

  Returns the description.
  Returns:
    a description.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD