P - The root node of the stage, must extends Pane to allow children managementpublic class DefaultApplication<P extends Pane> extends AbstractApplication<P>
Application.ParametersATTACH_JAT_UEH, ATTACH_JIT_UEH, CSS_LOADING_ERROR, INIT_ERROR, NO_CSS_DEFINED, OVERRIDE_FIRST_MODEL_CLASS, START_APPLICATION, START_ERROR, STARTED_SUCCESSFULLY, STOP_APPLICATION, STOP_ERROR, STOPPED_SUCCESSFULLY| Constructor and Description |
|---|
DefaultApplication() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customizeScene(Scene scene)
Customize the default scene.
|
protected void |
customizeStage(Stage stage)
Customize the primary stage.
|
Class<? extends Model> |
getFirstModelClass()
This method must be implemented to declare which JRebirth UI Model will be displayed first.
|
protected List<FontItem> |
getFontToPreload()
Return the list of FontEnum to load for CSS.
|
List<Wave> |
getPostBootWaveList()
Return the Post-Boot Waves called after displaying the first view.
|
List<Wave> |
getPreBootWaveList()
Return the Pre-Boot Waves called after displaying the first view.
|
protected void |
postInit()
Perform custom task after application initialization phase and before starting phase.
|
protected void |
preInit()
Perform custom task before application initialization phase.
|
addCSS, buildRootPane, buildScene, getApplicationTitle, getDefaultUncaughtExceptionHandler, getFullScreenKeyCode, getIconifiedKeyCode, getJatUncaughtExceptionHandler, getJitUncaughtExceptionHandler, getPoolUncaughtExceptionHandler, getRootNode, getScene, getStage, init, initializeExceptionHandler, launchNow, launchNow, preloadAndLaunch, preloadAndLaunch, preloadAndLaunch, preloadFonts, start, stopgetHostServices, getParameters, launch, launch, notifyPreloaderprotected void preInit()
preInit in class AbstractApplication<P extends Pane>protected void postInit()
postInit in class AbstractApplication<P extends Pane>public Class<? extends Model> getFirstModelClass()
Modelprotected void customizeStage(Stage stage)
customizeStage in class AbstractApplication<P extends Pane>stage - the primary stage to customizeprotected void customizeScene(Scene scene)
customizeScene in class AbstractApplication<P extends Pane>scene - the scene to customizeprotected List<FontItem> getFontToPreload()
getFontToPreload in class AbstractApplication<P extends Pane>public List<Wave> getPreBootWaveList()
Copyright © 2011–2014 JRebirth OSS. All rights reserved.