Class EmptySplashScreen
java.lang.Object
be.yildizgames.common.application.helper.splashscreen.UpdateSplashScreen
be.yildizgames.common.application.helper.splashscreen.EmptySplashScreen
- All Implemented Interfaces:
SplashScreen,UpdateDownloadListener
A splash screen implementation that does nothing.
Used when no splash screen is needed.
- Author:
- Grégory Van den Borre
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()Closes the splash screen.final voiddisplay()Displays the splash screen.final voidsetCurrentLoading(String name) Sets the current loading task name to display.final voidSets the name to display on the splash screen.final voidsetProgress(int percent) Sets the loading progress percentage to display.Methods inherited from class be.yildizgames.common.application.helper.splashscreen.UpdateSplashScreen
completed, downloadUpdated, fileUpdated, startDownloadFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface be.yildizgames.common.application.helper.updater.UpdateDownloadListener
downloadCompletedSuccessfully, fileCompletedSuccessfully, fileUpToDate, startDownloads
-
Constructor Details
-
EmptySplashScreen
public EmptySplashScreen()Creates a new empty splash screen.
-
-
Method Details
-
display
public final void display()Description copied from interface:SplashScreenDisplays the splash screen. -
close
public final void close()Description copied from interface:SplashScreenCloses the splash screen. -
setName
Description copied from interface:SplashScreenSets the name to display on the splash screen.- Parameters:
name- the name to display
-
setProgress
public final void setProgress(int percent) Description copied from interface:SplashScreenSets the loading progress percentage to display.- Parameters:
percent- the progress percentage
-
setCurrentLoading
Description copied from interface:SplashScreenSets the current loading task name to display.- Parameters:
name- the current loading task
-