Package net.sf.jaxodraw.gui.launch
Class JaxoLauncher
- java.lang.Object
-
- net.sf.jaxodraw.gui.launch.JaxoLauncher
-
public class JaxoLauncher extends java.lang.Object
Launches the JaxoDraw GUI.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description JaxoLauncher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
launch(boolean showSplashWindow)
Launches the JaxoDraw GUI.void
setFilesToOpen(java.lang.String[] files)
Sets a list of files (absolute path strings) to be opened at start-up.void
setShutDownHook(JaxoShutDown shutdown)
Sets a shutdown hook that will be called from the main panel at shutdown.static void
shutdown(int status)
Initiates the shutdown procedure via the registered JaxoShutDown handler.
-
-
-
Method Detail
-
setFilesToOpen
public void setFilesToOpen(java.lang.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.
-
-