Class JavaFXUtils


  • public final class JavaFXUtils
    extends java.lang.Object
    Utilities for javafx elements
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @Nullable javafx.scene.Scene getDialogScene​(javafx.scene.control.Dialog<?> dialog)
      Get dialog scene.
      static @Nullable javafx.stage.Stage getDialogStage​(javafx.scene.control.Dialog<?> dialog)
      Get dialog window object
      • Methods inherited from class java.lang.Object

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

      • getDialogStage

        @Nullable
        public static @Nullable javafx.stage.Stage getDialogStage​(javafx.scene.control.Dialog<?> dialog)
        Get dialog window object
        Parameters:
        dialog - Target dialog to check
        Returns:
        dialog or null if this method called after dialog initialization.
      • getDialogScene

        @Nullable
        public static @Nullable javafx.scene.Scene getDialogScene​(javafx.scene.control.Dialog<?> dialog)
        Get dialog scene.
        Parameters:
        dialog - Target dialog to search.
        Returns:
        Scene dialog scene or null if dialog not initialize scene.