Package net.sf.jaxodraw.gui.launch
Class JaxoLauncher
java.lang.Object
net.sf.jaxodraw.gui.launch.JaxoLauncher
Launches the JaxoDraw GUI.
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
launch
(boolean showSplashWindow) Launches the JaxoDraw GUI.void
setFilesToOpen
(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.
-
Constructor Details
-
JaxoLauncher
public JaxoLauncher()
-
-
Method Details
-
setFilesToOpen
Sets a list of files (absolute path strings) to be opened at start-up.- Parameters:
files
- a List of Strings.
-
setShutDownHook
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.
-