Interface SplashScreen
- All Known Implementing Classes:
EmptySplashScreen,UpdateSplashScreen
public interface SplashScreen
Defines a splash screen that can be displayed during application launch.
- Author:
- Grégory Van den Borre
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the splash screen.voiddisplay()Displays the splash screen.voidsetCurrentLoading(String name) Sets the current loading task name to display.voidSets the name to display on the splash screen.voidsetProgress(int percent) Sets the loading progress percentage to display.
-
Method Details
-
display
void display()Displays the splash screen. -
close
void close()Closes the splash screen. -
setName
Sets the name to display on the splash screen.- Parameters:
name- the name to display
-
setProgress
void setProgress(int percent) Sets the loading progress percentage to display.- Parameters:
percent- the progress percentage
-
setCurrentLoading
Sets the current loading task name to display.- Parameters:
name- the current loading task
-