net.sf.jaxodraw.gui.launch
Class JaxoLauncher

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

public class JaxoLauncher
extends Object

Launches the JaxoDraw GUI.

Since:
2.0

Constructor Summary
JaxoLauncher()
           
 
Method Summary
 void 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxoLauncher

public JaxoLauncher()
Method Detail

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.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.