Interface TethysUIFXBaseState
- All Known Implementing Classes:
TethysUIFXLaunchState
public interface TethysUIFXBaseState
Base State for javaFX program.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCreate the main panel.voidCreate an FXSplash.Obtain the program definitions.voidhandleStateChangeNotification(javafx.application.Preloader.StateChangeNotification pEvent) handle the state notification change.voidstartMain(javafx.stage.Stage pStage) Start the main panel.voidstartPreLoader(javafx.stage.Stage pStage) Start the preLoader.
-
Method Details
-
getProgramDefinitions
TethysUIProgram getProgramDefinitions()Obtain the program definitions.- Returns:
- the program definitions
-
createMain
Create the main panel.- Throws:
OceanusException- on error
-
createSplash
void createSplash()Create an FXSplash. -
startPreLoader
void startPreLoader(javafx.stage.Stage pStage) Start the preLoader.- Parameters:
pStage- the preLoader stage
-
startMain
void startMain(javafx.stage.Stage pStage) Start the main panel.- Parameters:
pStage- the main stage
-
handleStateChangeNotification
void handleStateChangeNotification(javafx.application.Preloader.StateChangeNotification pEvent) handle the state notification change.- Parameters:
pEvent- the event
-