org.netbeans.jemmy.drivers
Interface PathChooser

All Known Subinterfaces:
DescriptablePathChooser

public interface PathChooser

Specifies an interface for objects defining path searching criteria.

Author:
Alexandre Iline(alexandre.iline@sun.com)

Method Summary
 boolean checkPathComponent(int depth, Object component)
          Checks if depth'th path components fits the requirements.
 int getDepth()
          Return requiered depth of the path.
 

Method Detail

checkPathComponent

boolean checkPathComponent(int depth,
                           Object component)
Checks if depth'th path components fits the requirements.

Parameters:
depth - A depth of the component.
component - A path component to be checked.
Returns:
true if the component fits the requirements.

getDepth

int getDepth()
Return requiered depth of the path.

Returns:
depth.