public abstract class AbstractJRebirthPreloader extends Preloader
Preloader.ErrorNotification, Preloader.PreloaderNotification, Preloader.ProgressNotification, Preloader.StateChangeNotification
Application.Parameters
Modifier and Type | Field and Description |
---|---|
protected boolean |
jrebirthInitialized
Flag that indicates if the application is initialized.
|
protected Text |
messageText
The text that will display message received.
|
protected Stage |
preloaderStage
The preloader Stage.
|
protected ProgressBar |
progressBar
The Progress Bar.
|
STYLESHEET_CASPIAN, STYLESHEET_MODENA
Constructor and Description |
---|
AbstractJRebirthPreloader() |
Modifier and Type | Method and Description |
---|---|
protected abstract Scene |
createPreloaderScene()
Creates the preloader scene.
|
void |
handleApplicationNotification(Preloader.PreloaderNotification n) |
void |
handleProgressNotification(Preloader.ProgressNotification pn) |
void |
handleStateChangeNotification(Preloader.StateChangeNotification event) |
protected abstract void |
hideStage()
Perform actions before the application start.
|
void |
start(Stage stage) |
handleErrorNotification
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
protected ProgressBar progressBar
protected Stage preloaderStage
protected Text messageText
protected boolean jrebirthInitialized
public AbstractJRebirthPreloader()
public void handleProgressNotification(Preloader.ProgressNotification pn)
handleProgressNotification
in class Preloader
public void handleStateChangeNotification(Preloader.StateChangeNotification event)
handleStateChangeNotification
in class Preloader
protected abstract void hideStage()
InterruptedException
public void start(Stage stage) throws Exception
start
in class Application
Exception
protected abstract Scene createPreloaderScene()
public void handleApplicationNotification(Preloader.PreloaderNotification n)
handleApplicationNotification
in class Preloader
Copyright © 2011–2016 JRebirth OSS. All rights reserved.