public final class JRebirthDemo extends DefaultApplication<StackPane>
Application.Parameters
STYLESHEET_CASPIAN, STYLESHEET_MODENA
ATTACH_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 |
---|
JRebirthDemo() |
Modifier and Type | Method and Description |
---|---|
protected String |
applicationTitle()
Return the application title.
|
protected void |
customizeScene(Scene scene)
Customize the default scene.
|
protected void |
customizeStage(Stage stage)
Customize the primary stage.
|
Class<? extends Model> |
firstModelClass()
This method must be implemented to declare which JRebirth UI Model will be displayed first.
|
protected List<? extends ResourceItem<?,?,?>> |
getResourceToPreload()
Return the list of Resources to load.
|
static void |
main(String... args)
Application launcher.
|
postBootWaveList, postInit, postStop, preBootWaveList, preInit, preStop
addCSS, buildRootPane, buildScene, fullScreenKeyCode, getDefaultUncaughtExceptionHandler, getJatUncaughtExceptionHandler, getJitUncaughtExceptionHandler, getPoolUncaughtExceptionHandler, iconifiedKeyCode, init, initializeExceptionHandler, launchNow, launchNow, preloadAndLaunch, preloadAndLaunch, preloadAndLaunch, preloadModules, preloadResources, rootNode, scene, stage, start, stop
getHostServices, getParameters, getUserAgentStylesheet, launch, launch, notifyPreloader, setUserAgentStylesheet
public JRebirthDemo()
public static void main(String... args)
args
- the command line argumentspublic Class<? extends Model> firstModelClass()
firstModelClass
in interface JRebirthApplication<StackPane>
firstModelClass
in class DefaultApplication<StackPane>
Model
protected String applicationTitle()
CoreParameters.APPLICATION_NAME
CoreParameters.APPLICATION_VERSION
string.
The default application is: ApplicationClass powered by JRebirth applicationTitle
in class AbstractApplication<StackPane>
protected void customizeScene(Scene scene)
customizeScene
in class DefaultApplication<StackPane>
scene
- the scene to customizeprotected void customizeStage(Stage stage)
customizeStage
in class DefaultApplication<StackPane>
stage
- the primary stage to customizeprotected List<? extends ResourceItem<?,?,?>> getResourceToPreload()
getResourceToPreload
in class DefaultApplication<StackPane>
ResourceItem
to preloadCopyright © 2011–2016 JRebirth OSS. All rights reserved.