JTP
Class SplashControl
java.lang.Object
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 |
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 inprogressColor
- color in which to overlay logo with
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