com.japisoft.framework.step
Class SplashScreenApplicationStep

java.lang.Object
  extended bycom.japisoft.framework.step.SplashScreenApplicationStep
All Implemented Interfaces:
ApplicationStep

public class SplashScreenApplicationStep
extends java.lang.Object
implements ApplicationStep

An application step with a splashscreen

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Constructor Summary
SplashScreenApplicationStep()
           
SplashScreenApplicationStep(javax.swing.Icon image, int registeredDay)
           
SplashScreenApplicationStep(int delay)
          Use the ApplicationModel.APP_IMG_PATH key, the delay is for delaying the starting in ms
SplashScreenApplicationStep(java.lang.String imagePath)
           
SplashScreenApplicationStep(java.lang.String imagePath, int registeredDay)
           
 
Method Summary
 boolean isFinal()
           
 void start(java.lang.String[] args)
          Start this application step.
 void stop()
          This is called when terminating this application step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplashScreenApplicationStep

public SplashScreenApplicationStep()

SplashScreenApplicationStep

public SplashScreenApplicationStep(int delay)
Use the ApplicationModel.APP_IMG_PATH key, the delay is for delaying the starting in ms

Parameters:
delay -

SplashScreenApplicationStep

public SplashScreenApplicationStep(java.lang.String imagePath)

SplashScreenApplicationStep

public SplashScreenApplicationStep(java.lang.String imagePath,
                                   int registeredDay)

SplashScreenApplicationStep

public SplashScreenApplicationStep(javax.swing.Icon image,
                                   int registeredDay)
Method Detail

isFinal

public boolean isFinal()
Specified by:
isFinal in interface ApplicationStep
Returns:
true if this application step must be called when terminating the application

start

public void start(java.lang.String[] args)
Description copied from interface: ApplicationStep
Start this application step. The application main parameters are provided. It may throw an ApplicationStepException

Specified by:
start in interface ApplicationStep

stop

public void stop()
Description copied from interface: ApplicationStep
This is called when terminating this application step. You can use it for freeing any allocated resource

Specified by:
stop in interface ApplicationStep