public interface NodeFinder
| Modifier and Type | Method and Description |
|---|---|
NodeQuery |
from(java.util.Collection<javafx.scene.Node> parentNodes)
Returns a
NodeQuery that stores the given parentNodes collection. |
NodeQuery |
from(javafx.scene.Node... parentNodes)
Returns a
NodeQuery that stores the given parentNodes |
NodeQuery |
from(NodeQuery nodeQuery)
Returns a new
NodeQuery that stores all the parentNodes from the given nodeQuery (essentially,
it creates a copy/clone). |
NodeQuery |
fromAll()
Returns a
NodeQuery that stores all the root nodes of all windows via
WindowFinder.listTargetWindows() |
<T> NodeQuery |
lookup(org.hamcrest.Matcher<T> matcher)
Returns a
NodeQuery that stores all the root nodes that match the given matcher. |
<T extends javafx.scene.Node> |
lookup(java.util.function.Predicate<T> predicate)
Returns a
NodeQuery that stores all the root nodes that pass the given predicate |
NodeQuery |
lookup(java.lang.String query)
Returns a
NodeQuery that stores all the root nodes that meet the given query |
javafx.scene.Node |
rootNode(javafx.scene.Node node)
Returns the node's scene's root node
|
javafx.scene.Node |
rootNode(javafx.scene.Scene scene)
Returns the scene's root node
|
javafx.scene.Node |
rootNode(javafx.stage.Window window)
Returns the window's scene's root node.
|
NodeQuery lookup(java.lang.String query)
NodeQuery that stores all the root nodes that meet the given queryNodeQuery.lookup(String)<T> NodeQuery lookup(org.hamcrest.Matcher<T> matcher)
NodeQuery that stores all the root nodes that match the given matcher.NodeQuery.lookup(Matcher)<T extends javafx.scene.Node> NodeQuery lookup(java.util.function.Predicate<T> predicate)
NodeQuery that stores all the root nodes that pass the given predicateNodeQuery.lookup(Predicate)NodeQuery fromAll()
NodeQuery that stores all the root nodes of all windows via
WindowFinder.listTargetWindows()NodeQuery from(javafx.scene.Node... parentNodes)
NodeQuery that stores the given parentNodesNodeQuery from(java.util.Collection<javafx.scene.Node> parentNodes)
NodeQuery that stores the given parentNodes collection.NodeQuery from(NodeQuery nodeQuery)
NodeQuery that stores all the parentNodes from the given nodeQuery (essentially,
it creates a copy/clone).javafx.scene.Node rootNode(javafx.stage.Window window)
javafx.scene.Node rootNode(javafx.scene.Scene scene)
javafx.scene.Node rootNode(javafx.scene.Node node)