de.willuhn.jameica.gui
Class SplashScreen
java.lang.Object
de.willuhn.jameica.gui.SplashScreen
- All Implemented Interfaces:
- de.willuhn.util.ProgressMonitor, java.lang.Runnable
public class SplashScreen
- extends java.lang.Object
- implements de.willuhn.util.ProgressMonitor, java.lang.Runnable
Der Splash-Screen der Anwendung ;).
- Author:
- willuhn
| Fields inherited from interface de.willuhn.util.ProgressMonitor |
STATUS_CANCEL, STATUS_DONE, STATUS_ERROR, STATUS_NONE, STATUS_RUNNING |
|
Constructor Summary |
SplashScreen(java.lang.String logo,
boolean disposeDisplay)
ct. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplashScreen
public SplashScreen(java.lang.String logo,
boolean disposeDisplay)
- ct.
- Parameters:
logo - relativer Pfad zum Logo.
Zuerst wird versucht, das Bild direkt als Datei
zu laden. Wenn das fehlschlaegt, wird getResourceAsStream() versucht.disposeDisplay - true, wenn auch das Display disposed werden soll.
init
public void init()
- Startet den Splash-Screen.
run
public void run()
- Specified by:
run in interface java.lang.Runnable
- See Also:
Runnable.run()
setPercentComplete
public void setPercentComplete(int percent)
- Specified by:
setPercentComplete in interface de.willuhn.util.ProgressMonitor
- See Also:
ProgressMonitor.setPercentComplete(int)
setStatus
public void setStatus(int status)
- Specified by:
setStatus in interface de.willuhn.util.ProgressMonitor
- See Also:
ProgressMonitor.setStatus(int)
setStatusText
public void setStatusText(java.lang.String text)
- Specified by:
setStatusText in interface de.willuhn.util.ProgressMonitor
- See Also:
ProgressMonitor.setStatusText(java.lang.String)
log
public void log(java.lang.String msg)
- Specified by:
log in interface de.willuhn.util.ProgressMonitor
- See Also:
ProgressMonitor.log(java.lang.String)
addPercentComplete
public void addPercentComplete(int percent)
- Specified by:
addPercentComplete in interface de.willuhn.util.ProgressMonitor
- See Also:
ProgressMonitor.addPercentComplete(int)
getPercentComplete
public int getPercentComplete()
- Specified by:
getPercentComplete in interface de.willuhn.util.ProgressMonitor
- See Also:
ProgressMonitor.getPercentComplete()