Class MarvinFxUtilities


  • public class MarvinFxUtilities
    extends java.lang.Object
    • Constructor Detail

      • MarvinFxUtilities

        public MarvinFxUtilities()
    • Method Detail

      • getPrimaryScreenBounds

        public static javafx.geometry.Rectangle2D getPrimaryScreenBounds()
      • getBoundsOnScreen

        public static javafx.geometry.Rectangle2D getBoundsOnScreen​(javafx.stage.Window window)
      • getBoundsInWindow

        public static javafx.geometry.Rectangle2D getBoundsInWindow​(javafx.scene.Scene scene)
      • getBoundsOnScreen

        public static javafx.geometry.Rectangle2D getBoundsOnScreen​(javafx.scene.Scene scene)
      • getCenterOnParent

        public static javafx.geometry.Point2D getCenterOnParent​(javafx.scene.Node node)
      • getCenterOnScene

        public static javafx.geometry.Point2D getCenterOnScene​(javafx.scene.Node node)
      • getNodeHorizontalCenter

        private static double getNodeHorizontalCenter​(javafx.scene.Node node)
      • getNodeVerticalCenter

        private static double getNodeVerticalCenter​(javafx.scene.Node node)
      • findNodeById

        public static javafx.scene.Node findNodeById​(javafx.scene.Scene scene,
                                                     java.lang.String id)
      • findChildNodeById

        public static javafx.scene.Node findChildNodeById​(javafx.scene.Parent parent,
                                                          java.lang.String id)
      • runCallableInPlatformThread

        public static <T> T runCallableInPlatformThread​(java.util.concurrent.Callable<T> callable)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception