Synergy Home Page

au.edu.swin.synergy.plugin.splash
Class BSplashScreen

java.lang.Object
  |
  +--au.edu.swin.synergy.kernel.BPlugin
        |
        +--au.edu.swin.synergy.plugin.splash.BSplashScreen

public class BSplashScreen
extends BPlugin

Splash Screen

Requirement/analysis/design Reference:
 
See Also:

Inner Class Summary
 class BSplashScreen.HideSplash
           
 class BSplashScreen.ShowSplash
           
 
Field Summary
protected  int kFinalWait
          How long to wait before closing the splash screen.
protected  int kInitalWait
          How long to wait before returning.
protected  ImageIcon splashIcon
           
protected  String splashImageFile
           
protected  String splashImageLocation
           
 
Fields inherited from class au.edu.swin.synergy.kernel.BPlugin
kernel
 
Constructor Summary
BSplashScreen()
           
 
Method Summary
 void onBCommandEvent(Object source, BCommandEvent event)
          When the boot event is received, close the splash screem
 void setup(BStringList params)
          On setup, the splash screen is shown
 
Methods inherited from class au.edu.swin.synergy.kernel.BPlugin
dispatchEvent, dispatchEventAndWait, dispatchEventServer, dispatchEventServerAndWait, dispatchEventTo, dispatchEventToAndWait, getDependancies, getKernel, setKernel, setup, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

splashImageLocation

protected String splashImageLocation

splashImageFile

protected String splashImageFile

splashIcon

protected ImageIcon splashIcon

kInitalWait

protected int kInitalWait
How long to wait before returning. The delay is to give Swing time to display the splash screen

kFinalWait

protected int kFinalWait
How long to wait before closing the splash screen.
Constructor Detail

BSplashScreen

public BSplashScreen()
Method Detail

setup

public void setup(BStringList params)
On setup, the splash screen is shown
Parameters:
params - if a file is supplied, it is used
Overrides:
setup in class BPlugin

onBCommandEvent

public void onBCommandEvent(Object source,
                            BCommandEvent event)
When the boot event is received, close the splash screem
Parameters:
source - the plugin sending the event
event - the event object
Overrides:
onBCommandEvent in class BPlugin

Synergy Home Page