public class ChainFinder extends java.lang.Object implements Finder
Note typically first Finder finds the ancestor, then second Finder finds the target UiElement, which is a descendant. ChainFinder can be chained with additional Finders to make a "chain".
Modifier | Constructor and Description |
---|---|
protected |
ChainFinder(Finder first,
Finder second) |
Modifier and Type | Method and Description |
---|---|
UiElement |
find(UiElement context)
Returns the matching UiElement.
|
java.lang.String |
toString() |
public java.lang.String toString()
Finder
It is recommended that this method return the description of the finder, for example, "{text=OK}".