org.chorem.lima
Class LimaSplash

java.lang.Object
  extended by org.chorem.lima.LimaSplash

public class LimaSplash
extends Object

Utility class used to manage information on slash screen. Currently display:

Since:
0.3.2
Version:
$Revision: 3049 $ Last update : $Date: 2010-11-29 15:34:09 +0100 (lun., 29 nov. 2010) $ By : $Author: echatellier $
Author:
chatellier

Field Summary
protected  SplashScreen splash
          Splash screen instance.
protected  Graphics2D splashGraphics
          Splash screen graphics.
 
Constructor Summary
LimaSplash()
           
 
Method Summary
 void closeSplash()
          Close splash screen (if needed).
 void drawVersion(String version)
           
 void initSplash()
          Init splash (add version).
 void updateProgression(double progress, String message)
          Update progression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

splash

protected SplashScreen splash
Splash screen instance.


splashGraphics

protected Graphics2D splashGraphics
Splash screen graphics.

Constructor Detail

LimaSplash

public LimaSplash()
Method Detail

initSplash

public void initSplash()
Init splash (add version).


drawVersion

public void drawVersion(String version)

updateProgression

public void updateProgression(double progress,
                              String message)
Update progression.

Parameters:
progress - progress (between 0.0 and 1.0)
message - message can be null

closeSplash

public void closeSplash()
Close splash screen (if needed).



Copyright © 2008-2010 CodeLutin. All Rights Reserved.