Class ParentNodeProvider


  • public class ParentNodeProvider
    extends java.lang.Object
    Utility class to retrieve the parent of a node. This class provides an abstraction for better testing.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Oct 23, 2015
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javafx.scene.Parent getParent​(javafx.scene.Node node)
      Return the parent of the node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParentNodeProvider

        public ParentNodeProvider()
    • Method Detail

      • getParent

        public javafx.scene.Parent getParent​(javafx.scene.Node node)
        Return the parent of the node.
        Parameters:
        node - child node
        Returns:
        Parent nod of the node