Class NodeFinderImpl

  • All Implemented Interfaces:
    NodeFinder

    public class NodeFinderImpl
    extends java.lang.Object
    implements NodeFinder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()
      NodeQuery lookup​(java.lang.String query)
      Returns a NodeQuery that stores all the root nodes that meet the given query
      <T extends javafx.scene.Node>
      NodeQuery
      lookup​(java.util.function.Predicate<T> predicate)
      Returns a NodeQuery that stores all the root nodes that pass the given predicate
      <T> NodeQuery lookup​(org.hamcrest.Matcher<T> matcher)
      Returns a NodeQuery that stores all the root nodes that match the given matcher.
      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.
      private java.util.Set<javafx.scene.Node> rootsOfWindows()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait