Class MiniFx


  • public class MiniFx
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SingleSceneSpringJavaFxApplication.FxLauncher launcher​(java.lang.Class<?>... configurationClasses)
      This way to get a launcher guarantees that the configuration class for miniFx is present and at the right place (last in the list)
      static MiniFxWorkbench loadFrom​(java.lang.Class<?>... configurationClasses)
      Loads the minifx workbench from the given configuration classes, ensuring that the minifx configurations, which do the magic are contained at the right place (last in the list).
      • Methods inherited from class java.lang.Object

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

      • launcher

        public static SingleSceneSpringJavaFxApplication.FxLauncher launcher​(java.lang.Class<?>... configurationClasses)
        This way to get a launcher guarantees that the configuration class for miniFx is present and at the right place (last in the list)
        Parameters:
        configurationClasses - the configuration classes to launch
        Returns:
        the launcher
      • loadFrom

        public static MiniFxWorkbench loadFrom​(java.lang.Class<?>... configurationClasses)
        Loads the minifx workbench from the given configuration classes, ensuring that the minifx configurations, which do the magic are contained at the right place (last in the list). NOTE: this must be called from the fx-thread!
        Parameters:
        configurationClasses - the configuration classes to load
        Returns:
        a MiniFxWorkbench object, containing all the configured views etc, ready to be plugged into another application.