Class JaxoLauncher

java.lang.Object
net.sf.jaxodraw.gui.launch.JaxoLauncher

public class JaxoLauncher extends Object
Launches the JaxoDraw GUI.
Since:
2.0
  • Constructor Details

    • JaxoLauncher

      public JaxoLauncher()
  • Method Details

    • setFilesToOpen

      public void setFilesToOpen(String[] files)
      Sets a list of files (absolute path strings) to be opened at start-up.
      Parameters:
      files - a List of Strings.
    • setShutDownHook

      public void setShutDownHook(JaxoShutDown shutdown)
      Sets a shutdown hook that will be called from the main panel at shutdown.
      Parameters:
      shutdown - a JaxoShutDown.
    • launch

      public void launch(boolean showSplashWindow)
      Launches the JaxoDraw GUI.
      Parameters:
      showSplashWindow - whether to show the SplashWindow.
    • shutdown

      public static void shutdown(int status)
      Initiates the shutdown procedure via the registered JaxoShutDown handler. This is called from the MainPanel after the GUI has disposed itself.
      Parameters:
      status - The exit status code.