- java.lang.Object
-
- javafx.application.Application
-
- javafx.application.Preloader
-
- eu.ess.xaos.app.preloader.XAOSPreloader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javafx.application.Preloader
Preloader.ErrorNotification, Preloader.PreloaderNotification, Preloader.ProgressNotification, Preloader.StateChangeNotification
-
Nested classes/interfaces inherited from class javafx.application.Application
Application.Parameters
-
-
Field Summary
-
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
-
Constructor Summary
Constructors Constructor Description XAOSPreloader()
Creates a new instance ofXAOSPreloader
where the splash-screen fading-out is set totrue
.XAOSPreloader(boolean fadeOut)
Creates a new instance ofXAOSPreloader
where the splash-screen fading-out is specified in the given parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleApplicationNotification(Preloader.PreloaderNotification pn)
boolean
handleErrorNotification(Preloader.ErrorNotification en)
void
handleProgressNotification(Preloader.ProgressNotification pn)
void
handleStateChangeNotification(Preloader.StateChangeNotification scn)
void
start(Stage stage)
-
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
-
-
-
Constructor Detail
-
XAOSPreloader
public XAOSPreloader()
Creates a new instance ofXAOSPreloader
where the splash-screen fading-out is set totrue
.
-
XAOSPreloader
public XAOSPreloader(boolean fadeOut)
Creates a new instance ofXAOSPreloader
where the splash-screen fading-out is specified in the given parameter.- Parameters:
fadeOut
-true
if the splash-screen must disappear gradually.
-
-
Method Detail
-
handleApplicationNotification
public void handleApplicationNotification(Preloader.PreloaderNotification pn)
- Overrides:
handleApplicationNotification
in classPreloader
-
handleErrorNotification
public boolean handleErrorNotification(Preloader.ErrorNotification en)
- Overrides:
handleErrorNotification
in classPreloader
-
handleProgressNotification
public void handleProgressNotification(Preloader.ProgressNotification pn)
- Overrides:
handleProgressNotification
in classPreloader
-
handleStateChangeNotification
public void handleStateChangeNotification(Preloader.StateChangeNotification scn)
- Overrides:
handleStateChangeNotification
in classPreloader
-
start
public void start(Stage stage) throws Exception
- Specified by:
start
in classApplication
- Throws:
Exception
-
-