com.tensegrity.gui.swing.control
Class SimpleLauncher

java.lang.Object
  extended bycom.tensegrity.gui.swing.control.SimpleLauncher
All Implemented Interfaces:
ApplicationLauncher

Deprecated. Use SplashScreenLauncher instead, it supports hiding the splashscreen.

public class SimpleLauncher
extends java.lang.Object
implements ApplicationLauncher

This interface is typically implemented by a class that displays a minimum amount of info and executes several launch tasks. After it is done it will return from its main launch() method.

Version:
$Id: SimpleLauncher.java,v 1.11 2006/03/02 11:40:57 BurkhardWick Exp $
Author:
S. Rutz

Constructor Summary
SimpleLauncher(boolean isApplet)
          Deprecated. Constructs a new splashscreen launcher.
SimpleLauncher(boolean isApplet, java.applet.Applet applet)
          Deprecated. Constructs a new splashscreen launcher.
 
Method Summary
 boolean launch()
          Deprecated. Launches all of the registered tasks.
 void registerLaunchTask(LaunchTask launchtask)
          Deprecated. Adds a launchtask to the splash screen launcher.
 void unregisterLaunchTask(LaunchTask launchtask)
          Deprecated. Removes a launchtask from the splash screen launcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLauncher

public SimpleLauncher(boolean isApplet)
Deprecated. 
Constructs a new splashscreen launcher.

Parameters:
isApplet - indicates whether the launcher is being executed within the context of an applet.

SimpleLauncher

public SimpleLauncher(boolean isApplet,
                      java.applet.Applet applet)
Deprecated. 
Constructs a new splashscreen launcher.

Parameters:
isApplet - indicates whether the launcher is being executed within the context of an applet.
applet - The applet itself, used to set the status
Method Detail

registerLaunchTask

public void registerLaunchTask(LaunchTask launchtask)
Deprecated. 
Adds a launchtask to the splash screen launcher.

Specified by:
registerLaunchTask in interface ApplicationLauncher
Parameters:
launchtask - the task to register with the launcher.

unregisterLaunchTask

public void unregisterLaunchTask(LaunchTask launchtask)
Deprecated. 
Removes a launchtask from the splash screen launcher.

Specified by:
unregisterLaunchTask in interface ApplicationLauncher
Parameters:
launchtask - the task to unregister from the launcher.

launch

public boolean launch()
Deprecated. 
Description copied from interface: ApplicationLauncher
Launches all of the registered tasks.

Specified by:
launch in interface ApplicationLauncher
Returns:
true if the launching succeeded, false indicates a fatal error.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.