JTP
Class SplashControl

java.lang.Object
  extended by JTP.SplashControl

public class SplashControl
extends Object

Class to handle start-up splash animation

Author:
V.Termanis

Constructor Summary
SplashControl(int progressSteps, Color progressColor, int progressHeight)
          Constructs a new SplashControl instance with the specified parameters.
 
Method Summary
 void updateProgress()
          Advances logo overlay "fill" to next step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplashControl

public SplashControl(int progressSteps,
                     Color progressColor,
                     int progressHeight)
Constructs a new SplashControl instance with the specified parameters.

Parameters:
progressSteps - number of steps to "fill" up logo in
progressColor - color in which to overlay logo with
Method Detail

updateProgress

public void updateProgress()
Advances logo overlay "fill" to next step. Note: This will have no effect anymore once it has been called progressSteps number of times